OSDN Git Service

2012-03-22 Paolo Carlini <paolo.carlini@oracle.com>
[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_SUN_FALSE
648 ENABLE_SYMVERS_SUN_TRUE
649 ENABLE_SYMVERS_DARWIN_FALSE
650 ENABLE_SYMVERS_DARWIN_TRUE
651 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
652 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
653 ENABLE_SYMVERS_GNU_FALSE
654 ENABLE_SYMVERS_GNU_TRUE
655 ENABLE_SYMVERS_FALSE
656 ENABLE_SYMVERS_TRUE
657 port_specific_symbol_files
658 SYMVER_FILE
659 CXXFILT
660 LTLIBICONV
661 LIBICONV
662 OPT_LDFLAGS
663 SECTION_LDFLAGS
664 GLIBCXX_LIBS
665 ENABLE_WERROR_FALSE
666 ENABLE_WERROR_TRUE
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_werror
864 enable_libstdcxx_time
865 enable_tls
866 enable_rpath
867 with_libiconv_prefix
868 with_system_libunwind
869 enable_linux_futex
870 enable_symvers
871 enable_libstdcxx_visibility
872 enable_libstdcxx_threads
873 with_gxx_include_dir
874 enable_version_specific_runtime_libs
875 '
876       ac_precious_vars='build_alias
877 host_alias
878 target_alias
879 CC
880 CFLAGS
881 LDFLAGS
882 LIBS
883 CPPFLAGS
884 CXX
885 CXXFLAGS
886 CCC
887 CPP
888 CXXCPP
889 CXXFILT'
890
891
892 # Initialize some variables set by options.
893 ac_init_help=
894 ac_init_version=false
895 ac_unrecognized_opts=
896 ac_unrecognized_sep=
897 # The variables have the same names as the options, with
898 # dashes changed to underlines.
899 cache_file=/dev/null
900 exec_prefix=NONE
901 no_create=
902 no_recursion=
903 prefix=NONE
904 program_prefix=NONE
905 program_suffix=NONE
906 program_transform_name=s,x,x,
907 silent=
908 site=
909 srcdir=
910 verbose=
911 x_includes=NONE
912 x_libraries=NONE
913
914 # Installation directory options.
915 # These are left unexpanded so users can "make install exec_prefix=/foo"
916 # and all the variables that are supposed to be based on exec_prefix
917 # by default will actually change.
918 # Use braces instead of parens because sh, perl, etc. also accept them.
919 # (The list follows the same order as the GNU Coding Standards.)
920 bindir='${exec_prefix}/bin'
921 sbindir='${exec_prefix}/sbin'
922 libexecdir='${exec_prefix}/libexec'
923 datarootdir='${prefix}/share'
924 datadir='${datarootdir}'
925 sysconfdir='${prefix}/etc'
926 sharedstatedir='${prefix}/com'
927 localstatedir='${prefix}/var'
928 includedir='${prefix}/include'
929 oldincludedir='/usr/include'
930 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
931 infodir='${datarootdir}/info'
932 htmldir='${docdir}'
933 dvidir='${docdir}'
934 pdfdir='${docdir}'
935 psdir='${docdir}'
936 libdir='${exec_prefix}/lib'
937 localedir='${datarootdir}/locale'
938 mandir='${datarootdir}/man'
939
940 ac_prev=
941 ac_dashdash=
942 for ac_option
943 do
944   # If the previous option needs an argument, assign it.
945   if test -n "$ac_prev"; then
946     eval $ac_prev=\$ac_option
947     ac_prev=
948     continue
949   fi
950
951   case $ac_option in
952   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
953   *)    ac_optarg=yes ;;
954   esac
955
956   # Accept the important Cygnus configure options, so we can diagnose typos.
957
958   case $ac_dashdash$ac_option in
959   --)
960     ac_dashdash=yes ;;
961
962   -bindir | --bindir | --bindi | --bind | --bin | --bi)
963     ac_prev=bindir ;;
964   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
965     bindir=$ac_optarg ;;
966
967   -build | --build | --buil | --bui | --bu)
968     ac_prev=build_alias ;;
969   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
970     build_alias=$ac_optarg ;;
971
972   -cache-file | --cache-file | --cache-fil | --cache-fi \
973   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
974     ac_prev=cache_file ;;
975   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
976   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
977     cache_file=$ac_optarg ;;
978
979   --config-cache | -C)
980     cache_file=config.cache ;;
981
982   -datadir | --datadir | --datadi | --datad)
983     ac_prev=datadir ;;
984   -datadir=* | --datadir=* | --datadi=* | --datad=*)
985     datadir=$ac_optarg ;;
986
987   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
988   | --dataroo | --dataro | --datar)
989     ac_prev=datarootdir ;;
990   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
991   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
992     datarootdir=$ac_optarg ;;
993
994   -disable-* | --disable-*)
995     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
996     # Reject names that are not valid shell variable names.
997     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
998       as_fn_error "invalid feature name: $ac_useropt"
999     ac_useropt_orig=$ac_useropt
1000     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001     case $ac_user_opts in
1002       *"
1003 "enable_$ac_useropt"
1004 "*) ;;
1005       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1006          ac_unrecognized_sep=', ';;
1007     esac
1008     eval enable_$ac_useropt=no ;;
1009
1010   -docdir | --docdir | --docdi | --doc | --do)
1011     ac_prev=docdir ;;
1012   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1013     docdir=$ac_optarg ;;
1014
1015   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1016     ac_prev=dvidir ;;
1017   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1018     dvidir=$ac_optarg ;;
1019
1020   -enable-* | --enable-*)
1021     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1022     # Reject names that are not valid shell variable names.
1023     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024       as_fn_error "invalid feature name: $ac_useropt"
1025     ac_useropt_orig=$ac_useropt
1026     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027     case $ac_user_opts in
1028       *"
1029 "enable_$ac_useropt"
1030 "*) ;;
1031       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1032          ac_unrecognized_sep=', ';;
1033     esac
1034     eval enable_$ac_useropt=\$ac_optarg ;;
1035
1036   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1037   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1038   | --exec | --exe | --ex)
1039     ac_prev=exec_prefix ;;
1040   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1041   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1042   | --exec=* | --exe=* | --ex=*)
1043     exec_prefix=$ac_optarg ;;
1044
1045   -gas | --gas | --ga | --g)
1046     # Obsolete; use --with-gas.
1047     with_gas=yes ;;
1048
1049   -help | --help | --hel | --he | -h)
1050     ac_init_help=long ;;
1051   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1052     ac_init_help=recursive ;;
1053   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1054     ac_init_help=short ;;
1055
1056   -host | --host | --hos | --ho)
1057     ac_prev=host_alias ;;
1058   -host=* | --host=* | --hos=* | --ho=*)
1059     host_alias=$ac_optarg ;;
1060
1061   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1062     ac_prev=htmldir ;;
1063   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1064   | --ht=*)
1065     htmldir=$ac_optarg ;;
1066
1067   -includedir | --includedir | --includedi | --included | --include \
1068   | --includ | --inclu | --incl | --inc)
1069     ac_prev=includedir ;;
1070   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1071   | --includ=* | --inclu=* | --incl=* | --inc=*)
1072     includedir=$ac_optarg ;;
1073
1074   -infodir | --infodir | --infodi | --infod | --info | --inf)
1075     ac_prev=infodir ;;
1076   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1077     infodir=$ac_optarg ;;
1078
1079   -libdir | --libdir | --libdi | --libd)
1080     ac_prev=libdir ;;
1081   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1082     libdir=$ac_optarg ;;
1083
1084   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1085   | --libexe | --libex | --libe)
1086     ac_prev=libexecdir ;;
1087   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1088   | --libexe=* | --libex=* | --libe=*)
1089     libexecdir=$ac_optarg ;;
1090
1091   -localedir | --localedir | --localedi | --localed | --locale)
1092     ac_prev=localedir ;;
1093   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1094     localedir=$ac_optarg ;;
1095
1096   -localstatedir | --localstatedir | --localstatedi | --localstated \
1097   | --localstate | --localstat | --localsta | --localst | --locals)
1098     ac_prev=localstatedir ;;
1099   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1100   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1101     localstatedir=$ac_optarg ;;
1102
1103   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1104     ac_prev=mandir ;;
1105   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1106     mandir=$ac_optarg ;;
1107
1108   -nfp | --nfp | --nf)
1109     # Obsolete; use --without-fp.
1110     with_fp=no ;;
1111
1112   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1113   | --no-cr | --no-c | -n)
1114     no_create=yes ;;
1115
1116   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1117   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1118     no_recursion=yes ;;
1119
1120   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1121   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1122   | --oldin | --oldi | --old | --ol | --o)
1123     ac_prev=oldincludedir ;;
1124   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1125   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1126   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1127     oldincludedir=$ac_optarg ;;
1128
1129   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1130     ac_prev=prefix ;;
1131   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1132     prefix=$ac_optarg ;;
1133
1134   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1135   | --program-pre | --program-pr | --program-p)
1136     ac_prev=program_prefix ;;
1137   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1138   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1139     program_prefix=$ac_optarg ;;
1140
1141   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1142   | --program-suf | --program-su | --program-s)
1143     ac_prev=program_suffix ;;
1144   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1145   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1146     program_suffix=$ac_optarg ;;
1147
1148   -program-transform-name | --program-transform-name \
1149   | --program-transform-nam | --program-transform-na \
1150   | --program-transform-n | --program-transform- \
1151   | --program-transform | --program-transfor \
1152   | --program-transfo | --program-transf \
1153   | --program-trans | --program-tran \
1154   | --progr-tra | --program-tr | --program-t)
1155     ac_prev=program_transform_name ;;
1156   -program-transform-name=* | --program-transform-name=* \
1157   | --program-transform-nam=* | --program-transform-na=* \
1158   | --program-transform-n=* | --program-transform-=* \
1159   | --program-transform=* | --program-transfor=* \
1160   | --program-transfo=* | --program-transf=* \
1161   | --program-trans=* | --program-tran=* \
1162   | --progr-tra=* | --program-tr=* | --program-t=*)
1163     program_transform_name=$ac_optarg ;;
1164
1165   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1166     ac_prev=pdfdir ;;
1167   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1168     pdfdir=$ac_optarg ;;
1169
1170   -psdir | --psdir | --psdi | --psd | --ps)
1171     ac_prev=psdir ;;
1172   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1173     psdir=$ac_optarg ;;
1174
1175   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1176   | -silent | --silent | --silen | --sile | --sil)
1177     silent=yes ;;
1178
1179   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1180     ac_prev=sbindir ;;
1181   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1182   | --sbi=* | --sb=*)
1183     sbindir=$ac_optarg ;;
1184
1185   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1186   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1187   | --sharedst | --shareds | --shared | --share | --shar \
1188   | --sha | --sh)
1189     ac_prev=sharedstatedir ;;
1190   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1191   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1192   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1193   | --sha=* | --sh=*)
1194     sharedstatedir=$ac_optarg ;;
1195
1196   -site | --site | --sit)
1197     ac_prev=site ;;
1198   -site=* | --site=* | --sit=*)
1199     site=$ac_optarg ;;
1200
1201   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1202     ac_prev=srcdir ;;
1203   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1204     srcdir=$ac_optarg ;;
1205
1206   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1207   | --syscon | --sysco | --sysc | --sys | --sy)
1208     ac_prev=sysconfdir ;;
1209   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1210   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1211     sysconfdir=$ac_optarg ;;
1212
1213   -target | --target | --targe | --targ | --tar | --ta | --t)
1214     ac_prev=target_alias ;;
1215   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1216     target_alias=$ac_optarg ;;
1217
1218   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1219     verbose=yes ;;
1220
1221   -version | --version | --versio | --versi | --vers | -V)
1222     ac_init_version=: ;;
1223
1224   -with-* | --with-*)
1225     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1226     # Reject names that are not valid shell variable names.
1227     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1228       as_fn_error "invalid package name: $ac_useropt"
1229     ac_useropt_orig=$ac_useropt
1230     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1231     case $ac_user_opts in
1232       *"
1233 "with_$ac_useropt"
1234 "*) ;;
1235       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1236          ac_unrecognized_sep=', ';;
1237     esac
1238     eval with_$ac_useropt=\$ac_optarg ;;
1239
1240   -without-* | --without-*)
1241     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1242     # Reject names that are not valid shell variable names.
1243     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1244       as_fn_error "invalid package name: $ac_useropt"
1245     ac_useropt_orig=$ac_useropt
1246     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1247     case $ac_user_opts in
1248       *"
1249 "with_$ac_useropt"
1250 "*) ;;
1251       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1252          ac_unrecognized_sep=', ';;
1253     esac
1254     eval with_$ac_useropt=no ;;
1255
1256   --x)
1257     # Obsolete; use --with-x.
1258     with_x=yes ;;
1259
1260   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1261   | --x-incl | --x-inc | --x-in | --x-i)
1262     ac_prev=x_includes ;;
1263   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1264   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1265     x_includes=$ac_optarg ;;
1266
1267   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1268   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1269     ac_prev=x_libraries ;;
1270   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1271   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1272     x_libraries=$ac_optarg ;;
1273
1274   -*) as_fn_error "unrecognized option: \`$ac_option'
1275 Try \`$0 --help' for more information."
1276     ;;
1277
1278   *=*)
1279     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1280     # Reject names that are not valid shell variable names.
1281     case $ac_envvar in #(
1282       '' | [0-9]* | *[!_$as_cr_alnum]* )
1283       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1284     esac
1285     eval $ac_envvar=\$ac_optarg
1286     export $ac_envvar ;;
1287
1288   *)
1289     # FIXME: should be removed in autoconf 3.0.
1290     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1291     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1292       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1293     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1294     ;;
1295
1296   esac
1297 done
1298
1299 if test -n "$ac_prev"; then
1300   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1301   as_fn_error "missing argument to $ac_option"
1302 fi
1303
1304 if test -n "$ac_unrecognized_opts"; then
1305   case $enable_option_checking in
1306     no) ;;
1307     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1308     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1309   esac
1310 fi
1311
1312 # Check all directory arguments for consistency.
1313 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1314                 datadir sysconfdir sharedstatedir localstatedir includedir \
1315                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1316                 libdir localedir mandir
1317 do
1318   eval ac_val=\$$ac_var
1319   # Remove trailing slashes.
1320   case $ac_val in
1321     */ )
1322       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1323       eval $ac_var=\$ac_val;;
1324   esac
1325   # Be sure to have absolute directory names.
1326   case $ac_val in
1327     [\\/$]* | ?:[\\/]* )  continue;;
1328     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1329   esac
1330   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1331 done
1332
1333 # There might be people who depend on the old broken behavior: `$host'
1334 # used to hold the argument of --host etc.
1335 # FIXME: To remove some day.
1336 build=$build_alias
1337 host=$host_alias
1338 target=$target_alias
1339
1340 # FIXME: To remove some day.
1341 if test "x$host_alias" != x; then
1342   if test "x$build_alias" = x; then
1343     cross_compiling=maybe
1344     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1345     If a cross compiler is detected then cross compile mode will be used." >&2
1346   elif test "x$build_alias" != "x$host_alias"; then
1347     cross_compiling=yes
1348   fi
1349 fi
1350
1351 ac_tool_prefix=
1352 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1353
1354 test "$silent" = yes && exec 6>/dev/null
1355
1356
1357 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1358 ac_ls_di=`ls -di .` &&
1359 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1360   as_fn_error "working directory cannot be determined"
1361 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1362   as_fn_error "pwd does not report name of working directory"
1363
1364
1365 # Find the source files, if location was not specified.
1366 if test -z "$srcdir"; then
1367   ac_srcdir_defaulted=yes
1368   # Try the directory containing this script, then the parent directory.
1369   ac_confdir=`$as_dirname -- "$as_myself" ||
1370 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1371          X"$as_myself" : 'X\(//\)[^/]' \| \
1372          X"$as_myself" : 'X\(//\)$' \| \
1373          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1374 $as_echo X"$as_myself" |
1375     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1376             s//\1/
1377             q
1378           }
1379           /^X\(\/\/\)[^/].*/{
1380             s//\1/
1381             q
1382           }
1383           /^X\(\/\/\)$/{
1384             s//\1/
1385             q
1386           }
1387           /^X\(\/\).*/{
1388             s//\1/
1389             q
1390           }
1391           s/.*/./; q'`
1392   srcdir=$ac_confdir
1393   if test ! -r "$srcdir/$ac_unique_file"; then
1394     srcdir=..
1395   fi
1396 else
1397   ac_srcdir_defaulted=no
1398 fi
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1400   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1401   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1402 fi
1403 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1404 ac_abs_confdir=`(
1405         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1406         pwd)`
1407 # When building in place, set srcdir=.
1408 if test "$ac_abs_confdir" = "$ac_pwd"; then
1409   srcdir=.
1410 fi
1411 # Remove unnecessary trailing slashes from srcdir.
1412 # Double slashes in file names in object file debugging info
1413 # mess up M-x gdb in Emacs.
1414 case $srcdir in
1415 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1416 esac
1417 for ac_var in $ac_precious_vars; do
1418   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1419   eval ac_env_${ac_var}_value=\$${ac_var}
1420   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1421   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1422 done
1423
1424 #
1425 # Report the --help message.
1426 #
1427 if test "$ac_init_help" = "long"; then
1428   # Omit some internal or obsolete options to make the list less imposing.
1429   # This message is too long to be a string in the A/UX 3.1 sh.
1430   cat <<_ACEOF
1431 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1432
1433 Usage: $0 [OPTION]... [VAR=VALUE]...
1434
1435 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1436 VAR=VALUE.  See below for descriptions of some of the useful variables.
1437
1438 Defaults for the options are specified in brackets.
1439
1440 Configuration:
1441   -h, --help              display this help and exit
1442       --help=short        display options specific to this package
1443       --help=recursive    display the short help of all the included packages
1444   -V, --version           display version information and exit
1445   -q, --quiet, --silent   do not print \`checking...' messages
1446       --cache-file=FILE   cache test results in FILE [disabled]
1447   -C, --config-cache      alias for \`--cache-file=config.cache'
1448   -n, --no-create         do not create output files
1449       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1450
1451 Installation directories:
1452   --prefix=PREFIX         install architecture-independent files in PREFIX
1453                           [$ac_default_prefix]
1454   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1455                           [PREFIX]
1456
1457 By default, \`make install' will install all the files in
1458 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1459 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1460 for instance \`--prefix=\$HOME'.
1461
1462 For better control, use the options below.
1463
1464 Fine tuning of the installation directories:
1465   --bindir=DIR            user executables [EPREFIX/bin]
1466   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1467   --libexecdir=DIR        program executables [EPREFIX/libexec]
1468   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1469   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1470   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1471   --libdir=DIR            object code libraries [EPREFIX/lib]
1472   --includedir=DIR        C header files [PREFIX/include]
1473   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1474   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1475   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1476   --infodir=DIR           info documentation [DATAROOTDIR/info]
1477   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1478   --mandir=DIR            man documentation [DATAROOTDIR/man]
1479   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1480   --htmldir=DIR           html documentation [DOCDIR]
1481   --dvidir=DIR            dvi documentation [DOCDIR]
1482   --pdfdir=DIR            pdf documentation [DOCDIR]
1483   --psdir=DIR             ps documentation [DOCDIR]
1484 _ACEOF
1485
1486   cat <<\_ACEOF
1487
1488 Program names:
1489   --program-prefix=PREFIX            prepend PREFIX to installed program names
1490   --program-suffix=SUFFIX            append SUFFIX to installed program names
1491   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1492
1493 System types:
1494   --build=BUILD     configure for building on BUILD [guessed]
1495   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1496   --target=TARGET   configure for building compilers for TARGET [HOST]
1497 _ACEOF
1498 fi
1499
1500 if test -n "$ac_init_help"; then
1501   case $ac_init_help in
1502      short | recursive ) echo "Configuration of package-unused version-unused:";;
1503    esac
1504   cat <<\_ACEOF
1505
1506 Optional Features:
1507   --disable-option-checking  ignore unrecognized --enable/--with options
1508   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1509   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1510   --enable-multilib       build many library versions (default)
1511   --enable-maintainer-mode  enable make rules and dependencies not useful
1512                           (and sometimes confusing) to the casual installer
1513   --enable-shared[=PKGS]  build shared libraries [default=yes]
1514   --enable-static[=PKGS]  build static libraries [default=yes]
1515   --enable-fast-install[=PKGS]
1516                           optimize for fast installation [default=yes]
1517   --disable-libtool-lock  avoid locking (might break parallel builds)
1518   --disable-hosted-libstdcxx
1519                           only build freestanding C++ runtime support
1520   --enable-sjlj-exceptions
1521                           force use of builtin_setjmp for exceptions
1522                           [default=auto]
1523   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1524                           [default=$is_hosted]
1525   --enable-cstdio[=PACKAGE]
1526                           use target-specific I/O package [default=stdio]
1527   --enable-clocale[=MODEL]
1528                           use MODEL for target locale package [default=auto]
1529   --enable-nls            use Native Language Support (default)
1530   --enable-libstdcxx-allocator[=KIND]
1531                           use KIND for target std::allocator base
1532                           [default=auto]
1533   --enable-cheaders[=KIND]
1534                           construct "C" headers for g++ [default=$c_model]
1535   --enable-long-long      enable template specializations for 'long long'
1536                           [default=yes]
1537   --enable-wchar_t        enable template specializations for 'wchar_t'
1538                           [default=yes]
1539   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1540   --enable-concept-checks use Boost-derived template checks [default=no]
1541   --enable-libstdcxx-debug-flags=FLAGS
1542                           pass compiler FLAGS when building debug library
1543                           [default="-gdwarf-4 -g3 -O0"]
1544   --enable-libstdcxx-debug
1545                           build extra debug library [default=no]
1546   --enable-cxx-flags=FLAGS
1547                           pass compiler FLAGS when building library [default=]
1548   --enable-fully-dynamic-string
1549                           do not put empty strings in per-process static
1550                           memory [default=no]
1551   --enable-extern-template
1552                           enable extern template [default=yes]
1553   --enable-werror         turns on -Werror [default=yes]
1554   --enable-libstdcxx-time[=KIND]
1555                           use KIND for check type [default=no]
1556   --enable-tls            Use thread-local storage [default=yes]
1557   --disable-rpath         do not hardcode runtime library paths
1558   --enable-linux-futex    use the Linux futex system call [default=default]
1559   --enable-symvers[=STYLE]
1560                           enables symbol versioning of the shared library
1561                           [default=yes]
1562   --enable-libstdcxx-visibility
1563                           enables visibility safe usage [default=yes]
1564   --enable-libstdcxx-threads
1565                           enable C++11 threads support [default=auto]
1566   --enable-version-specific-runtime-libs
1567                           Specify that runtime libraries should be installed
1568                           in a compiler-specific directory
1569
1570 Optional Packages:
1571   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1572   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1573   --with-target-subdir=SUBDIR
1574                           configuring in a subdirectory
1575   --with-cross-host=HOST  configuring with a cross compiler
1576   --with-newlib           assume newlib as a system C library
1577   --with-pic              try to use only PIC/non-PIC objects [default=use
1578                           both]
1579   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1580   --with-python-dir       the location to install Python modules. This path is
1581                           relative starting from the prefix.
1582   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1583   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1584   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1585   --with-system-libunwind use installed libunwind
1586   --with-gxx-include-dir=DIR
1587                           installation directory for include files
1588
1589 Some influential environment variables:
1590   CC          C compiler command
1591   CFLAGS      C compiler flags
1592   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1593               nonstandard directory <lib dir>
1594   LIBS        libraries to pass to the linker, e.g. -l<library>
1595   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1596               you have headers in a nonstandard directory <include dir>
1597   CXX         C++ compiler command
1598   CXXFLAGS    C++ compiler flags
1599   CPP         C preprocessor
1600   CXXCPP      C++ preprocessor
1601   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1602               `c++filt', `gc++filt' on PATH.
1603
1604 Use these variables to override the choices made by `configure' or to help
1605 it to find libraries and programs with nonstandard names/locations.
1606
1607 Report bugs to the package provider.
1608 _ACEOF
1609 ac_status=$?
1610 fi
1611
1612 if test "$ac_init_help" = "recursive"; then
1613   # If there are subdirs, report their specific --help.
1614   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1615     test -d "$ac_dir" ||
1616       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1617       continue
1618     ac_builddir=.
1619
1620 case "$ac_dir" in
1621 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1622 *)
1623   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1624   # A ".." for each directory in $ac_dir_suffix.
1625   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1626   case $ac_top_builddir_sub in
1627   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1628   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1629   esac ;;
1630 esac
1631 ac_abs_top_builddir=$ac_pwd
1632 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1633 # for backward compatibility:
1634 ac_top_builddir=$ac_top_build_prefix
1635
1636 case $srcdir in
1637   .)  # We are building in place.
1638     ac_srcdir=.
1639     ac_top_srcdir=$ac_top_builddir_sub
1640     ac_abs_top_srcdir=$ac_pwd ;;
1641   [\\/]* | ?:[\\/]* )  # Absolute name.
1642     ac_srcdir=$srcdir$ac_dir_suffix;
1643     ac_top_srcdir=$srcdir
1644     ac_abs_top_srcdir=$srcdir ;;
1645   *) # Relative name.
1646     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1647     ac_top_srcdir=$ac_top_build_prefix$srcdir
1648     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1649 esac
1650 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1651
1652     cd "$ac_dir" || { ac_status=$?; continue; }
1653     # Check for guested configure.
1654     if test -f "$ac_srcdir/configure.gnu"; then
1655       echo &&
1656       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1657     elif test -f "$ac_srcdir/configure"; then
1658       echo &&
1659       $SHELL "$ac_srcdir/configure" --help=recursive
1660     else
1661       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1662     fi || ac_status=$?
1663     cd "$ac_pwd" || { ac_status=$?; break; }
1664   done
1665 fi
1666
1667 test -n "$ac_init_help" && exit $ac_status
1668 if $ac_init_version; then
1669   cat <<\_ACEOF
1670 package-unused configure version-unused
1671 generated by GNU Autoconf 2.64
1672
1673 Copyright (C) 2009 Free Software Foundation, Inc.
1674 This configure script is free software; the Free Software Foundation
1675 gives unlimited permission to copy, distribute and modify it.
1676 _ACEOF
1677   exit
1678 fi
1679
1680 ## ------------------------ ##
1681 ## Autoconf initialization. ##
1682 ## ------------------------ ##
1683
1684 # ac_fn_c_try_compile LINENO
1685 # --------------------------
1686 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1687 ac_fn_c_try_compile ()
1688 {
1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690   rm -f conftest.$ac_objext
1691   if { { ac_try="$ac_compile"
1692 case "(($ac_try" in
1693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694   *) ac_try_echo=$ac_try;;
1695 esac
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698   (eval "$ac_compile") 2>conftest.err
1699   ac_status=$?
1700   if test -s conftest.err; then
1701     grep -v '^ *+' conftest.err >conftest.er1
1702     cat conftest.er1 >&5
1703     mv -f conftest.er1 conftest.err
1704   fi
1705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706   test $ac_status = 0; } && {
1707          test -z "$ac_c_werror_flag" ||
1708          test ! -s conftest.err
1709        } && test -s conftest.$ac_objext; then :
1710   ac_retval=0
1711 else
1712   $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1714
1715         ac_retval=1
1716 fi
1717   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1718   return $ac_retval
1719
1720 } # ac_fn_c_try_compile
1721
1722 # ac_fn_cxx_try_compile LINENO
1723 # ----------------------------
1724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1725 ac_fn_cxx_try_compile ()
1726 {
1727   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728   rm -f conftest.$ac_objext
1729   if { { ac_try="$ac_compile"
1730 case "(($ac_try" in
1731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732   *) ac_try_echo=$ac_try;;
1733 esac
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736   (eval "$ac_compile") 2>conftest.err
1737   ac_status=$?
1738   if test -s conftest.err; then
1739     grep -v '^ *+' conftest.err >conftest.er1
1740     cat conftest.er1 >&5
1741     mv -f conftest.er1 conftest.err
1742   fi
1743   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744   test $ac_status = 0; } && {
1745          test -z "$ac_cxx_werror_flag" ||
1746          test ! -s conftest.err
1747        } && test -s conftest.$ac_objext; then :
1748   ac_retval=0
1749 else
1750   $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1752
1753         ac_retval=1
1754 fi
1755   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1756   return $ac_retval
1757
1758 } # ac_fn_cxx_try_compile
1759
1760 # ac_fn_c_try_cpp LINENO
1761 # ----------------------
1762 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1763 ac_fn_c_try_cpp ()
1764 {
1765   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766   if { { ac_try="$ac_cpp conftest.$ac_ext"
1767 case "(($ac_try" in
1768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1769   *) ac_try_echo=$ac_try;;
1770 esac
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1774   ac_status=$?
1775   if test -s conftest.err; then
1776     grep -v '^ *+' conftest.err >conftest.er1
1777     cat conftest.er1 >&5
1778     mv -f conftest.er1 conftest.err
1779   fi
1780   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781   test $ac_status = 0; } >/dev/null && {
1782          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1783          test ! -s conftest.err
1784        }; then :
1785   ac_retval=0
1786 else
1787   $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1789
1790     ac_retval=1
1791 fi
1792   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1793   return $ac_retval
1794
1795 } # ac_fn_c_try_cpp
1796
1797 # ac_fn_c_try_link LINENO
1798 # -----------------------
1799 # Try to link conftest.$ac_ext, and return whether this succeeded.
1800 ac_fn_c_try_link ()
1801 {
1802   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803   rm -f conftest.$ac_objext conftest$ac_exeext
1804   if { { ac_try="$ac_link"
1805 case "(($ac_try" in
1806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1807   *) ac_try_echo=$ac_try;;
1808 esac
1809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811   (eval "$ac_link") 2>conftest.err
1812   ac_status=$?
1813   if test -s conftest.err; then
1814     grep -v '^ *+' conftest.err >conftest.er1
1815     cat conftest.er1 >&5
1816     mv -f conftest.er1 conftest.err
1817   fi
1818   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819   test $ac_status = 0; } && {
1820          test -z "$ac_c_werror_flag" ||
1821          test ! -s conftest.err
1822        } && test -s conftest$ac_exeext && {
1823          test "$cross_compiling" = yes ||
1824          $as_test_x conftest$ac_exeext
1825        }; then :
1826   ac_retval=0
1827 else
1828   $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1830
1831         ac_retval=1
1832 fi
1833   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1834   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1835   # interfere with the next link command; also delete a directory that is
1836   # left behind by Apple's compiler.  We do this before executing the actions.
1837   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1838   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1839   return $ac_retval
1840
1841 } # ac_fn_c_try_link
1842
1843 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1844 # -------------------------------------------------------
1845 # Tests whether HEADER exists and can be compiled using the include files in
1846 # INCLUDES, setting the cache variable VAR accordingly.
1847 ac_fn_c_check_header_compile ()
1848 {
1849   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1852 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1853   $as_echo_n "(cached) " >&6
1854 else
1855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h.  */
1857 $4
1858 #include <$2>
1859 _ACEOF
1860 if ac_fn_c_try_compile "$LINENO"; then :
1861   eval "$3=yes"
1862 else
1863   eval "$3=no"
1864 fi
1865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1866 fi
1867 eval ac_res=\$$3
1868                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1871
1872 } # ac_fn_c_check_header_compile
1873
1874 # ac_fn_c_try_run LINENO
1875 # ----------------------
1876 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1877 # that executables *can* be run.
1878 ac_fn_c_try_run ()
1879 {
1880   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881   if { { ac_try="$ac_link"
1882 case "(($ac_try" in
1883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884   *) ac_try_echo=$ac_try;;
1885 esac
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888   (eval "$ac_link") 2>&5
1889   ac_status=$?
1890   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1892   { { case "(($ac_try" in
1893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1894   *) ac_try_echo=$ac_try;;
1895 esac
1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 $as_echo "$ac_try_echo"; } >&5
1898   (eval "$ac_try") 2>&5
1899   ac_status=$?
1900   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901   test $ac_status = 0; }; }; then :
1902   ac_retval=0
1903 else
1904   $as_echo "$as_me: program exited with status $ac_status" >&5
1905        $as_echo "$as_me: failed program was:" >&5
1906 sed 's/^/| /' conftest.$ac_ext >&5
1907
1908        ac_retval=$ac_status
1909 fi
1910   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912   return $ac_retval
1913
1914 } # ac_fn_c_try_run
1915
1916 # ac_fn_c_check_func LINENO FUNC VAR
1917 # ----------------------------------
1918 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1919 ac_fn_c_check_func ()
1920 {
1921   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1925   $as_echo_n "(cached) " >&6
1926 else
1927   if test x$gcc_no_link = xyes; then
1928   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1929 fi
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h.  */
1932 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1933    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1934 #define $2 innocuous_$2
1935
1936 /* System header to define __stub macros and hopefully few prototypes,
1937     which can conflict with char $2 (); below.
1938     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1939     <limits.h> exists even on freestanding compilers.  */
1940
1941 #ifdef __STDC__
1942 # include <limits.h>
1943 #else
1944 # include <assert.h>
1945 #endif
1946
1947 #undef $2
1948
1949 /* Override any GCC internal prototype to avoid an error.
1950    Use char because int might match the return type of a GCC
1951    builtin and then its argument prototype would still apply.  */
1952 #ifdef __cplusplus
1953 extern "C"
1954 #endif
1955 char $2 ();
1956 /* The GNU C library defines this for functions which it implements
1957     to always fail with ENOSYS.  Some functions are actually named
1958     something starting with __ and the normal name is an alias.  */
1959 #if defined __stub_$2 || defined __stub___$2
1960 choke me
1961 #endif
1962
1963 int
1964 main ()
1965 {
1966 return $2 ();
1967   ;
1968   return 0;
1969 }
1970 _ACEOF
1971 if ac_fn_c_try_link "$LINENO"; then :
1972   eval "$3=yes"
1973 else
1974   eval "$3=no"
1975 fi
1976 rm -f core conftest.err conftest.$ac_objext \
1977     conftest$ac_exeext conftest.$ac_ext
1978 fi
1979 eval ac_res=\$$3
1980                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1982   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1983
1984 } # ac_fn_c_check_func
1985
1986 # ac_fn_cxx_try_cpp LINENO
1987 # ------------------------
1988 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_cpp ()
1990 {
1991   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992   if { { ac_try="$ac_cpp conftest.$ac_ext"
1993 case "(($ac_try" in
1994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995   *) ac_try_echo=$ac_try;;
1996 esac
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2000   ac_status=$?
2001   if test -s conftest.err; then
2002     grep -v '^ *+' conftest.err >conftest.er1
2003     cat conftest.er1 >&5
2004     mv -f conftest.er1 conftest.err
2005   fi
2006   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007   test $ac_status = 0; } >/dev/null && {
2008          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2009          test ! -s conftest.err
2010        }; then :
2011   ac_retval=0
2012 else
2013   $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.$ac_ext >&5
2015
2016     ac_retval=1
2017 fi
2018   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2019   return $ac_retval
2020
2021 } # ac_fn_cxx_try_cpp
2022
2023 # ac_fn_cxx_try_link LINENO
2024 # -------------------------
2025 # Try to link conftest.$ac_ext, and return whether this succeeded.
2026 ac_fn_cxx_try_link ()
2027 {
2028   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029   rm -f conftest.$ac_objext conftest$ac_exeext
2030   if { { ac_try="$ac_link"
2031 case "(($ac_try" in
2032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2033   *) ac_try_echo=$ac_try;;
2034 esac
2035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2036 $as_echo "$ac_try_echo"; } >&5
2037   (eval "$ac_link") 2>conftest.err
2038   ac_status=$?
2039   if test -s conftest.err; then
2040     grep -v '^ *+' conftest.err >conftest.er1
2041     cat conftest.er1 >&5
2042     mv -f conftest.er1 conftest.err
2043   fi
2044   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045   test $ac_status = 0; } && {
2046          test -z "$ac_cxx_werror_flag" ||
2047          test ! -s conftest.err
2048        } && test -s conftest$ac_exeext && {
2049          test "$cross_compiling" = yes ||
2050          $as_test_x conftest$ac_exeext
2051        }; then :
2052   ac_retval=0
2053 else
2054   $as_echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.$ac_ext >&5
2056
2057         ac_retval=1
2058 fi
2059   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2060   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2061   # interfere with the next link command; also delete a directory that is
2062   # left behind by Apple's compiler.  We do this before executing the actions.
2063   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2064   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2065   return $ac_retval
2066
2067 } # ac_fn_cxx_try_link
2068
2069 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2070 # -------------------------------------------------------
2071 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2072 # the include files in INCLUDES and setting the cache variable VAR
2073 # accordingly.
2074 ac_fn_c_check_header_mongrel ()
2075 {
2076   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2077   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079 $as_echo_n "checking for $2... " >&6; }
2080 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2081   $as_echo_n "(cached) " >&6
2082 fi
2083 eval ac_res=\$$3
2084                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2085 $as_echo "$ac_res" >&6; }
2086 else
2087   # Is the header compilable?
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2089 $as_echo_n "checking $2 usability... " >&6; }
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h.  */
2092 $4
2093 #include <$2>
2094 _ACEOF
2095 if ac_fn_c_try_compile "$LINENO"; then :
2096   ac_header_compiler=yes
2097 else
2098   ac_header_compiler=no
2099 fi
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2102 $as_echo "$ac_header_compiler" >&6; }
2103
2104 # Is the header present?
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2106 $as_echo_n "checking $2 presence... " >&6; }
2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h.  */
2109 #include <$2>
2110 _ACEOF
2111 if ac_fn_c_try_cpp "$LINENO"; then :
2112   ac_header_preproc=yes
2113 else
2114   ac_header_preproc=no
2115 fi
2116 rm -f conftest.err conftest.$ac_ext
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2118 $as_echo "$ac_header_preproc" >&6; }
2119
2120 # So?  What about this header?
2121 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2122   yes:no: )
2123     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2124 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2125     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2126 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2127     ;;
2128   no:yes:* )
2129     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2130 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2131     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2132 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2133     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2134 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2135     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2136 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2137     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2138 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2139     ;;
2140 esac
2141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2142 $as_echo_n "checking for $2... " >&6; }
2143 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2144   $as_echo_n "(cached) " >&6
2145 else
2146   eval "$3=\$ac_header_compiler"
2147 fi
2148 eval ac_res=\$$3
2149                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2150 $as_echo "$ac_res" >&6; }
2151 fi
2152   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2153
2154 } # ac_fn_c_check_header_mongrel
2155
2156 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2157 # ---------------------------------------------------------
2158 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2159 # the include files in INCLUDES and setting the cache variable VAR
2160 # accordingly.
2161 ac_fn_cxx_check_header_mongrel ()
2162 {
2163   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2164   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2166 $as_echo_n "checking for $2... " >&6; }
2167 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2168   $as_echo_n "(cached) " >&6
2169 fi
2170 eval ac_res=\$$3
2171                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2172 $as_echo "$ac_res" >&6; }
2173 else
2174   # Is the header compilable?
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2176 $as_echo_n "checking $2 usability... " >&6; }
2177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2178 /* end confdefs.h.  */
2179 $4
2180 #include <$2>
2181 _ACEOF
2182 if ac_fn_cxx_try_compile "$LINENO"; then :
2183   ac_header_compiler=yes
2184 else
2185   ac_header_compiler=no
2186 fi
2187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2189 $as_echo "$ac_header_compiler" >&6; }
2190
2191 # Is the header present?
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2193 $as_echo_n "checking $2 presence... " >&6; }
2194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2195 /* end confdefs.h.  */
2196 #include <$2>
2197 _ACEOF
2198 if ac_fn_cxx_try_cpp "$LINENO"; then :
2199   ac_header_preproc=yes
2200 else
2201   ac_header_preproc=no
2202 fi
2203 rm -f conftest.err conftest.$ac_ext
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2205 $as_echo "$ac_header_preproc" >&6; }
2206
2207 # So?  What about this header?
2208 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2209   yes:no: )
2210     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2211 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2212     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2213 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2214     ;;
2215   no:yes:* )
2216     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2217 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2218     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2219 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2220     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2221 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2222     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2223 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2224     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2225 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2226     ;;
2227 esac
2228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2229 $as_echo_n "checking for $2... " >&6; }
2230 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2231   $as_echo_n "(cached) " >&6
2232 else
2233   eval "$3=\$ac_header_compiler"
2234 fi
2235 eval ac_res=\$$3
2236                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2237 $as_echo "$ac_res" >&6; }
2238 fi
2239   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2240
2241 } # ac_fn_cxx_check_header_mongrel
2242
2243 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2244 # --------------------------------------------
2245 # Tries to find the compile-time value of EXPR in a program that includes
2246 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2247 # computed
2248 ac_fn_c_compute_int ()
2249 {
2250   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251   if test "$cross_compiling" = yes; then
2252     # Depending upon the size, compute the lo and hi bounds.
2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2254 /* end confdefs.h.  */
2255 $4
2256 int
2257 main ()
2258 {
2259 static int test_array [1 - 2 * !(($2) >= 0)];
2260 test_array [0] = 0
2261
2262   ;
2263   return 0;
2264 }
2265 _ACEOF
2266 if ac_fn_c_try_compile "$LINENO"; then :
2267   ac_lo=0 ac_mid=0
2268   while :; do
2269     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h.  */
2271 $4
2272 int
2273 main ()
2274 {
2275 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2276 test_array [0] = 0
2277
2278   ;
2279   return 0;
2280 }
2281 _ACEOF
2282 if ac_fn_c_try_compile "$LINENO"; then :
2283   ac_hi=$ac_mid; break
2284 else
2285   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2286                         if test $ac_lo -le $ac_mid; then
2287                           ac_lo= ac_hi=
2288                           break
2289                         fi
2290                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2291 fi
2292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2293   done
2294 else
2295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h.  */
2297 $4
2298 int
2299 main ()
2300 {
2301 static int test_array [1 - 2 * !(($2) < 0)];
2302 test_array [0] = 0
2303
2304   ;
2305   return 0;
2306 }
2307 _ACEOF
2308 if ac_fn_c_try_compile "$LINENO"; then :
2309   ac_hi=-1 ac_mid=-1
2310   while :; do
2311     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2312 /* end confdefs.h.  */
2313 $4
2314 int
2315 main ()
2316 {
2317 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2318 test_array [0] = 0
2319
2320   ;
2321   return 0;
2322 }
2323 _ACEOF
2324 if ac_fn_c_try_compile "$LINENO"; then :
2325   ac_lo=$ac_mid; break
2326 else
2327   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2328                         if test $ac_mid -le $ac_hi; then
2329                           ac_lo= ac_hi=
2330                           break
2331                         fi
2332                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2333 fi
2334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2335   done
2336 else
2337   ac_lo= ac_hi=
2338 fi
2339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 # Binary search between lo and hi bounds.
2343 while test "x$ac_lo" != "x$ac_hi"; do
2344   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346 /* end confdefs.h.  */
2347 $4
2348 int
2349 main ()
2350 {
2351 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2352 test_array [0] = 0
2353
2354   ;
2355   return 0;
2356 }
2357 _ACEOF
2358 if ac_fn_c_try_compile "$LINENO"; then :
2359   ac_hi=$ac_mid
2360 else
2361   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2362 fi
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364 done
2365 case $ac_lo in #((
2366 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2367 '') ac_retval=1 ;;
2368 esac
2369   else
2370     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h.  */
2372 $4
2373 static long int longval () { return $2; }
2374 static unsigned long int ulongval () { return $2; }
2375 #include <stdio.h>
2376 #include <stdlib.h>
2377 int
2378 main ()
2379 {
2380
2381   FILE *f = fopen ("conftest.val", "w");
2382   if (! f)
2383     return 1;
2384   if (($2) < 0)
2385     {
2386       long int i = longval ();
2387       if (i != ($2))
2388         return 1;
2389       fprintf (f, "%ld", i);
2390     }
2391   else
2392     {
2393       unsigned long int i = ulongval ();
2394       if (i != ($2))
2395         return 1;
2396       fprintf (f, "%lu", i);
2397     }
2398   /* Do not output a trailing newline, as this causes \r\n confusion
2399      on some platforms.  */
2400   return ferror (f) || fclose (f) != 0;
2401
2402   ;
2403   return 0;
2404 }
2405 _ACEOF
2406 if ac_fn_c_try_run "$LINENO"; then :
2407   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2408 else
2409   ac_retval=1
2410 fi
2411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2412   conftest.$ac_objext conftest.beam conftest.$ac_ext
2413 rm -f conftest.val
2414
2415   fi
2416   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2417   return $ac_retval
2418
2419 } # ac_fn_c_compute_int
2420
2421 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2422 # -------------------------------------------
2423 # Tests whether TYPE exists after having included INCLUDES, setting cache
2424 # variable VAR accordingly.
2425 ac_fn_c_check_type ()
2426 {
2427   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2429 $as_echo_n "checking for $2... " >&6; }
2430 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2431   $as_echo_n "(cached) " >&6
2432 else
2433   eval "$3=no"
2434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h.  */
2436 $4
2437 int
2438 main ()
2439 {
2440 if (sizeof ($2))
2441          return 0;
2442   ;
2443   return 0;
2444 }
2445 _ACEOF
2446 if ac_fn_c_try_compile "$LINENO"; then :
2447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2448 /* end confdefs.h.  */
2449 $4
2450 int
2451 main ()
2452 {
2453 if (sizeof (($2)))
2454             return 0;
2455   ;
2456   return 0;
2457 }
2458 _ACEOF
2459 if ac_fn_c_try_compile "$LINENO"; then :
2460
2461 else
2462   eval "$3=yes"
2463 fi
2464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2465 fi
2466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2467 fi
2468 eval ac_res=\$$3
2469                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2470 $as_echo "$ac_res" >&6; }
2471   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2472
2473 } # ac_fn_c_check_type
2474 cat >config.log <<_ACEOF
2475 This file contains any messages produced by compilers while
2476 running configure, to aid debugging if configure makes a mistake.
2477
2478 It was created by package-unused $as_me version-unused, which was
2479 generated by GNU Autoconf 2.64.  Invocation command line was
2480
2481   $ $0 $@
2482
2483 _ACEOF
2484 exec 5>>config.log
2485 {
2486 cat <<_ASUNAME
2487 ## --------- ##
2488 ## Platform. ##
2489 ## --------- ##
2490
2491 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2492 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2493 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2494 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2495 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2496
2497 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2498 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2499
2500 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2501 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2502 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2503 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2504 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2505 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2506 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2507
2508 _ASUNAME
2509
2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 for as_dir in $PATH
2512 do
2513   IFS=$as_save_IFS
2514   test -z "$as_dir" && as_dir=.
2515     $as_echo "PATH: $as_dir"
2516   done
2517 IFS=$as_save_IFS
2518
2519 } >&5
2520
2521 cat >&5 <<_ACEOF
2522
2523
2524 ## ----------- ##
2525 ## Core tests. ##
2526 ## ----------- ##
2527
2528 _ACEOF
2529
2530
2531 # Keep a trace of the command line.
2532 # Strip out --no-create and --no-recursion so they do not pile up.
2533 # Strip out --silent because we don't want to record it for future runs.
2534 # Also quote any args containing shell meta-characters.
2535 # Make two passes to allow for proper duplicate-argument suppression.
2536 ac_configure_args=
2537 ac_configure_args0=
2538 ac_configure_args1=
2539 ac_must_keep_next=false
2540 for ac_pass in 1 2
2541 do
2542   for ac_arg
2543   do
2544     case $ac_arg in
2545     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2546     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2547     | -silent | --silent | --silen | --sile | --sil)
2548       continue ;;
2549     *\'*)
2550       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2551     esac
2552     case $ac_pass in
2553     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2554     2)
2555       as_fn_append ac_configure_args1 " '$ac_arg'"
2556       if test $ac_must_keep_next = true; then
2557         ac_must_keep_next=false # Got value, back to normal.
2558       else
2559         case $ac_arg in
2560           *=* | --config-cache | -C | -disable-* | --disable-* \
2561           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2562           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2563           | -with-* | --with-* | -without-* | --without-* | --x)
2564             case "$ac_configure_args0 " in
2565               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2566             esac
2567             ;;
2568           -* ) ac_must_keep_next=true ;;
2569         esac
2570       fi
2571       as_fn_append ac_configure_args " '$ac_arg'"
2572       ;;
2573     esac
2574   done
2575 done
2576 { ac_configure_args0=; unset ac_configure_args0;}
2577 { ac_configure_args1=; unset ac_configure_args1;}
2578
2579 # When interrupted or exit'd, cleanup temporary files, and complete
2580 # config.log.  We remove comments because anyway the quotes in there
2581 # would cause problems or look ugly.
2582 # WARNING: Use '\'' to represent an apostrophe within the trap.
2583 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2584 trap 'exit_status=$?
2585   # Save into config.log some information that might help in debugging.
2586   {
2587     echo
2588
2589     cat <<\_ASBOX
2590 ## ---------------- ##
2591 ## Cache variables. ##
2592 ## ---------------- ##
2593 _ASBOX
2594     echo
2595     # The following way of writing the cache mishandles newlines in values,
2596 (
2597   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2598     eval ac_val=\$$ac_var
2599     case $ac_val in #(
2600     *${as_nl}*)
2601       case $ac_var in #(
2602       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2603 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2604       esac
2605       case $ac_var in #(
2606       _ | IFS | as_nl) ;; #(
2607       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2608       *) { eval $ac_var=; unset $ac_var;} ;;
2609       esac ;;
2610     esac
2611   done
2612   (set) 2>&1 |
2613     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2614     *${as_nl}ac_space=\ *)
2615       sed -n \
2616         "s/'\''/'\''\\\\'\'''\''/g;
2617           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2618       ;; #(
2619     *)
2620       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2621       ;;
2622     esac |
2623     sort
2624 )
2625     echo
2626
2627     cat <<\_ASBOX
2628 ## ----------------- ##
2629 ## Output variables. ##
2630 ## ----------------- ##
2631 _ASBOX
2632     echo
2633     for ac_var in $ac_subst_vars
2634     do
2635       eval ac_val=\$$ac_var
2636       case $ac_val in
2637       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2638       esac
2639       $as_echo "$ac_var='\''$ac_val'\''"
2640     done | sort
2641     echo
2642
2643     if test -n "$ac_subst_files"; then
2644       cat <<\_ASBOX
2645 ## ------------------- ##
2646 ## File substitutions. ##
2647 ## ------------------- ##
2648 _ASBOX
2649       echo
2650       for ac_var in $ac_subst_files
2651       do
2652         eval ac_val=\$$ac_var
2653         case $ac_val in
2654         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2655         esac
2656         $as_echo "$ac_var='\''$ac_val'\''"
2657       done | sort
2658       echo
2659     fi
2660
2661     if test -s confdefs.h; then
2662       cat <<\_ASBOX
2663 ## ----------- ##
2664 ## confdefs.h. ##
2665 ## ----------- ##
2666 _ASBOX
2667       echo
2668       cat confdefs.h
2669       echo
2670     fi
2671     test "$ac_signal" != 0 &&
2672       $as_echo "$as_me: caught signal $ac_signal"
2673     $as_echo "$as_me: exit $exit_status"
2674   } >&5
2675   rm -f core *.core core.conftest.* &&
2676     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2677     exit $exit_status
2678 ' 0
2679 for ac_signal in 1 2 13 15; do
2680   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2681 done
2682 ac_signal=0
2683
2684 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2685 rm -f -r conftest* confdefs.h
2686
2687 $as_echo "/* confdefs.h */" > confdefs.h
2688
2689 # Predefined preprocessor variables.
2690
2691 cat >>confdefs.h <<_ACEOF
2692 #define PACKAGE_NAME "$PACKAGE_NAME"
2693 _ACEOF
2694
2695 cat >>confdefs.h <<_ACEOF
2696 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2697 _ACEOF
2698
2699 cat >>confdefs.h <<_ACEOF
2700 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2701 _ACEOF
2702
2703 cat >>confdefs.h <<_ACEOF
2704 #define PACKAGE_STRING "$PACKAGE_STRING"
2705 _ACEOF
2706
2707 cat >>confdefs.h <<_ACEOF
2708 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2709 _ACEOF
2710
2711 cat >>confdefs.h <<_ACEOF
2712 #define PACKAGE_URL "$PACKAGE_URL"
2713 _ACEOF
2714
2715
2716 # Let the site file select an alternate cache file if it wants to.
2717 # Prefer an explicitly selected file to automatically selected ones.
2718 ac_site_file1=NONE
2719 ac_site_file2=NONE
2720 if test -n "$CONFIG_SITE"; then
2721   ac_site_file1=$CONFIG_SITE
2722 elif test "x$prefix" != xNONE; then
2723   ac_site_file1=$prefix/share/config.site
2724   ac_site_file2=$prefix/etc/config.site
2725 else
2726   ac_site_file1=$ac_default_prefix/share/config.site
2727   ac_site_file2=$ac_default_prefix/etc/config.site
2728 fi
2729 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2730 do
2731   test "x$ac_site_file" = xNONE && continue
2732   if test -r "$ac_site_file"; then
2733     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2734 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2735     sed 's/^/| /' "$ac_site_file" >&5
2736     . "$ac_site_file"
2737   fi
2738 done
2739
2740 if test -r "$cache_file"; then
2741   # Some versions of bash will fail to source /dev/null (special
2742   # files actually), so we avoid doing that.
2743   if test -f "$cache_file"; then
2744     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2745 $as_echo "$as_me: loading cache $cache_file" >&6;}
2746     case $cache_file in
2747       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2748       *)                      . "./$cache_file";;
2749     esac
2750   fi
2751 else
2752   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2753 $as_echo "$as_me: creating cache $cache_file" >&6;}
2754   >$cache_file
2755 fi
2756
2757 # Check that the precious variables saved in the cache have kept the same
2758 # value.
2759 ac_cache_corrupted=false
2760 for ac_var in $ac_precious_vars; do
2761   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2762   eval ac_new_set=\$ac_env_${ac_var}_set
2763   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2764   eval ac_new_val=\$ac_env_${ac_var}_value
2765   case $ac_old_set,$ac_new_set in
2766     set,)
2767       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2768 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2769       ac_cache_corrupted=: ;;
2770     ,set)
2771       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2772 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2773       ac_cache_corrupted=: ;;
2774     ,);;
2775     *)
2776       if test "x$ac_old_val" != "x$ac_new_val"; then
2777         # differences in whitespace do not lead to failure.
2778         ac_old_val_w=`echo x $ac_old_val`
2779         ac_new_val_w=`echo x $ac_new_val`
2780         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2781           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2782 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2783           ac_cache_corrupted=:
2784         else
2785           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2786 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2787           eval $ac_var=\$ac_old_val
2788         fi
2789         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2790 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2791         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2792 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2793       fi;;
2794   esac
2795   # Pass precious variables to config.status.
2796   if test "$ac_new_set" = set; then
2797     case $ac_new_val in
2798     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2799     *) ac_arg=$ac_var=$ac_new_val ;;
2800     esac
2801     case " $ac_configure_args " in
2802       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2803       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2804     esac
2805   fi
2806 done
2807 if $ac_cache_corrupted; then
2808   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2810   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2811 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2812   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2813 fi
2814 ## -------------------- ##
2815 ## Main body of script. ##
2816 ## -------------------- ##
2817
2818 ac_ext=c
2819 ac_cpp='$CPP $CPPFLAGS'
2820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2823
2824
2825
2826
2827
2828
2829 ac_config_headers="$ac_config_headers config.h"
2830
2831
2832 # This works around the fact that libtool configuration may change LD
2833 # for this particular configuration, but some shells, instead of
2834 # keeping the changes in LD private, export them just because LD is
2835 # exported.  Only used at the end of this file.
2836 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2837
2838 # Find the rest of the source tree framework.
2839 # Default to --enable-multilib
2840 # Check whether --enable-multilib was given.
2841 if test "${enable_multilib+set}" = set; then :
2842   enableval=$enable_multilib; case "$enableval" in
2843   yes) multilib=yes ;;
2844   no)  multilib=no ;;
2845   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2846  esac
2847 else
2848   multilib=yes
2849 fi
2850
2851
2852 # We may get other options which we leave undocumented:
2853 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2854 # See config-ml.in if you want the gory details.
2855
2856 if test "$srcdir" = "."; then
2857   if test "$with_target_subdir" != "."; then
2858     multi_basedir="$srcdir/$with_multisrctop../.."
2859   else
2860     multi_basedir="$srcdir/$with_multisrctop.."
2861   fi
2862 else
2863   multi_basedir="$srcdir/.."
2864 fi
2865
2866
2867 # Even if the default multilib is not a cross compilation,
2868 # it may be that some of the other multilibs are.
2869 if test $cross_compiling = no && test $multilib = yes \
2870    && test "x${with_multisubdir}" != x ; then
2871    cross_compiling=maybe
2872 fi
2873
2874 ac_config_commands="$ac_config_commands default-1"
2875
2876
2877 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2878 #
2879 # You will slowly go insane if you do not grok the following fact:  when
2880 # building v3 as part of the compiler, the top-level /target/ becomes the
2881 # library's /host/.  configure then causes --target to default to --host,
2882 # exactly like any other package using autoconf.  Therefore, 'target' and
2883 # 'host' will always be the same.  This makes sense both for native and
2884 # cross compilers, just think about it for a little while.  :-)
2885 #
2886 # Also, if v3 is being configured as part of a cross compiler, the top-level
2887 # configure script will pass the "real" host as $with_cross_host.
2888 #
2889 # Do not delete or change the following two lines.  For why, see
2890 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2891 ac_aux_dir=
2892 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2893   for ac_t in install-sh install.sh shtool; do
2894     if test -f "$ac_dir/$ac_t"; then
2895       ac_aux_dir=$ac_dir
2896       ac_install_sh="$ac_aux_dir/$ac_t -c"
2897       break 2
2898     fi
2899   done
2900 done
2901 if test -z "$ac_aux_dir"; then
2902   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2903 fi
2904
2905 # These three variables are undocumented and unsupported,
2906 # and are intended to be withdrawn in a future Autoconf release.
2907 # They can cause serious problems if a builder's source tree is in a directory
2908 # whose full name contains unusual characters.
2909 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2910 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2911 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2912
2913
2914 # Make sure we can run config.sub.
2915 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2916   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2917
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2919 $as_echo_n "checking build system type... " >&6; }
2920 if test "${ac_cv_build+set}" = set; then :
2921   $as_echo_n "(cached) " >&6
2922 else
2923   ac_build_alias=$build_alias
2924 test "x$ac_build_alias" = x &&
2925   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2926 test "x$ac_build_alias" = x &&
2927   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2928 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2929   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2930
2931 fi
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2933 $as_echo "$ac_cv_build" >&6; }
2934 case $ac_cv_build in
2935 *-*-*) ;;
2936 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2937 esac
2938 build=$ac_cv_build
2939 ac_save_IFS=$IFS; IFS='-'
2940 set x $ac_cv_build
2941 shift
2942 build_cpu=$1
2943 build_vendor=$2
2944 shift; shift
2945 # Remember, the first character of IFS is used to create $*,
2946 # except with old shells:
2947 build_os=$*
2948 IFS=$ac_save_IFS
2949 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2950
2951
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2953 $as_echo_n "checking host system type... " >&6; }
2954 if test "${ac_cv_host+set}" = set; then :
2955   $as_echo_n "(cached) " >&6
2956 else
2957   if test "x$host_alias" = x; then
2958   ac_cv_host=$ac_cv_build
2959 else
2960   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2961     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2962 fi
2963
2964 fi
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2966 $as_echo "$ac_cv_host" >&6; }
2967 case $ac_cv_host in
2968 *-*-*) ;;
2969 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2970 esac
2971 host=$ac_cv_host
2972 ac_save_IFS=$IFS; IFS='-'
2973 set x $ac_cv_host
2974 shift
2975 host_cpu=$1
2976 host_vendor=$2
2977 shift; shift
2978 # Remember, the first character of IFS is used to create $*,
2979 # except with old shells:
2980 host_os=$*
2981 IFS=$ac_save_IFS
2982 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2983
2984
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2986 $as_echo_n "checking target system type... " >&6; }
2987 if test "${ac_cv_target+set}" = set; then :
2988   $as_echo_n "(cached) " >&6
2989 else
2990   if test "x$target_alias" = x; then
2991   ac_cv_target=$ac_cv_host
2992 else
2993   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2994     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2995 fi
2996
2997 fi
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2999 $as_echo "$ac_cv_target" >&6; }
3000 case $ac_cv_target in
3001 *-*-*) ;;
3002 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3003 esac
3004 target=$ac_cv_target
3005 ac_save_IFS=$IFS; IFS='-'
3006 set x $ac_cv_target
3007 shift
3008 target_cpu=$1
3009 target_vendor=$2
3010 shift; shift
3011 # Remember, the first character of IFS is used to create $*,
3012 # except with old shells:
3013 target_os=$*
3014 IFS=$ac_save_IFS
3015 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3016
3017
3018 # The aliases save the names the user supplied, while $host etc.
3019 # will get canonicalized.
3020 test -n "$target_alias" &&
3021   test "$program_prefix$program_suffix$program_transform_name" = \
3022     NONENONEs,x,x, &&
3023   program_prefix=${target_alias}-
3024
3025 target_alias=${target_alias-$host_alias}
3026
3027 # Handy for debugging:
3028 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3029
3030 if test "$build" != "$host"; then
3031   # We are being configured with some form of cross compiler.
3032   GLIBCXX_IS_NATIVE=false
3033   case "$host","$target" in
3034     # Darwin crosses can use the host system's libraries and headers,
3035     # because of the fat library support.  Of course, it must be the
3036     # same version of Darwin on both sides.  Allow the user to
3037     # just say --target=foo-darwin without a version number to mean
3038     # "the version on this system".
3039       *-*-darwin*,*-*-darwin*)
3040         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3041         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3042         if test $hostos = $targetos -o $targetos = darwin ; then
3043           GLIBCXX_IS_NATIVE=true
3044         fi
3045         ;;
3046
3047       *)
3048
3049         ;;
3050   esac
3051 else
3052   GLIBCXX_IS_NATIVE=true
3053 fi
3054
3055 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3056 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3057 #  1.x:  minimum required version
3058 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3059 #              of other PACKAGE_* variables will, however, and there's nothing
3060 #              we can do about that; they come from AC_INIT).
3061 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3062 #            file in the top srcdir, etc, etc), so stop complaining.
3063 #  no-dependencies:  turns off auto dependency generation (just for now)
3064 #  no-dist:  we don't want 'dist' and related rules.
3065 #  -Wall:  turns on all automake warnings...
3066 #  -Wno-portability:  ...except this one, since GNU make is now required.
3067 am__api_version='1.11'
3068
3069 # Find a good install program.  We prefer a C program (faster),
3070 # so one script is as good as another.  But avoid the broken or
3071 # incompatible versions:
3072 # SysV /etc/install, /usr/sbin/install
3073 # SunOS /usr/etc/install
3074 # IRIX /sbin/install
3075 # AIX /bin/install
3076 # AmigaOS /C/install, which installs bootblocks on floppy discs
3077 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3078 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3079 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3080 # OS/2's system install, which has a completely different semantic
3081 # ./install, which can be erroneously created by make from ./install.sh.
3082 # Reject install programs that cannot install multiple files.
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3084 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3085 if test -z "$INSTALL"; then
3086 if test "${ac_cv_path_install+set}" = set; then :
3087   $as_echo_n "(cached) " >&6
3088 else
3089   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 for as_dir in $PATH
3091 do
3092   IFS=$as_save_IFS
3093   test -z "$as_dir" && as_dir=.
3094     # Account for people who put trailing slashes in PATH elements.
3095 case $as_dir/ in #((
3096   ./ | .// | /[cC]/* | \
3097   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3098   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3099   /usr/ucb/* ) ;;
3100   *)
3101     # OSF1 and SCO ODT 3.0 have their own names for install.
3102     # Don't use installbsd from OSF since it installs stuff as root
3103     # by default.
3104     for ac_prog in ginstall scoinst install; do
3105       for ac_exec_ext in '' $ac_executable_extensions; do
3106         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3107           if test $ac_prog = install &&
3108             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3109             # AIX install.  It has an incompatible calling convention.
3110             :
3111           elif test $ac_prog = install &&
3112             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3113             # program-specific install script used by HP pwplus--don't use.
3114             :
3115           else
3116             rm -rf conftest.one conftest.two conftest.dir
3117             echo one > conftest.one
3118             echo two > conftest.two
3119             mkdir conftest.dir
3120             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3121               test -s conftest.one && test -s conftest.two &&
3122               test -s conftest.dir/conftest.one &&
3123               test -s conftest.dir/conftest.two
3124             then
3125               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3126               break 3
3127             fi
3128           fi
3129         fi
3130       done
3131     done
3132     ;;
3133 esac
3134
3135   done
3136 IFS=$as_save_IFS
3137
3138 rm -rf conftest.one conftest.two conftest.dir
3139
3140 fi
3141   if test "${ac_cv_path_install+set}" = set; then
3142     INSTALL=$ac_cv_path_install
3143   else
3144     # As a last resort, use the slow shell script.  Don't cache a
3145     # value for INSTALL within a source directory, because that will
3146     # break other packages using the cache if that directory is
3147     # removed, or if the value is a relative name.
3148     INSTALL=$ac_install_sh
3149   fi
3150 fi
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3152 $as_echo "$INSTALL" >&6; }
3153
3154 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3155 # It thinks the first close brace ends the variable substitution.
3156 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3157
3158 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3159
3160 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3161
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3163 $as_echo_n "checking whether build environment is sane... " >&6; }
3164 # Just in case
3165 sleep 1
3166 echo timestamp > conftest.file
3167 # Reject unsafe characters in $srcdir or the absolute working directory
3168 # name.  Accept space and tab only in the latter.
3169 am_lf='
3170 '
3171 case `pwd` in
3172   *[\\\"\#\$\&\'\`$am_lf]*)
3173     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3174 esac
3175 case $srcdir in
3176   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3177     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3178 esac
3179
3180 # Do `set' in a subshell so we don't clobber the current shell's
3181 # arguments.  Must try -L first in case configure is actually a
3182 # symlink; some systems play weird games with the mod time of symlinks
3183 # (eg FreeBSD returns the mod time of the symlink's containing
3184 # directory).
3185 if (
3186    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3187    if test "$*" = "X"; then
3188       # -L didn't work.
3189       set X `ls -t "$srcdir/configure" conftest.file`
3190    fi
3191    rm -f conftest.file
3192    if test "$*" != "X $srcdir/configure conftest.file" \
3193       && test "$*" != "X conftest.file $srcdir/configure"; then
3194
3195       # If neither matched, then we have a broken ls.  This can happen
3196       # if, for instance, CONFIG_SHELL is bash and it inherits a
3197       # broken ls alias from the environment.  This has actually
3198       # happened.  Such a system could not be considered "sane".
3199       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3200 alias in your environment" "$LINENO" 5
3201    fi
3202
3203    test "$2" = conftest.file
3204    )
3205 then
3206    # Ok.
3207    :
3208 else
3209    as_fn_error "newly created file is older than distributed files!
3210 Check your system clock" "$LINENO" 5
3211 fi
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3213 $as_echo "yes" >&6; }
3214 test "$program_prefix" != NONE &&
3215   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3216 # Use a double $ so make ignores it.
3217 test "$program_suffix" != NONE &&
3218   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3219 # Double any \ or $.
3220 # By default was `s,x,x', remove it if useless.
3221 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3222 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3223
3224 # expand $ac_aux_dir to an absolute path
3225 am_aux_dir=`cd $ac_aux_dir && pwd`
3226
3227 if test x"${MISSING+set}" != xset; then
3228   case $am_aux_dir in
3229   *\ * | *\     *)
3230     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3231   *)
3232     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3233   esac
3234 fi
3235 # Use eval to expand $SHELL
3236 if eval "$MISSING --run true"; then
3237   am_missing_run="$MISSING --run "
3238 else
3239   am_missing_run=
3240   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3241 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3242 fi
3243
3244 if test x"${install_sh}" != xset; then
3245   case $am_aux_dir in
3246   *\ * | *\     *)
3247     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3248   *)
3249     install_sh="\${SHELL} $am_aux_dir/install-sh"
3250   esac
3251 fi
3252
3253 # Installed binaries are usually stripped using `strip' when the user
3254 # run `make install-strip'.  However `strip' might not be the right
3255 # tool to use in cross-compilation environments, therefore Automake
3256 # will honor the `STRIP' environment variable to overrule this program.
3257 if test "$cross_compiling" != no; then
3258   if test -n "$ac_tool_prefix"; then
3259   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3260 set dummy ${ac_tool_prefix}strip; ac_word=$2
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262 $as_echo_n "checking for $ac_word... " >&6; }
3263 if test "${ac_cv_prog_STRIP+set}" = set; then :
3264   $as_echo_n "(cached) " >&6
3265 else
3266   if test -n "$STRIP"; then
3267   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3268 else
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 for as_dir in $PATH
3271 do
3272   IFS=$as_save_IFS
3273   test -z "$as_dir" && as_dir=.
3274     for ac_exec_ext in '' $ac_executable_extensions; do
3275   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3277     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278     break 2
3279   fi
3280 done
3281   done
3282 IFS=$as_save_IFS
3283
3284 fi
3285 fi
3286 STRIP=$ac_cv_prog_STRIP
3287 if test -n "$STRIP"; then
3288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3289 $as_echo "$STRIP" >&6; }
3290 else
3291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3293 fi
3294
3295
3296 fi
3297 if test -z "$ac_cv_prog_STRIP"; then
3298   ac_ct_STRIP=$STRIP
3299   # Extract the first word of "strip", so it can be a program name with args.
3300 set dummy strip; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3304   $as_echo_n "(cached) " >&6
3305 else
3306   if test -n "$ac_ct_STRIP"; then
3307   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3308 else
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 for as_dir in $PATH
3311 do
3312   IFS=$as_save_IFS
3313   test -z "$as_dir" && as_dir=.
3314     for ac_exec_ext in '' $ac_executable_extensions; do
3315   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3316     ac_cv_prog_ac_ct_STRIP="strip"
3317     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318     break 2
3319   fi
3320 done
3321   done
3322 IFS=$as_save_IFS
3323
3324 fi
3325 fi
3326 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3327 if test -n "$ac_ct_STRIP"; then
3328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3329 $as_echo "$ac_ct_STRIP" >&6; }
3330 else
3331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3333 fi
3334
3335   if test "x$ac_ct_STRIP" = x; then
3336     STRIP=":"
3337   else
3338     case $cross_compiling:$ac_tool_warned in
3339 yes:)
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342 ac_tool_warned=yes ;;
3343 esac
3344     STRIP=$ac_ct_STRIP
3345   fi
3346 else
3347   STRIP="$ac_cv_prog_STRIP"
3348 fi
3349
3350 fi
3351 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3352
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3354 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3355 if test -z "$MKDIR_P"; then
3356   if test "${ac_cv_path_mkdir+set}" = set; then :
3357   $as_echo_n "(cached) " >&6
3358 else
3359   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3360 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3361 do
3362   IFS=$as_save_IFS
3363   test -z "$as_dir" && as_dir=.
3364     for ac_prog in mkdir gmkdir; do
3365          for ac_exec_ext in '' $ac_executable_extensions; do
3366            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3367            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3368              'mkdir (GNU coreutils) '* | \
3369              'mkdir (coreutils) '* | \
3370              'mkdir (fileutils) '4.1*)
3371                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3372                break 3;;
3373            esac
3374          done
3375        done
3376   done
3377 IFS=$as_save_IFS
3378
3379 fi
3380
3381   if test "${ac_cv_path_mkdir+set}" = set; then
3382     MKDIR_P="$ac_cv_path_mkdir -p"
3383   else
3384     # As a last resort, use the slow shell script.  Don't cache a
3385     # value for MKDIR_P within a source directory, because that will
3386     # break other packages using the cache if that directory is
3387     # removed, or if the value is a relative name.
3388     test -d ./--version && rmdir ./--version
3389     MKDIR_P="$ac_install_sh -d"
3390   fi
3391 fi
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3393 $as_echo "$MKDIR_P" >&6; }
3394
3395 mkdir_p="$MKDIR_P"
3396 case $mkdir_p in
3397   [\\/$]* | ?:[\\/]*) ;;
3398   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3399 esac
3400
3401 for ac_prog in gawk mawk nawk awk
3402 do
3403   # Extract the first word of "$ac_prog", so it can be a program name with args.
3404 set dummy $ac_prog; ac_word=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if test "${ac_cv_prog_AWK+set}" = set; then :
3408   $as_echo_n "(cached) " >&6
3409 else
3410   if test -n "$AWK"; then
3411   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3412 else
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 for as_dir in $PATH
3415 do
3416   IFS=$as_save_IFS
3417   test -z "$as_dir" && as_dir=.
3418     for ac_exec_ext in '' $ac_executable_extensions; do
3419   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3420     ac_cv_prog_AWK="$ac_prog"
3421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422     break 2
3423   fi
3424 done
3425   done
3426 IFS=$as_save_IFS
3427
3428 fi
3429 fi
3430 AWK=$ac_cv_prog_AWK
3431 if test -n "$AWK"; then
3432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3433 $as_echo "$AWK" >&6; }
3434 else
3435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436 $as_echo "no" >&6; }
3437 fi
3438
3439
3440   test -n "$AWK" && break
3441 done
3442
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3444 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3445 set x ${MAKE-make}
3446 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3447 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3448   $as_echo_n "(cached) " >&6
3449 else
3450   cat >conftest.make <<\_ACEOF
3451 SHELL = /bin/sh
3452 all:
3453         @echo '@@@%%%=$(MAKE)=@@@%%%'
3454 _ACEOF
3455 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3456 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3457   *@@@%%%=?*=@@@%%%*)
3458     eval ac_cv_prog_make_${ac_make}_set=yes;;
3459   *)
3460     eval ac_cv_prog_make_${ac_make}_set=no;;
3461 esac
3462 rm -f conftest.make
3463 fi
3464 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3466 $as_echo "yes" >&6; }
3467   SET_MAKE=
3468 else
3469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470 $as_echo "no" >&6; }
3471   SET_MAKE="MAKE=${MAKE-make}"
3472 fi
3473
3474 rm -rf .tst 2>/dev/null
3475 mkdir .tst 2>/dev/null
3476 if test -d .tst; then
3477   am__leading_dot=.
3478 else
3479   am__leading_dot=_
3480 fi
3481 rmdir .tst 2>/dev/null
3482
3483 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3484   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3485   # is not polluted with repeated "-I."
3486   am__isrc=' -I$(srcdir)'
3487   # test to see if srcdir already configured
3488   if test -f $srcdir/config.status; then
3489     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3490   fi
3491 fi
3492
3493 # test whether we have cygpath
3494 if test -z "$CYGPATH_W"; then
3495   if (cygpath --version) >/dev/null 2>/dev/null; then
3496     CYGPATH_W='cygpath -w'
3497   else
3498     CYGPATH_W=echo
3499   fi
3500 fi
3501
3502
3503 # Define the identity of the package.
3504  PACKAGE='libstdc++'
3505  VERSION='version-unused'
3506
3507
3508 # Some tools Automake needs.
3509
3510 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3511
3512
3513 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3514
3515
3516 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3517
3518
3519 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3520
3521
3522 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3523
3524 # We need awk for the "check" target.  The system "awk" is bad on
3525 # some platforms.
3526 # Always define AMTAR for backward compatibility.
3527
3528 AMTAR=${AMTAR-"${am_missing_run}tar"}
3529
3530 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3531
3532
3533
3534
3535
3536
3537
3538
3539 # -fno-builtin must be present here so that a non-conflicting form of
3540 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3541
3542 save_CXXFLAGS="$CXXFLAGS"
3543 CXXFLAGS="$CXXFLAGS -fno-builtin"
3544 ac_ext=c
3545 ac_cpp='$CPP $CPPFLAGS'
3546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549 if test -n "$ac_tool_prefix"; then
3550   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3551 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3553 $as_echo_n "checking for $ac_word... " >&6; }
3554 if test "${ac_cv_prog_CC+set}" = set; then :
3555   $as_echo_n "(cached) " >&6
3556 else
3557   if test -n "$CC"; then
3558   ac_cv_prog_CC="$CC" # Let the user override the test.
3559 else
3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 for as_dir in $PATH
3562 do
3563   IFS=$as_save_IFS
3564   test -z "$as_dir" && as_dir=.
3565     for ac_exec_ext in '' $ac_executable_extensions; do
3566   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3567     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3569     break 2
3570   fi
3571 done
3572   done
3573 IFS=$as_save_IFS
3574
3575 fi
3576 fi
3577 CC=$ac_cv_prog_CC
3578 if test -n "$CC"; then
3579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3580 $as_echo "$CC" >&6; }
3581 else
3582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3584 fi
3585
3586
3587 fi
3588 if test -z "$ac_cv_prog_CC"; then
3589   ac_ct_CC=$CC
3590   # Extract the first word of "gcc", so it can be a program name with args.
3591 set dummy gcc; ac_word=$2
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3593 $as_echo_n "checking for $ac_word... " >&6; }
3594 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3595   $as_echo_n "(cached) " >&6
3596 else
3597   if test -n "$ac_ct_CC"; then
3598   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3599 else
3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3601 for as_dir in $PATH
3602 do
3603   IFS=$as_save_IFS
3604   test -z "$as_dir" && as_dir=.
3605     for ac_exec_ext in '' $ac_executable_extensions; do
3606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3607     ac_cv_prog_ac_ct_CC="gcc"
3608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609     break 2
3610   fi
3611 done
3612   done
3613 IFS=$as_save_IFS
3614
3615 fi
3616 fi
3617 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3618 if test -n "$ac_ct_CC"; then
3619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3620 $as_echo "$ac_ct_CC" >&6; }
3621 else
3622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3624 fi
3625
3626   if test "x$ac_ct_CC" = x; then
3627     CC=""
3628   else
3629     case $cross_compiling:$ac_tool_warned in
3630 yes:)
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3633 ac_tool_warned=yes ;;
3634 esac
3635     CC=$ac_ct_CC
3636   fi
3637 else
3638   CC="$ac_cv_prog_CC"
3639 fi
3640
3641 if test -z "$CC"; then
3642           if test -n "$ac_tool_prefix"; then
3643     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3644 set dummy ${ac_tool_prefix}cc; ac_word=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if test "${ac_cv_prog_CC+set}" = set; then :
3648   $as_echo_n "(cached) " >&6
3649 else
3650   if test -n "$CC"; then
3651   ac_cv_prog_CC="$CC" # Let the user override the test.
3652 else
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654 for as_dir in $PATH
3655 do
3656   IFS=$as_save_IFS
3657   test -z "$as_dir" && as_dir=.
3658     for ac_exec_ext in '' $ac_executable_extensions; do
3659   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3660     ac_cv_prog_CC="${ac_tool_prefix}cc"
3661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662     break 2
3663   fi
3664 done
3665   done
3666 IFS=$as_save_IFS
3667
3668 fi
3669 fi
3670 CC=$ac_cv_prog_CC
3671 if test -n "$CC"; then
3672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3673 $as_echo "$CC" >&6; }
3674 else
3675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3677 fi
3678
3679
3680   fi
3681 fi
3682 if test -z "$CC"; then
3683   # Extract the first word of "cc", so it can be a program name with args.
3684 set dummy cc; ac_word=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if test "${ac_cv_prog_CC+set}" = set; then :
3688   $as_echo_n "(cached) " >&6
3689 else
3690   if test -n "$CC"; then
3691   ac_cv_prog_CC="$CC" # Let the user override the test.
3692 else
3693   ac_prog_rejected=no
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH
3696 do
3697   IFS=$as_save_IFS
3698   test -z "$as_dir" && as_dir=.
3699     for ac_exec_ext in '' $ac_executable_extensions; do
3700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3701     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3702        ac_prog_rejected=yes
3703        continue
3704      fi
3705     ac_cv_prog_CC="cc"
3706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707     break 2
3708   fi
3709 done
3710   done
3711 IFS=$as_save_IFS
3712
3713 if test $ac_prog_rejected = yes; then
3714   # We found a bogon in the path, so make sure we never use it.
3715   set dummy $ac_cv_prog_CC
3716   shift
3717   if test $# != 0; then
3718     # We chose a different compiler from the bogus one.
3719     # However, it has the same basename, so the bogon will be chosen
3720     # first if we set CC to just the basename; use the full file name.
3721     shift
3722     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3723   fi
3724 fi
3725 fi
3726 fi
3727 CC=$ac_cv_prog_CC
3728 if test -n "$CC"; then
3729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3731 else
3732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3734 fi
3735
3736
3737 fi
3738 if test -z "$CC"; then
3739   if test -n "$ac_tool_prefix"; then
3740   for ac_prog in cl.exe
3741   do
3742     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3743 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if test "${ac_cv_prog_CC+set}" = set; then :
3747   $as_echo_n "(cached) " >&6
3748 else
3749   if test -n "$CC"; then
3750   ac_cv_prog_CC="$CC" # Let the user override the test.
3751 else
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 for as_dir in $PATH
3754 do
3755   IFS=$as_save_IFS
3756   test -z "$as_dir" && as_dir=.
3757     for ac_exec_ext in '' $ac_executable_extensions; do
3758   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3759     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3760     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761     break 2
3762   fi
3763 done
3764   done
3765 IFS=$as_save_IFS
3766
3767 fi
3768 fi
3769 CC=$ac_cv_prog_CC
3770 if test -n "$CC"; then
3771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3772 $as_echo "$CC" >&6; }
3773 else
3774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3776 fi
3777
3778
3779     test -n "$CC" && break
3780   done
3781 fi
3782 if test -z "$CC"; then
3783   ac_ct_CC=$CC
3784   for ac_prog in cl.exe
3785 do
3786   # Extract the first word of "$ac_prog", so it can be a program name with args.
3787 set dummy $ac_prog; ac_word=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3791   $as_echo_n "(cached) " >&6
3792 else
3793   if test -n "$ac_ct_CC"; then
3794   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3795 else
3796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797 for as_dir in $PATH
3798 do
3799   IFS=$as_save_IFS
3800   test -z "$as_dir" && as_dir=.
3801     for ac_exec_ext in '' $ac_executable_extensions; do
3802   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3803     ac_cv_prog_ac_ct_CC="$ac_prog"
3804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805     break 2
3806   fi
3807 done
3808   done
3809 IFS=$as_save_IFS
3810
3811 fi
3812 fi
3813 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3814 if test -n "$ac_ct_CC"; then
3815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3816 $as_echo "$ac_ct_CC" >&6; }
3817 else
3818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3820 fi
3821
3822
3823   test -n "$ac_ct_CC" && break
3824 done
3825
3826   if test "x$ac_ct_CC" = x; then
3827     CC=""
3828   else
3829     case $cross_compiling:$ac_tool_warned in
3830 yes:)
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3833 ac_tool_warned=yes ;;
3834 esac
3835     CC=$ac_ct_CC
3836   fi
3837 fi
3838
3839 fi
3840
3841
3842 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3844 as_fn_error "no acceptable C compiler found in \$PATH
3845 See \`config.log' for more details." "$LINENO" 5; }
3846
3847 # Provide some information about the compiler.
3848 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3849 set X $ac_compile
3850 ac_compiler=$2
3851 for ac_option in --version -v -V -qversion; do
3852   { { ac_try="$ac_compiler $ac_option >&5"
3853 case "(($ac_try" in
3854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855   *) ac_try_echo=$ac_try;;
3856 esac
3857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3858 $as_echo "$ac_try_echo"; } >&5
3859   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3860   ac_status=$?
3861   if test -s conftest.err; then
3862     sed '10a\
3863 ... rest of stderr output deleted ...
3864          10q' conftest.err >conftest.er1
3865     cat conftest.er1 >&5
3866     rm -f conftest.er1 conftest.err
3867   fi
3868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869   test $ac_status = 0; }
3870 done
3871
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h.  */
3874
3875 int
3876 main ()
3877 {
3878
3879   ;
3880   return 0;
3881 }
3882 _ACEOF
3883 # FIXME: Cleanup?
3884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3885   (eval $ac_link) 2>&5
3886   ac_status=$?
3887   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3888   test $ac_status = 0; }; then :
3889   gcc_no_link=no
3890 else
3891   gcc_no_link=yes
3892 fi
3893 if test x$gcc_no_link = xyes; then
3894   # Setting cross_compile will disable run tests; it will
3895   # also disable AC_CHECK_FILE but that's generally
3896   # correct if we can't link.
3897   cross_compiling=yes
3898   EXEEXT=
3899 else
3900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h.  */
3902
3903 int
3904 main ()
3905 {
3906
3907   ;
3908   return 0;
3909 }
3910 _ACEOF
3911 ac_clean_files_save=$ac_clean_files
3912 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3913 # Try to create an executable without -o first, disregard a.out.
3914 # It will help us diagnose broken compilers, and finding out an intuition
3915 # of exeext.
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3917 $as_echo_n "checking for C compiler default output file name... " >&6; }
3918 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3919
3920 # The possible output files:
3921 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3922
3923 ac_rmfiles=
3924 for ac_file in $ac_files
3925 do
3926   case $ac_file in
3927     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3928     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3929   esac
3930 done
3931 rm -f $ac_rmfiles
3932
3933 if { { ac_try="$ac_link_default"
3934 case "(($ac_try" in
3935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936   *) ac_try_echo=$ac_try;;
3937 esac
3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940   (eval "$ac_link_default") 2>&5
3941   ac_status=$?
3942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3943   test $ac_status = 0; }; then :
3944   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3945 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3946 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3947 # so that the user can short-circuit this test for compilers unknown to
3948 # Autoconf.
3949 for ac_file in $ac_files ''
3950 do
3951   test -f "$ac_file" || continue
3952   case $ac_file in
3953     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3954         ;;
3955     [ab].out )
3956         # We found the default executable, but exeext='' is most
3957         # certainly right.
3958         break;;
3959     *.* )
3960         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3961         then :; else
3962            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3963         fi
3964         # We set ac_cv_exeext here because the later test for it is not
3965         # safe: cross compilers may not add the suffix if given an `-o'
3966         # argument, so we may need to know it at that point already.
3967         # Even if this section looks crufty: it has the advantage of
3968         # actually working.
3969         break;;
3970     * )
3971         break;;
3972   esac
3973 done
3974 test "$ac_cv_exeext" = no && ac_cv_exeext=
3975
3976 else
3977   ac_file=''
3978 fi
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3980 $as_echo "$ac_file" >&6; }
3981 if test -z "$ac_file"; then :
3982   $as_echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.$ac_ext >&5
3984
3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 { as_fn_set_status 77
3988 as_fn_error "C compiler cannot create executables
3989 See \`config.log' for more details." "$LINENO" 5; }; }
3990 fi
3991 ac_exeext=$ac_cv_exeext
3992
3993 # Check that the compiler produces executables we can run.  If not, either
3994 # the compiler is broken, or we cross compile.
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3996 $as_echo_n "checking whether the C compiler works... " >&6; }
3997 # If not cross compiling, check that we can run a simple program.
3998 if test "$cross_compiling" != yes; then
3999   if { ac_try='./$ac_file'
4000   { { case "(($ac_try" in
4001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002   *) ac_try_echo=$ac_try;;
4003 esac
4004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4005 $as_echo "$ac_try_echo"; } >&5
4006   (eval "$ac_try") 2>&5
4007   ac_status=$?
4008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4009   test $ac_status = 0; }; }; then
4010     cross_compiling=no
4011   else
4012     if test "$cross_compiling" = maybe; then
4013         cross_compiling=yes
4014     else
4015         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4017 as_fn_error "cannot run C compiled programs.
4018 If you meant to cross compile, use \`--host'.
4019 See \`config.log' for more details." "$LINENO" 5; }
4020     fi
4021   fi
4022 fi
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4024 $as_echo "yes" >&6; }
4025
4026 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4027 ac_clean_files=$ac_clean_files_save
4028 # Check that the compiler produces executables we can run.  If not, either
4029 # the compiler is broken, or we cross compile.
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4031 $as_echo_n "checking whether we are cross compiling... " >&6; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4033 $as_echo "$cross_compiling" >&6; }
4034
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4036 $as_echo_n "checking for suffix of executables... " >&6; }
4037 if { { ac_try="$ac_link"
4038 case "(($ac_try" in
4039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040   *) ac_try_echo=$ac_try;;
4041 esac
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044   (eval "$ac_link") 2>&5
4045   ac_status=$?
4046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047   test $ac_status = 0; }; then :
4048   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4049 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4050 # work properly (i.e., refer to `conftest.exe'), while it won't with
4051 # `rm'.
4052 for ac_file in conftest.exe conftest conftest.*; do
4053   test -f "$ac_file" || continue
4054   case $ac_file in
4055     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4056     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057           break;;
4058     * ) break;;
4059   esac
4060 done
4061 else
4062   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4064 as_fn_error "cannot compute suffix of executables: cannot compile and link
4065 See \`config.log' for more details." "$LINENO" 5; }
4066 fi
4067 rm -f conftest$ac_cv_exeext
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4069 $as_echo "$ac_cv_exeext" >&6; }
4070
4071 rm -f conftest.$ac_ext
4072 EXEEXT=$ac_cv_exeext
4073 ac_exeext=$EXEEXT
4074 fi
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4076 $as_echo_n "checking for suffix of object files... " >&6; }
4077 if test "${ac_cv_objext+set}" = set; then :
4078   $as_echo_n "(cached) " >&6
4079 else
4080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h.  */
4082
4083 int
4084 main ()
4085 {
4086
4087   ;
4088   return 0;
4089 }
4090 _ACEOF
4091 rm -f conftest.o conftest.obj
4092 if { { ac_try="$ac_compile"
4093 case "(($ac_try" in
4094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095   *) ac_try_echo=$ac_try;;
4096 esac
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099   (eval "$ac_compile") 2>&5
4100   ac_status=$?
4101   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102   test $ac_status = 0; }; then :
4103   for ac_file in conftest.o conftest.obj conftest.*; do
4104   test -f "$ac_file" || continue;
4105   case $ac_file in
4106     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4107     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4108        break;;
4109   esac
4110 done
4111 else
4112   $as_echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.$ac_ext >&5
4114
4115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4117 as_fn_error "cannot compute suffix of object files: cannot compile
4118 See \`config.log' for more details." "$LINENO" 5; }
4119 fi
4120 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4121 fi
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4123 $as_echo "$ac_cv_objext" >&6; }
4124 OBJEXT=$ac_cv_objext
4125 ac_objext=$OBJEXT
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4127 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4128 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4129   $as_echo_n "(cached) " >&6
4130 else
4131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h.  */
4133
4134 int
4135 main ()
4136 {
4137 #ifndef __GNUC__
4138        choke me
4139 #endif
4140
4141   ;
4142   return 0;
4143 }
4144 _ACEOF
4145 if ac_fn_c_try_compile "$LINENO"; then :
4146   ac_compiler_gnu=yes
4147 else
4148   ac_compiler_gnu=no
4149 fi
4150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4152
4153 fi
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4155 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4156 if test $ac_compiler_gnu = yes; then
4157   GCC=yes
4158 else
4159   GCC=
4160 fi
4161 ac_test_CFLAGS=${CFLAGS+set}
4162 ac_save_CFLAGS=$CFLAGS
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4164 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4165 if test "${ac_cv_prog_cc_g+set}" = set; then :
4166   $as_echo_n "(cached) " >&6
4167 else
4168   ac_save_c_werror_flag=$ac_c_werror_flag
4169    ac_c_werror_flag=yes
4170    ac_cv_prog_cc_g=no
4171    CFLAGS="-g"
4172    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h.  */
4174
4175 int
4176 main ()
4177 {
4178
4179   ;
4180   return 0;
4181 }
4182 _ACEOF
4183 if ac_fn_c_try_compile "$LINENO"; then :
4184   ac_cv_prog_cc_g=yes
4185 else
4186   CFLAGS=""
4187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h.  */
4189
4190 int
4191 main ()
4192 {
4193
4194   ;
4195   return 0;
4196 }
4197 _ACEOF
4198 if ac_fn_c_try_compile "$LINENO"; then :
4199
4200 else
4201   ac_c_werror_flag=$ac_save_c_werror_flag
4202          CFLAGS="-g"
4203          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h.  */
4205
4206 int
4207 main ()
4208 {
4209
4210   ;
4211   return 0;
4212 }
4213 _ACEOF
4214 if ac_fn_c_try_compile "$LINENO"; then :
4215   ac_cv_prog_cc_g=yes
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 fi
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222    ac_c_werror_flag=$ac_save_c_werror_flag
4223 fi
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4225 $as_echo "$ac_cv_prog_cc_g" >&6; }
4226 if test "$ac_test_CFLAGS" = set; then
4227   CFLAGS=$ac_save_CFLAGS
4228 elif test $ac_cv_prog_cc_g = yes; then
4229   if test "$GCC" = yes; then
4230     CFLAGS="-g -O2"
4231   else
4232     CFLAGS="-g"
4233   fi
4234 else
4235   if test "$GCC" = yes; then
4236     CFLAGS="-O2"
4237   else
4238     CFLAGS=
4239   fi
4240 fi
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4242 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4243 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4244   $as_echo_n "(cached) " >&6
4245 else
4246   ac_cv_prog_cc_c89=no
4247 ac_save_CC=$CC
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h.  */
4250 #include <stdarg.h>
4251 #include <stdio.h>
4252 #include <sys/types.h>
4253 #include <sys/stat.h>
4254 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4255 struct buf { int x; };
4256 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4257 static char *e (p, i)
4258      char **p;
4259      int i;
4260 {
4261   return p[i];
4262 }
4263 static char *f (char * (*g) (char **, int), char **p, ...)
4264 {
4265   char *s;
4266   va_list v;
4267   va_start (v,p);
4268   s = g (p, va_arg (v,int));
4269   va_end (v);
4270   return s;
4271 }
4272
4273 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4274    function prototypes and stuff, but not '\xHH' hex character constants.
4275    These don't provoke an error unfortunately, instead are silently treated
4276    as 'x'.  The following induces an error, until -std is added to get
4277    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4278    array size at least.  It's necessary to write '\x00'==0 to get something
4279    that's true only with -std.  */
4280 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4281
4282 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4283    inside strings and character constants.  */
4284 #define FOO(x) 'x'
4285 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4286
4287 int test (int i, double x);
4288 struct s1 {int (*f) (int a);};
4289 struct s2 {int (*f) (double a);};
4290 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4291 int argc;
4292 char **argv;
4293 int
4294 main ()
4295 {
4296 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4297   ;
4298   return 0;
4299 }
4300 _ACEOF
4301 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4302         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4303 do
4304   CC="$ac_save_CC $ac_arg"
4305   if ac_fn_c_try_compile "$LINENO"; then :
4306   ac_cv_prog_cc_c89=$ac_arg
4307 fi
4308 rm -f core conftest.err conftest.$ac_objext
4309   test "x$ac_cv_prog_cc_c89" != "xno" && break
4310 done
4311 rm -f conftest.$ac_ext
4312 CC=$ac_save_CC
4313
4314 fi
4315 # AC_CACHE_VAL
4316 case "x$ac_cv_prog_cc_c89" in
4317   x)
4318     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4319 $as_echo "none needed" >&6; } ;;
4320   xno)
4321     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4322 $as_echo "unsupported" >&6; } ;;
4323   *)
4324     CC="$CC $ac_cv_prog_cc_c89"
4325     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4326 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4327 esac
4328 if test "x$ac_cv_prog_cc_c89" != xno; then :
4329
4330 fi
4331
4332 ac_ext=c
4333 ac_cpp='$CPP $CPPFLAGS'
4334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4337
4338 ac_ext=cpp
4339 ac_cpp='$CXXCPP $CPPFLAGS'
4340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4343 if test -z "$CXX"; then
4344   if test -n "$CCC"; then
4345     CXX=$CCC
4346   else
4347     if test -n "$ac_tool_prefix"; then
4348   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4349   do
4350     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4351 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if test "${ac_cv_prog_CXX+set}" = set; then :
4355   $as_echo_n "(cached) " >&6
4356 else
4357   if test -n "$CXX"; then
4358   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH
4362 do
4363   IFS=$as_save_IFS
4364   test -z "$as_dir" && as_dir=.
4365     for ac_exec_ext in '' $ac_executable_extensions; do
4366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369     break 2
4370   fi
4371 done
4372   done
4373 IFS=$as_save_IFS
4374
4375 fi
4376 fi
4377 CXX=$ac_cv_prog_CXX
4378 if test -n "$CXX"; then
4379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4380 $as_echo "$CXX" >&6; }
4381 else
4382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4384 fi
4385
4386
4387     test -n "$CXX" && break
4388   done
4389 fi
4390 if test -z "$CXX"; then
4391   ac_ct_CXX=$CXX
4392   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4393 do
4394   # Extract the first word of "$ac_prog", so it can be a program name with args.
4395 set dummy $ac_prog; ac_word=$2
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397 $as_echo_n "checking for $ac_word... " >&6; }
4398 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4399   $as_echo_n "(cached) " >&6
4400 else
4401   if test -n "$ac_ct_CXX"; then
4402   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4403 else
4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405 for as_dir in $PATH
4406 do
4407   IFS=$as_save_IFS
4408   test -z "$as_dir" && as_dir=.
4409     for ac_exec_ext in '' $ac_executable_extensions; do
4410   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4411     ac_cv_prog_ac_ct_CXX="$ac_prog"
4412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4413     break 2
4414   fi
4415 done
4416   done
4417 IFS=$as_save_IFS
4418
4419 fi
4420 fi
4421 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4422 if test -n "$ac_ct_CXX"; then
4423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4424 $as_echo "$ac_ct_CXX" >&6; }
4425 else
4426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4428 fi
4429
4430
4431   test -n "$ac_ct_CXX" && break
4432 done
4433
4434   if test "x$ac_ct_CXX" = x; then
4435     CXX="g++"
4436   else
4437     case $cross_compiling:$ac_tool_warned in
4438 yes:)
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4441 ac_tool_warned=yes ;;
4442 esac
4443     CXX=$ac_ct_CXX
4444   fi
4445 fi
4446
4447   fi
4448 fi
4449 # Provide some information about the compiler.
4450 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4451 set X $ac_compile
4452 ac_compiler=$2
4453 for ac_option in --version -v -V -qversion; do
4454   { { ac_try="$ac_compiler $ac_option >&5"
4455 case "(($ac_try" in
4456   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457   *) ac_try_echo=$ac_try;;
4458 esac
4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460 $as_echo "$ac_try_echo"; } >&5
4461   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4462   ac_status=$?
4463   if test -s conftest.err; then
4464     sed '10a\
4465 ... rest of stderr output deleted ...
4466          10q' conftest.err >conftest.er1
4467     cat conftest.er1 >&5
4468     rm -f conftest.er1 conftest.err
4469   fi
4470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4471   test $ac_status = 0; }
4472 done
4473
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4475 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4476 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4477   $as_echo_n "(cached) " >&6
4478 else
4479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h.  */
4481
4482 int
4483 main ()
4484 {
4485 #ifndef __GNUC__
4486        choke me
4487 #endif
4488
4489   ;
4490   return 0;
4491 }
4492 _ACEOF
4493 if ac_fn_cxx_try_compile "$LINENO"; then :
4494   ac_compiler_gnu=yes
4495 else
4496   ac_compiler_gnu=no
4497 fi
4498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4499 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4500
4501 fi
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4503 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4504 if test $ac_compiler_gnu = yes; then
4505   GXX=yes
4506 else
4507   GXX=
4508 fi
4509 ac_test_CXXFLAGS=${CXXFLAGS+set}
4510 ac_save_CXXFLAGS=$CXXFLAGS
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4512 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4513 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4514   $as_echo_n "(cached) " >&6
4515 else
4516   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4517    ac_cxx_werror_flag=yes
4518    ac_cv_prog_cxx_g=no
4519    CXXFLAGS="-g"
4520    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h.  */
4522
4523 int
4524 main ()
4525 {
4526
4527   ;
4528   return 0;
4529 }
4530 _ACEOF
4531 if ac_fn_cxx_try_compile "$LINENO"; then :
4532   ac_cv_prog_cxx_g=yes
4533 else
4534   CXXFLAGS=""
4535       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h.  */
4537
4538 int
4539 main ()
4540 {
4541
4542   ;
4543   return 0;
4544 }
4545 _ACEOF
4546 if ac_fn_cxx_try_compile "$LINENO"; then :
4547
4548 else
4549   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4550          CXXFLAGS="-g"
4551          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h.  */
4553
4554 int
4555 main ()
4556 {
4557
4558   ;
4559   return 0;
4560 }
4561 _ACEOF
4562 if ac_fn_cxx_try_compile "$LINENO"; then :
4563   ac_cv_prog_cxx_g=yes
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 fi
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4571 fi
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4573 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4574 if test "$ac_test_CXXFLAGS" = set; then
4575   CXXFLAGS=$ac_save_CXXFLAGS
4576 elif test $ac_cv_prog_cxx_g = yes; then
4577   if test "$GXX" = yes; then
4578     CXXFLAGS="-g -O2"
4579   else
4580     CXXFLAGS="-g"
4581   fi
4582 else
4583   if test "$GXX" = yes; then
4584     CXXFLAGS="-O2"
4585   else
4586     CXXFLAGS=
4587   fi
4588 fi
4589 ac_ext=c
4590 ac_cpp='$CPP $CPPFLAGS'
4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4594
4595 CXXFLAGS="$save_CXXFLAGS"
4596
4597 # Runs configure.host, and assorted other critical bits.  Sets
4598 # up critical shell variables.
4599
4600 ac_ext=c
4601 ac_cpp='$CPP $CPPFLAGS'
4602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4606 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4607 # On Suns, sometimes $CPP names a directory.
4608 if test -n "$CPP" && test -d "$CPP"; then
4609   CPP=
4610 fi
4611 if test -z "$CPP"; then
4612   if test "${ac_cv_prog_CPP+set}" = set; then :
4613   $as_echo_n "(cached) " >&6
4614 else
4615       # Double quotes because CPP needs to be expanded
4616     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4617     do
4618       ac_preproc_ok=false
4619 for ac_c_preproc_warn_flag in '' yes
4620 do
4621   # Use a header file that comes with gcc, so configuring glibc
4622   # with a fresh cross-compiler works.
4623   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4624   # <limits.h> exists even on freestanding compilers.
4625   # On the NeXT, cc -E runs the code through the compiler's parser,
4626   # not just through cpp. "Syntax error" is here to catch this case.
4627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h.  */
4629 #ifdef __STDC__
4630 # include <limits.h>
4631 #else
4632 # include <assert.h>
4633 #endif
4634                      Syntax error
4635 _ACEOF
4636 if ac_fn_c_try_cpp "$LINENO"; then :
4637
4638 else
4639   # Broken: fails on valid input.
4640 continue
4641 fi
4642 rm -f conftest.err conftest.$ac_ext
4643
4644   # OK, works on sane cases.  Now check whether nonexistent headers
4645   # can be detected and how.
4646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h.  */
4648 #include <ac_nonexistent.h>
4649 _ACEOF
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4651   # Broken: success on invalid input.
4652 continue
4653 else
4654   # Passes both tests.
4655 ac_preproc_ok=:
4656 break
4657 fi
4658 rm -f conftest.err conftest.$ac_ext
4659
4660 done
4661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4662 rm -f conftest.err conftest.$ac_ext
4663 if $ac_preproc_ok; then :
4664   break
4665 fi
4666
4667     done
4668     ac_cv_prog_CPP=$CPP
4669
4670 fi
4671   CPP=$ac_cv_prog_CPP
4672 else
4673   ac_cv_prog_CPP=$CPP
4674 fi
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4676 $as_echo "$CPP" >&6; }
4677 ac_preproc_ok=false
4678 for ac_c_preproc_warn_flag in '' yes
4679 do
4680   # Use a header file that comes with gcc, so configuring glibc
4681   # with a fresh cross-compiler works.
4682   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4683   # <limits.h> exists even on freestanding compilers.
4684   # On the NeXT, cc -E runs the code through the compiler's parser,
4685   # not just through cpp. "Syntax error" is here to catch this case.
4686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4687 /* end confdefs.h.  */
4688 #ifdef __STDC__
4689 # include <limits.h>
4690 #else
4691 # include <assert.h>
4692 #endif
4693                      Syntax error
4694 _ACEOF
4695 if ac_fn_c_try_cpp "$LINENO"; then :
4696
4697 else
4698   # Broken: fails on valid input.
4699 continue
4700 fi
4701 rm -f conftest.err conftest.$ac_ext
4702
4703   # OK, works on sane cases.  Now check whether nonexistent headers
4704   # can be detected and how.
4705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h.  */
4707 #include <ac_nonexistent.h>
4708 _ACEOF
4709 if ac_fn_c_try_cpp "$LINENO"; then :
4710   # Broken: success on invalid input.
4711 continue
4712 else
4713   # Passes both tests.
4714 ac_preproc_ok=:
4715 break
4716 fi
4717 rm -f conftest.err conftest.$ac_ext
4718
4719 done
4720 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4721 rm -f conftest.err conftest.$ac_ext
4722 if $ac_preproc_ok; then :
4723
4724 else
4725   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4727 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4728 See \`config.log' for more details." "$LINENO" 5; }
4729 fi
4730
4731 ac_ext=c
4732 ac_cpp='$CPP $CPPFLAGS'
4733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4736
4737
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4739 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4740 if test "${ac_cv_path_GREP+set}" = set; then :
4741   $as_echo_n "(cached) " >&6
4742 else
4743   if test -z "$GREP"; then
4744   ac_path_GREP_found=false
4745   # Loop through the user's path and test for each of PROGNAME-LIST
4746   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4748 do
4749   IFS=$as_save_IFS
4750   test -z "$as_dir" && as_dir=.
4751     for ac_prog in grep ggrep; do
4752     for ac_exec_ext in '' $ac_executable_extensions; do
4753       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4754       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4755 # Check for GNU ac_path_GREP and select it if it is found.
4756   # Check for GNU $ac_path_GREP
4757 case `"$ac_path_GREP" --version 2>&1` in
4758 *GNU*)
4759   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4760 *)
4761   ac_count=0
4762   $as_echo_n 0123456789 >"conftest.in"
4763   while :
4764   do
4765     cat "conftest.in" "conftest.in" >"conftest.tmp"
4766     mv "conftest.tmp" "conftest.in"
4767     cp "conftest.in" "conftest.nl"
4768     $as_echo 'GREP' >> "conftest.nl"
4769     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4770     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4771     as_fn_arith $ac_count + 1 && ac_count=$as_val
4772     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4773       # Best one so far, save it but keep looking for a better one
4774       ac_cv_path_GREP="$ac_path_GREP"
4775       ac_path_GREP_max=$ac_count
4776     fi
4777     # 10*(2^10) chars as input seems more than enough
4778     test $ac_count -gt 10 && break
4779   done
4780   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4781 esac
4782
4783       $ac_path_GREP_found && break 3
4784     done
4785   done
4786   done
4787 IFS=$as_save_IFS
4788   if test -z "$ac_cv_path_GREP"; then
4789     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4790   fi
4791 else
4792   ac_cv_path_GREP=$GREP
4793 fi
4794
4795 fi
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4797 $as_echo "$ac_cv_path_GREP" >&6; }
4798  GREP="$ac_cv_path_GREP"
4799
4800
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4802 $as_echo_n "checking for egrep... " >&6; }
4803 if test "${ac_cv_path_EGREP+set}" = set; then :
4804   $as_echo_n "(cached) " >&6
4805 else
4806   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4807    then ac_cv_path_EGREP="$GREP -E"
4808    else
4809      if test -z "$EGREP"; then
4810   ac_path_EGREP_found=false
4811   # Loop through the user's path and test for each of PROGNAME-LIST
4812   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4814 do
4815   IFS=$as_save_IFS
4816   test -z "$as_dir" && as_dir=.
4817     for ac_prog in egrep; do
4818     for ac_exec_ext in '' $ac_executable_extensions; do
4819       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4820       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4821 # Check for GNU ac_path_EGREP and select it if it is found.
4822   # Check for GNU $ac_path_EGREP
4823 case `"$ac_path_EGREP" --version 2>&1` in
4824 *GNU*)
4825   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4826 *)
4827   ac_count=0
4828   $as_echo_n 0123456789 >"conftest.in"
4829   while :
4830   do
4831     cat "conftest.in" "conftest.in" >"conftest.tmp"
4832     mv "conftest.tmp" "conftest.in"
4833     cp "conftest.in" "conftest.nl"
4834     $as_echo 'EGREP' >> "conftest.nl"
4835     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4836     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4837     as_fn_arith $ac_count + 1 && ac_count=$as_val
4838     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4839       # Best one so far, save it but keep looking for a better one
4840       ac_cv_path_EGREP="$ac_path_EGREP"
4841       ac_path_EGREP_max=$ac_count
4842     fi
4843     # 10*(2^10) chars as input seems more than enough
4844     test $ac_count -gt 10 && break
4845   done
4846   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4847 esac
4848
4849       $ac_path_EGREP_found && break 3
4850     done
4851   done
4852   done
4853 IFS=$as_save_IFS
4854   if test -z "$ac_cv_path_EGREP"; then
4855     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4856   fi
4857 else
4858   ac_cv_path_EGREP=$EGREP
4859 fi
4860
4861    fi
4862 fi
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4864 $as_echo "$ac_cv_path_EGREP" >&6; }
4865  EGREP="$ac_cv_path_EGREP"
4866
4867
4868
4869   # Keep these sync'd with the list in Makefile.am.  The first provides an
4870   # expandable list at autoconf time; the second provides an expandable list
4871   # (i.e., shell variable) at configure time.
4872
4873   SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4874
4875   # These need to be absolute paths, yet at the same time need to
4876   # canonicalize only relative paths, because then amd will not unmount
4877   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4878   glibcxx_builddir=`${PWDCMD-pwd}`
4879   case $srcdir in
4880     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4881     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4882   esac
4883   toplevel_builddir=${glibcxx_builddir}/..
4884   toplevel_srcdir=${glibcxx_srcdir}/..
4885
4886
4887
4888
4889
4890   # We use these options to decide which functions to include.  They are
4891   # set from the top level.
4892
4893 # Check whether --with-target-subdir was given.
4894 if test "${with_target_subdir+set}" = set; then :
4895   withval=$with_target_subdir;
4896 fi
4897
4898
4899
4900 # Check whether --with-cross-host was given.
4901 if test "${with_cross_host+set}" = set; then :
4902   withval=$with_cross_host;
4903 fi
4904
4905
4906
4907 # Check whether --with-newlib was given.
4908 if test "${with_newlib+set}" = set; then :
4909   withval=$with_newlib;
4910 fi
4911
4912
4913   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4914   # available).  Uncomment the next line to force a particular method.
4915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4916 $as_echo_n "checking whether ln -s works... " >&6; }
4917 LN_S=$as_ln_s
4918 if test "$LN_S" = "ln -s"; then
4919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4920 $as_echo "yes" >&6; }
4921 else
4922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4923 $as_echo "no, using $LN_S" >&6; }
4924 fi
4925
4926   #LN_S='cp -p'
4927
4928   if test -n "$ac_tool_prefix"; then
4929   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4930 set dummy ${ac_tool_prefix}as; ac_word=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if test "${ac_cv_prog_AS+set}" = set; then :
4934   $as_echo_n "(cached) " >&6
4935 else
4936   if test -n "$AS"; then
4937   ac_cv_prog_AS="$AS" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4941 do
4942   IFS=$as_save_IFS
4943   test -z "$as_dir" && as_dir=.
4944     for ac_exec_ext in '' $ac_executable_extensions; do
4945   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4946     ac_cv_prog_AS="${ac_tool_prefix}as"
4947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948     break 2
4949   fi
4950 done
4951   done
4952 IFS=$as_save_IFS
4953
4954 fi
4955 fi
4956 AS=$ac_cv_prog_AS
4957 if test -n "$AS"; then
4958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4959 $as_echo "$AS" >&6; }
4960 else
4961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4963 fi
4964
4965
4966 fi
4967 if test -z "$ac_cv_prog_AS"; then
4968   ac_ct_AS=$AS
4969   # Extract the first word of "as", so it can be a program name with args.
4970 set dummy as; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4974   $as_echo_n "(cached) " >&6
4975 else
4976   if test -n "$ac_ct_AS"; then
4977   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4978 else
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 for as_dir in $PATH
4981 do
4982   IFS=$as_save_IFS
4983   test -z "$as_dir" && as_dir=.
4984     for ac_exec_ext in '' $ac_executable_extensions; do
4985   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986     ac_cv_prog_ac_ct_AS="as"
4987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988     break 2
4989   fi
4990 done
4991   done
4992 IFS=$as_save_IFS
4993
4994 fi
4995 fi
4996 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4997 if test -n "$ac_ct_AS"; then
4998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4999 $as_echo "$ac_ct_AS" >&6; }
5000 else
5001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5003 fi
5004
5005   if test "x$ac_ct_AS" = x; then
5006     AS=""
5007   else
5008     case $cross_compiling:$ac_tool_warned in
5009 yes:)
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5012 ac_tool_warned=yes ;;
5013 esac
5014     AS=$ac_ct_AS
5015   fi
5016 else
5017   AS="$ac_cv_prog_AS"
5018 fi
5019
5020   if test -n "$ac_tool_prefix"; then
5021   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5022 set dummy ${ac_tool_prefix}ar; ac_word=$2
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 $as_echo_n "checking for $ac_word... " >&6; }
5025 if test "${ac_cv_prog_AR+set}" = set; then :
5026   $as_echo_n "(cached) " >&6
5027 else
5028   if test -n "$AR"; then
5029   ac_cv_prog_AR="$AR" # Let the user override the test.
5030 else
5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 for as_dir in $PATH
5033 do
5034   IFS=$as_save_IFS
5035   test -z "$as_dir" && as_dir=.
5036     for ac_exec_ext in '' $ac_executable_extensions; do
5037   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5038     ac_cv_prog_AR="${ac_tool_prefix}ar"
5039     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5040     break 2
5041   fi
5042 done
5043   done
5044 IFS=$as_save_IFS
5045
5046 fi
5047 fi
5048 AR=$ac_cv_prog_AR
5049 if test -n "$AR"; then
5050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5051 $as_echo "$AR" >&6; }
5052 else
5053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5055 fi
5056
5057
5058 fi
5059 if test -z "$ac_cv_prog_AR"; then
5060   ac_ct_AR=$AR
5061   # Extract the first word of "ar", so it can be a program name with args.
5062 set dummy ar; ac_word=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5066   $as_echo_n "(cached) " >&6
5067 else
5068   if test -n "$ac_ct_AR"; then
5069   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5070 else
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH
5073 do
5074   IFS=$as_save_IFS
5075   test -z "$as_dir" && as_dir=.
5076     for ac_exec_ext in '' $ac_executable_extensions; do
5077   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078     ac_cv_prog_ac_ct_AR="ar"
5079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080     break 2
5081   fi
5082 done
5083   done
5084 IFS=$as_save_IFS
5085
5086 fi
5087 fi
5088 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5089 if test -n "$ac_ct_AR"; then
5090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5091 $as_echo "$ac_ct_AR" >&6; }
5092 else
5093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5095 fi
5096
5097   if test "x$ac_ct_AR" = x; then
5098     AR=""
5099   else
5100     case $cross_compiling:$ac_tool_warned in
5101 yes:)
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5104 ac_tool_warned=yes ;;
5105 esac
5106     AR=$ac_ct_AR
5107   fi
5108 else
5109   AR="$ac_cv_prog_AR"
5110 fi
5111
5112   if test -n "$ac_tool_prefix"; then
5113   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5114 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5118   $as_echo_n "(cached) " >&6
5119 else
5120   if test -n "$RANLIB"; then
5121   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5122 else
5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 for as_dir in $PATH
5125 do
5126   IFS=$as_save_IFS
5127   test -z "$as_dir" && as_dir=.
5128     for ac_exec_ext in '' $ac_executable_extensions; do
5129   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5130     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132     break 2
5133   fi
5134 done
5135   done
5136 IFS=$as_save_IFS
5137
5138 fi
5139 fi
5140 RANLIB=$ac_cv_prog_RANLIB
5141 if test -n "$RANLIB"; then
5142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5143 $as_echo "$RANLIB" >&6; }
5144 else
5145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5147 fi
5148
5149
5150 fi
5151 if test -z "$ac_cv_prog_RANLIB"; then
5152   ac_ct_RANLIB=$RANLIB
5153   # Extract the first word of "ranlib", so it can be a program name with args.
5154 set dummy ranlib; ac_word=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5158   $as_echo_n "(cached) " >&6
5159 else
5160   if test -n "$ac_ct_RANLIB"; then
5161   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5162 else
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH
5165 do
5166   IFS=$as_save_IFS
5167   test -z "$as_dir" && as_dir=.
5168     for ac_exec_ext in '' $ac_executable_extensions; do
5169   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5170     ac_cv_prog_ac_ct_RANLIB="ranlib"
5171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172     break 2
5173   fi
5174 done
5175   done
5176 IFS=$as_save_IFS
5177
5178 fi
5179 fi
5180 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5181 if test -n "$ac_ct_RANLIB"; then
5182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5183 $as_echo "$ac_ct_RANLIB" >&6; }
5184 else
5185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5187 fi
5188
5189   if test "x$ac_ct_RANLIB" = x; then
5190     RANLIB="ranlib-not-found-in-path-error"
5191   else
5192     case $cross_compiling:$ac_tool_warned in
5193 yes:)
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5196 ac_tool_warned=yes ;;
5197 esac
5198     RANLIB=$ac_ct_RANLIB
5199   fi
5200 else
5201   RANLIB="$ac_cv_prog_RANLIB"
5202 fi
5203
5204
5205
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5207 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5208     # Check whether --enable-maintainer-mode was given.
5209 if test "${enable_maintainer_mode+set}" = set; then :
5210   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5211 else
5212   USE_MAINTAINER_MODE=no
5213 fi
5214
5215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5216 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5217    if test $USE_MAINTAINER_MODE = yes; then
5218   MAINTAINER_MODE_TRUE=
5219   MAINTAINER_MODE_FALSE='#'
5220 else
5221   MAINTAINER_MODE_TRUE='#'
5222   MAINTAINER_MODE_FALSE=
5223 fi
5224
5225   MAINT=$MAINTAINER_MODE_TRUE
5226
5227
5228
5229   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5230   # which are themselves conditionally expanded.
5231   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5232   ## other macros from doing the same.  This should be automated.)  -pme
5233
5234   # Check for C library flavor since GNU/Linux platforms use different
5235   # configuration directories depending on the C library in use.
5236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237 /* end confdefs.h.  */
5238
5239   #include <stdio.h>
5240   #if __UCLIBC__
5241     _using_uclibc
5242   #endif
5243
5244 _ACEOF
5245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5246   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5247   uclibc=yes
5248 else
5249   uclibc=no
5250 fi
5251 rm -f conftest*
5252
5253
5254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h.  */
5256
5257   #include <stdio.h>
5258   #if __BIONIC__
5259     _using_bionic
5260   #endif
5261
5262 _ACEOF
5263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5264   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5265   bionic=yes
5266 else
5267   bionic=no
5268 fi
5269 rm -f conftest*
5270
5271
5272   # Find platform-specific directories containing configuration info.
5273   # Also possibly modify flags used elsewhere, as needed by the platform.
5274
5275   . $glibcxx_srcdir/configure.host
5276   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5277 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5278   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5279 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5280
5281
5282
5283 if test "x${with_newlib}" != "xyes"; then
5284   enable_dlopen=yes
5285
5286
5287
5288 fi
5289 case `pwd` in
5290   *\ * | *\     *)
5291     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5292 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5293 esac
5294
5295
5296
5297 macro_version='2.2.7a'
5298 macro_revision='1.3134'
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312 ltmain="$ac_aux_dir/ltmain.sh"
5313
5314 # Backslashify metacharacters that are still active within
5315 # double-quoted strings.
5316 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5317
5318 # Same as above, but do not quote variable references.
5319 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5320
5321 # Sed substitution to delay expansion of an escaped shell variable in a
5322 # double_quote_subst'ed string.
5323 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5324
5325 # Sed substitution to delay expansion of an escaped single quote.
5326 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5327
5328 # Sed substitution to avoid accidental globbing in evaled expressions
5329 no_glob_subst='s/\*/\\\*/g'
5330
5331 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5332 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5333 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5334
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5336 $as_echo_n "checking how to print strings... " >&6; }
5337 # Test print first, because it will be a builtin if present.
5338 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5339    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5340   ECHO='print -r --'
5341 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5342   ECHO='printf %s\n'
5343 else
5344   # Use this function as a fallback that always works.
5345   func_fallback_echo ()
5346   {
5347     eval 'cat <<_LTECHO_EOF
5348 $1
5349 _LTECHO_EOF'
5350   }
5351   ECHO='func_fallback_echo'
5352 fi
5353
5354 # func_echo_all arg...
5355 # Invoke $ECHO with all args, space-separated.
5356 func_echo_all ()
5357 {
5358     $ECHO ""
5359 }
5360
5361 case "$ECHO" in
5362   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5363 $as_echo "printf" >&6; } ;;
5364   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5365 $as_echo "print -r" >&6; } ;;
5366   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5367 $as_echo "cat" >&6; } ;;
5368 esac
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5384 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5385 if test "${ac_cv_path_SED+set}" = set; then :
5386   $as_echo_n "(cached) " >&6
5387 else
5388             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5389      for ac_i in 1 2 3 4 5 6 7; do
5390        ac_script="$ac_script$as_nl$ac_script"
5391      done
5392      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5393      { ac_script=; unset ac_script;}
5394      if test -z "$SED"; then
5395   ac_path_SED_found=false
5396   # Loop through the user's path and test for each of PROGNAME-LIST
5397   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5398 for as_dir in $PATH
5399 do
5400   IFS=$as_save_IFS
5401   test -z "$as_dir" && as_dir=.
5402     for ac_prog in sed gsed; do
5403     for ac_exec_ext in '' $ac_executable_extensions; do
5404       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5405       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5406 # Check for GNU ac_path_SED and select it if it is found.
5407   # Check for GNU $ac_path_SED
5408 case `"$ac_path_SED" --version 2>&1` in
5409 *GNU*)
5410   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5411 *)
5412   ac_count=0
5413   $as_echo_n 0123456789 >"conftest.in"
5414   while :
5415   do
5416     cat "conftest.in" "conftest.in" >"conftest.tmp"
5417     mv "conftest.tmp" "conftest.in"
5418     cp "conftest.in" "conftest.nl"
5419     $as_echo '' >> "conftest.nl"
5420     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5421     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5422     as_fn_arith $ac_count + 1 && ac_count=$as_val
5423     if test $ac_count -gt ${ac_path_SED_max-0}; then
5424       # Best one so far, save it but keep looking for a better one
5425       ac_cv_path_SED="$ac_path_SED"
5426       ac_path_SED_max=$ac_count
5427     fi
5428     # 10*(2^10) chars as input seems more than enough
5429     test $ac_count -gt 10 && break
5430   done
5431   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5432 esac
5433
5434       $ac_path_SED_found && break 3
5435     done
5436   done
5437   done
5438 IFS=$as_save_IFS
5439   if test -z "$ac_cv_path_SED"; then
5440     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5441   fi
5442 else
5443   ac_cv_path_SED=$SED
5444 fi
5445
5446 fi
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5448 $as_echo "$ac_cv_path_SED" >&6; }
5449  SED="$ac_cv_path_SED"
5450   rm -f conftest.sed
5451
5452 test -z "$SED" && SED=sed
5453 Xsed="$SED -e 1s/^X//"
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5466 $as_echo_n "checking for fgrep... " >&6; }
5467 if test "${ac_cv_path_FGREP+set}" = set; then :
5468   $as_echo_n "(cached) " >&6
5469 else
5470   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5471    then ac_cv_path_FGREP="$GREP -F"
5472    else
5473      if test -z "$FGREP"; then
5474   ac_path_FGREP_found=false
5475   # Loop through the user's path and test for each of PROGNAME-LIST
5476   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5478 do
5479   IFS=$as_save_IFS
5480   test -z "$as_dir" && as_dir=.
5481     for ac_prog in fgrep; do
5482     for ac_exec_ext in '' $ac_executable_extensions; do
5483       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5484       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5485 # Check for GNU ac_path_FGREP and select it if it is found.
5486   # Check for GNU $ac_path_FGREP
5487 case `"$ac_path_FGREP" --version 2>&1` in
5488 *GNU*)
5489   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5490 *)
5491   ac_count=0
5492   $as_echo_n 0123456789 >"conftest.in"
5493   while :
5494   do
5495     cat "conftest.in" "conftest.in" >"conftest.tmp"
5496     mv "conftest.tmp" "conftest.in"
5497     cp "conftest.in" "conftest.nl"
5498     $as_echo 'FGREP' >> "conftest.nl"
5499     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5500     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5501     as_fn_arith $ac_count + 1 && ac_count=$as_val
5502     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5503       # Best one so far, save it but keep looking for a better one
5504       ac_cv_path_FGREP="$ac_path_FGREP"
5505       ac_path_FGREP_max=$ac_count
5506     fi
5507     # 10*(2^10) chars as input seems more than enough
5508     test $ac_count -gt 10 && break
5509   done
5510   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5511 esac
5512
5513       $ac_path_FGREP_found && break 3
5514     done
5515   done
5516   done
5517 IFS=$as_save_IFS
5518   if test -z "$ac_cv_path_FGREP"; then
5519     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5520   fi
5521 else
5522   ac_cv_path_FGREP=$FGREP
5523 fi
5524
5525    fi
5526 fi
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5528 $as_echo "$ac_cv_path_FGREP" >&6; }
5529  FGREP="$ac_cv_path_FGREP"
5530
5531
5532 test -z "$GREP" && GREP=grep
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552 # Check whether --with-gnu-ld was given.
5553 if test "${with_gnu_ld+set}" = set; then :
5554   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5555 else
5556   with_gnu_ld=no
5557 fi
5558
5559 ac_prog=ld
5560 if test "$GCC" = yes; then
5561   # Check if gcc -print-prog-name=ld gives a path.
5562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5563 $as_echo_n "checking for ld used by $CC... " >&6; }
5564   case $host in
5565   *-*-mingw*)
5566     # gcc leaves a trailing carriage return which upsets mingw
5567     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5568   *)
5569     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5570   esac
5571   case $ac_prog in
5572     # Accept absolute paths.
5573     [\\/]* | ?:[\\/]*)
5574       re_direlt='/[^/][^/]*/\.\./'
5575       # Canonicalize the pathname of ld
5576       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5577       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5578         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5579       done
5580       test -z "$LD" && LD="$ac_prog"
5581       ;;
5582   "")
5583     # If it fails, then pretend we aren't using GCC.
5584     ac_prog=ld
5585     ;;
5586   *)
5587     # If it is relative, then search for the first ld in PATH.
5588     with_gnu_ld=unknown
5589     ;;
5590   esac
5591 elif test "$with_gnu_ld" = yes; then
5592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5593 $as_echo_n "checking for GNU ld... " >&6; }
5594 else
5595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5596 $as_echo_n "checking for non-GNU ld... " >&6; }
5597 fi
5598 if test "${lt_cv_path_LD+set}" = set; then :
5599   $as_echo_n "(cached) " >&6
5600 else
5601   if test -z "$LD"; then
5602   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5603   for ac_dir in $PATH; do
5604     IFS="$lt_save_ifs"
5605     test -z "$ac_dir" && ac_dir=.
5606     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5607       lt_cv_path_LD="$ac_dir/$ac_prog"
5608       # Check to see if the program is GNU ld.  I'd rather use --version,
5609       # but apparently some variants of GNU ld only accept -v.
5610       # Break only if it was the GNU/non-GNU ld that we prefer.
5611       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5612       *GNU* | *'with BFD'*)
5613         test "$with_gnu_ld" != no && break
5614         ;;
5615       *)
5616         test "$with_gnu_ld" != yes && break
5617         ;;
5618       esac
5619     fi
5620   done
5621   IFS="$lt_save_ifs"
5622 else
5623   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5624 fi
5625 fi
5626
5627 LD="$lt_cv_path_LD"
5628 if test -n "$LD"; then
5629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5630 $as_echo "$LD" >&6; }
5631 else
5632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5634 fi
5635 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5637 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5638 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5639   $as_echo_n "(cached) " >&6
5640 else
5641   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5642 case `$LD -v 2>&1 </dev/null` in
5643 *GNU* | *'with BFD'*)
5644   lt_cv_prog_gnu_ld=yes
5645   ;;
5646 *)
5647   lt_cv_prog_gnu_ld=no
5648   ;;
5649 esac
5650 fi
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5652 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5653 with_gnu_ld=$lt_cv_prog_gnu_ld
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5664 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5665 if test "${lt_cv_path_NM+set}" = set; then :
5666   $as_echo_n "(cached) " >&6
5667 else
5668   if test -n "$NM"; then
5669   # Let the user override the test.
5670   lt_cv_path_NM="$NM"
5671 else
5672   lt_nm_to_check="${ac_tool_prefix}nm"
5673   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5674     lt_nm_to_check="$lt_nm_to_check nm"
5675   fi
5676   for lt_tmp_nm in $lt_nm_to_check; do
5677     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5678     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5679       IFS="$lt_save_ifs"
5680       test -z "$ac_dir" && ac_dir=.
5681       tmp_nm="$ac_dir/$lt_tmp_nm"
5682       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5683         # Check to see if the nm accepts a BSD-compat flag.
5684         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5685         #   nm: unknown option "B" ignored
5686         # Tru64's nm complains that /dev/null is an invalid object file
5687         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5688         */dev/null* | *'Invalid file or object type'*)
5689           lt_cv_path_NM="$tmp_nm -B"
5690           break
5691           ;;
5692         *)
5693           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5694           */dev/null*)
5695             lt_cv_path_NM="$tmp_nm -p"
5696             break
5697             ;;
5698           *)
5699             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5700             continue # so that we can try to find one that supports BSD flags
5701             ;;
5702           esac
5703           ;;
5704         esac
5705       fi
5706     done
5707     IFS="$lt_save_ifs"
5708   done
5709   : ${lt_cv_path_NM=no}
5710 fi
5711 fi
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5713 $as_echo "$lt_cv_path_NM" >&6; }
5714 if test "$lt_cv_path_NM" != "no"; then
5715   NM="$lt_cv_path_NM"
5716 else
5717   # Didn't find any BSD compatible name lister, look for dumpbin.
5718   if test -n "$DUMPBIN"; then :
5719     # Let the user override the test.
5720   else
5721     if test -n "$ac_tool_prefix"; then
5722   for ac_prog in dumpbin "link -dump"
5723   do
5724     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5727 $as_echo_n "checking for $ac_word... " >&6; }
5728 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5729   $as_echo_n "(cached) " >&6
5730 else
5731   if test -n "$DUMPBIN"; then
5732   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5733 else
5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 for as_dir in $PATH
5736 do
5737   IFS=$as_save_IFS
5738   test -z "$as_dir" && as_dir=.
5739     for ac_exec_ext in '' $ac_executable_extensions; do
5740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5741     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743     break 2
5744   fi
5745 done
5746   done
5747 IFS=$as_save_IFS
5748
5749 fi
5750 fi
5751 DUMPBIN=$ac_cv_prog_DUMPBIN
5752 if test -n "$DUMPBIN"; then
5753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5754 $as_echo "$DUMPBIN" >&6; }
5755 else
5756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5758 fi
5759
5760
5761     test -n "$DUMPBIN" && break
5762   done
5763 fi
5764 if test -z "$DUMPBIN"; then
5765   ac_ct_DUMPBIN=$DUMPBIN
5766   for ac_prog in dumpbin "link -dump"
5767 do
5768   # Extract the first word of "$ac_prog", so it can be a program name with args.
5769 set dummy $ac_prog; ac_word=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5773   $as_echo_n "(cached) " >&6
5774 else
5775   if test -n "$ac_ct_DUMPBIN"; then
5776   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5777 else
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 for as_dir in $PATH
5780 do
5781   IFS=$as_save_IFS
5782   test -z "$as_dir" && as_dir=.
5783     for ac_exec_ext in '' $ac_executable_extensions; do
5784   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5785     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787     break 2
5788   fi
5789 done
5790   done
5791 IFS=$as_save_IFS
5792
5793 fi
5794 fi
5795 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5796 if test -n "$ac_ct_DUMPBIN"; then
5797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5798 $as_echo "$ac_ct_DUMPBIN" >&6; }
5799 else
5800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5802 fi
5803
5804
5805   test -n "$ac_ct_DUMPBIN" && break
5806 done
5807
5808   if test "x$ac_ct_DUMPBIN" = x; then
5809     DUMPBIN=":"
5810   else
5811     case $cross_compiling:$ac_tool_warned in
5812 yes:)
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5815 ac_tool_warned=yes ;;
5816 esac
5817     DUMPBIN=$ac_ct_DUMPBIN
5818   fi
5819 fi
5820
5821     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5822     *COFF*)
5823       DUMPBIN="$DUMPBIN -symbols"
5824       ;;
5825     *)
5826       DUMPBIN=:
5827       ;;
5828     esac
5829   fi
5830
5831   if test "$DUMPBIN" != ":"; then
5832     NM="$DUMPBIN"
5833   fi
5834 fi
5835 test -z "$NM" && NM=nm
5836
5837
5838
5839
5840
5841
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5843 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5844 if test "${lt_cv_nm_interface+set}" = set; then :
5845   $as_echo_n "(cached) " >&6
5846 else
5847   lt_cv_nm_interface="BSD nm"
5848   echo "int some_variable = 0;" > conftest.$ac_ext
5849   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5850   (eval "$ac_compile" 2>conftest.err)
5851   cat conftest.err >&5
5852   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5853   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5854   cat conftest.err >&5
5855   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5856   cat conftest.out >&5
5857   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5858     lt_cv_nm_interface="MS dumpbin"
5859   fi
5860   rm -f conftest*
5861 fi
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5863 $as_echo "$lt_cv_nm_interface" >&6; }
5864
5865 # find the maximum length of command line arguments
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5867 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5868 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5869   $as_echo_n "(cached) " >&6
5870 else
5871     i=0
5872   teststring="ABCD"
5873
5874   case $build_os in
5875   msdosdjgpp*)
5876     # On DJGPP, this test can blow up pretty badly due to problems in libc
5877     # (any single argument exceeding 2000 bytes causes a buffer overrun
5878     # during glob expansion).  Even if it were fixed, the result of this
5879     # check would be larger than it should be.
5880     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5881     ;;
5882
5883   gnu*)
5884     # Under GNU Hurd, this test is not required because there is
5885     # no limit to the length of command line arguments.
5886     # Libtool will interpret -1 as no limit whatsoever
5887     lt_cv_sys_max_cmd_len=-1;
5888     ;;
5889
5890   cygwin* | mingw* | cegcc*)
5891     # On Win9x/ME, this test blows up -- it succeeds, but takes
5892     # about 5 minutes as the teststring grows exponentially.
5893     # Worse, since 9x/ME are not pre-emptively multitasking,
5894     # you end up with a "frozen" computer, even though with patience
5895     # the test eventually succeeds (with a max line length of 256k).
5896     # Instead, let's just punt: use the minimum linelength reported by
5897     # all of the supported platforms: 8192 (on NT/2K/XP).
5898     lt_cv_sys_max_cmd_len=8192;
5899     ;;
5900
5901   mint*)
5902     # On MiNT this can take a long time and run out of memory.
5903     lt_cv_sys_max_cmd_len=8192;
5904     ;;
5905
5906   amigaos*)
5907     # On AmigaOS with pdksh, this test takes hours, literally.
5908     # So we just punt and use a minimum line length of 8192.
5909     lt_cv_sys_max_cmd_len=8192;
5910     ;;
5911
5912   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5913     # This has been around since 386BSD, at least.  Likely further.
5914     if test -x /sbin/sysctl; then
5915       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5916     elif test -x /usr/sbin/sysctl; then
5917       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5918     else
5919       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5920     fi
5921     # And add a safety zone
5922     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5923     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5924     ;;
5925
5926   interix*)
5927     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5928     lt_cv_sys_max_cmd_len=196608
5929     ;;
5930
5931   osf*)
5932     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5933     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5934     # nice to cause kernel panics so lets avoid the loop below.
5935     # First set a reasonable default.
5936     lt_cv_sys_max_cmd_len=16384
5937     #
5938     if test -x /sbin/sysconfig; then
5939       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5940         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5941       esac
5942     fi
5943     ;;
5944   sco3.2v5*)
5945     lt_cv_sys_max_cmd_len=102400
5946     ;;
5947   sysv5* | sco5v6* | sysv4.2uw2*)
5948     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5949     if test -n "$kargmax"; then
5950       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5951     else
5952       lt_cv_sys_max_cmd_len=32768
5953     fi
5954     ;;
5955   *)
5956     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5957     if test -n "$lt_cv_sys_max_cmd_len"; then
5958       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5959       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5960     else
5961       # Make teststring a little bigger before we do anything with it.
5962       # a 1K string should be a reasonable start.
5963       for i in 1 2 3 4 5 6 7 8 ; do
5964         teststring=$teststring$teststring
5965       done
5966       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5967       # If test is not a shell built-in, we'll probably end up computing a
5968       # maximum length that is only half of the actual maximum length, but
5969       # we can't tell.
5970       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5971                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5972               test $i != 17 # 1/2 MB should be enough
5973       do
5974         i=`expr $i + 1`
5975         teststring=$teststring$teststring
5976       done
5977       # Only check the string length outside the loop.
5978       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5979       teststring=
5980       # Add a significant safety factor because C++ compilers can tack on
5981       # massive amounts of additional arguments before passing them to the
5982       # linker.  It appears as though 1/2 is a usable value.
5983       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5984     fi
5985     ;;
5986   esac
5987
5988 fi
5989
5990 if test -n $lt_cv_sys_max_cmd_len ; then
5991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5992 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5993 else
5994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5995 $as_echo "none" >&6; }
5996 fi
5997 max_cmd_len=$lt_cv_sys_max_cmd_len
5998
5999
6000
6001
6002
6003
6004 : ${CP="cp -f"}
6005 : ${MV="mv -f"}
6006 : ${RM="rm -f"}
6007
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6009 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6010 # Try some XSI features
6011 xsi_shell=no
6012 ( _lt_dummy="a/b/c"
6013   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6014       = c,a/b,, \
6015     && eval 'test $(( 1 + 1 )) -eq 2 \
6016     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6017   && xsi_shell=yes
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6019 $as_echo "$xsi_shell" >&6; }
6020
6021
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6023 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6024 lt_shell_append=no
6025 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6026     >/dev/null 2>&1 \
6027   && lt_shell_append=yes
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6029 $as_echo "$lt_shell_append" >&6; }
6030
6031
6032 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6033   lt_unset=unset
6034 else
6035   lt_unset=false
6036 fi
6037
6038
6039
6040
6041
6042 # test EBCDIC or ASCII
6043 case `echo X|tr X '\101'` in
6044  A) # ASCII based system
6045     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6046   lt_SP2NL='tr \040 \012'
6047   lt_NL2SP='tr \015\012 \040\040'
6048   ;;
6049  *) # EBCDIC based system
6050   lt_SP2NL='tr \100 \n'
6051   lt_NL2SP='tr \r\n \100\100'
6052   ;;
6053 esac
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6064 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6065 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6066   $as_echo_n "(cached) " >&6
6067 else
6068   lt_cv_ld_reload_flag='-r'
6069 fi
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6071 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6072 reload_flag=$lt_cv_ld_reload_flag
6073 case $reload_flag in
6074 "" | " "*) ;;
6075 *) reload_flag=" $reload_flag" ;;
6076 esac
6077 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6078 case $host_os in
6079   darwin*)
6080     if test "$GCC" = yes; then
6081       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6082     else
6083       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6084     fi
6085     ;;
6086 esac
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096 if test -n "$ac_tool_prefix"; then
6097   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6098 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6100 $as_echo_n "checking for $ac_word... " >&6; }
6101 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6102   $as_echo_n "(cached) " >&6
6103 else
6104   if test -n "$OBJDUMP"; then
6105   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6106 else
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 for as_dir in $PATH
6109 do
6110   IFS=$as_save_IFS
6111   test -z "$as_dir" && as_dir=.
6112     for ac_exec_ext in '' $ac_executable_extensions; do
6113   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6114     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6115     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6116     break 2
6117   fi
6118 done
6119   done
6120 IFS=$as_save_IFS
6121
6122 fi
6123 fi
6124 OBJDUMP=$ac_cv_prog_OBJDUMP
6125 if test -n "$OBJDUMP"; then
6126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6127 $as_echo "$OBJDUMP" >&6; }
6128 else
6129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6130 $as_echo "no" >&6; }
6131 fi
6132
6133
6134 fi
6135 if test -z "$ac_cv_prog_OBJDUMP"; then
6136   ac_ct_OBJDUMP=$OBJDUMP
6137   # Extract the first word of "objdump", so it can be a program name with args.
6138 set dummy objdump; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6142   $as_echo_n "(cached) " >&6
6143 else
6144   if test -n "$ac_ct_OBJDUMP"; then
6145   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6146 else
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 for as_dir in $PATH
6149 do
6150   IFS=$as_save_IFS
6151   test -z "$as_dir" && as_dir=.
6152     for ac_exec_ext in '' $ac_executable_extensions; do
6153   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6154     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6156     break 2
6157   fi
6158 done
6159   done
6160 IFS=$as_save_IFS
6161
6162 fi
6163 fi
6164 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6165 if test -n "$ac_ct_OBJDUMP"; then
6166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6167 $as_echo "$ac_ct_OBJDUMP" >&6; }
6168 else
6169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6171 fi
6172
6173   if test "x$ac_ct_OBJDUMP" = x; then
6174     OBJDUMP="false"
6175   else
6176     case $cross_compiling:$ac_tool_warned in
6177 yes:)
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6180 ac_tool_warned=yes ;;
6181 esac
6182     OBJDUMP=$ac_ct_OBJDUMP
6183   fi
6184 else
6185   OBJDUMP="$ac_cv_prog_OBJDUMP"
6186 fi
6187
6188 test -z "$OBJDUMP" && OBJDUMP=objdump
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6199 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6200 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6201   $as_echo_n "(cached) " >&6
6202 else
6203   lt_cv_file_magic_cmd='$MAGIC_CMD'
6204 lt_cv_file_magic_test_file=
6205 lt_cv_deplibs_check_method='unknown'
6206 # Need to set the preceding variable on all platforms that support
6207 # interlibrary dependencies.
6208 # 'none' -- dependencies not supported.
6209 # `unknown' -- same as none, but documents that we really don't know.
6210 # 'pass_all' -- all dependencies passed with no checks.
6211 # 'test_compile' -- check by making test program.
6212 # 'file_magic [[regex]]' -- check by looking for files in library path
6213 # which responds to the $file_magic_cmd with a given extended regex.
6214 # If you have `file' or equivalent on your system and you're not sure
6215 # whether `pass_all' will *always* work, you probably want this one.
6216
6217 case $host_os in
6218 aix[4-9]*)
6219   lt_cv_deplibs_check_method=pass_all
6220   ;;
6221
6222 beos*)
6223   lt_cv_deplibs_check_method=pass_all
6224   ;;
6225
6226 bsdi[45]*)
6227   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6228   lt_cv_file_magic_cmd='/usr/bin/file -L'
6229   lt_cv_file_magic_test_file=/shlib/libc.so
6230   ;;
6231
6232 cygwin*)
6233   # func_win32_libid is a shell function defined in ltmain.sh
6234   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6235   lt_cv_file_magic_cmd='func_win32_libid'
6236   ;;
6237
6238 mingw* | pw32*)
6239   # Base MSYS/MinGW do not provide the 'file' command needed by
6240   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6241   # unless we find 'file', for example because we are cross-compiling.
6242   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6243   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6244     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6245     lt_cv_file_magic_cmd='func_win32_libid'
6246   else
6247     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6248     lt_cv_file_magic_cmd='$OBJDUMP -f'
6249   fi
6250   ;;
6251
6252 cegcc*)
6253   # use the weaker test based on 'objdump'. See mingw*.
6254   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6255   lt_cv_file_magic_cmd='$OBJDUMP -f'
6256   ;;
6257
6258 darwin* | rhapsody*)
6259   lt_cv_deplibs_check_method=pass_all
6260   ;;
6261
6262 freebsd* | dragonfly*)
6263   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6264     case $host_cpu in
6265     i*86 )
6266       # Not sure whether the presence of OpenBSD here was a mistake.
6267       # Let's accept both of them until this is cleared up.
6268       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6269       lt_cv_file_magic_cmd=/usr/bin/file
6270       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6271       ;;
6272     esac
6273   else
6274     lt_cv_deplibs_check_method=pass_all
6275   fi
6276   ;;
6277
6278 gnu*)
6279   lt_cv_deplibs_check_method=pass_all
6280   ;;
6281
6282 haiku*)
6283   lt_cv_deplibs_check_method=pass_all
6284   ;;
6285
6286 hpux10.20* | hpux11*)
6287   lt_cv_file_magic_cmd=/usr/bin/file
6288   case $host_cpu in
6289   ia64*)
6290     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6291     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6292     ;;
6293   hppa*64*)
6294     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]'
6295     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6296     ;;
6297   *)
6298     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6299     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6300     ;;
6301   esac
6302   ;;
6303
6304 interix[3-9]*)
6305   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6306   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6307   ;;
6308
6309 irix5* | irix6* | nonstopux*)
6310   case $LD in
6311   *-32|*"-32 ") libmagic=32-bit;;
6312   *-n32|*"-n32 ") libmagic=N32;;
6313   *-64|*"-64 ") libmagic=64-bit;;
6314   *) libmagic=never-match;;
6315   esac
6316   lt_cv_deplibs_check_method=pass_all
6317   ;;
6318
6319 # This must be Linux ELF.
6320 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6321   lt_cv_deplibs_check_method=pass_all
6322   ;;
6323
6324 netbsd*)
6325   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6326     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6327   else
6328     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6329   fi
6330   ;;
6331
6332 newos6*)
6333   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6334   lt_cv_file_magic_cmd=/usr/bin/file
6335   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6336   ;;
6337
6338 *nto* | *qnx*)
6339   lt_cv_deplibs_check_method=pass_all
6340   ;;
6341
6342 openbsd*)
6343   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6344     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6345   else
6346     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6347   fi
6348   ;;
6349
6350 osf3* | osf4* | osf5*)
6351   lt_cv_deplibs_check_method=pass_all
6352   ;;
6353
6354 rdos*)
6355   lt_cv_deplibs_check_method=pass_all
6356   ;;
6357
6358 solaris*)
6359   lt_cv_deplibs_check_method=pass_all
6360   ;;
6361
6362 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6363   lt_cv_deplibs_check_method=pass_all
6364   ;;
6365
6366 sysv4 | sysv4.3*)
6367   case $host_vendor in
6368   motorola)
6369     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]'
6370     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6371     ;;
6372   ncr)
6373     lt_cv_deplibs_check_method=pass_all
6374     ;;
6375   sequent)
6376     lt_cv_file_magic_cmd='/bin/file'
6377     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6378     ;;
6379   sni)
6380     lt_cv_file_magic_cmd='/bin/file'
6381     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6382     lt_cv_file_magic_test_file=/lib/libc.so
6383     ;;
6384   siemens)
6385     lt_cv_deplibs_check_method=pass_all
6386     ;;
6387   pc)
6388     lt_cv_deplibs_check_method=pass_all
6389     ;;
6390   esac
6391   ;;
6392
6393 tpf*)
6394   lt_cv_deplibs_check_method=pass_all
6395   ;;
6396 esac
6397
6398 fi
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6400 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6401 file_magic_cmd=$lt_cv_file_magic_cmd
6402 deplibs_check_method=$lt_cv_deplibs_check_method
6403 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416 if test -n "$ac_tool_prefix"; then
6417   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6418 set dummy ${ac_tool_prefix}ar; ac_word=$2
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6420 $as_echo_n "checking for $ac_word... " >&6; }
6421 if test "${ac_cv_prog_AR+set}" = set; then :
6422   $as_echo_n "(cached) " >&6
6423 else
6424   if test -n "$AR"; then
6425   ac_cv_prog_AR="$AR" # Let the user override the test.
6426 else
6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428 for as_dir in $PATH
6429 do
6430   IFS=$as_save_IFS
6431   test -z "$as_dir" && as_dir=.
6432     for ac_exec_ext in '' $ac_executable_extensions; do
6433   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6434     ac_cv_prog_AR="${ac_tool_prefix}ar"
6435     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6436     break 2
6437   fi
6438 done
6439   done
6440 IFS=$as_save_IFS
6441
6442 fi
6443 fi
6444 AR=$ac_cv_prog_AR
6445 if test -n "$AR"; then
6446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6447 $as_echo "$AR" >&6; }
6448 else
6449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6450 $as_echo "no" >&6; }
6451 fi
6452
6453
6454 fi
6455 if test -z "$ac_cv_prog_AR"; then
6456   ac_ct_AR=$AR
6457   # Extract the first word of "ar", so it can be a program name with args.
6458 set dummy ar; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6462   $as_echo_n "(cached) " >&6
6463 else
6464   if test -n "$ac_ct_AR"; then
6465   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6466 else
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in $PATH
6469 do
6470   IFS=$as_save_IFS
6471   test -z "$as_dir" && as_dir=.
6472     for ac_exec_ext in '' $ac_executable_extensions; do
6473   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6474     ac_cv_prog_ac_ct_AR="ar"
6475     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6476     break 2
6477   fi
6478 done
6479   done
6480 IFS=$as_save_IFS
6481
6482 fi
6483 fi
6484 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6485 if test -n "$ac_ct_AR"; then
6486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6487 $as_echo "$ac_ct_AR" >&6; }
6488 else
6489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; }
6491 fi
6492
6493   if test "x$ac_ct_AR" = x; then
6494     AR="false"
6495   else
6496     case $cross_compiling:$ac_tool_warned in
6497 yes:)
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6500 ac_tool_warned=yes ;;
6501 esac
6502     AR=$ac_ct_AR
6503   fi
6504 else
6505   AR="$ac_cv_prog_AR"
6506 fi
6507
6508 test -z "$AR" && AR=ar
6509 test -z "$AR_FLAGS" && AR_FLAGS=cru
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521 if test -n "$ac_tool_prefix"; then
6522   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6523 set dummy ${ac_tool_prefix}strip; ac_word=$2
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525 $as_echo_n "checking for $ac_word... " >&6; }
6526 if test "${ac_cv_prog_STRIP+set}" = set; then :
6527   $as_echo_n "(cached) " >&6
6528 else
6529   if test -n "$STRIP"; then
6530   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6531 else
6532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533 for as_dir in $PATH
6534 do
6535   IFS=$as_save_IFS
6536   test -z "$as_dir" && as_dir=.
6537     for ac_exec_ext in '' $ac_executable_extensions; do
6538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6539     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6541     break 2
6542   fi
6543 done
6544   done
6545 IFS=$as_save_IFS
6546
6547 fi
6548 fi
6549 STRIP=$ac_cv_prog_STRIP
6550 if test -n "$STRIP"; then
6551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6552 $as_echo "$STRIP" >&6; }
6553 else
6554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 $as_echo "no" >&6; }
6556 fi
6557
6558
6559 fi
6560 if test -z "$ac_cv_prog_STRIP"; then
6561   ac_ct_STRIP=$STRIP
6562   # Extract the first word of "strip", so it can be a program name with args.
6563 set dummy strip; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6567   $as_echo_n "(cached) " >&6
6568 else
6569   if test -n "$ac_ct_STRIP"; then
6570   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6571 else
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $PATH
6574 do
6575   IFS=$as_save_IFS
6576   test -z "$as_dir" && as_dir=.
6577     for ac_exec_ext in '' $ac_executable_extensions; do
6578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6579     ac_cv_prog_ac_ct_STRIP="strip"
6580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581     break 2
6582   fi
6583 done
6584   done
6585 IFS=$as_save_IFS
6586
6587 fi
6588 fi
6589 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6590 if test -n "$ac_ct_STRIP"; then
6591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6592 $as_echo "$ac_ct_STRIP" >&6; }
6593 else
6594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6596 fi
6597
6598   if test "x$ac_ct_STRIP" = x; then
6599     STRIP=":"
6600   else
6601     case $cross_compiling:$ac_tool_warned in
6602 yes:)
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6605 ac_tool_warned=yes ;;
6606 esac
6607     STRIP=$ac_ct_STRIP
6608   fi
6609 else
6610   STRIP="$ac_cv_prog_STRIP"
6611 fi
6612
6613 test -z "$STRIP" && STRIP=:
6614
6615
6616
6617
6618
6619
6620 if test -n "$ac_tool_prefix"; then
6621   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6622 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 $as_echo_n "checking for $ac_word... " >&6; }
6625 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6626   $as_echo_n "(cached) " >&6
6627 else
6628   if test -n "$RANLIB"; then
6629   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6630 else
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in $PATH
6633 do
6634   IFS=$as_save_IFS
6635   test -z "$as_dir" && as_dir=.
6636     for ac_exec_ext in '' $ac_executable_extensions; do
6637   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6638     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6640     break 2
6641   fi
6642 done
6643   done
6644 IFS=$as_save_IFS
6645
6646 fi
6647 fi
6648 RANLIB=$ac_cv_prog_RANLIB
6649 if test -n "$RANLIB"; then
6650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6651 $as_echo "$RANLIB" >&6; }
6652 else
6653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6654 $as_echo "no" >&6; }
6655 fi
6656
6657
6658 fi
6659 if test -z "$ac_cv_prog_RANLIB"; then
6660   ac_ct_RANLIB=$RANLIB
6661   # Extract the first word of "ranlib", so it can be a program name with args.
6662 set dummy ranlib; ac_word=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6666   $as_echo_n "(cached) " >&6
6667 else
6668   if test -n "$ac_ct_RANLIB"; then
6669   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6670 else
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 for as_dir in $PATH
6673 do
6674   IFS=$as_save_IFS
6675   test -z "$as_dir" && as_dir=.
6676     for ac_exec_ext in '' $ac_executable_extensions; do
6677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6678     ac_cv_prog_ac_ct_RANLIB="ranlib"
6679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6680     break 2
6681   fi
6682 done
6683   done
6684 IFS=$as_save_IFS
6685
6686 fi
6687 fi
6688 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6689 if test -n "$ac_ct_RANLIB"; then
6690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6691 $as_echo "$ac_ct_RANLIB" >&6; }
6692 else
6693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6695 fi
6696
6697   if test "x$ac_ct_RANLIB" = x; then
6698     RANLIB=":"
6699   else
6700     case $cross_compiling:$ac_tool_warned in
6701 yes:)
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6704 ac_tool_warned=yes ;;
6705 esac
6706     RANLIB=$ac_ct_RANLIB
6707   fi
6708 else
6709   RANLIB="$ac_cv_prog_RANLIB"
6710 fi
6711
6712 test -z "$RANLIB" && RANLIB=:
6713
6714
6715
6716
6717
6718
6719 # Determine commands to create old-style static archives.
6720 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6721 old_postinstall_cmds='chmod 644 $oldlib'
6722 old_postuninstall_cmds=
6723
6724 if test -n "$RANLIB"; then
6725   case $host_os in
6726   openbsd*)
6727     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6728     ;;
6729   *)
6730     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6731     ;;
6732   esac
6733   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6734 fi
6735
6736 case $host_os in
6737   darwin*)
6738     lock_old_archive_extraction=yes ;;
6739   *)
6740     lock_old_archive_extraction=no ;;
6741 esac
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
6780
6781 # If no C compiler was specified, use CC.
6782 LTCC=${LTCC-"$CC"}
6783
6784 # If no C compiler flags were specified, use CFLAGS.
6785 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6786
6787 # Allow CC to be a program name with arguments.
6788 compiler=$CC
6789
6790
6791 # Check for command to grab the raw symbol name followed by C symbol from nm.
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6793 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6794 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6795   $as_echo_n "(cached) " >&6
6796 else
6797
6798 # These are sane defaults that work on at least a few old systems.
6799 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6800
6801 # Character class describing NM global symbol codes.
6802 symcode='[BCDEGRST]'
6803
6804 # Regexp to match symbols that can be accessed directly from C.
6805 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6806
6807 # Define system-specific variables.
6808 case $host_os in
6809 aix*)
6810   symcode='[BCDT]'
6811   ;;
6812 cygwin* | mingw* | pw32* | cegcc*)
6813   symcode='[ABCDGISTW]'
6814   ;;
6815 hpux*)
6816   if test "$host_cpu" = ia64; then
6817     symcode='[ABCDEGRST]'
6818   fi
6819   ;;
6820 irix* | nonstopux*)
6821   symcode='[BCDEGRST]'
6822   ;;
6823 osf*)
6824   symcode='[BCDEGQRST]'
6825   ;;
6826 solaris*)
6827   symcode='[BDRT]'
6828   ;;
6829 sco3.2v5*)
6830   symcode='[DT]'
6831   ;;
6832 sysv4.2uw2*)
6833   symcode='[DT]'
6834   ;;
6835 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6836   symcode='[ABDT]'
6837   ;;
6838 sysv4)
6839   symcode='[DFNSTU]'
6840   ;;
6841 esac
6842
6843 # If we're using GNU nm, then use its standard symbol codes.
6844 case `$NM -V 2>&1` in
6845 *GNU* | *'with BFD'*)
6846   symcode='[ABCDGIRSTW]' ;;
6847 esac
6848
6849 # Transform an extracted symbol line into a proper C declaration.
6850 # Some systems (esp. on ia64) link data and code symbols differently,
6851 # so use this general approach.
6852 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6853
6854 # Transform an extracted symbol line into symbol name and symbol address
6855 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6856 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'"
6857
6858 # Handle CRLF in mingw tool chain
6859 opt_cr=
6860 case $build_os in
6861 mingw*)
6862   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6863   ;;
6864 esac
6865
6866 # Try without a prefix underscore, then with it.
6867 for ac_symprfx in "" "_"; do
6868
6869   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6870   symxfrm="\\1 $ac_symprfx\\2 \\2"
6871
6872   # Write the raw and C identifiers.
6873   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6874     # Fake it for dumpbin and say T for any non-static function
6875     # and D for any global variable.
6876     # Also find C++ and __fastcall symbols from MSVC++,
6877     # which start with @ or ?.
6878     lt_cv_sys_global_symbol_pipe="$AWK '"\
6879 "     {last_section=section; section=\$ 3};"\
6880 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6881 "     \$ 0!~/External *\|/{next};"\
6882 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6883 "     {if(hide[section]) next};"\
6884 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6885 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6886 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6887 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6888 "     ' prfx=^$ac_symprfx"
6889   else
6890     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6891   fi
6892
6893   # Check to see that the pipe works correctly.
6894   pipe_works=no
6895
6896   rm -f conftest*
6897   cat > conftest.$ac_ext <<_LT_EOF
6898 #ifdef __cplusplus
6899 extern "C" {
6900 #endif
6901 char nm_test_var;
6902 void nm_test_func(void);
6903 void nm_test_func(void){}
6904 #ifdef __cplusplus
6905 }
6906 #endif
6907 int main(){nm_test_var='a';nm_test_func();return(0);}
6908 _LT_EOF
6909
6910   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6911   (eval $ac_compile) 2>&5
6912   ac_status=$?
6913   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6914   test $ac_status = 0; }; then
6915     # Now try to grab the symbols.
6916     nlist=conftest.nm
6917     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6918   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6919   ac_status=$?
6920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6921   test $ac_status = 0; } && test -s "$nlist"; then
6922       # Try sorting and uniquifying the output.
6923       if sort "$nlist" | uniq > "$nlist"T; then
6924         mv -f "$nlist"T "$nlist"
6925       else
6926         rm -f "$nlist"T
6927       fi
6928
6929       # Make sure that we snagged all the symbols we need.
6930       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6931         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6932           cat <<_LT_EOF > conftest.$ac_ext
6933 #ifdef __cplusplus
6934 extern "C" {
6935 #endif
6936
6937 _LT_EOF
6938           # Now generate the symbol file.
6939           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6940
6941           cat <<_LT_EOF >> conftest.$ac_ext
6942
6943 /* The mapping between symbol names and symbols.  */
6944 const struct {
6945   const char *name;
6946   void       *address;
6947 }
6948 lt__PROGRAM__LTX_preloaded_symbols[] =
6949 {
6950   { "@PROGRAM@", (void *) 0 },
6951 _LT_EOF
6952           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6953           cat <<\_LT_EOF >> conftest.$ac_ext
6954   {0, (void *) 0}
6955 };
6956
6957 /* This works around a problem in FreeBSD linker */
6958 #ifdef FREEBSD_WORKAROUND
6959 static const void *lt_preloaded_setup() {
6960   return lt__PROGRAM__LTX_preloaded_symbols;
6961 }
6962 #endif
6963
6964 #ifdef __cplusplus
6965 }
6966 #endif
6967 _LT_EOF
6968           # Now try linking the two files.
6969           mv conftest.$ac_objext conftstm.$ac_objext
6970           lt_save_LIBS="$LIBS"
6971           lt_save_CFLAGS="$CFLAGS"
6972           LIBS="conftstm.$ac_objext"
6973           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6974           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6975   (eval $ac_link) 2>&5
6976   ac_status=$?
6977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6978   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6979             pipe_works=yes
6980           fi
6981           LIBS="$lt_save_LIBS"
6982           CFLAGS="$lt_save_CFLAGS"
6983         else
6984           echo "cannot find nm_test_func in $nlist" >&5
6985         fi
6986       else
6987         echo "cannot find nm_test_var in $nlist" >&5
6988       fi
6989     else
6990       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6991     fi
6992   else
6993     echo "$progname: failed program was:" >&5
6994     cat conftest.$ac_ext >&5
6995   fi
6996   rm -rf conftest* conftst*
6997
6998   # Do not use the global_symbol_pipe unless it works.
6999   if test "$pipe_works" = yes; then
7000     break
7001   else
7002     lt_cv_sys_global_symbol_pipe=
7003   fi
7004 done
7005
7006 fi
7007
7008 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7009   lt_cv_sys_global_symbol_to_cdecl=
7010 fi
7011 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7013 $as_echo "failed" >&6; }
7014 else
7015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7016 $as_echo "ok" >&6; }
7017 fi
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040 # Check whether --enable-libtool-lock was given.
7041 if test "${enable_libtool_lock+set}" = set; then :
7042   enableval=$enable_libtool_lock;
7043 fi
7044
7045 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7046
7047 # Some flags need to be propagated to the compiler or linker for good
7048 # libtool support.
7049 case $host in
7050 ia64-*-hpux*)
7051   # Find out which ABI we are using.
7052   echo 'int i;' > conftest.$ac_ext
7053   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7054   (eval $ac_compile) 2>&5
7055   ac_status=$?
7056   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7057   test $ac_status = 0; }; then
7058     case `/usr/bin/file conftest.$ac_objext` in
7059       *ELF-32*)
7060         HPUX_IA64_MODE="32"
7061         ;;
7062       *ELF-64*)
7063         HPUX_IA64_MODE="64"
7064         ;;
7065     esac
7066   fi
7067   rm -rf conftest*
7068   ;;
7069 *-*-irix6*)
7070   # Find out which ABI we are using.
7071   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7072   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7073   (eval $ac_compile) 2>&5
7074   ac_status=$?
7075   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7076   test $ac_status = 0; }; then
7077     if test "$lt_cv_prog_gnu_ld" = yes; then
7078       case `/usr/bin/file conftest.$ac_objext` in
7079         *32-bit*)
7080           LD="${LD-ld} -melf32bsmip"
7081           ;;
7082         *N32*)
7083           LD="${LD-ld} -melf32bmipn32"
7084           ;;
7085         *64-bit*)
7086           LD="${LD-ld} -melf64bmip"
7087         ;;
7088       esac
7089     else
7090       case `/usr/bin/file conftest.$ac_objext` in
7091         *32-bit*)
7092           LD="${LD-ld} -32"
7093           ;;
7094         *N32*)
7095           LD="${LD-ld} -n32"
7096           ;;
7097         *64-bit*)
7098           LD="${LD-ld} -64"
7099           ;;
7100       esac
7101     fi
7102   fi
7103   rm -rf conftest*
7104   ;;
7105
7106 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7107 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7108   # Find out which ABI we are using.
7109   echo 'int i;' > conftest.$ac_ext
7110   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7111   (eval $ac_compile) 2>&5
7112   ac_status=$?
7113   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7114   test $ac_status = 0; }; then
7115     case `/usr/bin/file conftest.o` in
7116       *32-bit*)
7117         case $host in
7118           x86_64-*kfreebsd*-gnu)
7119             LD="${LD-ld} -m elf_i386_fbsd"
7120             ;;
7121           x86_64-*linux*)
7122             LD="${LD-ld} -m elf_i386"
7123             ;;
7124           ppc64-*linux*|powerpc64-*linux*)
7125             LD="${LD-ld} -m elf32ppclinux"
7126             ;;
7127           s390x-*linux*)
7128             LD="${LD-ld} -m elf_s390"
7129             ;;
7130           sparc64-*linux*)
7131             LD="${LD-ld} -m elf32_sparc"
7132             ;;
7133         esac
7134         ;;
7135       *64-bit*)
7136         case $host in
7137           x86_64-*kfreebsd*-gnu)
7138             LD="${LD-ld} -m elf_x86_64_fbsd"
7139             ;;
7140           x86_64-*linux*)
7141             LD="${LD-ld} -m elf_x86_64"
7142             ;;
7143           ppc*-*linux*|powerpc*-*linux*)
7144             LD="${LD-ld} -m elf64ppc"
7145             ;;
7146           s390*-*linux*|s390*-*tpf*)
7147             LD="${LD-ld} -m elf64_s390"
7148             ;;
7149           sparc*-*linux*)
7150             LD="${LD-ld} -m elf64_sparc"
7151             ;;
7152         esac
7153         ;;
7154     esac
7155   fi
7156   rm -rf conftest*
7157   ;;
7158
7159 *-*-sco3.2v5*)
7160   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7161   SAVE_CFLAGS="$CFLAGS"
7162   CFLAGS="$CFLAGS -belf"
7163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7164 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7165 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7166   $as_echo_n "(cached) " >&6
7167 else
7168   ac_ext=c
7169 ac_cpp='$CPP $CPPFLAGS'
7170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7173
7174      if test x$gcc_no_link = xyes; then
7175   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7176 fi
7177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7178 /* end confdefs.h.  */
7179
7180 int
7181 main ()
7182 {
7183
7184   ;
7185   return 0;
7186 }
7187 _ACEOF
7188 if ac_fn_c_try_link "$LINENO"; then :
7189   lt_cv_cc_needs_belf=yes
7190 else
7191   lt_cv_cc_needs_belf=no
7192 fi
7193 rm -f core conftest.err conftest.$ac_objext \
7194     conftest$ac_exeext conftest.$ac_ext
7195      ac_ext=c
7196 ac_cpp='$CPP $CPPFLAGS'
7197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7200
7201 fi
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7203 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7204   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7205     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7206     CFLAGS="$SAVE_CFLAGS"
7207   fi
7208   ;;
7209 sparc*-*solaris*)
7210   # Find out which ABI we are using.
7211   echo 'int i;' > conftest.$ac_ext
7212   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7213   (eval $ac_compile) 2>&5
7214   ac_status=$?
7215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7216   test $ac_status = 0; }; then
7217     case `/usr/bin/file conftest.o` in
7218     *64-bit*)
7219       case $lt_cv_prog_gnu_ld in
7220       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7221       *)
7222         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7223           LD="${LD-ld} -64"
7224         fi
7225         ;;
7226       esac
7227       ;;
7228     esac
7229   fi
7230   rm -rf conftest*
7231   ;;
7232 esac
7233
7234 need_locks="$enable_libtool_lock"
7235
7236
7237   case $host_os in
7238     rhapsody* | darwin*)
7239     if test -n "$ac_tool_prefix"; then
7240   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7241 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7245   $as_echo_n "(cached) " >&6
7246 else
7247   if test -n "$DSYMUTIL"; then
7248   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7249 else
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7251 for as_dir in $PATH
7252 do
7253   IFS=$as_save_IFS
7254   test -z "$as_dir" && as_dir=.
7255     for ac_exec_ext in '' $ac_executable_extensions; do
7256   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7259     break 2
7260   fi
7261 done
7262   done
7263 IFS=$as_save_IFS
7264
7265 fi
7266 fi
7267 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7268 if test -n "$DSYMUTIL"; then
7269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7270 $as_echo "$DSYMUTIL" >&6; }
7271 else
7272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7274 fi
7275
7276
7277 fi
7278 if test -z "$ac_cv_prog_DSYMUTIL"; then
7279   ac_ct_DSYMUTIL=$DSYMUTIL
7280   # Extract the first word of "dsymutil", so it can be a program name with args.
7281 set dummy dsymutil; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7285   $as_echo_n "(cached) " >&6
7286 else
7287   if test -n "$ac_ct_DSYMUTIL"; then
7288   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7289 else
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291 for as_dir in $PATH
7292 do
7293   IFS=$as_save_IFS
7294   test -z "$as_dir" && as_dir=.
7295     for ac_exec_ext in '' $ac_executable_extensions; do
7296   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299     break 2
7300   fi
7301 done
7302   done
7303 IFS=$as_save_IFS
7304
7305 fi
7306 fi
7307 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7308 if test -n "$ac_ct_DSYMUTIL"; then
7309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7310 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7311 else
7312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7313 $as_echo "no" >&6; }
7314 fi
7315
7316   if test "x$ac_ct_DSYMUTIL" = x; then
7317     DSYMUTIL=":"
7318   else
7319     case $cross_compiling:$ac_tool_warned in
7320 yes:)
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7323 ac_tool_warned=yes ;;
7324 esac
7325     DSYMUTIL=$ac_ct_DSYMUTIL
7326   fi
7327 else
7328   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7329 fi
7330
7331     if test -n "$ac_tool_prefix"; then
7332   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7333 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335 $as_echo_n "checking for $ac_word... " >&6; }
7336 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7337   $as_echo_n "(cached) " >&6
7338 else
7339   if test -n "$NMEDIT"; then
7340   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7341 else
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343 for as_dir in $PATH
7344 do
7345   IFS=$as_save_IFS
7346   test -z "$as_dir" && as_dir=.
7347     for ac_exec_ext in '' $ac_executable_extensions; do
7348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7351     break 2
7352   fi
7353 done
7354   done
7355 IFS=$as_save_IFS
7356
7357 fi
7358 fi
7359 NMEDIT=$ac_cv_prog_NMEDIT
7360 if test -n "$NMEDIT"; then
7361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7362 $as_echo "$NMEDIT" >&6; }
7363 else
7364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365 $as_echo "no" >&6; }
7366 fi
7367
7368
7369 fi
7370 if test -z "$ac_cv_prog_NMEDIT"; then
7371   ac_ct_NMEDIT=$NMEDIT
7372   # Extract the first word of "nmedit", so it can be a program name with args.
7373 set dummy nmedit; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7377   $as_echo_n "(cached) " >&6
7378 else
7379   if test -n "$ac_ct_NMEDIT"; then
7380   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7381 else
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383 for as_dir in $PATH
7384 do
7385   IFS=$as_save_IFS
7386   test -z "$as_dir" && as_dir=.
7387     for ac_exec_ext in '' $ac_executable_extensions; do
7388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7391     break 2
7392   fi
7393 done
7394   done
7395 IFS=$as_save_IFS
7396
7397 fi
7398 fi
7399 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7400 if test -n "$ac_ct_NMEDIT"; then
7401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7402 $as_echo "$ac_ct_NMEDIT" >&6; }
7403 else
7404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7406 fi
7407
7408   if test "x$ac_ct_NMEDIT" = x; then
7409     NMEDIT=":"
7410   else
7411     case $cross_compiling:$ac_tool_warned in
7412 yes:)
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7415 ac_tool_warned=yes ;;
7416 esac
7417     NMEDIT=$ac_ct_NMEDIT
7418   fi
7419 else
7420   NMEDIT="$ac_cv_prog_NMEDIT"
7421 fi
7422
7423     if test -n "$ac_tool_prefix"; then
7424   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7425 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7427 $as_echo_n "checking for $ac_word... " >&6; }
7428 if test "${ac_cv_prog_LIPO+set}" = set; then :
7429   $as_echo_n "(cached) " >&6
7430 else
7431   if test -n "$LIPO"; then
7432   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7433 else
7434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7435 for as_dir in $PATH
7436 do
7437   IFS=$as_save_IFS
7438   test -z "$as_dir" && as_dir=.
7439     for ac_exec_ext in '' $ac_executable_extensions; do
7440   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7441     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7442     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7443     break 2
7444   fi
7445 done
7446   done
7447 IFS=$as_save_IFS
7448
7449 fi
7450 fi
7451 LIPO=$ac_cv_prog_LIPO
7452 if test -n "$LIPO"; then
7453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7454 $as_echo "$LIPO" >&6; }
7455 else
7456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7457 $as_echo "no" >&6; }
7458 fi
7459
7460
7461 fi
7462 if test -z "$ac_cv_prog_LIPO"; then
7463   ac_ct_LIPO=$LIPO
7464   # Extract the first word of "lipo", so it can be a program name with args.
7465 set dummy lipo; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7469   $as_echo_n "(cached) " >&6
7470 else
7471   if test -n "$ac_ct_LIPO"; then
7472   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7473 else
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7475 for as_dir in $PATH
7476 do
7477   IFS=$as_save_IFS
7478   test -z "$as_dir" && as_dir=.
7479     for ac_exec_ext in '' $ac_executable_extensions; do
7480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481     ac_cv_prog_ac_ct_LIPO="lipo"
7482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7483     break 2
7484   fi
7485 done
7486   done
7487 IFS=$as_save_IFS
7488
7489 fi
7490 fi
7491 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7492 if test -n "$ac_ct_LIPO"; then
7493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7494 $as_echo "$ac_ct_LIPO" >&6; }
7495 else
7496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
7498 fi
7499
7500   if test "x$ac_ct_LIPO" = x; then
7501     LIPO=":"
7502   else
7503     case $cross_compiling:$ac_tool_warned in
7504 yes:)
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7507 ac_tool_warned=yes ;;
7508 esac
7509     LIPO=$ac_ct_LIPO
7510   fi
7511 else
7512   LIPO="$ac_cv_prog_LIPO"
7513 fi
7514
7515     if test -n "$ac_tool_prefix"; then
7516   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7517 set dummy ${ac_tool_prefix}otool; ac_word=$2
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7519 $as_echo_n "checking for $ac_word... " >&6; }
7520 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7521   $as_echo_n "(cached) " >&6
7522 else
7523   if test -n "$OTOOL"; then
7524   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7525 else
7526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7527 for as_dir in $PATH
7528 do
7529   IFS=$as_save_IFS
7530   test -z "$as_dir" && as_dir=.
7531     for ac_exec_ext in '' $ac_executable_extensions; do
7532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7533     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7535     break 2
7536   fi
7537 done
7538   done
7539 IFS=$as_save_IFS
7540
7541 fi
7542 fi
7543 OTOOL=$ac_cv_prog_OTOOL
7544 if test -n "$OTOOL"; then
7545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7546 $as_echo "$OTOOL" >&6; }
7547 else
7548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 $as_echo "no" >&6; }
7550 fi
7551
7552
7553 fi
7554 if test -z "$ac_cv_prog_OTOOL"; then
7555   ac_ct_OTOOL=$OTOOL
7556   # Extract the first word of "otool", so it can be a program name with args.
7557 set dummy otool; ac_word=$2
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7559 $as_echo_n "checking for $ac_word... " >&6; }
7560 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7561   $as_echo_n "(cached) " >&6
7562 else
7563   if test -n "$ac_ct_OTOOL"; then
7564   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7565 else
7566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7567 for as_dir in $PATH
7568 do
7569   IFS=$as_save_IFS
7570   test -z "$as_dir" && as_dir=.
7571     for ac_exec_ext in '' $ac_executable_extensions; do
7572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7573     ac_cv_prog_ac_ct_OTOOL="otool"
7574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7575     break 2
7576   fi
7577 done
7578   done
7579 IFS=$as_save_IFS
7580
7581 fi
7582 fi
7583 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7584 if test -n "$ac_ct_OTOOL"; then
7585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7586 $as_echo "$ac_ct_OTOOL" >&6; }
7587 else
7588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7589 $as_echo "no" >&6; }
7590 fi
7591
7592   if test "x$ac_ct_OTOOL" = x; then
7593     OTOOL=":"
7594   else
7595     case $cross_compiling:$ac_tool_warned in
7596 yes:)
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7599 ac_tool_warned=yes ;;
7600 esac
7601     OTOOL=$ac_ct_OTOOL
7602   fi
7603 else
7604   OTOOL="$ac_cv_prog_OTOOL"
7605 fi
7606
7607     if test -n "$ac_tool_prefix"; then
7608   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7609 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611 $as_echo_n "checking for $ac_word... " >&6; }
7612 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7613   $as_echo_n "(cached) " >&6
7614 else
7615   if test -n "$OTOOL64"; then
7616   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7617 else
7618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619 for as_dir in $PATH
7620 do
7621   IFS=$as_save_IFS
7622   test -z "$as_dir" && as_dir=.
7623     for ac_exec_ext in '' $ac_executable_extensions; do
7624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7625     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7627     break 2
7628   fi
7629 done
7630   done
7631 IFS=$as_save_IFS
7632
7633 fi
7634 fi
7635 OTOOL64=$ac_cv_prog_OTOOL64
7636 if test -n "$OTOOL64"; then
7637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7638 $as_echo "$OTOOL64" >&6; }
7639 else
7640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641 $as_echo "no" >&6; }
7642 fi
7643
7644
7645 fi
7646 if test -z "$ac_cv_prog_OTOOL64"; then
7647   ac_ct_OTOOL64=$OTOOL64
7648   # Extract the first word of "otool64", so it can be a program name with args.
7649 set dummy otool64; ac_word=$2
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651 $as_echo_n "checking for $ac_word... " >&6; }
7652 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7653   $as_echo_n "(cached) " >&6
7654 else
7655   if test -n "$ac_ct_OTOOL64"; then
7656   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7657 else
7658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659 for as_dir in $PATH
7660 do
7661   IFS=$as_save_IFS
7662   test -z "$as_dir" && as_dir=.
7663     for ac_exec_ext in '' $ac_executable_extensions; do
7664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7665     ac_cv_prog_ac_ct_OTOOL64="otool64"
7666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667     break 2
7668   fi
7669 done
7670   done
7671 IFS=$as_save_IFS
7672
7673 fi
7674 fi
7675 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7676 if test -n "$ac_ct_OTOOL64"; then
7677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7678 $as_echo "$ac_ct_OTOOL64" >&6; }
7679 else
7680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681 $as_echo "no" >&6; }
7682 fi
7683
7684   if test "x$ac_ct_OTOOL64" = x; then
7685     OTOOL64=":"
7686   else
7687     case $cross_compiling:$ac_tool_warned in
7688 yes:)
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7691 ac_tool_warned=yes ;;
7692 esac
7693     OTOOL64=$ac_ct_OTOOL64
7694   fi
7695 else
7696   OTOOL64="$ac_cv_prog_OTOOL64"
7697 fi
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
7724
7725     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7726 $as_echo_n "checking for -single_module linker flag... " >&6; }
7727 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7728   $as_echo_n "(cached) " >&6
7729 else
7730   lt_cv_apple_cc_single_mod=no
7731       if test -z "${LT_MULTI_MODULE}"; then
7732         # By default we will add the -single_module flag. You can override
7733         # by either setting the environment variable LT_MULTI_MODULE
7734         # non-empty at configure time, or by adding -multi_module to the
7735         # link flags.
7736         rm -rf libconftest.dylib*
7737         echo "int foo(void){return 1;}" > conftest.c
7738         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7739 -dynamiclib -Wl,-single_module conftest.c" >&5
7740         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7741           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7742         _lt_result=$?
7743         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7744           lt_cv_apple_cc_single_mod=yes
7745         else
7746           cat conftest.err >&5
7747         fi
7748         rm -rf libconftest.dylib*
7749         rm -f conftest.*
7750       fi
7751 fi
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7753 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7754     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7755 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7756 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7757   $as_echo_n "(cached) " >&6
7758 else
7759   lt_cv_ld_exported_symbols_list=no
7760       save_LDFLAGS=$LDFLAGS
7761       echo "_main" > conftest.sym
7762       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7763       if test x$gcc_no_link = xyes; then
7764   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7765 fi
7766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7767 /* end confdefs.h.  */
7768
7769 int
7770 main ()
7771 {
7772
7773   ;
7774   return 0;
7775 }
7776 _ACEOF
7777 if ac_fn_c_try_link "$LINENO"; then :
7778   lt_cv_ld_exported_symbols_list=yes
7779 else
7780   lt_cv_ld_exported_symbols_list=no
7781 fi
7782 rm -f core conftest.err conftest.$ac_objext \
7783     conftest$ac_exeext conftest.$ac_ext
7784         LDFLAGS="$save_LDFLAGS"
7785
7786 fi
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7788 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7789     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7790 $as_echo_n "checking for -force_load linker flag... " >&6; }
7791 if test "${lt_cv_ld_force_load+set}" = set; then :
7792   $as_echo_n "(cached) " >&6
7793 else
7794   lt_cv_ld_force_load=no
7795       cat > conftest.c << _LT_EOF
7796 int forced_loaded() { return 2;}
7797 _LT_EOF
7798       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7799       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7800       echo "$AR cru libconftest.a conftest.o" >&5
7801       $AR cru libconftest.a conftest.o 2>&5
7802       cat > conftest.c << _LT_EOF
7803 int main() { return 0;}
7804 _LT_EOF
7805       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7806       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7807       _lt_result=$?
7808       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7809         lt_cv_ld_force_load=yes
7810       else
7811         cat conftest.err >&5
7812       fi
7813         rm -f conftest.err libconftest.a conftest conftest.c
7814         rm -rf conftest.dSYM
7815
7816 fi
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7818 $as_echo "$lt_cv_ld_force_load" >&6; }
7819     case $host_os in
7820     rhapsody* | darwin1.[012])
7821       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7822     darwin1.*)
7823       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7824     darwin*) # darwin 5.x on
7825       # if running on 10.5 or later, the deployment target defaults
7826       # to the OS version, if on x86, and 10.4, the deployment
7827       # target defaults to 10.4. Don't you love it?
7828       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7829         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7830           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7831         10.[012]*)
7832           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7833         10.*)
7834           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7835       esac
7836     ;;
7837   esac
7838     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7839       _lt_dar_single_mod='$single_module'
7840     fi
7841     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7842       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7843     else
7844       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7845     fi
7846     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7847       _lt_dsymutil='~$DSYMUTIL $lib || :'
7848     else
7849       _lt_dsymutil=
7850     fi
7851     ;;
7852   esac
7853
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7855 $as_echo_n "checking for ANSI C header files... " >&6; }
7856 if test "${ac_cv_header_stdc+set}" = set; then :
7857   $as_echo_n "(cached) " >&6
7858 else
7859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7860 /* end confdefs.h.  */
7861 #include <stdlib.h>
7862 #include <stdarg.h>
7863 #include <string.h>
7864 #include <float.h>
7865
7866 int
7867 main ()
7868 {
7869
7870   ;
7871   return 0;
7872 }
7873 _ACEOF
7874 if ac_fn_c_try_compile "$LINENO"; then :
7875   ac_cv_header_stdc=yes
7876 else
7877   ac_cv_header_stdc=no
7878 fi
7879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7880
7881 if test $ac_cv_header_stdc = yes; then
7882   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7884 /* end confdefs.h.  */
7885 #include <string.h>
7886
7887 _ACEOF
7888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7889   $EGREP "memchr" >/dev/null 2>&1; then :
7890
7891 else
7892   ac_cv_header_stdc=no
7893 fi
7894 rm -f conftest*
7895
7896 fi
7897
7898 if test $ac_cv_header_stdc = yes; then
7899   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7901 /* end confdefs.h.  */
7902 #include <stdlib.h>
7903
7904 _ACEOF
7905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7906   $EGREP "free" >/dev/null 2>&1; then :
7907
7908 else
7909   ac_cv_header_stdc=no
7910 fi
7911 rm -f conftest*
7912
7913 fi
7914
7915 if test $ac_cv_header_stdc = yes; then
7916   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7917   if test "$cross_compiling" = yes; then :
7918   :
7919 else
7920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7921 /* end confdefs.h.  */
7922 #include <ctype.h>
7923 #include <stdlib.h>
7924 #if ((' ' & 0x0FF) == 0x020)
7925 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7926 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7927 #else
7928 # define ISLOWER(c) \
7929                    (('a' <= (c) && (c) <= 'i') \
7930                      || ('j' <= (c) && (c) <= 'r') \
7931                      || ('s' <= (c) && (c) <= 'z'))
7932 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7933 #endif
7934
7935 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7936 int
7937 main ()
7938 {
7939   int i;
7940   for (i = 0; i < 256; i++)
7941     if (XOR (islower (i), ISLOWER (i))
7942         || toupper (i) != TOUPPER (i))
7943       return 2;
7944   return 0;
7945 }
7946 _ACEOF
7947 if ac_fn_c_try_run "$LINENO"; then :
7948
7949 else
7950   ac_cv_header_stdc=no
7951 fi
7952 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7953   conftest.$ac_objext conftest.beam conftest.$ac_ext
7954 fi
7955
7956 fi
7957 fi
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7959 $as_echo "$ac_cv_header_stdc" >&6; }
7960 if test $ac_cv_header_stdc = yes; then
7961
7962 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7963
7964 fi
7965
7966 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7967 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7968                   inttypes.h stdint.h unistd.h
7969 do :
7970   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7971 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7972 "
7973 eval as_val=\$$as_ac_Header
7974    if test "x$as_val" = x""yes; then :
7975   cat >>confdefs.h <<_ACEOF
7976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7977 _ACEOF
7978
7979 fi
7980
7981 done
7982
7983
7984 for ac_header in dlfcn.h
7985 do :
7986   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7987 "
7988 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7989   cat >>confdefs.h <<_ACEOF
7990 #define HAVE_DLFCN_H 1
7991 _ACEOF
7992
7993 fi
7994
7995 done
7996
7997
7998
7999
8000
8001
8002 # Set options
8003
8004
8005
8006
8007   enable_win32_dll=no
8008
8009
8010             # Check whether --enable-shared was given.
8011 if test "${enable_shared+set}" = set; then :
8012   enableval=$enable_shared; p=${PACKAGE-default}
8013     case $enableval in
8014     yes) enable_shared=yes ;;
8015     no) enable_shared=no ;;
8016     *)
8017       enable_shared=no
8018       # Look at the argument we got.  We use all the common list separators.
8019       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8020       for pkg in $enableval; do
8021         IFS="$lt_save_ifs"
8022         if test "X$pkg" = "X$p"; then
8023           enable_shared=yes
8024         fi
8025       done
8026       IFS="$lt_save_ifs"
8027       ;;
8028     esac
8029 else
8030   enable_shared=yes
8031 fi
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041   # Check whether --enable-static was given.
8042 if test "${enable_static+set}" = set; then :
8043   enableval=$enable_static; p=${PACKAGE-default}
8044     case $enableval in
8045     yes) enable_static=yes ;;
8046     no) enable_static=no ;;
8047     *)
8048      enable_static=no
8049       # Look at the argument we got.  We use all the common list separators.
8050       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8051       for pkg in $enableval; do
8052         IFS="$lt_save_ifs"
8053         if test "X$pkg" = "X$p"; then
8054           enable_static=yes
8055         fi
8056       done
8057       IFS="$lt_save_ifs"
8058       ;;
8059     esac
8060 else
8061   enable_static=yes
8062 fi
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073 # Check whether --with-pic was given.
8074 if test "${with_pic+set}" = set; then :
8075   withval=$with_pic; pic_mode="$withval"
8076 else
8077   pic_mode=default
8078 fi
8079
8080
8081 test -z "$pic_mode" && pic_mode=default
8082
8083
8084
8085
8086
8087
8088
8089   # Check whether --enable-fast-install was given.
8090 if test "${enable_fast_install+set}" = set; then :
8091   enableval=$enable_fast_install; p=${PACKAGE-default}
8092     case $enableval in
8093     yes) enable_fast_install=yes ;;
8094     no) enable_fast_install=no ;;
8095     *)
8096       enable_fast_install=no
8097       # Look at the argument we got.  We use all the common list separators.
8098       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8099       for pkg in $enableval; do
8100         IFS="$lt_save_ifs"
8101         if test "X$pkg" = "X$p"; then
8102           enable_fast_install=yes
8103         fi
8104       done
8105       IFS="$lt_save_ifs"
8106       ;;
8107     esac
8108 else
8109   enable_fast_install=yes
8110 fi
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122 # This can be used to rebuild libtool when needed
8123 LIBTOOL_DEPS="$ltmain"
8124
8125 # Always use our own libtool.
8126 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
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
8152
8153 test -z "$LN_S" && LN_S="ln -s"
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168 if test -n "${ZSH_VERSION+set}" ; then
8169    setopt NO_GLOB_SUBST
8170 fi
8171
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8173 $as_echo_n "checking for objdir... " >&6; }
8174 if test "${lt_cv_objdir+set}" = set; then :
8175   $as_echo_n "(cached) " >&6
8176 else
8177   rm -f .libs 2>/dev/null
8178 mkdir .libs 2>/dev/null
8179 if test -d .libs; then
8180   lt_cv_objdir=.libs
8181 else
8182   # MS-DOS does not allow filenames that begin with a dot.
8183   lt_cv_objdir=_libs
8184 fi
8185 rmdir .libs 2>/dev/null
8186 fi
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8188 $as_echo "$lt_cv_objdir" >&6; }
8189 objdir=$lt_cv_objdir
8190
8191
8192
8193
8194
8195 cat >>confdefs.h <<_ACEOF
8196 #define LT_OBJDIR "$lt_cv_objdir/"
8197 _ACEOF
8198
8199
8200
8201
8202 case $host_os in
8203 aix3*)
8204   # AIX sometimes has problems with the GCC collect2 program.  For some
8205   # reason, if we set the COLLECT_NAMES environment variable, the problems
8206   # vanish in a puff of smoke.
8207   if test "X${COLLECT_NAMES+set}" != Xset; then
8208     COLLECT_NAMES=
8209     export COLLECT_NAMES
8210   fi
8211   ;;
8212 esac
8213
8214 # Global variables:
8215 ofile=libtool
8216 can_build_shared=yes
8217
8218 # All known linkers require a `.a' archive for static linking (except MSVC,
8219 # which needs '.lib').
8220 libext=a
8221
8222 with_gnu_ld="$lt_cv_prog_gnu_ld"
8223
8224 old_CC="$CC"
8225 old_CFLAGS="$CFLAGS"
8226
8227 # Set sane defaults for various variables
8228 test -z "$CC" && CC=cc
8229 test -z "$LTCC" && LTCC=$CC
8230 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8231 test -z "$LD" && LD=ld
8232 test -z "$ac_objext" && ac_objext=o
8233
8234 for cc_temp in $compiler""; do
8235   case $cc_temp in
8236     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8237     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8238     \-*) ;;
8239     *) break;;
8240   esac
8241 done
8242 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8243
8244
8245 # Only perform the check for file, if the check method requires it
8246 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8247 case $deplibs_check_method in
8248 file_magic*)
8249   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8250     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8251 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8252 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8253   $as_echo_n "(cached) " >&6
8254 else
8255   case $MAGIC_CMD in
8256 [\\/*] |  ?:[\\/]*)
8257   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8258   ;;
8259 *)
8260   lt_save_MAGIC_CMD="$MAGIC_CMD"
8261   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8262   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8263   for ac_dir in $ac_dummy; do
8264     IFS="$lt_save_ifs"
8265     test -z "$ac_dir" && ac_dir=.
8266     if test -f $ac_dir/${ac_tool_prefix}file; then
8267       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8268       if test -n "$file_magic_test_file"; then
8269         case $deplibs_check_method in
8270         "file_magic "*)
8271           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8272           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8273           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8274             $EGREP "$file_magic_regex" > /dev/null; then
8275             :
8276           else
8277             cat <<_LT_EOF 1>&2
8278
8279 *** Warning: the command libtool uses to detect shared libraries,
8280 *** $file_magic_cmd, produces output that libtool cannot recognize.
8281 *** The result is that libtool may fail to recognize shared libraries
8282 *** as such.  This will affect the creation of libtool libraries that
8283 *** depend on shared libraries, but programs linked with such libtool
8284 *** libraries will work regardless of this problem.  Nevertheless, you
8285 *** may want to report the problem to your system manager and/or to
8286 *** bug-libtool@gnu.org
8287
8288 _LT_EOF
8289           fi ;;
8290         esac
8291       fi
8292       break
8293     fi
8294   done
8295   IFS="$lt_save_ifs"
8296   MAGIC_CMD="$lt_save_MAGIC_CMD"
8297   ;;
8298 esac
8299 fi
8300
8301 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8302 if test -n "$MAGIC_CMD"; then
8303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8304 $as_echo "$MAGIC_CMD" >&6; }
8305 else
8306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8307 $as_echo "no" >&6; }
8308 fi
8309
8310
8311
8312
8313
8314 if test -z "$lt_cv_path_MAGIC_CMD"; then
8315   if test -n "$ac_tool_prefix"; then
8316     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8317 $as_echo_n "checking for file... " >&6; }
8318 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8319   $as_echo_n "(cached) " >&6
8320 else
8321   case $MAGIC_CMD in
8322 [\\/*] |  ?:[\\/]*)
8323   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8324   ;;
8325 *)
8326   lt_save_MAGIC_CMD="$MAGIC_CMD"
8327   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8328   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8329   for ac_dir in $ac_dummy; do
8330     IFS="$lt_save_ifs"
8331     test -z "$ac_dir" && ac_dir=.
8332     if test -f $ac_dir/file; then
8333       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8334       if test -n "$file_magic_test_file"; then
8335         case $deplibs_check_method in
8336         "file_magic "*)
8337           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8338           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8339           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8340             $EGREP "$file_magic_regex" > /dev/null; then
8341             :
8342           else
8343             cat <<_LT_EOF 1>&2
8344
8345 *** Warning: the command libtool uses to detect shared libraries,
8346 *** $file_magic_cmd, produces output that libtool cannot recognize.
8347 *** The result is that libtool may fail to recognize shared libraries
8348 *** as such.  This will affect the creation of libtool libraries that
8349 *** depend on shared libraries, but programs linked with such libtool
8350 *** libraries will work regardless of this problem.  Nevertheless, you
8351 *** may want to report the problem to your system manager and/or to
8352 *** bug-libtool@gnu.org
8353
8354 _LT_EOF
8355           fi ;;
8356         esac
8357       fi
8358       break
8359     fi
8360   done
8361   IFS="$lt_save_ifs"
8362   MAGIC_CMD="$lt_save_MAGIC_CMD"
8363   ;;
8364 esac
8365 fi
8366
8367 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8368 if test -n "$MAGIC_CMD"; then
8369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8370 $as_echo "$MAGIC_CMD" >&6; }
8371 else
8372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8374 fi
8375
8376
8377   else
8378     MAGIC_CMD=:
8379   fi
8380 fi
8381
8382   fi
8383   ;;
8384 esac
8385
8386 # Use C for the default configuration in the libtool script
8387
8388 lt_save_CC="$CC"
8389 ac_ext=c
8390 ac_cpp='$CPP $CPPFLAGS'
8391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8394
8395
8396 # Source file extension for C test sources.
8397 ac_ext=c
8398
8399 # Object file extension for compiled C test sources.
8400 objext=o
8401 objext=$objext
8402
8403 # Code to be used in simple compile tests
8404 lt_simple_compile_test_code="int some_variable = 0;"
8405
8406 # Code to be used in simple link tests
8407 lt_simple_link_test_code='int main(){return(0);}'
8408
8409
8410
8411
8412
8413
8414
8415 # If no C compiler was specified, use CC.
8416 LTCC=${LTCC-"$CC"}
8417
8418 # If no C compiler flags were specified, use CFLAGS.
8419 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8420
8421 # Allow CC to be a program name with arguments.
8422 compiler=$CC
8423
8424 # Save the default compiler, since it gets overwritten when the other
8425 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8426 compiler_DEFAULT=$CC
8427
8428 # save warnings/boilerplate of simple test code
8429 ac_outfile=conftest.$ac_objext
8430 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8431 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8432 _lt_compiler_boilerplate=`cat conftest.err`
8433 $RM conftest*
8434
8435 ac_outfile=conftest.$ac_objext
8436 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8437 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8438 _lt_linker_boilerplate=`cat conftest.err`
8439 $RM -r conftest*
8440
8441
8442 ## CAVEAT EMPTOR:
8443 ## There is no encapsulation within the following macros, do not change
8444 ## the running order or otherwise move them around unless you know exactly
8445 ## what you are doing...
8446 if test -n "$compiler"; then
8447
8448 lt_prog_compiler_no_builtin_flag=
8449
8450 if test "$GCC" = yes; then
8451   case $cc_basename in
8452   nvcc*)
8453     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8454   *)
8455     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8456   esac
8457
8458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8459 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8460 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8461   $as_echo_n "(cached) " >&6
8462 else
8463   lt_cv_prog_compiler_rtti_exceptions=no
8464    ac_outfile=conftest.$ac_objext
8465    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8466    lt_compiler_flag="-fno-rtti -fno-exceptions"
8467    # Insert the option either (1) after the last *FLAGS variable, or
8468    # (2) before a word containing "conftest.", or (3) at the end.
8469    # Note that $ac_compile itself does not contain backslashes and begins
8470    # with a dollar sign (not a hyphen), so the echo should work correctly.
8471    # The option is referenced via a variable to avoid confusing sed.
8472    lt_compile=`echo "$ac_compile" | $SED \
8473    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8474    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8475    -e 's:$: $lt_compiler_flag:'`
8476    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8477    (eval "$lt_compile" 2>conftest.err)
8478    ac_status=$?
8479    cat conftest.err >&5
8480    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481    if (exit $ac_status) && test -s "$ac_outfile"; then
8482      # The compiler can only warn and ignore the option if not recognized
8483      # So say no if there are warnings other than the usual output.
8484      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8485      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8486      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8487        lt_cv_prog_compiler_rtti_exceptions=yes
8488      fi
8489    fi
8490    $RM conftest*
8491
8492 fi
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8494 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8495
8496 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8497     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8498 else
8499     :
8500 fi
8501
8502 fi
8503
8504
8505
8506
8507
8508
8509   lt_prog_compiler_wl=
8510 lt_prog_compiler_pic=
8511 lt_prog_compiler_static=
8512
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8514 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8515
8516   if test "$GCC" = yes; then
8517     lt_prog_compiler_wl='-Wl,'
8518     lt_prog_compiler_static='-static'
8519
8520     case $host_os in
8521       aix*)
8522       # All AIX code is PIC.
8523       if test "$host_cpu" = ia64; then
8524         # AIX 5 now supports IA64 processor
8525         lt_prog_compiler_static='-Bstatic'
8526       fi
8527       ;;
8528
8529     amigaos*)
8530       case $host_cpu in
8531       powerpc)
8532             # see comment about AmigaOS4 .so support
8533             lt_prog_compiler_pic='-fPIC'
8534         ;;
8535       m68k)
8536             # FIXME: we need at least 68020 code to build shared libraries, but
8537             # adding the `-m68020' flag to GCC prevents building anything better,
8538             # like `-m68040'.
8539             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8540         ;;
8541       esac
8542       ;;
8543
8544     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8545       # PIC is the default for these OSes.
8546       ;;
8547
8548     mingw* | cygwin* | pw32* | os2* | cegcc*)
8549       # This hack is so that the source file can tell whether it is being
8550       # built for inclusion in a dll (and should export symbols for example).
8551       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8552       # (--disable-auto-import) libraries
8553       lt_prog_compiler_pic='-DDLL_EXPORT'
8554       ;;
8555
8556     darwin* | rhapsody*)
8557       # PIC is the default on this platform
8558       # Common symbols not allowed in MH_DYLIB files
8559       lt_prog_compiler_pic='-fno-common'
8560       ;;
8561
8562     haiku*)
8563       # PIC is the default for Haiku.
8564       # The "-static" flag exists, but is broken.
8565       lt_prog_compiler_static=
8566       ;;
8567
8568     hpux*)
8569       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8570       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8571       # sets the default TLS model and affects inlining.
8572       case $host_cpu in
8573       hppa*64*)
8574         # +Z the default
8575         ;;
8576       *)
8577         lt_prog_compiler_pic='-fPIC'
8578         ;;
8579       esac
8580       ;;
8581
8582     interix[3-9]*)
8583       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8584       # Instead, we relocate shared libraries at runtime.
8585       ;;
8586
8587     msdosdjgpp*)
8588       # Just because we use GCC doesn't mean we suddenly get shared libraries
8589       # on systems that don't support them.
8590       lt_prog_compiler_can_build_shared=no
8591       enable_shared=no
8592       ;;
8593
8594     *nto* | *qnx*)
8595       # QNX uses GNU C++, but need to define -shared option too, otherwise
8596       # it will coredump.
8597       lt_prog_compiler_pic='-fPIC -shared'
8598       ;;
8599
8600     sysv4*MP*)
8601       if test -d /usr/nec; then
8602         lt_prog_compiler_pic=-Kconform_pic
8603       fi
8604       ;;
8605
8606     *)
8607       lt_prog_compiler_pic='-fPIC'
8608       ;;
8609     esac
8610
8611     case $cc_basename in
8612     nvcc*) # Cuda Compiler Driver 2.2
8613       lt_prog_compiler_wl='-Xlinker '
8614       lt_prog_compiler_pic='-Xcompiler -fPIC'
8615       ;;
8616     esac
8617   else
8618     # PORTME Check for flag to pass linker flags through the system compiler.
8619     case $host_os in
8620     aix*)
8621       lt_prog_compiler_wl='-Wl,'
8622       if test "$host_cpu" = ia64; then
8623         # AIX 5 now supports IA64 processor
8624         lt_prog_compiler_static='-Bstatic'
8625       else
8626         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8627       fi
8628       ;;
8629
8630     mingw* | cygwin* | pw32* | os2* | cegcc*)
8631       # This hack is so that the source file can tell whether it is being
8632       # built for inclusion in a dll (and should export symbols for example).
8633       lt_prog_compiler_pic='-DDLL_EXPORT'
8634       ;;
8635
8636     hpux9* | hpux10* | hpux11*)
8637       lt_prog_compiler_wl='-Wl,'
8638       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8639       # not for PA HP-UX.
8640       case $host_cpu in
8641       hppa*64*|ia64*)
8642         # +Z the default
8643         ;;
8644       *)
8645         lt_prog_compiler_pic='+Z'
8646         ;;
8647       esac
8648       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8649       lt_prog_compiler_static='${wl}-a ${wl}archive'
8650       ;;
8651
8652     irix5* | irix6* | nonstopux*)
8653       lt_prog_compiler_wl='-Wl,'
8654       # PIC (with -KPIC) is the default.
8655       lt_prog_compiler_static='-non_shared'
8656       ;;
8657
8658     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8659       case $cc_basename in
8660       # old Intel for x86_64 which still supported -KPIC.
8661       ecc*)
8662         lt_prog_compiler_wl='-Wl,'
8663         lt_prog_compiler_pic='-KPIC'
8664         lt_prog_compiler_static='-static'
8665         ;;
8666       # icc used to be incompatible with GCC.
8667       # ICC 10 doesn't accept -KPIC any more.
8668       icc* | ifort*)
8669         lt_prog_compiler_wl='-Wl,'
8670         lt_prog_compiler_pic='-fPIC'
8671         lt_prog_compiler_static='-static'
8672         ;;
8673       # Lahey Fortran 8.1.
8674       lf95*)
8675         lt_prog_compiler_wl='-Wl,'
8676         lt_prog_compiler_pic='--shared'
8677         lt_prog_compiler_static='--static'
8678         ;;
8679       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8680         # Portland Group compilers (*not* the Pentium gcc compiler,
8681         # which looks to be a dead project)
8682         lt_prog_compiler_wl='-Wl,'
8683         lt_prog_compiler_pic='-fpic'
8684         lt_prog_compiler_static='-Bstatic'
8685         ;;
8686       ccc*)
8687         lt_prog_compiler_wl='-Wl,'
8688         # All Alpha code is PIC.
8689         lt_prog_compiler_static='-non_shared'
8690         ;;
8691       xl* | bgxl* | bgf* | mpixl*)
8692         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8693         lt_prog_compiler_wl='-Wl,'
8694         lt_prog_compiler_pic='-qpic'
8695         lt_prog_compiler_static='-qstaticlink'
8696         ;;
8697       *)
8698         case `$CC -V 2>&1 | sed 5q` in
8699         *Sun\ F* | *Sun*Fortran*)
8700           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8701           lt_prog_compiler_pic='-KPIC'
8702           lt_prog_compiler_static='-Bstatic'
8703           lt_prog_compiler_wl=''
8704           ;;
8705         *Sun\ C*)
8706           # Sun C 5.9
8707           lt_prog_compiler_pic='-KPIC'
8708           lt_prog_compiler_static='-Bstatic'
8709           lt_prog_compiler_wl='-Wl,'
8710           ;;
8711         esac
8712         ;;
8713       esac
8714       ;;
8715
8716     newsos6)
8717       lt_prog_compiler_pic='-KPIC'
8718       lt_prog_compiler_static='-Bstatic'
8719       ;;
8720
8721     *nto* | *qnx*)
8722       # QNX uses GNU C++, but need to define -shared option too, otherwise
8723       # it will coredump.
8724       lt_prog_compiler_pic='-fPIC -shared'
8725       ;;
8726
8727     osf3* | osf4* | osf5*)
8728       lt_prog_compiler_wl='-Wl,'
8729       # All OSF/1 code is PIC.
8730       lt_prog_compiler_static='-non_shared'
8731       ;;
8732
8733     rdos*)
8734       lt_prog_compiler_static='-non_shared'
8735       ;;
8736
8737     solaris*)
8738       lt_prog_compiler_pic='-KPIC'
8739       lt_prog_compiler_static='-Bstatic'
8740       case $cc_basename in
8741       f77* | f90* | f95*)
8742         lt_prog_compiler_wl='-Qoption ld ';;
8743       *)
8744         lt_prog_compiler_wl='-Wl,';;
8745       esac
8746       ;;
8747
8748     sunos4*)
8749       lt_prog_compiler_wl='-Qoption ld '
8750       lt_prog_compiler_pic='-PIC'
8751       lt_prog_compiler_static='-Bstatic'
8752       ;;
8753
8754     sysv4 | sysv4.2uw2* | sysv4.3*)
8755       lt_prog_compiler_wl='-Wl,'
8756       lt_prog_compiler_pic='-KPIC'
8757       lt_prog_compiler_static='-Bstatic'
8758       ;;
8759
8760     sysv4*MP*)
8761       if test -d /usr/nec ;then
8762         lt_prog_compiler_pic='-Kconform_pic'
8763         lt_prog_compiler_static='-Bstatic'
8764       fi
8765       ;;
8766
8767     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8768       lt_prog_compiler_wl='-Wl,'
8769       lt_prog_compiler_pic='-KPIC'
8770       lt_prog_compiler_static='-Bstatic'
8771       ;;
8772
8773     unicos*)
8774       lt_prog_compiler_wl='-Wl,'
8775       lt_prog_compiler_can_build_shared=no
8776       ;;
8777
8778     uts4*)
8779       lt_prog_compiler_pic='-pic'
8780       lt_prog_compiler_static='-Bstatic'
8781       ;;
8782
8783     *)
8784       lt_prog_compiler_can_build_shared=no
8785       ;;
8786     esac
8787   fi
8788
8789 case $host_os in
8790   # For platforms which do not support PIC, -DPIC is meaningless:
8791   *djgpp*)
8792     lt_prog_compiler_pic=
8793     ;;
8794   *)
8795     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8796     ;;
8797 esac
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8799 $as_echo "$lt_prog_compiler_pic" >&6; }
8800
8801
8802
8803
8804
8805
8806 #
8807 # Check to make sure the PIC flag actually works.
8808 #
8809 if test -n "$lt_prog_compiler_pic"; then
8810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8811 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8812 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8813   $as_echo_n "(cached) " >&6
8814 else
8815   lt_cv_prog_compiler_pic_works=no
8816    ac_outfile=conftest.$ac_objext
8817    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8818    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8819    # Insert the option either (1) after the last *FLAGS variable, or
8820    # (2) before a word containing "conftest.", or (3) at the end.
8821    # Note that $ac_compile itself does not contain backslashes and begins
8822    # with a dollar sign (not a hyphen), so the echo should work correctly.
8823    # The option is referenced via a variable to avoid confusing sed.
8824    lt_compile=`echo "$ac_compile" | $SED \
8825    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8826    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8827    -e 's:$: $lt_compiler_flag:'`
8828    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8829    (eval "$lt_compile" 2>conftest.err)
8830    ac_status=$?
8831    cat conftest.err >&5
8832    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833    if (exit $ac_status) && test -s "$ac_outfile"; then
8834      # The compiler can only warn and ignore the option if not recognized
8835      # So say no if there are warnings other than the usual output.
8836      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8837      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8838      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8839        lt_cv_prog_compiler_pic_works=yes
8840      fi
8841    fi
8842    $RM conftest*
8843
8844 fi
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8846 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8847
8848 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8849     case $lt_prog_compiler_pic in
8850      "" | " "*) ;;
8851      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8852      esac
8853 else
8854     lt_prog_compiler_pic=
8855      lt_prog_compiler_can_build_shared=no
8856 fi
8857
8858 fi
8859
8860
8861
8862
8863
8864
8865 #
8866 # Check to make sure the static flag actually works.
8867 #
8868 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8870 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8871 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8872   $as_echo_n "(cached) " >&6
8873 else
8874   lt_cv_prog_compiler_static_works=no
8875    save_LDFLAGS="$LDFLAGS"
8876    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8877    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8878    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8879      # The linker can only warn and ignore the option if not recognized
8880      # So say no if there are warnings
8881      if test -s conftest.err; then
8882        # Append any errors to the config.log.
8883        cat conftest.err 1>&5
8884        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8885        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8886        if diff conftest.exp conftest.er2 >/dev/null; then
8887          lt_cv_prog_compiler_static_works=yes
8888        fi
8889      else
8890        lt_cv_prog_compiler_static_works=yes
8891      fi
8892    fi
8893    $RM -r conftest*
8894    LDFLAGS="$save_LDFLAGS"
8895
8896 fi
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8898 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8899
8900 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8901     :
8902 else
8903     lt_prog_compiler_static=
8904 fi
8905
8906
8907
8908
8909
8910
8911
8912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8913 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8914 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8915   $as_echo_n "(cached) " >&6
8916 else
8917   lt_cv_prog_compiler_c_o=no
8918    $RM -r conftest 2>/dev/null
8919    mkdir conftest
8920    cd conftest
8921    mkdir out
8922    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8923
8924    lt_compiler_flag="-o out/conftest2.$ac_objext"
8925    # Insert the option either (1) after the last *FLAGS variable, or
8926    # (2) before a word containing "conftest.", or (3) at the end.
8927    # Note that $ac_compile itself does not contain backslashes and begins
8928    # with a dollar sign (not a hyphen), so the echo should work correctly.
8929    lt_compile=`echo "$ac_compile" | $SED \
8930    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8931    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8932    -e 's:$: $lt_compiler_flag:'`
8933    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8934    (eval "$lt_compile" 2>out/conftest.err)
8935    ac_status=$?
8936    cat out/conftest.err >&5
8937    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8939    then
8940      # The compiler can only warn and ignore the option if not recognized
8941      # So say no if there are warnings
8942      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8943      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8944      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8945        lt_cv_prog_compiler_c_o=yes
8946      fi
8947    fi
8948    chmod u+w . 2>&5
8949    $RM conftest*
8950    # SGI C++ compiler will create directory out/ii_files/ for
8951    # template instantiation
8952    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8953    $RM out/* && rmdir out
8954    cd ..
8955    $RM -r conftest
8956    $RM conftest*
8957
8958 fi
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8960 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8961
8962
8963
8964
8965
8966
8967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8968 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8969 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8970   $as_echo_n "(cached) " >&6
8971 else
8972   lt_cv_prog_compiler_c_o=no
8973    $RM -r conftest 2>/dev/null
8974    mkdir conftest
8975    cd conftest
8976    mkdir out
8977    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8978
8979    lt_compiler_flag="-o out/conftest2.$ac_objext"
8980    # Insert the option either (1) after the last *FLAGS variable, or
8981    # (2) before a word containing "conftest.", or (3) at the end.
8982    # Note that $ac_compile itself does not contain backslashes and begins
8983    # with a dollar sign (not a hyphen), so the echo should work correctly.
8984    lt_compile=`echo "$ac_compile" | $SED \
8985    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8986    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8987    -e 's:$: $lt_compiler_flag:'`
8988    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8989    (eval "$lt_compile" 2>out/conftest.err)
8990    ac_status=$?
8991    cat out/conftest.err >&5
8992    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8994    then
8995      # The compiler can only warn and ignore the option if not recognized
8996      # So say no if there are warnings
8997      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8998      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8999      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9000        lt_cv_prog_compiler_c_o=yes
9001      fi
9002    fi
9003    chmod u+w . 2>&5
9004    $RM conftest*
9005    # SGI C++ compiler will create directory out/ii_files/ for
9006    # template instantiation
9007    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9008    $RM out/* && rmdir out
9009    cd ..
9010    $RM -r conftest
9011    $RM conftest*
9012
9013 fi
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9015 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9016
9017
9018
9019
9020 hard_links="nottested"
9021 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9022   # do not overwrite the value of need_locks provided by the user
9023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9024 $as_echo_n "checking if we can lock with hard links... " >&6; }
9025   hard_links=yes
9026   $RM conftest*
9027   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9028   touch conftest.a
9029   ln conftest.a conftest.b 2>&5 || hard_links=no
9030   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9032 $as_echo "$hard_links" >&6; }
9033   if test "$hard_links" = no; then
9034     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9035 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9036     need_locks=warn
9037   fi
9038 else
9039   need_locks=no
9040 fi
9041
9042
9043
9044
9045
9046
9047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9048 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9049
9050   runpath_var=
9051   allow_undefined_flag=
9052   always_export_symbols=no
9053   archive_cmds=
9054   archive_expsym_cmds=
9055   compiler_needs_object=no
9056   enable_shared_with_static_runtimes=no
9057   export_dynamic_flag_spec=
9058   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9059   hardcode_automatic=no
9060   hardcode_direct=no
9061   hardcode_direct_absolute=no
9062   hardcode_libdir_flag_spec=
9063   hardcode_libdir_flag_spec_ld=
9064   hardcode_libdir_separator=
9065   hardcode_minus_L=no
9066   hardcode_shlibpath_var=unsupported
9067   inherit_rpath=no
9068   link_all_deplibs=unknown
9069   module_cmds=
9070   module_expsym_cmds=
9071   old_archive_from_new_cmds=
9072   old_archive_from_expsyms_cmds=
9073   thread_safe_flag_spec=
9074   whole_archive_flag_spec=
9075   # include_expsyms should be a list of space-separated symbols to be *always*
9076   # included in the symbol list
9077   include_expsyms=
9078   # exclude_expsyms can be an extended regexp of symbols to exclude
9079   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9080   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9081   # as well as any symbol that contains `d'.
9082   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9083   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9084   # platforms (ab)use it in PIC code, but their linkers get confused if
9085   # the symbol is explicitly referenced.  Since portable code cannot
9086   # rely on this symbol name, it's probably fine to never include it in
9087   # preloaded symbol tables.
9088   # Exclude shared library initialization/finalization symbols.
9089   extract_expsyms_cmds=
9090
9091   case $host_os in
9092   cygwin* | mingw* | pw32* | cegcc*)
9093     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9094     # When not using gcc, we currently assume that we are using
9095     # Microsoft Visual C++.
9096     if test "$GCC" != yes; then
9097       with_gnu_ld=no
9098     fi
9099     ;;
9100   interix*)
9101     # we just hope/assume this is gcc and not c89 (= MSVC++)
9102     with_gnu_ld=yes
9103     ;;
9104   openbsd*)
9105     with_gnu_ld=no
9106     ;;
9107   esac
9108
9109   ld_shlibs=yes
9110
9111   # On some targets, GNU ld is compatible enough with the native linker
9112   # that we're better off using the native interface for both.
9113   lt_use_gnu_ld_interface=no
9114   if test "$with_gnu_ld" = yes; then
9115     case $host_os in
9116       aix*)
9117         # The AIX port of GNU ld has always aspired to compatibility
9118         # with the native linker.  However, as the warning in the GNU ld
9119         # block says, versions before 2.19.5* couldn't really create working
9120         # shared libraries, regardless of the interface used.
9121         case `$LD -v 2>&1` in
9122           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9123           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9124           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9125           *)
9126             lt_use_gnu_ld_interface=yes
9127             ;;
9128         esac
9129         ;;
9130       *)
9131         lt_use_gnu_ld_interface=yes
9132         ;;
9133     esac
9134   fi
9135
9136   if test "$lt_use_gnu_ld_interface" = yes; then
9137     # If archive_cmds runs LD, not CC, wlarc should be empty
9138     wlarc='${wl}'
9139
9140     # Set some defaults for GNU ld with shared library support. These
9141     # are reset later if shared libraries are not supported. Putting them
9142     # here allows them to be overridden if necessary.
9143     runpath_var=LD_RUN_PATH
9144     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9145     export_dynamic_flag_spec='${wl}--export-dynamic'
9146     # ancient GNU ld didn't support --whole-archive et. al.
9147     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9148       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9149     else
9150       whole_archive_flag_spec=
9151     fi
9152     supports_anon_versioning=no
9153     case `$LD -v 2>&1` in
9154       *GNU\ gold*) supports_anon_versioning=yes ;;
9155       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9156       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9157       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9158       *\ 2.11.*) ;; # other 2.11 versions
9159       *) supports_anon_versioning=yes ;;
9160     esac
9161
9162     # See if GNU ld supports shared libraries.
9163     case $host_os in
9164     aix[3-9]*)
9165       # On AIX/PPC, the GNU linker is very broken
9166       if test "$host_cpu" != ia64; then
9167         ld_shlibs=no
9168         cat <<_LT_EOF 1>&2
9169
9170 *** Warning: the GNU linker, at least up to release 2.19, is reported
9171 *** to be unable to reliably create shared libraries on AIX.
9172 *** Therefore, libtool is disabling shared libraries support.  If you
9173 *** really care for shared libraries, you may want to install binutils
9174 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9175 *** You will then need to restart the configuration process.
9176
9177 _LT_EOF
9178       fi
9179       ;;
9180
9181     amigaos*)
9182       case $host_cpu in
9183       powerpc)
9184             # see comment about AmigaOS4 .so support
9185             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9186             archive_expsym_cmds=''
9187         ;;
9188       m68k)
9189             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)'
9190             hardcode_libdir_flag_spec='-L$libdir'
9191             hardcode_minus_L=yes
9192         ;;
9193       esac
9194       ;;
9195
9196     beos*)
9197       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9198         allow_undefined_flag=unsupported
9199         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9200         # support --undefined.  This deserves some investigation.  FIXME
9201         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202       else
9203         ld_shlibs=no
9204       fi
9205       ;;
9206
9207     cygwin* | mingw* | pw32* | cegcc*)
9208       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9209       # as there is no search path for DLLs.
9210       hardcode_libdir_flag_spec='-L$libdir'
9211       export_dynamic_flag_spec='${wl}--export-all-symbols'
9212       allow_undefined_flag=unsupported
9213       always_export_symbols=no
9214       enable_shared_with_static_runtimes=yes
9215       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9216
9217       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9218         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9219         # If the export-symbols file already is a .def file (1st line
9220         # is EXPORTS), use it as is; otherwise, prepend...
9221         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9222           cp $export_symbols $output_objdir/$soname.def;
9223         else
9224           echo EXPORTS > $output_objdir/$soname.def;
9225           cat $export_symbols >> $output_objdir/$soname.def;
9226         fi~
9227         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9228       else
9229         ld_shlibs=no
9230       fi
9231       ;;
9232
9233     haiku*)
9234       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9235       link_all_deplibs=yes
9236       ;;
9237
9238     interix[3-9]*)
9239       hardcode_direct=no
9240       hardcode_shlibpath_var=no
9241       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9242       export_dynamic_flag_spec='${wl}-E'
9243       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9244       # Instead, shared libraries are loaded at an image base (0x10000000 by
9245       # default) and relocated if they conflict, which is a slow very memory
9246       # consuming and fragmenting process.  To avoid this, we pick a random,
9247       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9248       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9249       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9250       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'
9251       ;;
9252
9253     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9254       tmp_diet=no
9255       if test "$host_os" = linux-dietlibc; then
9256         case $cc_basename in
9257           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9258         esac
9259       fi
9260       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9261          && test "$tmp_diet" = no
9262       then
9263         tmp_addflag=
9264         tmp_sharedflag='-shared'
9265         case $cc_basename,$host_cpu in
9266         pgcc*)                          # Portland Group C compiler
9267           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'
9268           tmp_addflag=' $pic_flag'
9269           ;;
9270         pgf77* | pgf90* | pgf95* | pgfortran*)
9271                                         # Portland Group f77 and f90 compilers
9272           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'
9273           tmp_addflag=' $pic_flag -Mnomain' ;;
9274         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9275           tmp_addflag=' -i_dynamic' ;;
9276         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9277           tmp_addflag=' -i_dynamic -nofor_main' ;;
9278         ifc* | ifort*)                  # Intel Fortran compiler
9279           tmp_addflag=' -nofor_main' ;;
9280         lf95*)                          # Lahey Fortran 8.1
9281           whole_archive_flag_spec=
9282           tmp_sharedflag='--shared' ;;
9283         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9284           tmp_sharedflag='-qmkshrobj'
9285           tmp_addflag= ;;
9286         nvcc*)  # Cuda Compiler Driver 2.2
9287           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'
9288           compiler_needs_object=yes
9289           ;;
9290         esac
9291         case `$CC -V 2>&1 | sed 5q` in
9292         *Sun\ C*)                       # Sun C 5.9
9293           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'
9294           compiler_needs_object=yes
9295           tmp_sharedflag='-G' ;;
9296         *Sun\ F*)                       # Sun Fortran 8.3
9297           tmp_sharedflag='-G' ;;
9298         esac
9299         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9300
9301         if test "x$supports_anon_versioning" = xyes; then
9302           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9303             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9304             echo "local: *; };" >> $output_objdir/$libname.ver~
9305             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9306         fi
9307
9308         case $cc_basename in
9309         xlf* | bgf* | bgxlf* | mpixlf*)
9310           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9311           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9312           hardcode_libdir_flag_spec=
9313           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9314           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9315           if test "x$supports_anon_versioning" = xyes; then
9316             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9317               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9318               echo "local: *; };" >> $output_objdir/$libname.ver~
9319               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9320           fi
9321           ;;
9322         esac
9323       else
9324         ld_shlibs=no
9325       fi
9326       ;;
9327
9328     netbsd*)
9329       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9330         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9331         wlarc=
9332       else
9333         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9335       fi
9336       ;;
9337
9338     solaris*)
9339       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9340         ld_shlibs=no
9341         cat <<_LT_EOF 1>&2
9342
9343 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9344 *** create shared libraries on Solaris systems.  Therefore, libtool
9345 *** is disabling shared libraries support.  We urge you to upgrade GNU
9346 *** binutils to release 2.9.1 or newer.  Another option is to modify
9347 *** your PATH or compiler configuration so that the native linker is
9348 *** used, and then restart.
9349
9350 _LT_EOF
9351       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9352         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9353         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9354       else
9355         ld_shlibs=no
9356       fi
9357       ;;
9358
9359     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9360       case `$LD -v 2>&1` in
9361         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9362         ld_shlibs=no
9363         cat <<_LT_EOF 1>&2
9364
9365 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9366 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9367 *** is disabling shared libraries support.  We urge you to upgrade GNU
9368 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9369 *** your PATH or compiler configuration so that the native linker is
9370 *** used, and then restart.
9371
9372 _LT_EOF
9373         ;;
9374         *)
9375           # For security reasons, it is highly recommended that you always
9376           # use absolute paths for naming shared libraries, and exclude the
9377           # DT_RUNPATH tag from executables and libraries.  But doing so
9378           # requires that you compile everything twice, which is a pain.
9379           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9380             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9381             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9383           else
9384             ld_shlibs=no
9385           fi
9386         ;;
9387       esac
9388       ;;
9389
9390     sunos4*)
9391       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9392       wlarc=
9393       hardcode_direct=yes
9394       hardcode_shlibpath_var=no
9395       ;;
9396
9397     *)
9398       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9399         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9401       else
9402         ld_shlibs=no
9403       fi
9404       ;;
9405     esac
9406
9407     if test "$ld_shlibs" = no; then
9408       runpath_var=
9409       hardcode_libdir_flag_spec=
9410       export_dynamic_flag_spec=
9411       whole_archive_flag_spec=
9412     fi
9413   else
9414     # PORTME fill in a description of your system's linker (not GNU ld)
9415     case $host_os in
9416     aix3*)
9417       allow_undefined_flag=unsupported
9418       always_export_symbols=yes
9419       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'
9420       # Note: this linker hardcodes the directories in LIBPATH if there
9421       # are no directories specified by -L.
9422       hardcode_minus_L=yes
9423       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9424         # Neither direct hardcoding nor static linking is supported with a
9425         # broken collect2.
9426         hardcode_direct=unsupported
9427       fi
9428       ;;
9429
9430     aix[4-9]*)
9431       if test "$host_cpu" = ia64; then
9432         # On IA64, the linker does run time linking by default, so we don't
9433         # have to do anything special.
9434         aix_use_runtimelinking=no
9435         exp_sym_flag='-Bexport'
9436         no_entry_flag=""
9437       else
9438         # If we're using GNU nm, then we don't want the "-C" option.
9439         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9440         # Also, AIX nm treats weak defined symbols like other global
9441         # defined symbols, whereas GNU nm marks them as "W".
9442         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9443           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'
9444         else
9445           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'
9446         fi
9447         aix_use_runtimelinking=no
9448
9449         # Test if we are trying to use run time linking or normal
9450         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9451         # need to do runtime linking.
9452         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9453           for ld_flag in $LDFLAGS; do
9454           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9455             aix_use_runtimelinking=yes
9456             break
9457           fi
9458           done
9459           ;;
9460         esac
9461
9462         exp_sym_flag='-bexport'
9463         no_entry_flag='-bnoentry'
9464       fi
9465
9466       # When large executables or shared objects are built, AIX ld can
9467       # have problems creating the table of contents.  If linking a library
9468       # or program results in "error TOC overflow" add -mminimal-toc to
9469       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9470       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9471
9472       archive_cmds=''
9473       hardcode_direct=yes
9474       hardcode_direct_absolute=yes
9475       hardcode_libdir_separator=':'
9476       link_all_deplibs=yes
9477       file_list_spec='${wl}-f,'
9478
9479       if test "$GCC" = yes; then
9480         case $host_os in aix4.[012]|aix4.[012].*)
9481         # We only want to do this on AIX 4.2 and lower, the check
9482         # below for broken collect2 doesn't work under 4.3+
9483           collect2name=`${CC} -print-prog-name=collect2`
9484           if test -f "$collect2name" &&
9485            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9486           then
9487           # We have reworked collect2
9488           :
9489           else
9490           # We have old collect2
9491           hardcode_direct=unsupported
9492           # It fails to find uninstalled libraries when the uninstalled
9493           # path is not listed in the libpath.  Setting hardcode_minus_L
9494           # to unsupported forces relinking
9495           hardcode_minus_L=yes
9496           hardcode_libdir_flag_spec='-L$libdir'
9497           hardcode_libdir_separator=
9498           fi
9499           ;;
9500         esac
9501         shared_flag='-shared'
9502         if test "$aix_use_runtimelinking" = yes; then
9503           shared_flag="$shared_flag "'${wl}-G'
9504         fi
9505       else
9506         # not using gcc
9507         if test "$host_cpu" = ia64; then
9508         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9509         # chokes on -Wl,-G. The following line is correct:
9510           shared_flag='-G'
9511         else
9512           if test "$aix_use_runtimelinking" = yes; then
9513             shared_flag='${wl}-G'
9514           else
9515             shared_flag='${wl}-bM:SRE'
9516           fi
9517         fi
9518       fi
9519
9520       export_dynamic_flag_spec='${wl}-bexpall'
9521       # It seems that -bexpall does not export symbols beginning with
9522       # underscore (_), so it is better to generate a list of symbols to export.
9523       always_export_symbols=yes
9524       if test "$aix_use_runtimelinking" = yes; then
9525         # Warning - without using the other runtime loading flags (-brtl),
9526         # -berok will link without error, but may produce a broken library.
9527         allow_undefined_flag='-berok'
9528         # Determine the default libpath from the value encoded in an
9529         # empty executable.
9530         if test x$gcc_no_link = xyes; then
9531   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9532 fi
9533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h.  */
9535
9536 int
9537 main ()
9538 {
9539
9540   ;
9541   return 0;
9542 }
9543 _ACEOF
9544 if ac_fn_c_try_link "$LINENO"; then :
9545
9546 lt_aix_libpath_sed='
9547     /Import File Strings/,/^$/ {
9548         /^0/ {
9549             s/^0  *\(.*\)$/\1/
9550             p
9551         }
9552     }'
9553 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9554 # Check for a 64-bit object if we didn't find anything.
9555 if test -z "$aix_libpath"; then
9556   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9557 fi
9558 fi
9559 rm -f core conftest.err conftest.$ac_objext \
9560     conftest$ac_exeext conftest.$ac_ext
9561 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9562
9563         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9564         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"
9565       else
9566         if test "$host_cpu" = ia64; then
9567           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9568           allow_undefined_flag="-z nodefs"
9569           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"
9570         else
9571          # Determine the default libpath from the value encoded in an
9572          # empty executable.
9573          if test x$gcc_no_link = xyes; then
9574   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9575 fi
9576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h.  */
9578
9579 int
9580 main ()
9581 {
9582
9583   ;
9584   return 0;
9585 }
9586 _ACEOF
9587 if ac_fn_c_try_link "$LINENO"; then :
9588
9589 lt_aix_libpath_sed='
9590     /Import File Strings/,/^$/ {
9591         /^0/ {
9592             s/^0  *\(.*\)$/\1/
9593             p
9594         }
9595     }'
9596 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9597 # Check for a 64-bit object if we didn't find anything.
9598 if test -z "$aix_libpath"; then
9599   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9600 fi
9601 fi
9602 rm -f core conftest.err conftest.$ac_objext \
9603     conftest$ac_exeext conftest.$ac_ext
9604 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9605
9606          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9607           # Warning - without using the other run time loading flags,
9608           # -berok will link without error, but may produce a broken library.
9609           no_undefined_flag=' ${wl}-bernotok'
9610           allow_undefined_flag=' ${wl}-berok'
9611           if test "$with_gnu_ld" = yes; then
9612             # We only use this code for GNU lds that support --whole-archive.
9613             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9614           else
9615             # Exported symbols can be pulled into shared objects from archives
9616             whole_archive_flag_spec='$convenience'
9617           fi
9618           archive_cmds_need_lc=yes
9619           # This is similar to how AIX traditionally builds its shared libraries.
9620           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'
9621         fi
9622       fi
9623       ;;
9624
9625     amigaos*)
9626       case $host_cpu in
9627       powerpc)
9628             # see comment about AmigaOS4 .so support
9629             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9630             archive_expsym_cmds=''
9631         ;;
9632       m68k)
9633             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)'
9634             hardcode_libdir_flag_spec='-L$libdir'
9635             hardcode_minus_L=yes
9636         ;;
9637       esac
9638       ;;
9639
9640     bsdi[45]*)
9641       export_dynamic_flag_spec=-rdynamic
9642       ;;
9643
9644     cygwin* | mingw* | pw32* | cegcc*)
9645       # When not using gcc, we currently assume that we are using
9646       # Microsoft Visual C++.
9647       # hardcode_libdir_flag_spec is actually meaningless, as there is
9648       # no search path for DLLs.
9649       hardcode_libdir_flag_spec=' '
9650       allow_undefined_flag=unsupported
9651       # Tell ltmain to make .lib files, not .a files.
9652       libext=lib
9653       # Tell ltmain to make .dll files, not .so files.
9654       shrext_cmds=".dll"
9655       # FIXME: Setting linknames here is a bad hack.
9656       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9657       # The linker will automatically build a .lib file if we build a DLL.
9658       old_archive_from_new_cmds='true'
9659       # FIXME: Should let the user specify the lib program.
9660       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9661       fix_srcfile_path='`cygpath -w "$srcfile"`'
9662       enable_shared_with_static_runtimes=yes
9663       ;;
9664
9665     darwin* | rhapsody*)
9666
9667
9668   archive_cmds_need_lc=no
9669   hardcode_direct=no
9670   hardcode_automatic=yes
9671   hardcode_shlibpath_var=unsupported
9672   if test "$lt_cv_ld_force_load" = "yes"; then
9673     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\"`'
9674   else
9675     whole_archive_flag_spec=''
9676   fi
9677   link_all_deplibs=yes
9678   allow_undefined_flag="$_lt_dar_allow_undefined"
9679   case $cc_basename in
9680      ifort*) _lt_dar_can_shared=yes ;;
9681      *) _lt_dar_can_shared=$GCC ;;
9682   esac
9683   if test "$_lt_dar_can_shared" = "yes"; then
9684     output_verbose_link_cmd=func_echo_all
9685     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9686     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9687     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}"
9688     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}"
9689
9690   else
9691   ld_shlibs=no
9692   fi
9693
9694       ;;
9695
9696     dgux*)
9697       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9698       hardcode_libdir_flag_spec='-L$libdir'
9699       hardcode_shlibpath_var=no
9700       ;;
9701
9702     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9703     # support.  Future versions do this automatically, but an explicit c++rt0.o
9704     # does not break anything, and helps significantly (at the cost of a little
9705     # extra space).
9706     freebsd2.2*)
9707       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9708       hardcode_libdir_flag_spec='-R$libdir'
9709       hardcode_direct=yes
9710       hardcode_shlibpath_var=no
9711       ;;
9712
9713     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9714     freebsd2.*)
9715       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9716       hardcode_direct=yes
9717       hardcode_minus_L=yes
9718       hardcode_shlibpath_var=no
9719       ;;
9720
9721     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9722     freebsd* | dragonfly*)
9723       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9724       hardcode_libdir_flag_spec='-R$libdir'
9725       hardcode_direct=yes
9726       hardcode_shlibpath_var=no
9727       ;;
9728
9729     hpux9*)
9730       if test "$GCC" = yes; then
9731         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'
9732       else
9733         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'
9734       fi
9735       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9736       hardcode_libdir_separator=:
9737       hardcode_direct=yes
9738
9739       # hardcode_minus_L: Not really in the search PATH,
9740       # but as the default location of the library.
9741       hardcode_minus_L=yes
9742       export_dynamic_flag_spec='${wl}-E'
9743       ;;
9744
9745     hpux10*)
9746       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9747         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9748       else
9749         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9750       fi
9751       if test "$with_gnu_ld" = no; then
9752         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9753         hardcode_libdir_flag_spec_ld='+b $libdir'
9754         hardcode_libdir_separator=:
9755         hardcode_direct=yes
9756         hardcode_direct_absolute=yes
9757         export_dynamic_flag_spec='${wl}-E'
9758         # hardcode_minus_L: Not really in the search PATH,
9759         # but as the default location of the library.
9760         hardcode_minus_L=yes
9761       fi
9762       ;;
9763
9764     hpux11*)
9765       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9766         case $host_cpu in
9767         hppa*64*)
9768           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9769           ;;
9770         ia64*)
9771           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9772           ;;
9773         *)
9774           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9775           ;;
9776         esac
9777       else
9778         case $host_cpu in
9779         hppa*64*)
9780           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9781           ;;
9782         ia64*)
9783           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9784           ;;
9785         *)
9786
9787           # Older versions of the 11.00 compiler do not understand -b yet
9788           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9789           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9790 $as_echo_n "checking if $CC understands -b... " >&6; }
9791 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9792   $as_echo_n "(cached) " >&6
9793 else
9794   lt_cv_prog_compiler__b=no
9795    save_LDFLAGS="$LDFLAGS"
9796    LDFLAGS="$LDFLAGS -b"
9797    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9798    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9799      # The linker can only warn and ignore the option if not recognized
9800      # So say no if there are warnings
9801      if test -s conftest.err; then
9802        # Append any errors to the config.log.
9803        cat conftest.err 1>&5
9804        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9805        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9806        if diff conftest.exp conftest.er2 >/dev/null; then
9807          lt_cv_prog_compiler__b=yes
9808        fi
9809      else
9810        lt_cv_prog_compiler__b=yes
9811      fi
9812    fi
9813    $RM -r conftest*
9814    LDFLAGS="$save_LDFLAGS"
9815
9816 fi
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9818 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9819
9820 if test x"$lt_cv_prog_compiler__b" = xyes; then
9821     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9822 else
9823     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9824 fi
9825
9826           ;;
9827         esac
9828       fi
9829       if test "$with_gnu_ld" = no; then
9830         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9831         hardcode_libdir_separator=:
9832
9833         case $host_cpu in
9834         hppa*64*|ia64*)
9835           hardcode_direct=no
9836           hardcode_shlibpath_var=no
9837           ;;
9838         *)
9839           hardcode_direct=yes
9840           hardcode_direct_absolute=yes
9841           export_dynamic_flag_spec='${wl}-E'
9842
9843           # hardcode_minus_L: Not really in the search PATH,
9844           # but as the default location of the library.
9845           hardcode_minus_L=yes
9846           ;;
9847         esac
9848       fi
9849       ;;
9850
9851     irix5* | irix6* | nonstopux*)
9852       if test "$GCC" = yes; then
9853         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'
9854         # Try to use the -exported_symbol ld option, if it does not
9855         # work, assume that -exports_file does not work either and
9856         # implicitly export all symbols.
9857         save_LDFLAGS="$LDFLAGS"
9858         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9859         if test x$gcc_no_link = xyes; then
9860   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9861 fi
9862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h.  */
9864 int foo(void) {}
9865 _ACEOF
9866 if ac_fn_c_try_link "$LINENO"; then :
9867   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'
9868
9869 fi
9870 rm -f core conftest.err conftest.$ac_objext \
9871     conftest$ac_exeext conftest.$ac_ext
9872         LDFLAGS="$save_LDFLAGS"
9873       else
9874         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'
9875         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'
9876       fi
9877       archive_cmds_need_lc='no'
9878       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9879       hardcode_libdir_separator=:
9880       inherit_rpath=yes
9881       link_all_deplibs=yes
9882       ;;
9883
9884     netbsd*)
9885       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9886         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9887       else
9888         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9889       fi
9890       hardcode_libdir_flag_spec='-R$libdir'
9891       hardcode_direct=yes
9892       hardcode_shlibpath_var=no
9893       ;;
9894
9895     newsos6)
9896       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9897       hardcode_direct=yes
9898       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9899       hardcode_libdir_separator=:
9900       hardcode_shlibpath_var=no
9901       ;;
9902
9903     *nto* | *qnx*)
9904       ;;
9905
9906     openbsd*)
9907       if test -f /usr/libexec/ld.so; then
9908         hardcode_direct=yes
9909         hardcode_shlibpath_var=no
9910         hardcode_direct_absolute=yes
9911         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9912           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9913           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9914           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9915           export_dynamic_flag_spec='${wl}-E'
9916         else
9917           case $host_os in
9918            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9919              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9920              hardcode_libdir_flag_spec='-R$libdir'
9921              ;;
9922            *)
9923              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9924              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9925              ;;
9926           esac
9927         fi
9928       else
9929         ld_shlibs=no
9930       fi
9931       ;;
9932
9933     os2*)
9934       hardcode_libdir_flag_spec='-L$libdir'
9935       hardcode_minus_L=yes
9936       allow_undefined_flag=unsupported
9937       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'
9938       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9939       ;;
9940
9941     osf3*)
9942       if test "$GCC" = yes; then
9943         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9944         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'
9945       else
9946         allow_undefined_flag=' -expect_unresolved \*'
9947         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'
9948       fi
9949       archive_cmds_need_lc='no'
9950       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9951       hardcode_libdir_separator=:
9952       ;;
9953
9954     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9955       if test "$GCC" = yes; then
9956         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9957         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'
9958         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9959       else
9960         allow_undefined_flag=' -expect_unresolved \*'
9961         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'
9962         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~
9963         $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'
9964
9965         # Both c and cxx compiler support -rpath directly
9966         hardcode_libdir_flag_spec='-rpath $libdir'
9967       fi
9968       archive_cmds_need_lc='no'
9969       hardcode_libdir_separator=:
9970       ;;
9971
9972     solaris*)
9973       no_undefined_flag=' -z defs'
9974       if test "$GCC" = yes; then
9975         wlarc='${wl}'
9976         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9977         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9978           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9979       else
9980         case `$CC -V 2>&1` in
9981         *"Compilers 5.0"*)
9982           wlarc=''
9983           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9984           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9985           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9986           ;;
9987         *)
9988           wlarc='${wl}'
9989           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9990           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9991           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9992           ;;
9993         esac
9994       fi
9995       hardcode_libdir_flag_spec='-R$libdir'
9996       hardcode_shlibpath_var=no
9997       case $host_os in
9998       solaris2.[0-5] | solaris2.[0-5].*) ;;
9999       *)
10000         # The compiler driver will combine and reorder linker options,
10001         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10002         # but is careful enough not to reorder.
10003         # Supported since Solaris 2.6 (maybe 2.5.1?)
10004         if test "$GCC" = yes; then
10005           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10006         else
10007           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10008         fi
10009         ;;
10010       esac
10011       link_all_deplibs=yes
10012       ;;
10013
10014     sunos4*)
10015       if test "x$host_vendor" = xsequent; then
10016         # Use $CC to link under sequent, because it throws in some extra .o
10017         # files that make .init and .fini sections work.
10018         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10019       else
10020         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10021       fi
10022       hardcode_libdir_flag_spec='-L$libdir'
10023       hardcode_direct=yes
10024       hardcode_minus_L=yes
10025       hardcode_shlibpath_var=no
10026       ;;
10027
10028     sysv4)
10029       case $host_vendor in
10030         sni)
10031           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10032           hardcode_direct=yes # is this really true???
10033         ;;
10034         siemens)
10035           ## LD is ld it makes a PLAMLIB
10036           ## CC just makes a GrossModule.
10037           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10038           reload_cmds='$CC -r -o $output$reload_objs'
10039           hardcode_direct=no
10040         ;;
10041         motorola)
10042           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10043           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10044         ;;
10045       esac
10046       runpath_var='LD_RUN_PATH'
10047       hardcode_shlibpath_var=no
10048       ;;
10049
10050     sysv4.3*)
10051       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10052       hardcode_shlibpath_var=no
10053       export_dynamic_flag_spec='-Bexport'
10054       ;;
10055
10056     sysv4*MP*)
10057       if test -d /usr/nec; then
10058         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059         hardcode_shlibpath_var=no
10060         runpath_var=LD_RUN_PATH
10061         hardcode_runpath_var=yes
10062         ld_shlibs=yes
10063       fi
10064       ;;
10065
10066     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10067       no_undefined_flag='${wl}-z,text'
10068       archive_cmds_need_lc=no
10069       hardcode_shlibpath_var=no
10070       runpath_var='LD_RUN_PATH'
10071
10072       if test "$GCC" = yes; then
10073         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10074         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10075       else
10076         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10077         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10078       fi
10079       ;;
10080
10081     sysv5* | sco3.2v5* | sco5v6*)
10082       # Note: We can NOT use -z defs as we might desire, because we do not
10083       # link with -lc, and that would cause any symbols used from libc to
10084       # always be unresolved, which means just about no library would
10085       # ever link correctly.  If we're not using GNU ld we use -z text
10086       # though, which does catch some bad symbols but isn't as heavy-handed
10087       # as -z defs.
10088       no_undefined_flag='${wl}-z,text'
10089       allow_undefined_flag='${wl}-z,nodefs'
10090       archive_cmds_need_lc=no
10091       hardcode_shlibpath_var=no
10092       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10093       hardcode_libdir_separator=':'
10094       link_all_deplibs=yes
10095       export_dynamic_flag_spec='${wl}-Bexport'
10096       runpath_var='LD_RUN_PATH'
10097
10098       if test "$GCC" = yes; then
10099         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10100         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10101       else
10102         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104       fi
10105       ;;
10106
10107     uts4*)
10108       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10109       hardcode_libdir_flag_spec='-L$libdir'
10110       hardcode_shlibpath_var=no
10111       ;;
10112
10113     *)
10114       ld_shlibs=no
10115       ;;
10116     esac
10117
10118     if test x$host_vendor = xsni; then
10119       case $host in
10120       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10121         export_dynamic_flag_spec='${wl}-Blargedynsym'
10122         ;;
10123       esac
10124     fi
10125   fi
10126
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10128 $as_echo "$ld_shlibs" >&6; }
10129 test "$ld_shlibs" = no && can_build_shared=no
10130
10131 with_gnu_ld=$with_gnu_ld
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147 #
10148 # Do we need to explicitly link libc?
10149 #
10150 case "x$archive_cmds_need_lc" in
10151 x|xyes)
10152   # Assume -lc should be added
10153   archive_cmds_need_lc=yes
10154
10155   if test "$enable_shared" = yes && test "$GCC" = yes; then
10156     case $archive_cmds in
10157     *'~'*)
10158       # FIXME: we may have to deal with multi-command sequences.
10159       ;;
10160     '$CC '*)
10161       # Test whether the compiler implicitly links with -lc since on some
10162       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10163       # to ld, don't add -lc before -lgcc.
10164       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10165 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10166 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10167   $as_echo_n "(cached) " >&6
10168 else
10169   $RM conftest*
10170         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10171
10172         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10173   (eval $ac_compile) 2>&5
10174   ac_status=$?
10175   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10176   test $ac_status = 0; } 2>conftest.err; then
10177           soname=conftest
10178           lib=conftest
10179           libobjs=conftest.$ac_objext
10180           deplibs=
10181           wl=$lt_prog_compiler_wl
10182           pic_flag=$lt_prog_compiler_pic
10183           compiler_flags=-v
10184           linker_flags=-v
10185           verstring=
10186           output_objdir=.
10187           libname=conftest
10188           lt_save_allow_undefined_flag=$allow_undefined_flag
10189           allow_undefined_flag=
10190           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10191   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10192   ac_status=$?
10193   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10194   test $ac_status = 0; }
10195           then
10196             lt_cv_archive_cmds_need_lc=no
10197           else
10198             lt_cv_archive_cmds_need_lc=yes
10199           fi
10200           allow_undefined_flag=$lt_save_allow_undefined_flag
10201         else
10202           cat conftest.err 1>&5
10203         fi
10204         $RM conftest*
10205
10206 fi
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10208 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10209       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10210       ;;
10211     esac
10212   fi
10213   ;;
10214 esac
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
10371
10372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10373 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10374
10375 if test "$GCC" = yes; then
10376   case $host_os in
10377     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10378     *) lt_awk_arg="/^libraries:/" ;;
10379   esac
10380   case $host_os in
10381     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10382     *) lt_sed_strip_eq="s,=/,/,g" ;;
10383   esac
10384   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10385   case $lt_search_path_spec in
10386   *\;*)
10387     # if the path contains ";" then we assume it to be the separator
10388     # otherwise default to the standard path separator (i.e. ":") - it is
10389     # assumed that no part of a normal pathname contains ";" but that should
10390     # okay in the real world where ";" in dirpaths is itself problematic.
10391     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10392     ;;
10393   *)
10394     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10395     ;;
10396   esac
10397   # Ok, now we have the path, separated by spaces, we can step through it
10398   # and add multilib dir if necessary.
10399   lt_tmp_lt_search_path_spec=
10400   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10401   for lt_sys_path in $lt_search_path_spec; do
10402     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10403       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10404     else
10405       test -d "$lt_sys_path" && \
10406         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10407     fi
10408   done
10409   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10410 BEGIN {RS=" "; FS="/|\n";} {
10411   lt_foo="";
10412   lt_count=0;
10413   for (lt_i = NF; lt_i > 0; lt_i--) {
10414     if ($lt_i != "" && $lt_i != ".") {
10415       if ($lt_i == "..") {
10416         lt_count++;
10417       } else {
10418         if (lt_count == 0) {
10419           lt_foo="/" $lt_i lt_foo;
10420         } else {
10421           lt_count--;
10422         }
10423       }
10424     }
10425   }
10426   if (lt_foo != "") { lt_freq[lt_foo]++; }
10427   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10428 }'`
10429   # AWK program above erroneously prepends '/' to C:/dos/paths
10430   # for these hosts.
10431   case $host_os in
10432     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10433       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10434   esac
10435   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10436 else
10437   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10438 fi
10439 library_names_spec=
10440 libname_spec='lib$name'
10441 soname_spec=
10442 shrext_cmds=".so"
10443 postinstall_cmds=
10444 postuninstall_cmds=
10445 finish_cmds=
10446 finish_eval=
10447 shlibpath_var=
10448 shlibpath_overrides_runpath=unknown
10449 version_type=none
10450 dynamic_linker="$host_os ld.so"
10451 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10452 need_lib_prefix=unknown
10453 hardcode_into_libs=no
10454
10455 # when you set need_version to no, make sure it does not cause -set_version
10456 # flags to be left without arguments
10457 need_version=unknown
10458
10459 case $host_os in
10460 aix3*)
10461   version_type=linux
10462   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10463   shlibpath_var=LIBPATH
10464
10465   # AIX 3 has no versioning support, so we append a major version to the name.
10466   soname_spec='${libname}${release}${shared_ext}$major'
10467   ;;
10468
10469 aix[4-9]*)
10470   version_type=linux
10471   need_lib_prefix=no
10472   need_version=no
10473   hardcode_into_libs=yes
10474   if test "$host_cpu" = ia64; then
10475     # AIX 5 supports IA64
10476     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10477     shlibpath_var=LD_LIBRARY_PATH
10478   else
10479     # With GCC up to 2.95.x, collect2 would create an import file
10480     # for dependence libraries.  The import file would start with
10481     # the line `#! .'.  This would cause the generated library to
10482     # depend on `.', always an invalid library.  This was fixed in
10483     # development snapshots of GCC prior to 3.0.
10484     case $host_os in
10485       aix4 | aix4.[01] | aix4.[01].*)
10486       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10487            echo ' yes '
10488            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10489         :
10490       else
10491         can_build_shared=no
10492       fi
10493       ;;
10494     esac
10495     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10496     # soname into executable. Probably we can add versioning support to
10497     # collect2, so additional links can be useful in future.
10498     if test "$aix_use_runtimelinking" = yes; then
10499       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10500       # instead of lib<name>.a to let people know that these are not
10501       # typical AIX shared libraries.
10502       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503     else
10504       # We preserve .a as extension for shared libraries through AIX4.2
10505       # and later when we are not doing run time linking.
10506       library_names_spec='${libname}${release}.a $libname.a'
10507       soname_spec='${libname}${release}${shared_ext}$major'
10508     fi
10509     shlibpath_var=LIBPATH
10510   fi
10511   ;;
10512
10513 amigaos*)
10514   case $host_cpu in
10515   powerpc)
10516     # Since July 2007 AmigaOS4 officially supports .so libraries.
10517     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10518     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519     ;;
10520   m68k)
10521     library_names_spec='$libname.ixlibrary $libname.a'
10522     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10523     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'
10524     ;;
10525   esac
10526   ;;
10527
10528 beos*)
10529   library_names_spec='${libname}${shared_ext}'
10530   dynamic_linker="$host_os ld.so"
10531   shlibpath_var=LIBRARY_PATH
10532   ;;
10533
10534 bsdi[45]*)
10535   version_type=linux
10536   need_version=no
10537   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538   soname_spec='${libname}${release}${shared_ext}$major'
10539   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10540   shlibpath_var=LD_LIBRARY_PATH
10541   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10542   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10543   # the default ld.so.conf also contains /usr/contrib/lib and
10544   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10545   # libtool to hard-code these into programs
10546   ;;
10547
10548 cygwin* | mingw* | pw32* | cegcc*)
10549   version_type=windows
10550   shrext_cmds=".dll"
10551   need_version=no
10552   need_lib_prefix=no
10553
10554   case $GCC,$host_os in
10555   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10556     library_names_spec='$libname.dll.a'
10557     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10558     postinstall_cmds='base_file=`basename \${file}`~
10559       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10560       dldir=$destdir/`dirname \$dlpath`~
10561       test -d \$dldir || mkdir -p \$dldir~
10562       $install_prog $dir/$dlname \$dldir/$dlname~
10563       chmod a+x \$dldir/$dlname~
10564       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10565         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10566       fi'
10567     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10568       dlpath=$dir/\$dldll~
10569        $RM \$dlpath'
10570     shlibpath_overrides_runpath=yes
10571
10572     case $host_os in
10573     cygwin*)
10574       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10575       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10576
10577       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10578       ;;
10579     mingw* | cegcc*)
10580       # MinGW DLLs use traditional 'lib' prefix
10581       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10582       ;;
10583     pw32*)
10584       # pw32 DLLs use 'pw' prefix rather than 'lib'
10585       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10586       ;;
10587     esac
10588     ;;
10589
10590   *)
10591     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10592     ;;
10593   esac
10594   dynamic_linker='Win32 ld.exe'
10595   # FIXME: first we should search . and the directory the executable is in
10596   shlibpath_var=PATH
10597   ;;
10598
10599 darwin* | rhapsody*)
10600   dynamic_linker="$host_os dyld"
10601   version_type=darwin
10602   need_lib_prefix=no
10603   need_version=no
10604   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10605   soname_spec='${libname}${release}${major}$shared_ext'
10606   shlibpath_overrides_runpath=yes
10607   shlibpath_var=DYLD_LIBRARY_PATH
10608   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10609
10610   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10611   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10612   ;;
10613
10614 dgux*)
10615   version_type=linux
10616   need_lib_prefix=no
10617   need_version=no
10618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10619   soname_spec='${libname}${release}${shared_ext}$major'
10620   shlibpath_var=LD_LIBRARY_PATH
10621   ;;
10622
10623 freebsd* | dragonfly*)
10624   # DragonFly does not have aout.  When/if they implement a new
10625   # versioning mechanism, adjust this.
10626   if test -x /usr/bin/objformat; then
10627     objformat=`/usr/bin/objformat`
10628   else
10629     case $host_os in
10630     freebsd[23].*) objformat=aout ;;
10631     *) objformat=elf ;;
10632     esac
10633   fi
10634   version_type=freebsd-$objformat
10635   case $version_type in
10636     freebsd-elf*)
10637       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10638       need_version=no
10639       need_lib_prefix=no
10640       ;;
10641     freebsd-*)
10642       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10643       need_version=yes
10644       ;;
10645   esac
10646   shlibpath_var=LD_LIBRARY_PATH
10647   case $host_os in
10648   freebsd2.*)
10649     shlibpath_overrides_runpath=yes
10650     ;;
10651   freebsd3.[01]* | freebsdelf3.[01]*)
10652     shlibpath_overrides_runpath=yes
10653     hardcode_into_libs=yes
10654     ;;
10655   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10656   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10657     shlibpath_overrides_runpath=no
10658     hardcode_into_libs=yes
10659     ;;
10660   *) # from 4.6 on, and DragonFly
10661     shlibpath_overrides_runpath=yes
10662     hardcode_into_libs=yes
10663     ;;
10664   esac
10665   ;;
10666
10667 gnu*)
10668   version_type=linux
10669   need_lib_prefix=no
10670   need_version=no
10671   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10672   soname_spec='${libname}${release}${shared_ext}$major'
10673   shlibpath_var=LD_LIBRARY_PATH
10674   hardcode_into_libs=yes
10675   ;;
10676
10677 haiku*)
10678   version_type=linux
10679   need_lib_prefix=no
10680   need_version=no
10681   dynamic_linker="$host_os runtime_loader"
10682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10683   soname_spec='${libname}${release}${shared_ext}$major'
10684   shlibpath_var=LIBRARY_PATH
10685   shlibpath_overrides_runpath=yes
10686   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10687   hardcode_into_libs=yes
10688   ;;
10689
10690 hpux9* | hpux10* | hpux11*)
10691   # Give a soname corresponding to the major version so that dld.sl refuses to
10692   # link against other versions.
10693   version_type=sunos
10694   need_lib_prefix=no
10695   need_version=no
10696   case $host_cpu in
10697   ia64*)
10698     shrext_cmds='.so'
10699     hardcode_into_libs=yes
10700     dynamic_linker="$host_os dld.so"
10701     shlibpath_var=LD_LIBRARY_PATH
10702     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10703     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10704     soname_spec='${libname}${release}${shared_ext}$major'
10705     if test "X$HPUX_IA64_MODE" = X32; then
10706       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10707     else
10708       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10709     fi
10710     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10711     ;;
10712   hppa*64*)
10713     shrext_cmds='.sl'
10714     hardcode_into_libs=yes
10715     dynamic_linker="$host_os dld.sl"
10716     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10717     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10718     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10719     soname_spec='${libname}${release}${shared_ext}$major'
10720     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10721     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10722     ;;
10723   *)
10724     shrext_cmds='.sl'
10725     dynamic_linker="$host_os dld.sl"
10726     shlibpath_var=SHLIB_PATH
10727     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10728     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10729     soname_spec='${libname}${release}${shared_ext}$major'
10730     ;;
10731   esac
10732   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10733   postinstall_cmds='chmod 555 $lib'
10734   # or fails outright, so override atomically:
10735   install_override_mode=555
10736   ;;
10737
10738 interix[3-9]*)
10739   version_type=linux
10740   need_lib_prefix=no
10741   need_version=no
10742   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10743   soname_spec='${libname}${release}${shared_ext}$major'
10744   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10745   shlibpath_var=LD_LIBRARY_PATH
10746   shlibpath_overrides_runpath=no
10747   hardcode_into_libs=yes
10748   ;;
10749
10750 irix5* | irix6* | nonstopux*)
10751   case $host_os in
10752     nonstopux*) version_type=nonstopux ;;
10753     *)
10754         if test "$lt_cv_prog_gnu_ld" = yes; then
10755                 version_type=linux
10756         else
10757                 version_type=irix
10758         fi ;;
10759   esac
10760   need_lib_prefix=no
10761   need_version=no
10762   soname_spec='${libname}${release}${shared_ext}$major'
10763   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10764   case $host_os in
10765   irix5* | nonstopux*)
10766     libsuff= shlibsuff=
10767     ;;
10768   *)
10769     case $LD in # libtool.m4 will add one of these switches to LD
10770     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10771       libsuff= shlibsuff= libmagic=32-bit;;
10772     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10773       libsuff=32 shlibsuff=N32 libmagic=N32;;
10774     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10775       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10776     *) libsuff= shlibsuff= libmagic=never-match;;
10777     esac
10778     ;;
10779   esac
10780   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10781   shlibpath_overrides_runpath=no
10782   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10783   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10784   hardcode_into_libs=yes
10785   ;;
10786
10787 # No shared lib support for Linux oldld, aout, or coff.
10788 linux*oldld* | linux*aout* | linux*coff*)
10789   dynamic_linker=no
10790   ;;
10791
10792 # This must be Linux ELF.
10793 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10794   version_type=linux
10795   need_lib_prefix=no
10796   need_version=no
10797   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10798   soname_spec='${libname}${release}${shared_ext}$major'
10799   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10800   shlibpath_var=LD_LIBRARY_PATH
10801   shlibpath_overrides_runpath=no
10802
10803   # Some binutils ld are patched to set DT_RUNPATH
10804   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10805   $as_echo_n "(cached) " >&6
10806 else
10807   lt_cv_shlibpath_overrides_runpath=no
10808     save_LDFLAGS=$LDFLAGS
10809     save_libdir=$libdir
10810     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10811          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10812     if test x$gcc_no_link = xyes; then
10813   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10814 fi
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h.  */
10817
10818 int
10819 main ()
10820 {
10821
10822   ;
10823   return 0;
10824 }
10825 _ACEOF
10826 if ac_fn_c_try_link "$LINENO"; then :
10827   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10828   lt_cv_shlibpath_overrides_runpath=yes
10829 fi
10830 fi
10831 rm -f core conftest.err conftest.$ac_objext \
10832     conftest$ac_exeext conftest.$ac_ext
10833     LDFLAGS=$save_LDFLAGS
10834     libdir=$save_libdir
10835
10836 fi
10837
10838   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10839
10840   # This implies no fast_install, which is unacceptable.
10841   # Some rework will be needed to allow for fast_install
10842   # before this can be enabled.
10843   hardcode_into_libs=yes
10844
10845   # Append ld.so.conf contents to the search path
10846   if test -f /etc/ld.so.conf; then
10847     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' ' '`
10848     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10849   fi
10850
10851   # We used to test for /lib/ld.so.1 and disable shared libraries on
10852   # powerpc, because MkLinux only supported shared libraries with the
10853   # GNU dynamic linker.  Since this was broken with cross compilers,
10854   # most powerpc-linux boxes support dynamic linking these days and
10855   # people can always --disable-shared, the test was removed, and we
10856   # assume the GNU/Linux dynamic linker is in use.
10857   dynamic_linker='GNU/Linux ld.so'
10858   ;;
10859
10860 netbsd*)
10861   version_type=sunos
10862   need_lib_prefix=no
10863   need_version=no
10864   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10865     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10866     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10867     dynamic_linker='NetBSD (a.out) ld.so'
10868   else
10869     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10870     soname_spec='${libname}${release}${shared_ext}$major'
10871     dynamic_linker='NetBSD ld.elf_so'
10872   fi
10873   shlibpath_var=LD_LIBRARY_PATH
10874   shlibpath_overrides_runpath=yes
10875   hardcode_into_libs=yes
10876   ;;
10877
10878 newsos6)
10879   version_type=linux
10880   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881   shlibpath_var=LD_LIBRARY_PATH
10882   shlibpath_overrides_runpath=yes
10883   ;;
10884
10885 *nto* | *qnx*)
10886   version_type=qnx
10887   need_lib_prefix=no
10888   need_version=no
10889   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10890   soname_spec='${libname}${release}${shared_ext}$major'
10891   shlibpath_var=LD_LIBRARY_PATH
10892   shlibpath_overrides_runpath=no
10893   hardcode_into_libs=yes
10894   dynamic_linker='ldqnx.so'
10895   ;;
10896
10897 openbsd*)
10898   version_type=sunos
10899   sys_lib_dlsearch_path_spec="/usr/lib"
10900   need_lib_prefix=no
10901   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10902   case $host_os in
10903     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10904     *)                          need_version=no  ;;
10905   esac
10906   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10907   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10908   shlibpath_var=LD_LIBRARY_PATH
10909   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10910     case $host_os in
10911       openbsd2.[89] | openbsd2.[89].*)
10912         shlibpath_overrides_runpath=no
10913         ;;
10914       *)
10915         shlibpath_overrides_runpath=yes
10916         ;;
10917       esac
10918   else
10919     shlibpath_overrides_runpath=yes
10920   fi
10921   ;;
10922
10923 os2*)
10924   libname_spec='$name'
10925   shrext_cmds=".dll"
10926   need_lib_prefix=no
10927   library_names_spec='$libname${shared_ext} $libname.a'
10928   dynamic_linker='OS/2 ld.exe'
10929   shlibpath_var=LIBPATH
10930   ;;
10931
10932 osf3* | osf4* | osf5*)
10933   version_type=osf
10934   need_lib_prefix=no
10935   need_version=no
10936   soname_spec='${libname}${release}${shared_ext}$major'
10937   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10938   shlibpath_var=LD_LIBRARY_PATH
10939   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10940   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10941   ;;
10942
10943 rdos*)
10944   dynamic_linker=no
10945   ;;
10946
10947 solaris*)
10948   version_type=linux
10949   need_lib_prefix=no
10950   need_version=no
10951   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10952   soname_spec='${libname}${release}${shared_ext}$major'
10953   shlibpath_var=LD_LIBRARY_PATH
10954   shlibpath_overrides_runpath=yes
10955   hardcode_into_libs=yes
10956   # ldd complains unless libraries are executable
10957   postinstall_cmds='chmod +x $lib'
10958   ;;
10959
10960 sunos4*)
10961   version_type=sunos
10962   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10963   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10964   shlibpath_var=LD_LIBRARY_PATH
10965   shlibpath_overrides_runpath=yes
10966   if test "$with_gnu_ld" = yes; then
10967     need_lib_prefix=no
10968   fi
10969   need_version=yes
10970   ;;
10971
10972 sysv4 | sysv4.3*)
10973   version_type=linux
10974   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10975   soname_spec='${libname}${release}${shared_ext}$major'
10976   shlibpath_var=LD_LIBRARY_PATH
10977   case $host_vendor in
10978     sni)
10979       shlibpath_overrides_runpath=no
10980       need_lib_prefix=no
10981       runpath_var=LD_RUN_PATH
10982       ;;
10983     siemens)
10984       need_lib_prefix=no
10985       ;;
10986     motorola)
10987       need_lib_prefix=no
10988       need_version=no
10989       shlibpath_overrides_runpath=no
10990       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10991       ;;
10992   esac
10993   ;;
10994
10995 sysv4*MP*)
10996   if test -d /usr/nec ;then
10997     version_type=linux
10998     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10999     soname_spec='$libname${shared_ext}.$major'
11000     shlibpath_var=LD_LIBRARY_PATH
11001   fi
11002   ;;
11003
11004 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11005   version_type=freebsd-elf
11006   need_lib_prefix=no
11007   need_version=no
11008   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11009   soname_spec='${libname}${release}${shared_ext}$major'
11010   shlibpath_var=LD_LIBRARY_PATH
11011   shlibpath_overrides_runpath=yes
11012   hardcode_into_libs=yes
11013   if test "$with_gnu_ld" = yes; then
11014     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11015   else
11016     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11017     case $host_os in
11018       sco3.2v5*)
11019         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11020         ;;
11021     esac
11022   fi
11023   sys_lib_dlsearch_path_spec='/usr/lib'
11024   ;;
11025
11026 tpf*)
11027   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11028   version_type=linux
11029   need_lib_prefix=no
11030   need_version=no
11031   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11032   shlibpath_var=LD_LIBRARY_PATH
11033   shlibpath_overrides_runpath=no
11034   hardcode_into_libs=yes
11035   ;;
11036
11037 uts4*)
11038   version_type=linux
11039   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11040   soname_spec='${libname}${release}${shared_ext}$major'
11041   shlibpath_var=LD_LIBRARY_PATH
11042   ;;
11043
11044 *)
11045   dynamic_linker=no
11046   ;;
11047 esac
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11049 $as_echo "$dynamic_linker" >&6; }
11050 test "$dynamic_linker" = no && can_build_shared=no
11051
11052 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11053 if test "$GCC" = yes; then
11054   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11055 fi
11056
11057 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11058   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11059 fi
11060 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11061   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11062 fi
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
11154
11155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11156 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11157 hardcode_action=
11158 if test -n "$hardcode_libdir_flag_spec" ||
11159    test -n "$runpath_var" ||
11160    test "X$hardcode_automatic" = "Xyes" ; then
11161
11162   # We can hardcode non-existent directories.
11163   if test "$hardcode_direct" != no &&
11164      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11165      # have to relink, otherwise we might link with an installed library
11166      # when we should be linking with a yet-to-be-installed one
11167      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11168      test "$hardcode_minus_L" != no; then
11169     # Linking always hardcodes the temporary library directory.
11170     hardcode_action=relink
11171   else
11172     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11173     hardcode_action=immediate
11174   fi
11175 else
11176   # We cannot hardcode anything, or else we can only hardcode existing
11177   # directories.
11178   hardcode_action=unsupported
11179 fi
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11181 $as_echo "$hardcode_action" >&6; }
11182
11183 if test "$hardcode_action" = relink ||
11184    test "$inherit_rpath" = yes; then
11185   # Fast installation is not supported
11186   enable_fast_install=no
11187 elif test "$shlibpath_overrides_runpath" = yes ||
11188      test "$enable_shared" = no; then
11189   # Fast installation is not necessary
11190   enable_fast_install=needless
11191 fi
11192
11193
11194
11195
11196
11197
11198   if test "x$enable_dlopen" != xyes; then
11199   enable_dlopen=unknown
11200   enable_dlopen_self=unknown
11201   enable_dlopen_self_static=unknown
11202 else
11203   lt_cv_dlopen=no
11204   lt_cv_dlopen_libs=
11205
11206   case $host_os in
11207   beos*)
11208     lt_cv_dlopen="load_add_on"
11209     lt_cv_dlopen_libs=
11210     lt_cv_dlopen_self=yes
11211     ;;
11212
11213   mingw* | pw32* | cegcc*)
11214     lt_cv_dlopen="LoadLibrary"
11215     lt_cv_dlopen_libs=
11216     ;;
11217
11218   cygwin*)
11219     lt_cv_dlopen="dlopen"
11220     lt_cv_dlopen_libs=
11221     ;;
11222
11223   darwin*)
11224   # if libdl is installed we need to link against it
11225     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11226 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11227 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11228   $as_echo_n "(cached) " >&6
11229 else
11230   ac_check_lib_save_LIBS=$LIBS
11231 LIBS="-ldl  $LIBS"
11232 if test x$gcc_no_link = xyes; then
11233   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11234 fi
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h.  */
11237
11238 /* Override any GCC internal prototype to avoid an error.
11239    Use char because int might match the return type of a GCC
11240    builtin and then its argument prototype would still apply.  */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char dlopen ();
11245 int
11246 main ()
11247 {
11248 return dlopen ();
11249   ;
11250   return 0;
11251 }
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254   ac_cv_lib_dl_dlopen=yes
11255 else
11256   ac_cv_lib_dl_dlopen=no
11257 fi
11258 rm -f core conftest.err conftest.$ac_objext \
11259     conftest$ac_exeext conftest.$ac_ext
11260 LIBS=$ac_check_lib_save_LIBS
11261 fi
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11263 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11264 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11265   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11266 else
11267
11268     lt_cv_dlopen="dyld"
11269     lt_cv_dlopen_libs=
11270     lt_cv_dlopen_self=yes
11271
11272 fi
11273
11274     ;;
11275
11276   *)
11277     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11278 if test "x$ac_cv_func_shl_load" = x""yes; then :
11279   lt_cv_dlopen="shl_load"
11280 else
11281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11282 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11283 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11284   $as_echo_n "(cached) " >&6
11285 else
11286   ac_check_lib_save_LIBS=$LIBS
11287 LIBS="-ldld  $LIBS"
11288 if test x$gcc_no_link = xyes; then
11289   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11290 fi
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h.  */
11293
11294 /* Override any GCC internal prototype to avoid an error.
11295    Use char because int might match the return type of a GCC
11296    builtin and then its argument prototype would still apply.  */
11297 #ifdef __cplusplus
11298 extern "C"
11299 #endif
11300 char shl_load ();
11301 int
11302 main ()
11303 {
11304 return shl_load ();
11305   ;
11306   return 0;
11307 }
11308 _ACEOF
11309 if ac_fn_c_try_link "$LINENO"; then :
11310   ac_cv_lib_dld_shl_load=yes
11311 else
11312   ac_cv_lib_dld_shl_load=no
11313 fi
11314 rm -f core conftest.err conftest.$ac_objext \
11315     conftest$ac_exeext conftest.$ac_ext
11316 LIBS=$ac_check_lib_save_LIBS
11317 fi
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11319 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11320 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11321   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11322 else
11323   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11324 if test "x$ac_cv_func_dlopen" = x""yes; then :
11325   lt_cv_dlopen="dlopen"
11326 else
11327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11328 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11329 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11330   $as_echo_n "(cached) " >&6
11331 else
11332   ac_check_lib_save_LIBS=$LIBS
11333 LIBS="-ldl  $LIBS"
11334 if test x$gcc_no_link = xyes; then
11335   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11336 fi
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h.  */
11339
11340 /* Override any GCC internal prototype to avoid an error.
11341    Use char because int might match the return type of a GCC
11342    builtin and then its argument prototype would still apply.  */
11343 #ifdef __cplusplus
11344 extern "C"
11345 #endif
11346 char dlopen ();
11347 int
11348 main ()
11349 {
11350 return dlopen ();
11351   ;
11352   return 0;
11353 }
11354 _ACEOF
11355 if ac_fn_c_try_link "$LINENO"; then :
11356   ac_cv_lib_dl_dlopen=yes
11357 else
11358   ac_cv_lib_dl_dlopen=no
11359 fi
11360 rm -f core conftest.err conftest.$ac_objext \
11361     conftest$ac_exeext conftest.$ac_ext
11362 LIBS=$ac_check_lib_save_LIBS
11363 fi
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11365 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11366 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11367   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11368 else
11369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11370 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11371 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11372   $as_echo_n "(cached) " >&6
11373 else
11374   ac_check_lib_save_LIBS=$LIBS
11375 LIBS="-lsvld  $LIBS"
11376 if test x$gcc_no_link = xyes; then
11377   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11378 fi
11379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h.  */
11381
11382 /* Override any GCC internal prototype to avoid an error.
11383    Use char because int might match the return type of a GCC
11384    builtin and then its argument prototype would still apply.  */
11385 #ifdef __cplusplus
11386 extern "C"
11387 #endif
11388 char dlopen ();
11389 int
11390 main ()
11391 {
11392 return dlopen ();
11393   ;
11394   return 0;
11395 }
11396 _ACEOF
11397 if ac_fn_c_try_link "$LINENO"; then :
11398   ac_cv_lib_svld_dlopen=yes
11399 else
11400   ac_cv_lib_svld_dlopen=no
11401 fi
11402 rm -f core conftest.err conftest.$ac_objext \
11403     conftest$ac_exeext conftest.$ac_ext
11404 LIBS=$ac_check_lib_save_LIBS
11405 fi
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11407 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11408 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11409   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11410 else
11411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11412 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11413 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11414   $as_echo_n "(cached) " >&6
11415 else
11416   ac_check_lib_save_LIBS=$LIBS
11417 LIBS="-ldld  $LIBS"
11418 if test x$gcc_no_link = xyes; then
11419   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11420 fi
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h.  */
11423
11424 /* Override any GCC internal prototype to avoid an error.
11425    Use char because int might match the return type of a GCC
11426    builtin and then its argument prototype would still apply.  */
11427 #ifdef __cplusplus
11428 extern "C"
11429 #endif
11430 char dld_link ();
11431 int
11432 main ()
11433 {
11434 return dld_link ();
11435   ;
11436   return 0;
11437 }
11438 _ACEOF
11439 if ac_fn_c_try_link "$LINENO"; then :
11440   ac_cv_lib_dld_dld_link=yes
11441 else
11442   ac_cv_lib_dld_dld_link=no
11443 fi
11444 rm -f core conftest.err conftest.$ac_objext \
11445     conftest$ac_exeext conftest.$ac_ext
11446 LIBS=$ac_check_lib_save_LIBS
11447 fi
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11449 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11450 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11451   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11452 fi
11453
11454
11455 fi
11456
11457
11458 fi
11459
11460
11461 fi
11462
11463
11464 fi
11465
11466
11467 fi
11468
11469     ;;
11470   esac
11471
11472   if test "x$lt_cv_dlopen" != xno; then
11473     enable_dlopen=yes
11474   else
11475     enable_dlopen=no
11476   fi
11477
11478   case $lt_cv_dlopen in
11479   dlopen)
11480     save_CPPFLAGS="$CPPFLAGS"
11481     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11482
11483     save_LDFLAGS="$LDFLAGS"
11484     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11485
11486     save_LIBS="$LIBS"
11487     LIBS="$lt_cv_dlopen_libs $LIBS"
11488
11489     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11490 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11491 if test "${lt_cv_dlopen_self+set}" = set; then :
11492   $as_echo_n "(cached) " >&6
11493 else
11494           if test "$cross_compiling" = yes; then :
11495   lt_cv_dlopen_self=cross
11496 else
11497   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11498   lt_status=$lt_dlunknown
11499   cat > conftest.$ac_ext <<_LT_EOF
11500 #line 11500 "configure"
11501 #include "confdefs.h"
11502
11503 #if HAVE_DLFCN_H
11504 #include <dlfcn.h>
11505 #endif
11506
11507 #include <stdio.h>
11508
11509 #ifdef RTLD_GLOBAL
11510 #  define LT_DLGLOBAL           RTLD_GLOBAL
11511 #else
11512 #  ifdef DL_GLOBAL
11513 #    define LT_DLGLOBAL         DL_GLOBAL
11514 #  else
11515 #    define LT_DLGLOBAL         0
11516 #  endif
11517 #endif
11518
11519 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11520    find out it does not work in some platform. */
11521 #ifndef LT_DLLAZY_OR_NOW
11522 #  ifdef RTLD_LAZY
11523 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11524 #  else
11525 #    ifdef DL_LAZY
11526 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11527 #    else
11528 #      ifdef RTLD_NOW
11529 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11530 #      else
11531 #        ifdef DL_NOW
11532 #          define LT_DLLAZY_OR_NOW      DL_NOW
11533 #        else
11534 #          define LT_DLLAZY_OR_NOW      0
11535 #        endif
11536 #      endif
11537 #    endif
11538 #  endif
11539 #endif
11540
11541 /* When -fvisbility=hidden is used, assume the code has been annotated
11542    correspondingly for the symbols needed.  */
11543 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11544 void fnord () __attribute__((visibility("default")));
11545 #endif
11546
11547 void fnord () { int i=42; }
11548 int main ()
11549 {
11550   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11551   int status = $lt_dlunknown;
11552
11553   if (self)
11554     {
11555       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11556       else
11557         {
11558           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11559           else puts (dlerror ());
11560         }
11561       /* dlclose (self); */
11562     }
11563   else
11564     puts (dlerror ());
11565
11566   return status;
11567 }
11568 _LT_EOF
11569   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11570   (eval $ac_link) 2>&5
11571   ac_status=$?
11572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11573   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11574     (./conftest; exit; ) >&5 2>/dev/null
11575     lt_status=$?
11576     case x$lt_status in
11577       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11578       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11579       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11580     esac
11581   else :
11582     # compilation failed
11583     lt_cv_dlopen_self=no
11584   fi
11585 fi
11586 rm -fr conftest*
11587
11588
11589 fi
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11591 $as_echo "$lt_cv_dlopen_self" >&6; }
11592
11593     if test "x$lt_cv_dlopen_self" = xyes; then
11594       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11595       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11596 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11597 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11598   $as_echo_n "(cached) " >&6
11599 else
11600           if test "$cross_compiling" = yes; then :
11601   lt_cv_dlopen_self_static=cross
11602 else
11603   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11604   lt_status=$lt_dlunknown
11605   cat > conftest.$ac_ext <<_LT_EOF
11606 #line 11606 "configure"
11607 #include "confdefs.h"
11608
11609 #if HAVE_DLFCN_H
11610 #include <dlfcn.h>
11611 #endif
11612
11613 #include <stdio.h>
11614
11615 #ifdef RTLD_GLOBAL
11616 #  define LT_DLGLOBAL           RTLD_GLOBAL
11617 #else
11618 #  ifdef DL_GLOBAL
11619 #    define LT_DLGLOBAL         DL_GLOBAL
11620 #  else
11621 #    define LT_DLGLOBAL         0
11622 #  endif
11623 #endif
11624
11625 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11626    find out it does not work in some platform. */
11627 #ifndef LT_DLLAZY_OR_NOW
11628 #  ifdef RTLD_LAZY
11629 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11630 #  else
11631 #    ifdef DL_LAZY
11632 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11633 #    else
11634 #      ifdef RTLD_NOW
11635 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11636 #      else
11637 #        ifdef DL_NOW
11638 #          define LT_DLLAZY_OR_NOW      DL_NOW
11639 #        else
11640 #          define LT_DLLAZY_OR_NOW      0
11641 #        endif
11642 #      endif
11643 #    endif
11644 #  endif
11645 #endif
11646
11647 /* When -fvisbility=hidden is used, assume the code has been annotated
11648    correspondingly for the symbols needed.  */
11649 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11650 void fnord () __attribute__((visibility("default")));
11651 #endif
11652
11653 void fnord () { int i=42; }
11654 int main ()
11655 {
11656   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11657   int status = $lt_dlunknown;
11658
11659   if (self)
11660     {
11661       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11662       else
11663         {
11664           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11665           else puts (dlerror ());
11666         }
11667       /* dlclose (self); */
11668     }
11669   else
11670     puts (dlerror ());
11671
11672   return status;
11673 }
11674 _LT_EOF
11675   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11676   (eval $ac_link) 2>&5
11677   ac_status=$?
11678   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11679   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11680     (./conftest; exit; ) >&5 2>/dev/null
11681     lt_status=$?
11682     case x$lt_status in
11683       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11684       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11685       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11686     esac
11687   else :
11688     # compilation failed
11689     lt_cv_dlopen_self_static=no
11690   fi
11691 fi
11692 rm -fr conftest*
11693
11694
11695 fi
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11697 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11698     fi
11699
11700     CPPFLAGS="$save_CPPFLAGS"
11701     LDFLAGS="$save_LDFLAGS"
11702     LIBS="$save_LIBS"
11703     ;;
11704   esac
11705
11706   case $lt_cv_dlopen_self in
11707   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11708   *) enable_dlopen_self=unknown ;;
11709   esac
11710
11711   case $lt_cv_dlopen_self_static in
11712   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11713   *) enable_dlopen_self_static=unknown ;;
11714   esac
11715 fi
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733 striplib=
11734 old_striplib=
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11736 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11737 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11738   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11739   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11741 $as_echo "yes" >&6; }
11742 else
11743 # FIXME - insert some real tests, host_os isn't really good enough
11744   case $host_os in
11745   darwin*)
11746     if test -n "$STRIP" ; then
11747       striplib="$STRIP -x"
11748       old_striplib="$STRIP -S"
11749       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11750 $as_echo "yes" >&6; }
11751     else
11752       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11753 $as_echo "no" >&6; }
11754     fi
11755     ;;
11756   *)
11757     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11758 $as_echo "no" >&6; }
11759     ;;
11760   esac
11761 fi
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774   # Report which library types will actually be built
11775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11776 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11778 $as_echo "$can_build_shared" >&6; }
11779
11780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11781 $as_echo_n "checking whether to build shared libraries... " >&6; }
11782   test "$can_build_shared" = "no" && enable_shared=no
11783
11784   # On AIX, shared libraries and static libraries use the same namespace, and
11785   # are all built from PIC.
11786   case $host_os in
11787   aix3*)
11788     test "$enable_shared" = yes && enable_static=no
11789     if test -n "$RANLIB"; then
11790       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11791       postinstall_cmds='$RANLIB $lib'
11792     fi
11793     ;;
11794
11795   aix[4-9]*)
11796     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11797       test "$enable_shared" = yes && enable_static=no
11798     fi
11799     ;;
11800   esac
11801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11802 $as_echo "$enable_shared" >&6; }
11803
11804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11805 $as_echo_n "checking whether to build static libraries... " >&6; }
11806   # Make sure either enable_shared or enable_static is yes.
11807   test "$enable_shared" = yes || enable_static=yes
11808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11809 $as_echo "$enable_static" >&6; }
11810
11811
11812
11813
11814 fi
11815 ac_ext=c
11816 ac_cpp='$CPP $CPPFLAGS'
11817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11820
11821 CC="$lt_save_CC"
11822
11823       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11824     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11825     (test "X$CXX" != "Xg++"))) ; then
11826   ac_ext=cpp
11827 ac_cpp='$CXXCPP $CPPFLAGS'
11828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11832 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11833 if test -z "$CXXCPP"; then
11834   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11835   $as_echo_n "(cached) " >&6
11836 else
11837       # Double quotes because CXXCPP needs to be expanded
11838     for CXXCPP in "$CXX -E" "/lib/cpp"
11839     do
11840       ac_preproc_ok=false
11841 for ac_cxx_preproc_warn_flag in '' yes
11842 do
11843   # Use a header file that comes with gcc, so configuring glibc
11844   # with a fresh cross-compiler works.
11845   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11846   # <limits.h> exists even on freestanding compilers.
11847   # On the NeXT, cc -E runs the code through the compiler's parser,
11848   # not just through cpp. "Syntax error" is here to catch this case.
11849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11850 /* end confdefs.h.  */
11851 #ifdef __STDC__
11852 # include <limits.h>
11853 #else
11854 # include <assert.h>
11855 #endif
11856                      Syntax error
11857 _ACEOF
11858 if ac_fn_cxx_try_cpp "$LINENO"; then :
11859
11860 else
11861   # Broken: fails on valid input.
11862 continue
11863 fi
11864 rm -f conftest.err conftest.$ac_ext
11865
11866   # OK, works on sane cases.  Now check whether nonexistent headers
11867   # can be detected and how.
11868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h.  */
11870 #include <ac_nonexistent.h>
11871 _ACEOF
11872 if ac_fn_cxx_try_cpp "$LINENO"; then :
11873   # Broken: success on invalid input.
11874 continue
11875 else
11876   # Passes both tests.
11877 ac_preproc_ok=:
11878 break
11879 fi
11880 rm -f conftest.err conftest.$ac_ext
11881
11882 done
11883 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11884 rm -f conftest.err conftest.$ac_ext
11885 if $ac_preproc_ok; then :
11886   break
11887 fi
11888
11889     done
11890     ac_cv_prog_CXXCPP=$CXXCPP
11891
11892 fi
11893   CXXCPP=$ac_cv_prog_CXXCPP
11894 else
11895   ac_cv_prog_CXXCPP=$CXXCPP
11896 fi
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11898 $as_echo "$CXXCPP" >&6; }
11899 ac_preproc_ok=false
11900 for ac_cxx_preproc_warn_flag in '' yes
11901 do
11902   # Use a header file that comes with gcc, so configuring glibc
11903   # with a fresh cross-compiler works.
11904   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11905   # <limits.h> exists even on freestanding compilers.
11906   # On the NeXT, cc -E runs the code through the compiler's parser,
11907   # not just through cpp. "Syntax error" is here to catch this case.
11908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h.  */
11910 #ifdef __STDC__
11911 # include <limits.h>
11912 #else
11913 # include <assert.h>
11914 #endif
11915                      Syntax error
11916 _ACEOF
11917 if ac_fn_cxx_try_cpp "$LINENO"; then :
11918
11919 else
11920   # Broken: fails on valid input.
11921 continue
11922 fi
11923 rm -f conftest.err conftest.$ac_ext
11924
11925   # OK, works on sane cases.  Now check whether nonexistent headers
11926   # can be detected and how.
11927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h.  */
11929 #include <ac_nonexistent.h>
11930 _ACEOF
11931 if ac_fn_cxx_try_cpp "$LINENO"; then :
11932   # Broken: success on invalid input.
11933 continue
11934 else
11935   # Passes both tests.
11936 ac_preproc_ok=:
11937 break
11938 fi
11939 rm -f conftest.err conftest.$ac_ext
11940
11941 done
11942 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11943 rm -f conftest.err conftest.$ac_ext
11944 if $ac_preproc_ok; then :
11945
11946 else
11947   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11949 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11950 See \`config.log' for more details." "$LINENO" 5; }
11951 fi
11952
11953 ac_ext=c
11954 ac_cpp='$CPP $CPPFLAGS'
11955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11958
11959 else
11960   _lt_caught_CXX_error=yes
11961 fi
11962
11963 ac_ext=cpp
11964 ac_cpp='$CXXCPP $CPPFLAGS'
11965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11968
11969 archive_cmds_need_lc_CXX=no
11970 allow_undefined_flag_CXX=
11971 always_export_symbols_CXX=no
11972 archive_expsym_cmds_CXX=
11973 compiler_needs_object_CXX=no
11974 export_dynamic_flag_spec_CXX=
11975 hardcode_direct_CXX=no
11976 hardcode_direct_absolute_CXX=no
11977 hardcode_libdir_flag_spec_CXX=
11978 hardcode_libdir_flag_spec_ld_CXX=
11979 hardcode_libdir_separator_CXX=
11980 hardcode_minus_L_CXX=no
11981 hardcode_shlibpath_var_CXX=unsupported
11982 hardcode_automatic_CXX=no
11983 inherit_rpath_CXX=no
11984 module_cmds_CXX=
11985 module_expsym_cmds_CXX=
11986 link_all_deplibs_CXX=unknown
11987 old_archive_cmds_CXX=$old_archive_cmds
11988 reload_flag_CXX=$reload_flag
11989 reload_cmds_CXX=$reload_cmds
11990 no_undefined_flag_CXX=
11991 whole_archive_flag_spec_CXX=
11992 enable_shared_with_static_runtimes_CXX=no
11993
11994 # Source file extension for C++ test sources.
11995 ac_ext=cpp
11996
11997 # Object file extension for compiled C++ test sources.
11998 objext=o
11999 objext_CXX=$objext
12000
12001 # No sense in running all these tests if we already determined that
12002 # the CXX compiler isn't working.  Some variables (like enable_shared)
12003 # are currently assumed to apply to all compilers on this platform,
12004 # and will be corrupted by setting them based on a non-working compiler.
12005 if test "$_lt_caught_CXX_error" != yes; then
12006   # Code to be used in simple compile tests
12007   lt_simple_compile_test_code="int some_variable = 0;"
12008
12009   # Code to be used in simple link tests
12010   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12011
12012   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12013
12014
12015
12016
12017
12018
12019 # If no C compiler was specified, use CC.
12020 LTCC=${LTCC-"$CC"}
12021
12022 # If no C compiler flags were specified, use CFLAGS.
12023 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12024
12025 # Allow CC to be a program name with arguments.
12026 compiler=$CC
12027
12028
12029   # save warnings/boilerplate of simple test code
12030   ac_outfile=conftest.$ac_objext
12031 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12032 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12033 _lt_compiler_boilerplate=`cat conftest.err`
12034 $RM conftest*
12035
12036   ac_outfile=conftest.$ac_objext
12037 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12038 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12039 _lt_linker_boilerplate=`cat conftest.err`
12040 $RM -r conftest*
12041
12042
12043   # Allow CC to be a program name with arguments.
12044   lt_save_CC=$CC
12045   lt_save_LD=$LD
12046   lt_save_GCC=$GCC
12047   GCC=$GXX
12048   lt_save_with_gnu_ld=$with_gnu_ld
12049   lt_save_path_LD=$lt_cv_path_LD
12050   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12051     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12052   else
12053     $as_unset lt_cv_prog_gnu_ld
12054   fi
12055   if test -n "${lt_cv_path_LDCXX+set}"; then
12056     lt_cv_path_LD=$lt_cv_path_LDCXX
12057   else
12058     $as_unset lt_cv_path_LD
12059   fi
12060   test -z "${LDCXX+set}" || LD=$LDCXX
12061   CC=${CXX-"c++"}
12062   compiler=$CC
12063   compiler_CXX=$CC
12064   for cc_temp in $compiler""; do
12065   case $cc_temp in
12066     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12067     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12068     \-*) ;;
12069     *) break;;
12070   esac
12071 done
12072 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12073
12074
12075   if test -n "$compiler"; then
12076     # We don't want -fno-exception when compiling C++ code, so set the
12077     # no_builtin_flag separately
12078     if test "$GXX" = yes; then
12079       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12080     else
12081       lt_prog_compiler_no_builtin_flag_CXX=
12082     fi
12083
12084     if test "$GXX" = yes; then
12085       # Set up default GNU C++ configuration
12086
12087
12088
12089 # Check whether --with-gnu-ld was given.
12090 if test "${with_gnu_ld+set}" = set; then :
12091   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12092 else
12093   with_gnu_ld=no
12094 fi
12095
12096 ac_prog=ld
12097 if test "$GCC" = yes; then
12098   # Check if gcc -print-prog-name=ld gives a path.
12099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12100 $as_echo_n "checking for ld used by $CC... " >&6; }
12101   case $host in
12102   *-*-mingw*)
12103     # gcc leaves a trailing carriage return which upsets mingw
12104     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12105   *)
12106     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12107   esac
12108   case $ac_prog in
12109     # Accept absolute paths.
12110     [\\/]* | ?:[\\/]*)
12111       re_direlt='/[^/][^/]*/\.\./'
12112       # Canonicalize the pathname of ld
12113       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12114       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12115         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12116       done
12117       test -z "$LD" && LD="$ac_prog"
12118       ;;
12119   "")
12120     # If it fails, then pretend we aren't using GCC.
12121     ac_prog=ld
12122     ;;
12123   *)
12124     # If it is relative, then search for the first ld in PATH.
12125     with_gnu_ld=unknown
12126     ;;
12127   esac
12128 elif test "$with_gnu_ld" = yes; then
12129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12130 $as_echo_n "checking for GNU ld... " >&6; }
12131 else
12132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12133 $as_echo_n "checking for non-GNU ld... " >&6; }
12134 fi
12135 if test "${lt_cv_path_LD+set}" = set; then :
12136   $as_echo_n "(cached) " >&6
12137 else
12138   if test -z "$LD"; then
12139   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12140   for ac_dir in $PATH; do
12141     IFS="$lt_save_ifs"
12142     test -z "$ac_dir" && ac_dir=.
12143     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12144       lt_cv_path_LD="$ac_dir/$ac_prog"
12145       # Check to see if the program is GNU ld.  I'd rather use --version,
12146       # but apparently some variants of GNU ld only accept -v.
12147       # Break only if it was the GNU/non-GNU ld that we prefer.
12148       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12149       *GNU* | *'with BFD'*)
12150         test "$with_gnu_ld" != no && break
12151         ;;
12152       *)
12153         test "$with_gnu_ld" != yes && break
12154         ;;
12155       esac
12156     fi
12157   done
12158   IFS="$lt_save_ifs"
12159 else
12160   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12161 fi
12162 fi
12163
12164 LD="$lt_cv_path_LD"
12165 if test -n "$LD"; then
12166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12167 $as_echo "$LD" >&6; }
12168 else
12169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12170 $as_echo "no" >&6; }
12171 fi
12172 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12174 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12175 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12176   $as_echo_n "(cached) " >&6
12177 else
12178   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12179 case `$LD -v 2>&1 </dev/null` in
12180 *GNU* | *'with BFD'*)
12181   lt_cv_prog_gnu_ld=yes
12182   ;;
12183 *)
12184   lt_cv_prog_gnu_ld=no
12185   ;;
12186 esac
12187 fi
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12189 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12190 with_gnu_ld=$lt_cv_prog_gnu_ld
12191
12192
12193
12194
12195
12196
12197
12198       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12199       # archiving commands below assume that GNU ld is being used.
12200       if test "$with_gnu_ld" = yes; then
12201         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12202         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'
12203
12204         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12205         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12206
12207         # If archive_cmds runs LD, not CC, wlarc should be empty
12208         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12209         #     investigate it a little bit more. (MM)
12210         wlarc='${wl}'
12211
12212         # ancient GNU ld didn't support --whole-archive et. al.
12213         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12214           $GREP 'no-whole-archive' > /dev/null; then
12215           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12216         else
12217           whole_archive_flag_spec_CXX=
12218         fi
12219       else
12220         with_gnu_ld=no
12221         wlarc=
12222
12223         # A generic and very simple default shared library creation
12224         # command for GNU C++ for the case where it uses the native
12225         # linker, instead of GNU ld.  If possible, this setting should
12226         # overridden to take advantage of the native linker features on
12227         # the platform it is being used on.
12228         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12229       fi
12230
12231       # Commands to make compiler produce verbose output that lists
12232       # what "hidden" libraries, object files and flags are used when
12233       # linking a shared library.
12234       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12235
12236     else
12237       GXX=no
12238       with_gnu_ld=no
12239       wlarc=
12240     fi
12241
12242     # PORTME: fill in a description of your system's C++ link characteristics
12243     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12244 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12245     ld_shlibs_CXX=yes
12246     case $host_os in
12247       aix3*)
12248         # FIXME: insert proper C++ library support
12249         ld_shlibs_CXX=no
12250         ;;
12251       aix[4-9]*)
12252         if test "$host_cpu" = ia64; then
12253           # On IA64, the linker does run time linking by default, so we don't
12254           # have to do anything special.
12255           aix_use_runtimelinking=no
12256           exp_sym_flag='-Bexport'
12257           no_entry_flag=""
12258         else
12259           aix_use_runtimelinking=no
12260
12261           # Test if we are trying to use run time linking or normal
12262           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12263           # need to do runtime linking.
12264           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12265             for ld_flag in $LDFLAGS; do
12266               case $ld_flag in
12267               *-brtl*)
12268                 aix_use_runtimelinking=yes
12269                 break
12270                 ;;
12271               esac
12272             done
12273             ;;
12274           esac
12275
12276           exp_sym_flag='-bexport'
12277           no_entry_flag='-bnoentry'
12278         fi
12279
12280         # When large executables or shared objects are built, AIX ld can
12281         # have problems creating the table of contents.  If linking a library
12282         # or program results in "error TOC overflow" add -mminimal-toc to
12283         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12284         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12285
12286         archive_cmds_CXX=''
12287         hardcode_direct_CXX=yes
12288         hardcode_direct_absolute_CXX=yes
12289         hardcode_libdir_separator_CXX=':'
12290         link_all_deplibs_CXX=yes
12291         file_list_spec_CXX='${wl}-f,'
12292
12293         if test "$GXX" = yes; then
12294           case $host_os in aix4.[012]|aix4.[012].*)
12295           # We only want to do this on AIX 4.2 and lower, the check
12296           # below for broken collect2 doesn't work under 4.3+
12297           collect2name=`${CC} -print-prog-name=collect2`
12298           if test -f "$collect2name" &&
12299              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12300           then
12301             # We have reworked collect2
12302             :
12303           else
12304             # We have old collect2
12305             hardcode_direct_CXX=unsupported
12306             # It fails to find uninstalled libraries when the uninstalled
12307             # path is not listed in the libpath.  Setting hardcode_minus_L
12308             # to unsupported forces relinking
12309             hardcode_minus_L_CXX=yes
12310             hardcode_libdir_flag_spec_CXX='-L$libdir'
12311             hardcode_libdir_separator_CXX=
12312           fi
12313           esac
12314           shared_flag='-shared'
12315           if test "$aix_use_runtimelinking" = yes; then
12316             shared_flag="$shared_flag "'${wl}-G'
12317           fi
12318         else
12319           # not using gcc
12320           if test "$host_cpu" = ia64; then
12321           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12322           # chokes on -Wl,-G. The following line is correct:
12323           shared_flag='-G'
12324           else
12325             if test "$aix_use_runtimelinking" = yes; then
12326               shared_flag='${wl}-G'
12327             else
12328               shared_flag='${wl}-bM:SRE'
12329             fi
12330           fi
12331         fi
12332
12333         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12334         # It seems that -bexpall does not export symbols beginning with
12335         # underscore (_), so it is better to generate a list of symbols to
12336         # export.
12337         always_export_symbols_CXX=yes
12338         if test "$aix_use_runtimelinking" = yes; then
12339           # Warning - without using the other runtime loading flags (-brtl),
12340           # -berok will link without error, but may produce a broken library.
12341           allow_undefined_flag_CXX='-berok'
12342           # Determine the default libpath from the value encoded in an empty
12343           # executable.
12344           if test x$gcc_no_link = xyes; then
12345   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12346 fi
12347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12348 /* end confdefs.h.  */
12349
12350 int
12351 main ()
12352 {
12353
12354   ;
12355   return 0;
12356 }
12357 _ACEOF
12358 if ac_fn_cxx_try_link "$LINENO"; then :
12359
12360 lt_aix_libpath_sed='
12361     /Import File Strings/,/^$/ {
12362         /^0/ {
12363             s/^0  *\(.*\)$/\1/
12364             p
12365         }
12366     }'
12367 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12368 # Check for a 64-bit object if we didn't find anything.
12369 if test -z "$aix_libpath"; then
12370   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12371 fi
12372 fi
12373 rm -f core conftest.err conftest.$ac_objext \
12374     conftest$ac_exeext conftest.$ac_ext
12375 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12376
12377           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12378
12379           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"
12380         else
12381           if test "$host_cpu" = ia64; then
12382             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12383             allow_undefined_flag_CXX="-z nodefs"
12384             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"
12385           else
12386             # Determine the default libpath from the value encoded in an
12387             # empty executable.
12388             if test x$gcc_no_link = xyes; then
12389   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12390 fi
12391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h.  */
12393
12394 int
12395 main ()
12396 {
12397
12398   ;
12399   return 0;
12400 }
12401 _ACEOF
12402 if ac_fn_cxx_try_link "$LINENO"; then :
12403
12404 lt_aix_libpath_sed='
12405     /Import File Strings/,/^$/ {
12406         /^0/ {
12407             s/^0  *\(.*\)$/\1/
12408             p
12409         }
12410     }'
12411 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12412 # Check for a 64-bit object if we didn't find anything.
12413 if test -z "$aix_libpath"; then
12414   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12415 fi
12416 fi
12417 rm -f core conftest.err conftest.$ac_objext \
12418     conftest$ac_exeext conftest.$ac_ext
12419 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12420
12421             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12422             # Warning - without using the other run time loading flags,
12423             # -berok will link without error, but may produce a broken library.
12424             no_undefined_flag_CXX=' ${wl}-bernotok'
12425             allow_undefined_flag_CXX=' ${wl}-berok'
12426             if test "$with_gnu_ld" = yes; then
12427               # We only use this code for GNU lds that support --whole-archive.
12428               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12429             else
12430               # Exported symbols can be pulled into shared objects from archives
12431               whole_archive_flag_spec_CXX='$convenience'
12432             fi
12433             archive_cmds_need_lc_CXX=yes
12434             # This is similar to how AIX traditionally builds its shared
12435             # libraries.
12436             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'
12437           fi
12438         fi
12439         ;;
12440
12441       beos*)
12442         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12443           allow_undefined_flag_CXX=unsupported
12444           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12445           # support --undefined.  This deserves some investigation.  FIXME
12446           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12447         else
12448           ld_shlibs_CXX=no
12449         fi
12450         ;;
12451
12452       chorus*)
12453         case $cc_basename in
12454           *)
12455           # FIXME: insert proper C++ library support
12456           ld_shlibs_CXX=no
12457           ;;
12458         esac
12459         ;;
12460
12461       cygwin* | mingw* | pw32* | cegcc*)
12462         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12463         # as there is no search path for DLLs.
12464         hardcode_libdir_flag_spec_CXX='-L$libdir'
12465         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12466         allow_undefined_flag_CXX=unsupported
12467         always_export_symbols_CXX=no
12468         enable_shared_with_static_runtimes_CXX=yes
12469
12470         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12471           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'
12472           # If the export-symbols file already is a .def file (1st line
12473           # is EXPORTS), use it as is; otherwise, prepend...
12474           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12475             cp $export_symbols $output_objdir/$soname.def;
12476           else
12477             echo EXPORTS > $output_objdir/$soname.def;
12478             cat $export_symbols >> $output_objdir/$soname.def;
12479           fi~
12480           $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'
12481         else
12482           ld_shlibs_CXX=no
12483         fi
12484         ;;
12485       darwin* | rhapsody*)
12486
12487
12488   archive_cmds_need_lc_CXX=no
12489   hardcode_direct_CXX=no
12490   hardcode_automatic_CXX=yes
12491   hardcode_shlibpath_var_CXX=unsupported
12492   if test "$lt_cv_ld_force_load" = "yes"; then
12493     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\"`'
12494   else
12495     whole_archive_flag_spec_CXX=''
12496   fi
12497   link_all_deplibs_CXX=yes
12498   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12499   case $cc_basename in
12500      ifort*) _lt_dar_can_shared=yes ;;
12501      *) _lt_dar_can_shared=$GCC ;;
12502   esac
12503   if test "$_lt_dar_can_shared" = "yes"; then
12504     output_verbose_link_cmd=func_echo_all
12505     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}"
12506     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12507     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}"
12508     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}"
12509        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12510       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}"
12511       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}"
12512     fi
12513
12514   else
12515   ld_shlibs_CXX=no
12516   fi
12517
12518         ;;
12519
12520       dgux*)
12521         case $cc_basename in
12522           ec++*)
12523             # FIXME: insert proper C++ library support
12524             ld_shlibs_CXX=no
12525             ;;
12526           ghcx*)
12527             # Green Hills C++ Compiler
12528             # FIXME: insert proper C++ library support
12529             ld_shlibs_CXX=no
12530             ;;
12531           *)
12532             # FIXME: insert proper C++ library support
12533             ld_shlibs_CXX=no
12534             ;;
12535         esac
12536         ;;
12537
12538       freebsd2.*)
12539         # C++ shared libraries reported to be fairly broken before
12540         # switch to ELF
12541         ld_shlibs_CXX=no
12542         ;;
12543
12544       freebsd-elf*)
12545         archive_cmds_need_lc_CXX=no
12546         ;;
12547
12548       freebsd* | dragonfly*)
12549         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12550         # conventions
12551         ld_shlibs_CXX=yes
12552         ;;
12553
12554       gnu*)
12555         ;;
12556
12557       haiku*)
12558         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12559         link_all_deplibs_CXX=yes
12560         ;;
12561
12562       hpux9*)
12563         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12564         hardcode_libdir_separator_CXX=:
12565         export_dynamic_flag_spec_CXX='${wl}-E'
12566         hardcode_direct_CXX=yes
12567         hardcode_minus_L_CXX=yes # Not in the search PATH,
12568                                              # but as the default
12569                                              # location of the library.
12570
12571         case $cc_basename in
12572           CC*)
12573             # FIXME: insert proper C++ library support
12574             ld_shlibs_CXX=no
12575             ;;
12576           aCC*)
12577             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'
12578             # Commands to make compiler produce verbose output that lists
12579             # what "hidden" libraries, object files and flags are used when
12580             # linking a shared library.
12581             #
12582             # There doesn't appear to be a way to prevent this compiler from
12583             # explicitly linking system object files so we need to strip them
12584             # from the output so that they don't get included in the library
12585             # dependencies.
12586             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"'
12587             ;;
12588           *)
12589             if test "$GXX" = yes; then
12590               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'
12591             else
12592               # FIXME: insert proper C++ library support
12593               ld_shlibs_CXX=no
12594             fi
12595             ;;
12596         esac
12597         ;;
12598
12599       hpux10*|hpux11*)
12600         if test $with_gnu_ld = no; then
12601           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12602           hardcode_libdir_separator_CXX=:
12603
12604           case $host_cpu in
12605             hppa*64*|ia64*)
12606               ;;
12607             *)
12608               export_dynamic_flag_spec_CXX='${wl}-E'
12609               ;;
12610           esac
12611         fi
12612         case $host_cpu in
12613           hppa*64*|ia64*)
12614             hardcode_direct_CXX=no
12615             hardcode_shlibpath_var_CXX=no
12616             ;;
12617           *)
12618             hardcode_direct_CXX=yes
12619             hardcode_direct_absolute_CXX=yes
12620             hardcode_minus_L_CXX=yes # Not in the search PATH,
12621                                                  # but as the default
12622                                                  # location of the library.
12623             ;;
12624         esac
12625
12626         case $cc_basename in
12627           CC*)
12628             # FIXME: insert proper C++ library support
12629             ld_shlibs_CXX=no
12630             ;;
12631           aCC*)
12632             case $host_cpu in
12633               hppa*64*)
12634                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12635                 ;;
12636               ia64*)
12637                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12638                 ;;
12639               *)
12640                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12641                 ;;
12642             esac
12643             # Commands to make compiler produce verbose output that lists
12644             # what "hidden" libraries, object files and flags are used when
12645             # linking a shared library.
12646             #
12647             # There doesn't appear to be a way to prevent this compiler from
12648             # explicitly linking system object files so we need to strip them
12649             # from the output so that they don't get included in the library
12650             # dependencies.
12651             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"'
12652             ;;
12653           *)
12654             if test "$GXX" = yes; then
12655               if test $with_gnu_ld = no; then
12656                 case $host_cpu in
12657                   hppa*64*)
12658                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12659                     ;;
12660                   ia64*)
12661                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12662                     ;;
12663                   *)
12664                     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'
12665                     ;;
12666                 esac
12667               fi
12668             else
12669               # FIXME: insert proper C++ library support
12670               ld_shlibs_CXX=no
12671             fi
12672             ;;
12673         esac
12674         ;;
12675
12676       interix[3-9]*)
12677         hardcode_direct_CXX=no
12678         hardcode_shlibpath_var_CXX=no
12679         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12680         export_dynamic_flag_spec_CXX='${wl}-E'
12681         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12682         # Instead, shared libraries are loaded at an image base (0x10000000 by
12683         # default) and relocated if they conflict, which is a slow very memory
12684         # consuming and fragmenting process.  To avoid this, we pick a random,
12685         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12686         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12687         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'
12688         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'
12689         ;;
12690       irix5* | irix6*)
12691         case $cc_basename in
12692           CC*)
12693             # SGI C++
12694             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'
12695
12696             # Archives containing C++ object files must be created using
12697             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12698             # necessary to make sure instantiated templates are included
12699             # in the archive.
12700             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12701             ;;
12702           *)
12703             if test "$GXX" = yes; then
12704               if test "$with_gnu_ld" = no; then
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"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12706               else
12707                 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'
12708               fi
12709             fi
12710             link_all_deplibs_CXX=yes
12711             ;;
12712         esac
12713         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12714         hardcode_libdir_separator_CXX=:
12715         inherit_rpath_CXX=yes
12716         ;;
12717
12718       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12719         case $cc_basename in
12720           KCC*)
12721             # Kuck and Associates, Inc. (KAI) C++ Compiler
12722
12723             # KCC will only create a shared library if the output file
12724             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12725             # to its proper name (with version) after linking.
12726             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'
12727             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'
12728             # Commands to make compiler produce verbose output that lists
12729             # what "hidden" libraries, object files and flags are used when
12730             # linking a shared library.
12731             #
12732             # There doesn't appear to be a way to prevent this compiler from
12733             # explicitly linking system object files so we need to strip them
12734             # from the output so that they don't get included in the library
12735             # dependencies.
12736             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"'
12737
12738             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12739             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12740
12741             # Archives containing C++ object files must be created using
12742             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12743             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12744             ;;
12745           icpc* | ecpc* )
12746             # Intel C++
12747             with_gnu_ld=yes
12748             # version 8.0 and above of icpc choke on multiply defined symbols
12749             # if we add $predep_objects and $postdep_objects, however 7.1 and
12750             # earlier do not add the objects themselves.
12751             case `$CC -V 2>&1` in
12752               *"Version 7."*)
12753                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12754                 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'
12755                 ;;
12756               *)  # Version 8.0 or newer
12757                 tmp_idyn=
12758                 case $host_cpu in
12759                   ia64*) tmp_idyn=' -i_dynamic';;
12760                 esac
12761                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12762                 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'
12763                 ;;
12764             esac
12765             archive_cmds_need_lc_CXX=no
12766             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12767             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12768             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12769             ;;
12770           pgCC* | pgcpp*)
12771             # Portland Group C++ compiler
12772             case `$CC -V` in
12773             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12774               prelink_cmds_CXX='tpldir=Template.dir~
12775                 rm -rf $tpldir~
12776                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12777                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12778               old_archive_cmds_CXX='tpldir=Template.dir~
12779                 rm -rf $tpldir~
12780                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12781                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12782                 $RANLIB $oldlib'
12783               archive_cmds_CXX='tpldir=Template.dir~
12784                 rm -rf $tpldir~
12785                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12786                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12787               archive_expsym_cmds_CXX='tpldir=Template.dir~
12788                 rm -rf $tpldir~
12789                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12790                 $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'
12791               ;;
12792             *) # Version 6 and above use weak symbols
12793               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12794               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'
12795               ;;
12796             esac
12797
12798             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12799             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12800             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'
12801             ;;
12802           cxx*)
12803             # Compaq C++
12804             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12805             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'
12806
12807             runpath_var=LD_RUN_PATH
12808             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12809             hardcode_libdir_separator_CXX=:
12810
12811             # Commands to make compiler produce verbose output that lists
12812             # what "hidden" libraries, object files and flags are used when
12813             # linking a shared library.
12814             #
12815             # There doesn't appear to be a way to prevent this compiler from
12816             # explicitly linking system object files so we need to strip them
12817             # from the output so that they don't get included in the library
12818             # dependencies.
12819             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'
12820             ;;
12821           xl* | mpixl* | bgxl*)
12822             # IBM XL 8.0 on PPC, with GNU ld
12823             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12824             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12825             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12826             if test "x$supports_anon_versioning" = xyes; then
12827               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12828                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12829                 echo "local: *; };" >> $output_objdir/$libname.ver~
12830                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12831             fi
12832             ;;
12833           *)
12834             case `$CC -V 2>&1 | sed 5q` in
12835             *Sun\ C*)
12836               # Sun C++ 5.9
12837               no_undefined_flag_CXX=' -zdefs'
12838               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12839               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'
12840               hardcode_libdir_flag_spec_CXX='-R$libdir'
12841               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'
12842               compiler_needs_object_CXX=yes
12843
12844               # Not sure whether something based on
12845               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12846               # would be better.
12847               output_verbose_link_cmd='func_echo_all'
12848
12849               # Archives containing C++ object files must be created using
12850               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12851               # necessary to make sure instantiated templates are included
12852               # in the archive.
12853               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12854               ;;
12855             esac
12856             ;;
12857         esac
12858         ;;
12859
12860       lynxos*)
12861         # FIXME: insert proper C++ library support
12862         ld_shlibs_CXX=no
12863         ;;
12864
12865       m88k*)
12866         # FIXME: insert proper C++ library support
12867         ld_shlibs_CXX=no
12868         ;;
12869
12870       mvs*)
12871         case $cc_basename in
12872           cxx*)
12873             # FIXME: insert proper C++ library support
12874             ld_shlibs_CXX=no
12875             ;;
12876           *)
12877             # FIXME: insert proper C++ library support
12878             ld_shlibs_CXX=no
12879             ;;
12880         esac
12881         ;;
12882
12883       netbsd*)
12884         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12885           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12886           wlarc=
12887           hardcode_libdir_flag_spec_CXX='-R$libdir'
12888           hardcode_direct_CXX=yes
12889           hardcode_shlibpath_var_CXX=no
12890         fi
12891         # Workaround some broken pre-1.5 toolchains
12892         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12893         ;;
12894
12895       *nto* | *qnx*)
12896         ld_shlibs_CXX=yes
12897         ;;
12898
12899       openbsd2*)
12900         # C++ shared libraries are fairly broken
12901         ld_shlibs_CXX=no
12902         ;;
12903
12904       openbsd*)
12905         if test -f /usr/libexec/ld.so; then
12906           hardcode_direct_CXX=yes
12907           hardcode_shlibpath_var_CXX=no
12908           hardcode_direct_absolute_CXX=yes
12909           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12910           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12911           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12912             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12913             export_dynamic_flag_spec_CXX='${wl}-E'
12914             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12915           fi
12916           output_verbose_link_cmd=func_echo_all
12917         else
12918           ld_shlibs_CXX=no
12919         fi
12920         ;;
12921
12922       osf3* | osf4* | osf5*)
12923         case $cc_basename in
12924           KCC*)
12925             # Kuck and Associates, Inc. (KAI) C++ Compiler
12926
12927             # KCC will only create a shared library if the output file
12928             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12929             # to its proper name (with version) after linking.
12930             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'
12931
12932             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12933             hardcode_libdir_separator_CXX=:
12934
12935             # Archives containing C++ object files must be created using
12936             # the KAI C++ compiler.
12937             case $host in
12938               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12939               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12940             esac
12941             ;;
12942           RCC*)
12943             # Rational C++ 2.4.1
12944             # FIXME: insert proper C++ library support
12945             ld_shlibs_CXX=no
12946             ;;
12947           cxx*)
12948             case $host in
12949               osf3*)
12950                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12951                 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'
12952                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12953                 ;;
12954               *)
12955                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12956                 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'
12957                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12958                   echo "-hidden">> $lib.exp~
12959                   $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~
12960                   $RM $lib.exp'
12961                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12962                 ;;
12963             esac
12964
12965             hardcode_libdir_separator_CXX=:
12966
12967             # Commands to make compiler produce verbose output that lists
12968             # what "hidden" libraries, object files and flags are used when
12969             # linking a shared library.
12970             #
12971             # There doesn't appear to be a way to prevent this compiler from
12972             # explicitly linking system object files so we need to strip them
12973             # from the output so that they don't get included in the library
12974             # dependencies.
12975             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"'
12976             ;;
12977           *)
12978             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12979               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12980               case $host in
12981                 osf3*)
12982                   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'
12983                   ;;
12984                 *)
12985                   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'
12986                   ;;
12987               esac
12988
12989               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12990               hardcode_libdir_separator_CXX=:
12991
12992               # Commands to make compiler produce verbose output that lists
12993               # what "hidden" libraries, object files and flags are used when
12994               # linking a shared library.
12995               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12996
12997             else
12998               # FIXME: insert proper C++ library support
12999               ld_shlibs_CXX=no
13000             fi
13001             ;;
13002         esac
13003         ;;
13004
13005       psos*)
13006         # FIXME: insert proper C++ library support
13007         ld_shlibs_CXX=no
13008         ;;
13009
13010       sunos4*)
13011         case $cc_basename in
13012           CC*)
13013             # Sun C++ 4.x
13014             # FIXME: insert proper C++ library support
13015             ld_shlibs_CXX=no
13016             ;;
13017           lcc*)
13018             # Lucid
13019             # FIXME: insert proper C++ library support
13020             ld_shlibs_CXX=no
13021             ;;
13022           *)
13023             # FIXME: insert proper C++ library support
13024             ld_shlibs_CXX=no
13025             ;;
13026         esac
13027         ;;
13028
13029       solaris*)
13030         case $cc_basename in
13031           CC*)
13032             # Sun C++ 4.2, 5.x and Centerline C++
13033             archive_cmds_need_lc_CXX=yes
13034             no_undefined_flag_CXX=' -zdefs'
13035             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13036             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13037               $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'
13038
13039             hardcode_libdir_flag_spec_CXX='-R$libdir'
13040             hardcode_shlibpath_var_CXX=no
13041             case $host_os in
13042               solaris2.[0-5] | solaris2.[0-5].*) ;;
13043               *)
13044                 # The compiler driver will combine and reorder linker options,
13045                 # but understands `-z linker_flag'.
13046                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13047                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13048                 ;;
13049             esac
13050             link_all_deplibs_CXX=yes
13051
13052             output_verbose_link_cmd='func_echo_all'
13053
13054             # Archives containing C++ object files must be created using
13055             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13056             # necessary to make sure instantiated templates are included
13057             # in the archive.
13058             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13059             ;;
13060           gcx*)
13061             # Green Hills C++ Compiler
13062             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13063
13064             # The C++ compiler must be used to create the archive.
13065             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13066             ;;
13067           *)
13068             # GNU C++ compiler with Solaris linker
13069             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13070               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13071               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13072                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13073                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13074                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13075
13076                 # Commands to make compiler produce verbose output that lists
13077                 # what "hidden" libraries, object files and flags are used when
13078                 # linking a shared library.
13079                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13080               else
13081                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13082                 # platform.
13083                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13084                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13085                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13086
13087                 # Commands to make compiler produce verbose output that lists
13088                 # what "hidden" libraries, object files and flags are used when
13089                 # linking a shared library.
13090                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13091               fi
13092
13093               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13094               case $host_os in
13095                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13096                 *)
13097                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13098                   ;;
13099               esac
13100             fi
13101             ;;
13102         esac
13103         ;;
13104
13105     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13106       no_undefined_flag_CXX='${wl}-z,text'
13107       archive_cmds_need_lc_CXX=no
13108       hardcode_shlibpath_var_CXX=no
13109       runpath_var='LD_RUN_PATH'
13110
13111       case $cc_basename in
13112         CC*)
13113           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13114           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13115           ;;
13116         *)
13117           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13118           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13119           ;;
13120       esac
13121       ;;
13122
13123       sysv5* | sco3.2v5* | sco5v6*)
13124         # Note: We can NOT use -z defs as we might desire, because we do not
13125         # link with -lc, and that would cause any symbols used from libc to
13126         # always be unresolved, which means just about no library would
13127         # ever link correctly.  If we're not using GNU ld we use -z text
13128         # though, which does catch some bad symbols but isn't as heavy-handed
13129         # as -z defs.
13130         no_undefined_flag_CXX='${wl}-z,text'
13131         allow_undefined_flag_CXX='${wl}-z,nodefs'
13132         archive_cmds_need_lc_CXX=no
13133         hardcode_shlibpath_var_CXX=no
13134         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13135         hardcode_libdir_separator_CXX=':'
13136         link_all_deplibs_CXX=yes
13137         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13138         runpath_var='LD_RUN_PATH'
13139
13140         case $cc_basename in
13141           CC*)
13142             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13144             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13145               '"$old_archive_cmds_CXX"
13146             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13147               '"$reload_cmds_CXX"
13148             ;;
13149           *)
13150             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13151             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13152             ;;
13153         esac
13154       ;;
13155
13156       tandem*)
13157         case $cc_basename in
13158           NCC*)
13159             # NonStop-UX NCC 3.20
13160             # FIXME: insert proper C++ library support
13161             ld_shlibs_CXX=no
13162             ;;
13163           *)
13164             # FIXME: insert proper C++ library support
13165             ld_shlibs_CXX=no
13166             ;;
13167         esac
13168         ;;
13169
13170       vxworks*)
13171         # FIXME: insert proper C++ library support
13172         ld_shlibs_CXX=no
13173         ;;
13174
13175       *)
13176         # FIXME: insert proper C++ library support
13177         ld_shlibs_CXX=no
13178         ;;
13179     esac
13180
13181     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13182 $as_echo "$ld_shlibs_CXX" >&6; }
13183     test "$ld_shlibs_CXX" = no && can_build_shared=no
13184
13185     GCC_CXX="$GXX"
13186     LD_CXX="$LD"
13187
13188     ## CAVEAT EMPTOR:
13189     ## There is no encapsulation within the following macros, do not change
13190     ## the running order or otherwise move them around unless you know exactly
13191     ## what you are doing...
13192     # Dependencies to place before and after the object being linked:
13193 predep_objects_CXX=
13194 postdep_objects_CXX=
13195 predeps_CXX=
13196 postdeps_CXX=
13197 compiler_lib_search_path_CXX=
13198
13199 cat > conftest.$ac_ext <<_LT_EOF
13200 class Foo
13201 {
13202 public:
13203   Foo (void) { a = 0; }
13204 private:
13205   int a;
13206 };
13207 _LT_EOF
13208
13209 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13210   (eval $ac_compile) 2>&5
13211   ac_status=$?
13212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13213   test $ac_status = 0; }; then
13214   # Parse the compiler output and extract the necessary
13215   # objects, libraries and library flags.
13216
13217   # Sentinel used to keep track of whether or not we are before
13218   # the conftest object file.
13219   pre_test_object_deps_done=no
13220
13221   for p in `eval "$output_verbose_link_cmd"`; do
13222     case $p in
13223
13224     -L* | -R* | -l*)
13225        # Some compilers place space between "-{L,R}" and the path.
13226        # Remove the space.
13227        if test $p = "-L" ||
13228           test $p = "-R"; then
13229          prev=$p
13230          continue
13231        else
13232          prev=
13233        fi
13234
13235        if test "$pre_test_object_deps_done" = no; then
13236          case $p in
13237          -L* | -R*)
13238            # Internal compiler library paths should come after those
13239            # provided the user.  The postdeps already come after the
13240            # user supplied libs so there is no need to process them.
13241            if test -z "$compiler_lib_search_path_CXX"; then
13242              compiler_lib_search_path_CXX="${prev}${p}"
13243            else
13244              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13245            fi
13246            ;;
13247          # The "-l" case would never come before the object being
13248          # linked, so don't bother handling this case.
13249          esac
13250        else
13251          if test -z "$postdeps_CXX"; then
13252            postdeps_CXX="${prev}${p}"
13253          else
13254            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13255          fi
13256        fi
13257        ;;
13258
13259     *.$objext)
13260        # This assumes that the test object file only shows up
13261        # once in the compiler output.
13262        if test "$p" = "conftest.$objext"; then
13263          pre_test_object_deps_done=yes
13264          continue
13265        fi
13266
13267        if test "$pre_test_object_deps_done" = no; then
13268          if test -z "$predep_objects_CXX"; then
13269            predep_objects_CXX="$p"
13270          else
13271            predep_objects_CXX="$predep_objects_CXX $p"
13272          fi
13273        else
13274          if test -z "$postdep_objects_CXX"; then
13275            postdep_objects_CXX="$p"
13276          else
13277            postdep_objects_CXX="$postdep_objects_CXX $p"
13278          fi
13279        fi
13280        ;;
13281
13282     *) ;; # Ignore the rest.
13283
13284     esac
13285   done
13286
13287   # Clean up.
13288   rm -f a.out a.exe
13289 else
13290   echo "libtool.m4: error: problem compiling CXX test program"
13291 fi
13292
13293 $RM -f confest.$objext
13294
13295 # PORTME: override above test on systems where it is broken
13296 case $host_os in
13297 interix[3-9]*)
13298   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13299   # hack all around it, let's just trust "g++" to DTRT.
13300   predep_objects_CXX=
13301   postdep_objects_CXX=
13302   postdeps_CXX=
13303   ;;
13304
13305 linux*)
13306   case `$CC -V 2>&1 | sed 5q` in
13307   *Sun\ C*)
13308     # Sun C++ 5.9
13309
13310     # The more standards-conforming stlport4 library is
13311     # incompatible with the Cstd library. Avoid specifying
13312     # it if it's in CXXFLAGS. Ignore libCrun as
13313     # -library=stlport4 depends on it.
13314     case " $CXX $CXXFLAGS " in
13315     *" -library=stlport4 "*)
13316       solaris_use_stlport4=yes
13317       ;;
13318     esac
13319
13320     if test "$solaris_use_stlport4" != yes; then
13321       postdeps_CXX='-library=Cstd -library=Crun'
13322     fi
13323     ;;
13324   esac
13325   ;;
13326
13327 solaris*)
13328   case $cc_basename in
13329   CC*)
13330     # The more standards-conforming stlport4 library is
13331     # incompatible with the Cstd library. Avoid specifying
13332     # it if it's in CXXFLAGS. Ignore libCrun as
13333     # -library=stlport4 depends on it.
13334     case " $CXX $CXXFLAGS " in
13335     *" -library=stlport4 "*)
13336       solaris_use_stlport4=yes
13337       ;;
13338     esac
13339
13340     # Adding this requires a known-good setup of shared libraries for
13341     # Sun compiler versions before 5.6, else PIC objects from an old
13342     # archive will be linked into the output, leading to subtle bugs.
13343     if test "$solaris_use_stlport4" != yes; then
13344       postdeps_CXX='-library=Cstd -library=Crun'
13345     fi
13346     ;;
13347   esac
13348   ;;
13349 esac
13350
13351
13352 case " $postdeps_CXX " in
13353 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13354 esac
13355  compiler_lib_search_dirs_CXX=
13356 if test -n "${compiler_lib_search_path_CXX}"; then
13357  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13358 fi
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
13389
13390     lt_prog_compiler_wl_CXX=
13391 lt_prog_compiler_pic_CXX=
13392 lt_prog_compiler_static_CXX=
13393
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13395 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13396
13397   # C++ specific cases for pic, static, wl, etc.
13398   if test "$GXX" = yes; then
13399     lt_prog_compiler_wl_CXX='-Wl,'
13400     lt_prog_compiler_static_CXX='-static'
13401
13402     case $host_os in
13403     aix*)
13404       # All AIX code is PIC.
13405       if test "$host_cpu" = ia64; then
13406         # AIX 5 now supports IA64 processor
13407         lt_prog_compiler_static_CXX='-Bstatic'
13408       fi
13409       ;;
13410
13411     amigaos*)
13412       case $host_cpu in
13413       powerpc)
13414             # see comment about AmigaOS4 .so support
13415             lt_prog_compiler_pic_CXX='-fPIC'
13416         ;;
13417       m68k)
13418             # FIXME: we need at least 68020 code to build shared libraries, but
13419             # adding the `-m68020' flag to GCC prevents building anything better,
13420             # like `-m68040'.
13421             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13422         ;;
13423       esac
13424       ;;
13425
13426     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13427       # PIC is the default for these OSes.
13428       ;;
13429     mingw* | cygwin* | os2* | pw32* | cegcc*)
13430       # This hack is so that the source file can tell whether it is being
13431       # built for inclusion in a dll (and should export symbols for example).
13432       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13433       # (--disable-auto-import) libraries
13434       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13435       ;;
13436     darwin* | rhapsody*)
13437       # PIC is the default on this platform
13438       # Common symbols not allowed in MH_DYLIB files
13439       lt_prog_compiler_pic_CXX='-fno-common'
13440       ;;
13441     *djgpp*)
13442       # DJGPP does not support shared libraries at all
13443       lt_prog_compiler_pic_CXX=
13444       ;;
13445     haiku*)
13446       # PIC is the default for Haiku.
13447       # The "-static" flag exists, but is broken.
13448       lt_prog_compiler_static_CXX=
13449       ;;
13450     interix[3-9]*)
13451       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13452       # Instead, we relocate shared libraries at runtime.
13453       ;;
13454     sysv4*MP*)
13455       if test -d /usr/nec; then
13456         lt_prog_compiler_pic_CXX=-Kconform_pic
13457       fi
13458       ;;
13459     hpux*)
13460       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13461       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13462       # sets the default TLS model and affects inlining.
13463       case $host_cpu in
13464       hppa*64*)
13465         ;;
13466       *)
13467         lt_prog_compiler_pic_CXX='-fPIC'
13468         ;;
13469       esac
13470       ;;
13471     *qnx* | *nto*)
13472       # QNX uses GNU C++, but need to define -shared option too, otherwise
13473       # it will coredump.
13474       lt_prog_compiler_pic_CXX='-fPIC -shared'
13475       ;;
13476     *)
13477       lt_prog_compiler_pic_CXX='-fPIC'
13478       ;;
13479     esac
13480   else
13481     case $host_os in
13482       aix[4-9]*)
13483         # All AIX code is PIC.
13484         if test "$host_cpu" = ia64; then
13485           # AIX 5 now supports IA64 processor
13486           lt_prog_compiler_static_CXX='-Bstatic'
13487         else
13488           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13489         fi
13490         ;;
13491       chorus*)
13492         case $cc_basename in
13493         cxch68*)
13494           # Green Hills C++ Compiler
13495           # _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"
13496           ;;
13497         esac
13498         ;;
13499       dgux*)
13500         case $cc_basename in
13501           ec++*)
13502             lt_prog_compiler_pic_CXX='-KPIC'
13503             ;;
13504           ghcx*)
13505             # Green Hills C++ Compiler
13506             lt_prog_compiler_pic_CXX='-pic'
13507             ;;
13508           *)
13509             ;;
13510         esac
13511         ;;
13512       freebsd* | dragonfly*)
13513         # FreeBSD uses GNU C++
13514         ;;
13515       hpux9* | hpux10* | hpux11*)
13516         case $cc_basename in
13517           CC*)
13518             lt_prog_compiler_wl_CXX='-Wl,'
13519             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13520             if test "$host_cpu" != ia64; then
13521               lt_prog_compiler_pic_CXX='+Z'
13522             fi
13523             ;;
13524           aCC*)
13525             lt_prog_compiler_wl_CXX='-Wl,'
13526             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13527             case $host_cpu in
13528             hppa*64*|ia64*)
13529               # +Z the default
13530               ;;
13531             *)
13532               lt_prog_compiler_pic_CXX='+Z'
13533               ;;
13534             esac
13535             ;;
13536           *)
13537             ;;
13538         esac
13539         ;;
13540       interix*)
13541         # This is c89, which is MS Visual C++ (no shared libs)
13542         # Anyone wants to do a port?
13543         ;;
13544       irix5* | irix6* | nonstopux*)
13545         case $cc_basename in
13546           CC*)
13547             lt_prog_compiler_wl_CXX='-Wl,'
13548             lt_prog_compiler_static_CXX='-non_shared'
13549             # CC pic flag -KPIC is the default.
13550             ;;
13551           *)
13552             ;;
13553         esac
13554         ;;
13555       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13556         case $cc_basename in
13557           KCC*)
13558             # KAI C++ Compiler
13559             lt_prog_compiler_wl_CXX='--backend -Wl,'
13560             lt_prog_compiler_pic_CXX='-fPIC'
13561             ;;
13562           ecpc* )
13563             # old Intel C++ for x86_64 which still supported -KPIC.
13564             lt_prog_compiler_wl_CXX='-Wl,'
13565             lt_prog_compiler_pic_CXX='-KPIC'
13566             lt_prog_compiler_static_CXX='-static'
13567             ;;
13568           icpc* )
13569             # Intel C++, used to be incompatible with GCC.
13570             # ICC 10 doesn't accept -KPIC any more.
13571             lt_prog_compiler_wl_CXX='-Wl,'
13572             lt_prog_compiler_pic_CXX='-fPIC'
13573             lt_prog_compiler_static_CXX='-static'
13574             ;;
13575           pgCC* | pgcpp*)
13576             # Portland Group C++ compiler
13577             lt_prog_compiler_wl_CXX='-Wl,'
13578             lt_prog_compiler_pic_CXX='-fpic'
13579             lt_prog_compiler_static_CXX='-Bstatic'
13580             ;;
13581           cxx*)
13582             # Compaq C++
13583             # Make sure the PIC flag is empty.  It appears that all Alpha
13584             # Linux and Compaq Tru64 Unix objects are PIC.
13585             lt_prog_compiler_pic_CXX=
13586             lt_prog_compiler_static_CXX='-non_shared'
13587             ;;
13588           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13589             # IBM XL 8.0, 9.0 on PPC and BlueGene
13590             lt_prog_compiler_wl_CXX='-Wl,'
13591             lt_prog_compiler_pic_CXX='-qpic'
13592             lt_prog_compiler_static_CXX='-qstaticlink'
13593             ;;
13594           *)
13595             case `$CC -V 2>&1 | sed 5q` in
13596             *Sun\ C*)
13597               # Sun C++ 5.9
13598               lt_prog_compiler_pic_CXX='-KPIC'
13599               lt_prog_compiler_static_CXX='-Bstatic'
13600               lt_prog_compiler_wl_CXX='-Qoption ld '
13601               ;;
13602             esac
13603             ;;
13604         esac
13605         ;;
13606       lynxos*)
13607         ;;
13608       m88k*)
13609         ;;
13610       mvs*)
13611         case $cc_basename in
13612           cxx*)
13613             lt_prog_compiler_pic_CXX='-W c,exportall'
13614             ;;
13615           *)
13616             ;;
13617         esac
13618         ;;
13619       netbsd*)
13620         ;;
13621       *qnx* | *nto*)
13622         # QNX uses GNU C++, but need to define -shared option too, otherwise
13623         # it will coredump.
13624         lt_prog_compiler_pic_CXX='-fPIC -shared'
13625         ;;
13626       osf3* | osf4* | osf5*)
13627         case $cc_basename in
13628           KCC*)
13629             lt_prog_compiler_wl_CXX='--backend -Wl,'
13630             ;;
13631           RCC*)
13632             # Rational C++ 2.4.1
13633             lt_prog_compiler_pic_CXX='-pic'
13634             ;;
13635           cxx*)
13636             # Digital/Compaq C++
13637             lt_prog_compiler_wl_CXX='-Wl,'
13638             # Make sure the PIC flag is empty.  It appears that all Alpha
13639             # Linux and Compaq Tru64 Unix objects are PIC.
13640             lt_prog_compiler_pic_CXX=
13641             lt_prog_compiler_static_CXX='-non_shared'
13642             ;;
13643           *)
13644             ;;
13645         esac
13646         ;;
13647       psos*)
13648         ;;
13649       solaris*)
13650         case $cc_basename in
13651           CC*)
13652             # Sun C++ 4.2, 5.x and Centerline C++
13653             lt_prog_compiler_pic_CXX='-KPIC'
13654             lt_prog_compiler_static_CXX='-Bstatic'
13655             lt_prog_compiler_wl_CXX='-Qoption ld '
13656             ;;
13657           gcx*)
13658             # Green Hills C++ Compiler
13659             lt_prog_compiler_pic_CXX='-PIC'
13660             ;;
13661           *)
13662             ;;
13663         esac
13664         ;;
13665       sunos4*)
13666         case $cc_basename in
13667           CC*)
13668             # Sun C++ 4.x
13669             lt_prog_compiler_pic_CXX='-pic'
13670             lt_prog_compiler_static_CXX='-Bstatic'
13671             ;;
13672           lcc*)
13673             # Lucid
13674             lt_prog_compiler_pic_CXX='-pic'
13675             ;;
13676           *)
13677             ;;
13678         esac
13679         ;;
13680       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13681         case $cc_basename in
13682           CC*)
13683             lt_prog_compiler_wl_CXX='-Wl,'
13684             lt_prog_compiler_pic_CXX='-KPIC'
13685             lt_prog_compiler_static_CXX='-Bstatic'
13686             ;;
13687         esac
13688         ;;
13689       tandem*)
13690         case $cc_basename in
13691           NCC*)
13692             # NonStop-UX NCC 3.20
13693             lt_prog_compiler_pic_CXX='-KPIC'
13694             ;;
13695           *)
13696             ;;
13697         esac
13698         ;;
13699       vxworks*)
13700         ;;
13701       *)
13702         lt_prog_compiler_can_build_shared_CXX=no
13703         ;;
13704     esac
13705   fi
13706
13707 case $host_os in
13708   # For platforms which do not support PIC, -DPIC is meaningless:
13709   *djgpp*)
13710     lt_prog_compiler_pic_CXX=
13711     ;;
13712   *)
13713     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13714     ;;
13715 esac
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13717 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13718
13719
13720
13721 #
13722 # Check to make sure the PIC flag actually works.
13723 #
13724 if test -n "$lt_prog_compiler_pic_CXX"; then
13725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13726 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13727 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13728   $as_echo_n "(cached) " >&6
13729 else
13730   lt_cv_prog_compiler_pic_works_CXX=no
13731    ac_outfile=conftest.$ac_objext
13732    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13733    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13734    # Insert the option either (1) after the last *FLAGS variable, or
13735    # (2) before a word containing "conftest.", or (3) at the end.
13736    # Note that $ac_compile itself does not contain backslashes and begins
13737    # with a dollar sign (not a hyphen), so the echo should work correctly.
13738    # The option is referenced via a variable to avoid confusing sed.
13739    lt_compile=`echo "$ac_compile" | $SED \
13740    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13741    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13742    -e 's:$: $lt_compiler_flag:'`
13743    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13744    (eval "$lt_compile" 2>conftest.err)
13745    ac_status=$?
13746    cat conftest.err >&5
13747    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748    if (exit $ac_status) && test -s "$ac_outfile"; then
13749      # The compiler can only warn and ignore the option if not recognized
13750      # So say no if there are warnings other than the usual output.
13751      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13752      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13753      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13754        lt_cv_prog_compiler_pic_works_CXX=yes
13755      fi
13756    fi
13757    $RM conftest*
13758
13759 fi
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13761 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13762
13763 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13764     case $lt_prog_compiler_pic_CXX in
13765      "" | " "*) ;;
13766      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13767      esac
13768 else
13769     lt_prog_compiler_pic_CXX=
13770      lt_prog_compiler_can_build_shared_CXX=no
13771 fi
13772
13773 fi
13774
13775
13776
13777 #
13778 # Check to make sure the static flag actually works.
13779 #
13780 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13782 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13783 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13784   $as_echo_n "(cached) " >&6
13785 else
13786   lt_cv_prog_compiler_static_works_CXX=no
13787    save_LDFLAGS="$LDFLAGS"
13788    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13789    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13790    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13791      # The linker can only warn and ignore the option if not recognized
13792      # So say no if there are warnings
13793      if test -s conftest.err; then
13794        # Append any errors to the config.log.
13795        cat conftest.err 1>&5
13796        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13797        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13798        if diff conftest.exp conftest.er2 >/dev/null; then
13799          lt_cv_prog_compiler_static_works_CXX=yes
13800        fi
13801      else
13802        lt_cv_prog_compiler_static_works_CXX=yes
13803      fi
13804    fi
13805    $RM -r conftest*
13806    LDFLAGS="$save_LDFLAGS"
13807
13808 fi
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13810 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13811
13812 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13813     :
13814 else
13815     lt_prog_compiler_static_CXX=
13816 fi
13817
13818
13819
13820
13821     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13822 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13823 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13824   $as_echo_n "(cached) " >&6
13825 else
13826   lt_cv_prog_compiler_c_o_CXX=no
13827    $RM -r conftest 2>/dev/null
13828    mkdir conftest
13829    cd conftest
13830    mkdir out
13831    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13832
13833    lt_compiler_flag="-o out/conftest2.$ac_objext"
13834    # Insert the option either (1) after the last *FLAGS variable, or
13835    # (2) before a word containing "conftest.", or (3) at the end.
13836    # Note that $ac_compile itself does not contain backslashes and begins
13837    # with a dollar sign (not a hyphen), so the echo should work correctly.
13838    lt_compile=`echo "$ac_compile" | $SED \
13839    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13840    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13841    -e 's:$: $lt_compiler_flag:'`
13842    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13843    (eval "$lt_compile" 2>out/conftest.err)
13844    ac_status=$?
13845    cat out/conftest.err >&5
13846    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13848    then
13849      # The compiler can only warn and ignore the option if not recognized
13850      # So say no if there are warnings
13851      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13852      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13853      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13854        lt_cv_prog_compiler_c_o_CXX=yes
13855      fi
13856    fi
13857    chmod u+w . 2>&5
13858    $RM conftest*
13859    # SGI C++ compiler will create directory out/ii_files/ for
13860    # template instantiation
13861    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13862    $RM out/* && rmdir out
13863    cd ..
13864    $RM -r conftest
13865    $RM conftest*
13866
13867 fi
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13869 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13870
13871
13872
13873     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13874 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13875 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13876   $as_echo_n "(cached) " >&6
13877 else
13878   lt_cv_prog_compiler_c_o_CXX=no
13879    $RM -r conftest 2>/dev/null
13880    mkdir conftest
13881    cd conftest
13882    mkdir out
13883    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13884
13885    lt_compiler_flag="-o out/conftest2.$ac_objext"
13886    # Insert the option either (1) after the last *FLAGS variable, or
13887    # (2) before a word containing "conftest.", or (3) at the end.
13888    # Note that $ac_compile itself does not contain backslashes and begins
13889    # with a dollar sign (not a hyphen), so the echo should work correctly.
13890    lt_compile=`echo "$ac_compile" | $SED \
13891    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13892    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13893    -e 's:$: $lt_compiler_flag:'`
13894    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13895    (eval "$lt_compile" 2>out/conftest.err)
13896    ac_status=$?
13897    cat out/conftest.err >&5
13898    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13900    then
13901      # The compiler can only warn and ignore the option if not recognized
13902      # So say no if there are warnings
13903      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13904      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13905      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13906        lt_cv_prog_compiler_c_o_CXX=yes
13907      fi
13908    fi
13909    chmod u+w . 2>&5
13910    $RM conftest*
13911    # SGI C++ compiler will create directory out/ii_files/ for
13912    # template instantiation
13913    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13914    $RM out/* && rmdir out
13915    cd ..
13916    $RM -r conftest
13917    $RM conftest*
13918
13919 fi
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13921 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13922
13923
13924
13925
13926 hard_links="nottested"
13927 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13928   # do not overwrite the value of need_locks provided by the user
13929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13930 $as_echo_n "checking if we can lock with hard links... " >&6; }
13931   hard_links=yes
13932   $RM conftest*
13933   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13934   touch conftest.a
13935   ln conftest.a conftest.b 2>&5 || hard_links=no
13936   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13938 $as_echo "$hard_links" >&6; }
13939   if test "$hard_links" = no; then
13940     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13941 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13942     need_locks=warn
13943   fi
13944 else
13945   need_locks=no
13946 fi
13947
13948
13949
13950     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13951 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13952
13953   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13954   case $host_os in
13955   aix[4-9]*)
13956     # If we're using GNU nm, then we don't want the "-C" option.
13957     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13958     # Also, AIX nm treats weak defined symbols like other global defined
13959     # symbols, whereas GNU nm marks them as "W".
13960     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13961       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'
13962     else
13963       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'
13964     fi
13965     ;;
13966   pw32*)
13967     export_symbols_cmds_CXX="$ltdll_cmds"
13968   ;;
13969   cygwin* | mingw* | cegcc*)
13970     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'
13971   ;;
13972   *)
13973     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13974   ;;
13975   esac
13976   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13977
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13979 $as_echo "$ld_shlibs_CXX" >&6; }
13980 test "$ld_shlibs_CXX" = no && can_build_shared=no
13981
13982 with_gnu_ld_CXX=$with_gnu_ld
13983
13984
13985
13986
13987
13988
13989 #
13990 # Do we need to explicitly link libc?
13991 #
13992 case "x$archive_cmds_need_lc_CXX" in
13993 x|xyes)
13994   # Assume -lc should be added
13995   archive_cmds_need_lc_CXX=yes
13996
13997   if test "$enable_shared" = yes && test "$GCC" = yes; then
13998     case $archive_cmds_CXX in
13999     *'~'*)
14000       # FIXME: we may have to deal with multi-command sequences.
14001       ;;
14002     '$CC '*)
14003       # Test whether the compiler implicitly links with -lc since on some
14004       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14005       # to ld, don't add -lc before -lgcc.
14006       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14007 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14008 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14009   $as_echo_n "(cached) " >&6
14010 else
14011   $RM conftest*
14012         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14013
14014         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14015   (eval $ac_compile) 2>&5
14016   ac_status=$?
14017   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14018   test $ac_status = 0; } 2>conftest.err; then
14019           soname=conftest
14020           lib=conftest
14021           libobjs=conftest.$ac_objext
14022           deplibs=
14023           wl=$lt_prog_compiler_wl_CXX
14024           pic_flag=$lt_prog_compiler_pic_CXX
14025           compiler_flags=-v
14026           linker_flags=-v
14027           verstring=
14028           output_objdir=.
14029           libname=conftest
14030           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14031           allow_undefined_flag_CXX=
14032           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14033   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14034   ac_status=$?
14035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14036   test $ac_status = 0; }
14037           then
14038             lt_cv_archive_cmds_need_lc_CXX=no
14039           else
14040             lt_cv_archive_cmds_need_lc_CXX=yes
14041           fi
14042           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14043         else
14044           cat conftest.err 1>&5
14045         fi
14046         $RM conftest*
14047
14048 fi
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14050 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14051       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14052       ;;
14053     esac
14054   fi
14055   ;;
14056 esac
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
14120
14121     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14122 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14123
14124 library_names_spec=
14125 libname_spec='lib$name'
14126 soname_spec=
14127 shrext_cmds=".so"
14128 postinstall_cmds=
14129 postuninstall_cmds=
14130 finish_cmds=
14131 finish_eval=
14132 shlibpath_var=
14133 shlibpath_overrides_runpath=unknown
14134 version_type=none
14135 dynamic_linker="$host_os ld.so"
14136 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14137 need_lib_prefix=unknown
14138 hardcode_into_libs=no
14139
14140 # when you set need_version to no, make sure it does not cause -set_version
14141 # flags to be left without arguments
14142 need_version=unknown
14143
14144 case $host_os in
14145 aix3*)
14146   version_type=linux
14147   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14148   shlibpath_var=LIBPATH
14149
14150   # AIX 3 has no versioning support, so we append a major version to the name.
14151   soname_spec='${libname}${release}${shared_ext}$major'
14152   ;;
14153
14154 aix[4-9]*)
14155   version_type=linux
14156   need_lib_prefix=no
14157   need_version=no
14158   hardcode_into_libs=yes
14159   if test "$host_cpu" = ia64; then
14160     # AIX 5 supports IA64
14161     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14162     shlibpath_var=LD_LIBRARY_PATH
14163   else
14164     # With GCC up to 2.95.x, collect2 would create an import file
14165     # for dependence libraries.  The import file would start with
14166     # the line `#! .'.  This would cause the generated library to
14167     # depend on `.', always an invalid library.  This was fixed in
14168     # development snapshots of GCC prior to 3.0.
14169     case $host_os in
14170       aix4 | aix4.[01] | aix4.[01].*)
14171       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14172            echo ' yes '
14173            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14174         :
14175       else
14176         can_build_shared=no
14177       fi
14178       ;;
14179     esac
14180     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14181     # soname into executable. Probably we can add versioning support to
14182     # collect2, so additional links can be useful in future.
14183     if test "$aix_use_runtimelinking" = yes; then
14184       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14185       # instead of lib<name>.a to let people know that these are not
14186       # typical AIX shared libraries.
14187       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14188     else
14189       # We preserve .a as extension for shared libraries through AIX4.2
14190       # and later when we are not doing run time linking.
14191       library_names_spec='${libname}${release}.a $libname.a'
14192       soname_spec='${libname}${release}${shared_ext}$major'
14193     fi
14194     shlibpath_var=LIBPATH
14195   fi
14196   ;;
14197
14198 amigaos*)
14199   case $host_cpu in
14200   powerpc)
14201     # Since July 2007 AmigaOS4 officially supports .so libraries.
14202     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14203     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14204     ;;
14205   m68k)
14206     library_names_spec='$libname.ixlibrary $libname.a'
14207     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14208     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'
14209     ;;
14210   esac
14211   ;;
14212
14213 beos*)
14214   library_names_spec='${libname}${shared_ext}'
14215   dynamic_linker="$host_os ld.so"
14216   shlibpath_var=LIBRARY_PATH
14217   ;;
14218
14219 bsdi[45]*)
14220   version_type=linux
14221   need_version=no
14222   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14223   soname_spec='${libname}${release}${shared_ext}$major'
14224   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14225   shlibpath_var=LD_LIBRARY_PATH
14226   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14227   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14228   # the default ld.so.conf also contains /usr/contrib/lib and
14229   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14230   # libtool to hard-code these into programs
14231   ;;
14232
14233 cygwin* | mingw* | pw32* | cegcc*)
14234   version_type=windows
14235   shrext_cmds=".dll"
14236   need_version=no
14237   need_lib_prefix=no
14238
14239   case $GCC,$host_os in
14240   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14241     library_names_spec='$libname.dll.a'
14242     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14243     postinstall_cmds='base_file=`basename \${file}`~
14244       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14245       dldir=$destdir/`dirname \$dlpath`~
14246       test -d \$dldir || mkdir -p \$dldir~
14247       $install_prog $dir/$dlname \$dldir/$dlname~
14248       chmod a+x \$dldir/$dlname~
14249       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14250         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14251       fi'
14252     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14253       dlpath=$dir/\$dldll~
14254        $RM \$dlpath'
14255     shlibpath_overrides_runpath=yes
14256
14257     case $host_os in
14258     cygwin*)
14259       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14260       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14261
14262       ;;
14263     mingw* | cegcc*)
14264       # MinGW DLLs use traditional 'lib' prefix
14265       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14266       ;;
14267     pw32*)
14268       # pw32 DLLs use 'pw' prefix rather than 'lib'
14269       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14270       ;;
14271     esac
14272     ;;
14273
14274   *)
14275     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14276     ;;
14277   esac
14278   dynamic_linker='Win32 ld.exe'
14279   # FIXME: first we should search . and the directory the executable is in
14280   shlibpath_var=PATH
14281   ;;
14282
14283 darwin* | rhapsody*)
14284   dynamic_linker="$host_os dyld"
14285   version_type=darwin
14286   need_lib_prefix=no
14287   need_version=no
14288   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14289   soname_spec='${libname}${release}${major}$shared_ext'
14290   shlibpath_overrides_runpath=yes
14291   shlibpath_var=DYLD_LIBRARY_PATH
14292   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14293
14294   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14295   ;;
14296
14297 dgux*)
14298   version_type=linux
14299   need_lib_prefix=no
14300   need_version=no
14301   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14302   soname_spec='${libname}${release}${shared_ext}$major'
14303   shlibpath_var=LD_LIBRARY_PATH
14304   ;;
14305
14306 freebsd* | dragonfly*)
14307   # DragonFly does not have aout.  When/if they implement a new
14308   # versioning mechanism, adjust this.
14309   if test -x /usr/bin/objformat; then
14310     objformat=`/usr/bin/objformat`
14311   else
14312     case $host_os in
14313     freebsd[23].*) objformat=aout ;;
14314     *) objformat=elf ;;
14315     esac
14316   fi
14317   version_type=freebsd-$objformat
14318   case $version_type in
14319     freebsd-elf*)
14320       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14321       need_version=no
14322       need_lib_prefix=no
14323       ;;
14324     freebsd-*)
14325       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14326       need_version=yes
14327       ;;
14328   esac
14329   shlibpath_var=LD_LIBRARY_PATH
14330   case $host_os in
14331   freebsd2.*)
14332     shlibpath_overrides_runpath=yes
14333     ;;
14334   freebsd3.[01]* | freebsdelf3.[01]*)
14335     shlibpath_overrides_runpath=yes
14336     hardcode_into_libs=yes
14337     ;;
14338   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14339   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14340     shlibpath_overrides_runpath=no
14341     hardcode_into_libs=yes
14342     ;;
14343   *) # from 4.6 on, and DragonFly
14344     shlibpath_overrides_runpath=yes
14345     hardcode_into_libs=yes
14346     ;;
14347   esac
14348   ;;
14349
14350 gnu*)
14351   version_type=linux
14352   need_lib_prefix=no
14353   need_version=no
14354   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14355   soname_spec='${libname}${release}${shared_ext}$major'
14356   shlibpath_var=LD_LIBRARY_PATH
14357   hardcode_into_libs=yes
14358   ;;
14359
14360 haiku*)
14361   version_type=linux
14362   need_lib_prefix=no
14363   need_version=no
14364   dynamic_linker="$host_os runtime_loader"
14365   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14366   soname_spec='${libname}${release}${shared_ext}$major'
14367   shlibpath_var=LIBRARY_PATH
14368   shlibpath_overrides_runpath=yes
14369   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14370   hardcode_into_libs=yes
14371   ;;
14372
14373 hpux9* | hpux10* | hpux11*)
14374   # Give a soname corresponding to the major version so that dld.sl refuses to
14375   # link against other versions.
14376   version_type=sunos
14377   need_lib_prefix=no
14378   need_version=no
14379   case $host_cpu in
14380   ia64*)
14381     shrext_cmds='.so'
14382     hardcode_into_libs=yes
14383     dynamic_linker="$host_os dld.so"
14384     shlibpath_var=LD_LIBRARY_PATH
14385     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14386     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14387     soname_spec='${libname}${release}${shared_ext}$major'
14388     if test "X$HPUX_IA64_MODE" = X32; then
14389       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14390     else
14391       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14392     fi
14393     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14394     ;;
14395   hppa*64*)
14396     shrext_cmds='.sl'
14397     hardcode_into_libs=yes
14398     dynamic_linker="$host_os dld.sl"
14399     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14400     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14401     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14402     soname_spec='${libname}${release}${shared_ext}$major'
14403     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14404     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14405     ;;
14406   *)
14407     shrext_cmds='.sl'
14408     dynamic_linker="$host_os dld.sl"
14409     shlibpath_var=SHLIB_PATH
14410     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14411     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14412     soname_spec='${libname}${release}${shared_ext}$major'
14413     ;;
14414   esac
14415   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14416   postinstall_cmds='chmod 555 $lib'
14417   # or fails outright, so override atomically:
14418   install_override_mode=555
14419   ;;
14420
14421 interix[3-9]*)
14422   version_type=linux
14423   need_lib_prefix=no
14424   need_version=no
14425   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14426   soname_spec='${libname}${release}${shared_ext}$major'
14427   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14428   shlibpath_var=LD_LIBRARY_PATH
14429   shlibpath_overrides_runpath=no
14430   hardcode_into_libs=yes
14431   ;;
14432
14433 irix5* | irix6* | nonstopux*)
14434   case $host_os in
14435     nonstopux*) version_type=nonstopux ;;
14436     *)
14437         if test "$lt_cv_prog_gnu_ld" = yes; then
14438                 version_type=linux
14439         else
14440                 version_type=irix
14441         fi ;;
14442   esac
14443   need_lib_prefix=no
14444   need_version=no
14445   soname_spec='${libname}${release}${shared_ext}$major'
14446   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14447   case $host_os in
14448   irix5* | nonstopux*)
14449     libsuff= shlibsuff=
14450     ;;
14451   *)
14452     case $LD in # libtool.m4 will add one of these switches to LD
14453     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14454       libsuff= shlibsuff= libmagic=32-bit;;
14455     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14456       libsuff=32 shlibsuff=N32 libmagic=N32;;
14457     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14458       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14459     *) libsuff= shlibsuff= libmagic=never-match;;
14460     esac
14461     ;;
14462   esac
14463   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14464   shlibpath_overrides_runpath=no
14465   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14466   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14467   hardcode_into_libs=yes
14468   ;;
14469
14470 # No shared lib support for Linux oldld, aout, or coff.
14471 linux*oldld* | linux*aout* | linux*coff*)
14472   dynamic_linker=no
14473   ;;
14474
14475 # This must be Linux ELF.
14476 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14477   version_type=linux
14478   need_lib_prefix=no
14479   need_version=no
14480   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14481   soname_spec='${libname}${release}${shared_ext}$major'
14482   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14483   shlibpath_var=LD_LIBRARY_PATH
14484   shlibpath_overrides_runpath=no
14485
14486   # Some binutils ld are patched to set DT_RUNPATH
14487   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14488   $as_echo_n "(cached) " >&6
14489 else
14490   lt_cv_shlibpath_overrides_runpath=no
14491     save_LDFLAGS=$LDFLAGS
14492     save_libdir=$libdir
14493     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14494          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14495     if test x$gcc_no_link = xyes; then
14496   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14497 fi
14498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h.  */
14500
14501 int
14502 main ()
14503 {
14504
14505   ;
14506   return 0;
14507 }
14508 _ACEOF
14509 if ac_fn_cxx_try_link "$LINENO"; then :
14510   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14511   lt_cv_shlibpath_overrides_runpath=yes
14512 fi
14513 fi
14514 rm -f core conftest.err conftest.$ac_objext \
14515     conftest$ac_exeext conftest.$ac_ext
14516     LDFLAGS=$save_LDFLAGS
14517     libdir=$save_libdir
14518
14519 fi
14520
14521   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14522
14523   # This implies no fast_install, which is unacceptable.
14524   # Some rework will be needed to allow for fast_install
14525   # before this can be enabled.
14526   hardcode_into_libs=yes
14527
14528   # Append ld.so.conf contents to the search path
14529   if test -f /etc/ld.so.conf; then
14530     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' ' '`
14531     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14532   fi
14533
14534   # We used to test for /lib/ld.so.1 and disable shared libraries on
14535   # powerpc, because MkLinux only supported shared libraries with the
14536   # GNU dynamic linker.  Since this was broken with cross compilers,
14537   # most powerpc-linux boxes support dynamic linking these days and
14538   # people can always --disable-shared, the test was removed, and we
14539   # assume the GNU/Linux dynamic linker is in use.
14540   dynamic_linker='GNU/Linux ld.so'
14541   ;;
14542
14543 netbsd*)
14544   version_type=sunos
14545   need_lib_prefix=no
14546   need_version=no
14547   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14548     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14549     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14550     dynamic_linker='NetBSD (a.out) ld.so'
14551   else
14552     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14553     soname_spec='${libname}${release}${shared_ext}$major'
14554     dynamic_linker='NetBSD ld.elf_so'
14555   fi
14556   shlibpath_var=LD_LIBRARY_PATH
14557   shlibpath_overrides_runpath=yes
14558   hardcode_into_libs=yes
14559   ;;
14560
14561 newsos6)
14562   version_type=linux
14563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14564   shlibpath_var=LD_LIBRARY_PATH
14565   shlibpath_overrides_runpath=yes
14566   ;;
14567
14568 *nto* | *qnx*)
14569   version_type=qnx
14570   need_lib_prefix=no
14571   need_version=no
14572   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14573   soname_spec='${libname}${release}${shared_ext}$major'
14574   shlibpath_var=LD_LIBRARY_PATH
14575   shlibpath_overrides_runpath=no
14576   hardcode_into_libs=yes
14577   dynamic_linker='ldqnx.so'
14578   ;;
14579
14580 openbsd*)
14581   version_type=sunos
14582   sys_lib_dlsearch_path_spec="/usr/lib"
14583   need_lib_prefix=no
14584   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14585   case $host_os in
14586     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14587     *)                          need_version=no  ;;
14588   esac
14589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14590   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14591   shlibpath_var=LD_LIBRARY_PATH
14592   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14593     case $host_os in
14594       openbsd2.[89] | openbsd2.[89].*)
14595         shlibpath_overrides_runpath=no
14596         ;;
14597       *)
14598         shlibpath_overrides_runpath=yes
14599         ;;
14600       esac
14601   else
14602     shlibpath_overrides_runpath=yes
14603   fi
14604   ;;
14605
14606 os2*)
14607   libname_spec='$name'
14608   shrext_cmds=".dll"
14609   need_lib_prefix=no
14610   library_names_spec='$libname${shared_ext} $libname.a'
14611   dynamic_linker='OS/2 ld.exe'
14612   shlibpath_var=LIBPATH
14613   ;;
14614
14615 osf3* | osf4* | osf5*)
14616   version_type=osf
14617   need_lib_prefix=no
14618   need_version=no
14619   soname_spec='${libname}${release}${shared_ext}$major'
14620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14621   shlibpath_var=LD_LIBRARY_PATH
14622   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14623   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14624   ;;
14625
14626 rdos*)
14627   dynamic_linker=no
14628   ;;
14629
14630 solaris*)
14631   version_type=linux
14632   need_lib_prefix=no
14633   need_version=no
14634   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14635   soname_spec='${libname}${release}${shared_ext}$major'
14636   shlibpath_var=LD_LIBRARY_PATH
14637   shlibpath_overrides_runpath=yes
14638   hardcode_into_libs=yes
14639   # ldd complains unless libraries are executable
14640   postinstall_cmds='chmod +x $lib'
14641   ;;
14642
14643 sunos4*)
14644   version_type=sunos
14645   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14646   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14647   shlibpath_var=LD_LIBRARY_PATH
14648   shlibpath_overrides_runpath=yes
14649   if test "$with_gnu_ld" = yes; then
14650     need_lib_prefix=no
14651   fi
14652   need_version=yes
14653   ;;
14654
14655 sysv4 | sysv4.3*)
14656   version_type=linux
14657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14658   soname_spec='${libname}${release}${shared_ext}$major'
14659   shlibpath_var=LD_LIBRARY_PATH
14660   case $host_vendor in
14661     sni)
14662       shlibpath_overrides_runpath=no
14663       need_lib_prefix=no
14664       runpath_var=LD_RUN_PATH
14665       ;;
14666     siemens)
14667       need_lib_prefix=no
14668       ;;
14669     motorola)
14670       need_lib_prefix=no
14671       need_version=no
14672       shlibpath_overrides_runpath=no
14673       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14674       ;;
14675   esac
14676   ;;
14677
14678 sysv4*MP*)
14679   if test -d /usr/nec ;then
14680     version_type=linux
14681     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14682     soname_spec='$libname${shared_ext}.$major'
14683     shlibpath_var=LD_LIBRARY_PATH
14684   fi
14685   ;;
14686
14687 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14688   version_type=freebsd-elf
14689   need_lib_prefix=no
14690   need_version=no
14691   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14692   soname_spec='${libname}${release}${shared_ext}$major'
14693   shlibpath_var=LD_LIBRARY_PATH
14694   shlibpath_overrides_runpath=yes
14695   hardcode_into_libs=yes
14696   if test "$with_gnu_ld" = yes; then
14697     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14698   else
14699     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14700     case $host_os in
14701       sco3.2v5*)
14702         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14703         ;;
14704     esac
14705   fi
14706   sys_lib_dlsearch_path_spec='/usr/lib'
14707   ;;
14708
14709 tpf*)
14710   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14711   version_type=linux
14712   need_lib_prefix=no
14713   need_version=no
14714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14715   shlibpath_var=LD_LIBRARY_PATH
14716   shlibpath_overrides_runpath=no
14717   hardcode_into_libs=yes
14718   ;;
14719
14720 uts4*)
14721   version_type=linux
14722   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14723   soname_spec='${libname}${release}${shared_ext}$major'
14724   shlibpath_var=LD_LIBRARY_PATH
14725   ;;
14726
14727 *)
14728   dynamic_linker=no
14729   ;;
14730 esac
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14732 $as_echo "$dynamic_linker" >&6; }
14733 test "$dynamic_linker" = no && can_build_shared=no
14734
14735 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14736 if test "$GCC" = yes; then
14737   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14738 fi
14739
14740 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14741   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14742 fi
14743 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14744   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14745 fi
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
14783
14784     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14785 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14786 hardcode_action_CXX=
14787 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14788    test -n "$runpath_var_CXX" ||
14789    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14790
14791   # We can hardcode non-existent directories.
14792   if test "$hardcode_direct_CXX" != no &&
14793      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14794      # have to relink, otherwise we might link with an installed library
14795      # when we should be linking with a yet-to-be-installed one
14796      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14797      test "$hardcode_minus_L_CXX" != no; then
14798     # Linking always hardcodes the temporary library directory.
14799     hardcode_action_CXX=relink
14800   else
14801     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14802     hardcode_action_CXX=immediate
14803   fi
14804 else
14805   # We cannot hardcode anything, or else we can only hardcode existing
14806   # directories.
14807   hardcode_action_CXX=unsupported
14808 fi
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14810 $as_echo "$hardcode_action_CXX" >&6; }
14811
14812 if test "$hardcode_action_CXX" = relink ||
14813    test "$inherit_rpath_CXX" = yes; then
14814   # Fast installation is not supported
14815   enable_fast_install=no
14816 elif test "$shlibpath_overrides_runpath" = yes ||
14817      test "$enable_shared" = no; then
14818   # Fast installation is not necessary
14819   enable_fast_install=needless
14820 fi
14821
14822
14823
14824
14825
14826
14827
14828   fi # test -n "$compiler"
14829
14830   CC=$lt_save_CC
14831   LDCXX=$LD
14832   LD=$lt_save_LD
14833   GCC=$lt_save_GCC
14834   with_gnu_ld=$lt_save_with_gnu_ld
14835   lt_cv_path_LDCXX=$lt_cv_path_LD
14836   lt_cv_path_LD=$lt_save_path_LD
14837   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14838   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14839 fi # test "$_lt_caught_CXX_error" != yes
14840
14841 ac_ext=c
14842 ac_cpp='$CPP $CPPFLAGS'
14843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859         ac_config_commands="$ac_config_commands libtool"
14860
14861
14862
14863
14864 # Only expand once:
14865
14866
14867
14868
14869
14870 case $host in
14871   *-cygwin* | *-mingw*)
14872     # 'host' will be top-level target in the case of a target lib,
14873     # we must compare to with_cross_host to decide if this is a native
14874     # or cross-compiler and select where to install dlls appropriately.
14875     if test -n "$with_cross_host" &&
14876         test x"$with_cross_host" != x"no"; then
14877       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14878     else
14879       lt_host_flags='-no-undefined -bindir "$(bindir)"';
14880     fi
14881     ;;
14882   *)
14883     lt_host_flags=
14884     ;;
14885 esac
14886
14887
14888
14889
14890
14891
14892 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14893 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14894
14895 # Possibly disable most of the library.
14896 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14897 ## than just ignoring the results.  Faster /and/ more correct, win win.
14898
14899   # Check whether --enable-hosted-libstdcxx was given.
14900 if test "${enable_hosted_libstdcxx+set}" = set; then :
14901   enableval=$enable_hosted_libstdcxx;
14902 else
14903   case "$host" in
14904         arm*-*-symbianelf*)
14905             enable_hosted_libstdcxx=no
14906             ;;
14907         *)
14908             enable_hosted_libstdcxx=yes
14909             ;;
14910      esac
14911 fi
14912
14913   if test "$enable_hosted_libstdcxx" = no; then
14914     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14915 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14916     is_hosted=no
14917     hosted_define=0
14918     enable_abi_check=no
14919     enable_libstdcxx_pch=no
14920   else
14921     is_hosted=yes
14922     hosted_define=1
14923   fi
14924
14925
14926 cat >>confdefs.h <<_ACEOF
14927 #define _GLIBCXX_HOSTED $hosted_define
14928 _ACEOF
14929
14930
14931
14932 # Enable compiler support that doesn't require linking.
14933
14934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14935 $as_echo_n "checking for exception model to use... " >&6; }
14936
14937   ac_ext=cpp
14938 ac_cpp='$CXXCPP $CPPFLAGS'
14939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14942
14943    # Check whether --enable-sjlj-exceptions was given.
14944 if test "${enable_sjlj_exceptions+set}" = set; then :
14945   enableval=$enable_sjlj_exceptions;
14946       case "$enableval" in
14947        yes|no|auto) ;;
14948        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14949                         esac
14950
14951 else
14952   enable_sjlj_exceptions=auto
14953 fi
14954
14955
14956
14957   if test $enable_sjlj_exceptions = auto; then
14958     # Botheration.  Now we've got to detect the exception model.  Link tests
14959     # against libgcc.a are problematic since we've not been given proper -L
14960     # bits for single-tree newlib and libgloss.
14961     #
14962     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14963     cat > conftest.$ac_ext << EOF
14964 #line 14964 "configure"
14965 struct S { ~S(); };
14966 void bar();
14967 void foo()
14968 {
14969   S s;
14970   bar();
14971 }
14972 EOF
14973     old_CXXFLAGS="$CXXFLAGS"
14974     CXXFLAGS=-S
14975     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14976   (eval $ac_compile) 2>&5
14977   ac_status=$?
14978   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14979   test $ac_status = 0; }; then
14980       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14981         enable_sjlj_exceptions=yes
14982       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14983         enable_sjlj_exceptions=no
14984       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14985         enable_sjlj_exceptions=no
14986       fi
14987     fi
14988     CXXFLAGS="$old_CXXFLAGS"
14989     rm -f conftest*
14990   fi
14991
14992   # This is a tad weird, for hysterical raisins.  We have to map
14993   # enable/disable to two different models.
14994   case $enable_sjlj_exceptions in
14995     yes)
14996
14997 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14998
14999       ac_exception_model_name=sjlj
15000       ;;
15001     no)
15002       ac_exception_model_name="call frame"
15003       ;;
15004     *)
15005       as_fn_error "unable to detect exception model" "$LINENO" 5
15006       ;;
15007   esac
15008  ac_ext=c
15009 ac_cpp='$CPP $CPPFLAGS'
15010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15013
15014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15015 $as_echo "$ac_exception_model_name" >&6; }
15016
15017
15018    # Check whether --enable-libstdcxx-pch was given.
15019 if test "${enable_libstdcxx_pch+set}" = set; then :
15020   enableval=$enable_libstdcxx_pch;
15021       case "$enableval" in
15022        yes|no) ;;
15023        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15024       esac
15025
15026 else
15027   enable_libstdcxx_pch=$is_hosted
15028 fi
15029
15030
15031   if test $enable_libstdcxx_pch = yes; then
15032     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15033 $as_echo_n "checking for compiler with PCH support... " >&6; }
15034 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15035   $as_echo_n "(cached) " >&6
15036 else
15037   ac_save_CXXFLAGS="$CXXFLAGS"
15038        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15039
15040        ac_ext=cpp
15041 ac_cpp='$CXXCPP $CPPFLAGS'
15042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15045
15046        echo '#include <math.h>' > conftest.h
15047        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15048                           -o conftest.h.gch 1>&5 2>&1 &&
15049                 echo '#error "pch failed"' > conftest.h &&
15050           echo '#include "conftest.h"' > conftest.cc &&
15051                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15052        then
15053          glibcxx_cv_prog_CXX_pch=yes
15054        else
15055          glibcxx_cv_prog_CXX_pch=no
15056        fi
15057        rm -f conftest*
15058        CXXFLAGS=$ac_save_CXXFLAGS
15059        ac_ext=c
15060 ac_cpp='$CPP $CPPFLAGS'
15061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15064
15065
15066 fi
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15068 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15069     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15070   fi
15071
15072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15073 $as_echo_n "checking for enabled PCH... " >&6; }
15074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15075 $as_echo "$enable_libstdcxx_pch" >&6; }
15076
15077
15078   if test $enable_libstdcxx_pch = yes; then
15079     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15080   else
15081     glibcxx_PCHFLAGS=""
15082   fi
15083
15084
15085
15086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15087 $as_echo_n "checking for thread model used by GCC... " >&6; }
15088   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15090 $as_echo "$target_thread_file" >&6; }
15091
15092
15093
15094   ac_ext=cpp
15095 ac_cpp='$CXXCPP $CPPFLAGS'
15096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15099
15100   old_CXXFLAGS="$CXXFLAGS"
15101
15102   # Do link tests if possible, instead asm tests, limited to some platforms
15103   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15104   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15105   atomic_builtins_link_tests=no
15106   if test x$gcc_no_link != xyes; then
15107     # Can do link tests. Limit to some tested platforms
15108     case "$host" in
15109       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15110         atomic_builtins_link_tests=yes
15111         ;;
15112     esac
15113   fi
15114
15115   if test x$atomic_builtins_link_tests = xyes; then
15116
15117   # Do link tests.
15118
15119   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15120
15121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15122 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15123   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15124   $as_echo_n "(cached) " >&6
15125 else
15126
15127     if test x$gcc_no_link = xyes; then
15128   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15129 fi
15130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h.  */
15132
15133 int
15134 main ()
15135 {
15136 typedef bool atomic_type;
15137        atomic_type c1;
15138        atomic_type c2;
15139        atomic_type c3(0);
15140        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15141        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15142                                    __ATOMIC_RELAXED);
15143        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15144        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15145
15146   ;
15147   return 0;
15148 }
15149 _ACEOF
15150 if ac_fn_cxx_try_link "$LINENO"; then :
15151   glibcxx_cv_atomic_bool=yes
15152 else
15153   glibcxx_cv_atomic_bool=no
15154 fi
15155 rm -f core conftest.err conftest.$ac_objext \
15156     conftest$ac_exeext conftest.$ac_ext
15157
15158 fi
15159
15160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15161 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15162
15163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15164 $as_echo_n "checking for atomic builtins for short... " >&6; }
15165   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15166   $as_echo_n "(cached) " >&6
15167 else
15168
15169     if test x$gcc_no_link = xyes; then
15170   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15171 fi
15172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h.  */
15174
15175 int
15176 main ()
15177 {
15178 typedef short atomic_type;
15179        atomic_type c1;
15180        atomic_type c2;
15181        atomic_type c3(0);
15182        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15183        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15184                                    __ATOMIC_RELAXED);
15185        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15186        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15187
15188   ;
15189   return 0;
15190 }
15191 _ACEOF
15192 if ac_fn_cxx_try_link "$LINENO"; then :
15193   glibcxx_cv_atomic_short=yes
15194 else
15195   glibcxx_cv_atomic_short=no
15196 fi
15197 rm -f core conftest.err conftest.$ac_objext \
15198     conftest$ac_exeext conftest.$ac_ext
15199
15200 fi
15201
15202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15203 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15204
15205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15206 $as_echo_n "checking for atomic builtins for int... " >&6; }
15207   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15208   $as_echo_n "(cached) " >&6
15209 else
15210
15211     if test x$gcc_no_link = xyes; then
15212   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15213 fi
15214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h.  */
15216
15217 int
15218 main ()
15219 {
15220 typedef int atomic_type;
15221        atomic_type c1;
15222        atomic_type c2;
15223        atomic_type c3(0);
15224        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15225        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15226                                    __ATOMIC_RELAXED);
15227        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15228        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15229
15230   ;
15231   return 0;
15232 }
15233 _ACEOF
15234 if ac_fn_cxx_try_link "$LINENO"; then :
15235   glibcxx_cv_atomic_int=yes
15236 else
15237   glibcxx_cv_atomic_int=no
15238 fi
15239 rm -f core conftest.err conftest.$ac_objext \
15240     conftest$ac_exeext conftest.$ac_ext
15241
15242 fi
15243
15244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15245 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15246
15247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15248 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15249   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15250   $as_echo_n "(cached) " >&6
15251 else
15252
15253     if test x$gcc_no_link = xyes; then
15254   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15255 fi
15256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15257 /* end confdefs.h.  */
15258
15259 int
15260 main ()
15261 {
15262 typedef long long atomic_type;
15263        atomic_type c1;
15264        atomic_type c2;
15265        atomic_type c3(0);
15266        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15267        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15268                                    __ATOMIC_RELAXED);
15269        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15270        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15271
15272   ;
15273   return 0;
15274 }
15275 _ACEOF
15276 if ac_fn_cxx_try_link "$LINENO"; then :
15277   glibcxx_cv_atomic_long_long=yes
15278 else
15279   glibcxx_cv_atomic_long_long=no
15280 fi
15281 rm -f core conftest.err conftest.$ac_objext \
15282     conftest$ac_exeext conftest.$ac_ext
15283
15284 fi
15285
15286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15287 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15288
15289   else
15290
15291   # Do asm tests.
15292
15293   # Compile unoptimized.
15294   CXXFLAGS='-O0 -S'
15295
15296   # Fake what AC_TRY_COMPILE does.
15297
15298     cat > conftest.$ac_ext << EOF
15299 #line 15299 "configure"
15300 int main()
15301 {
15302   typedef bool atomic_type;
15303   atomic_type c1;
15304   atomic_type c2;
15305   atomic_type c3(0);
15306   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15307   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15308                               __ATOMIC_RELAXED);
15309   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15310   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15311
15312   return 0;
15313 }
15314 EOF
15315
15316     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15317 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15318     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15319   (eval $ac_compile) 2>&5
15320   ac_status=$?
15321   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15322   test $ac_status = 0; }; then
15323       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15324         glibcxx_cv_atomic_bool=no
15325       else
15326         glibcxx_cv_atomic_bool=yes
15327       fi
15328     fi
15329     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15330 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15331     rm -f conftest*
15332
15333     cat > conftest.$ac_ext << EOF
15334 #line 15334 "configure"
15335 int main()
15336 {
15337   typedef short atomic_type;
15338   atomic_type c1;
15339   atomic_type c2;
15340   atomic_type c3(0);
15341   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15342   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15343                               __ATOMIC_RELAXED);
15344   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15345   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15346
15347   return 0;
15348 }
15349 EOF
15350
15351     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15352 $as_echo_n "checking for atomic builtins for short... " >&6; }
15353     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15354   (eval $ac_compile) 2>&5
15355   ac_status=$?
15356   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15357   test $ac_status = 0; }; then
15358       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15359         glibcxx_cv_atomic_short=no
15360       else
15361         glibcxx_cv_atomic_short=yes
15362       fi
15363     fi
15364     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15365 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15366     rm -f conftest*
15367
15368     cat > conftest.$ac_ext << EOF
15369 #line 15369 "configure"
15370 int main()
15371 {
15372   // NB: _Atomic_word not necessarily int.
15373   typedef int atomic_type;
15374   atomic_type c1;
15375   atomic_type c2;
15376   atomic_type c3(0);
15377   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15378   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15379                               __ATOMIC_RELAXED);
15380   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15381   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15382
15383   return 0;
15384 }
15385 EOF
15386
15387     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15388 $as_echo_n "checking for atomic builtins for int... " >&6; }
15389     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15390   (eval $ac_compile) 2>&5
15391   ac_status=$?
15392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15393   test $ac_status = 0; }; then
15394       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15395         glibcxx_cv_atomic_int=no
15396       else
15397         glibcxx_cv_atomic_int=yes
15398       fi
15399     fi
15400     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15401 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15402     rm -f conftest*
15403
15404     cat > conftest.$ac_ext << EOF
15405 #line 15405 "configure"
15406 int main()
15407 {
15408   typedef long long atomic_type;
15409   atomic_type c1;
15410   atomic_type c2;
15411   atomic_type c3(0);
15412   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15413   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15414                               __ATOMIC_RELAXED);
15415   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15416   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15417
15418   return 0;
15419 }
15420 EOF
15421
15422     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15423 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15424     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15425   (eval $ac_compile) 2>&5
15426   ac_status=$?
15427   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15428   test $ac_status = 0; }; then
15429       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15430         glibcxx_cv_atomic_long_long=no
15431       else
15432         glibcxx_cv_atomic_long_long=yes
15433       fi
15434     fi
15435     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15436 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15437     rm -f conftest*
15438
15439   fi
15440
15441   CXXFLAGS="$old_CXXFLAGS"
15442   ac_ext=c
15443 ac_cpp='$CPP $CPPFLAGS'
15444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15447
15448
15449   # Set atomicity_dir to builtins if all of above tests pass.
15450   if test $glibcxx_cv_atomic_bool = yes \
15451      && test $glibcxx_cv_atomic_short = yes \
15452      && test $glibcxx_cv_atomic_int = yes \
15453      && test $glibcxx_cv_atomic_long_long = yes ; then
15454
15455 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15456
15457     atomicity_dir=cpu/generic/atomicity_builtins
15458   fi
15459
15460   # If still generic, set to mutex.
15461   if test $atomicity_dir = "cpu/generic" ; then
15462     atomicity_dir=cpu/generic/atomicity_mutex
15463     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15464 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15465       if test "x$target_thread_file" = xsingle; then
15466         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15467 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15468         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15469 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15470       else
15471         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15472 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15473         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15474 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15475       fi
15476   fi
15477
15478
15479
15480
15481   # Fake what AC_TRY_COMPILE does, without linking as this is
15482   # unnecessary for this test.
15483
15484     cat > conftest.$ac_ext << EOF
15485 #line 15485 "configure"
15486 int main()
15487 {
15488   _Decimal32 d1;
15489   _Decimal64 d2;
15490   _Decimal128 d3;
15491   return 0;
15492 }
15493 EOF
15494
15495     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15496 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15497     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15498   (eval $ac_compile) 2>&5
15499   ac_status=$?
15500   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15501   test $ac_status = 0; }; then
15502
15503 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15504
15505       enable_dfp=yes
15506     else
15507       enable_dfp=no
15508     fi
15509     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15510 $as_echo "$enable_dfp" >&6; }
15511     rm -f conftest*
15512
15513
15514
15515
15516   ac_ext=cpp
15517 ac_cpp='$CXXCPP $CPPFLAGS'
15518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15521
15522
15523   # Fake what AC_TRY_COMPILE does, without linking as this is
15524   # unnecessary for this test.
15525
15526     cat > conftest.$ac_ext << EOF
15527 #line 15527 "configure"
15528 template<typename T1, typename T2>
15529   struct same
15530   { typedef T2 type; };
15531
15532 template<typename T>
15533   struct same<T, T>;
15534
15535 int main()
15536 {
15537   typename same<long, __int128>::type                i1;
15538   typename same<long long, __int128>::type           i2;
15539 }
15540 EOF
15541
15542     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15543 $as_echo_n "checking for __int128... " >&6; }
15544     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15545   (eval $ac_compile) 2>&5
15546   ac_status=$?
15547   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15548   test $ac_status = 0; }; then
15549
15550 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15551
15552       enable_int128=yes
15553     else
15554       enable_int128=no
15555     fi
15556     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15557 $as_echo "$enable_int128" >&6; }
15558     rm -f conftest*
15559
15560     cat > conftest.$ac_ext << EOF
15561 #line 15561 "configure"
15562 template<typename T1, typename T2>
15563   struct same
15564   { typedef T2 type; };
15565
15566 template<typename T>
15567   struct same<T, T>;
15568
15569 int main()
15570 {
15571   typename same<double, __float128>::type      f1;
15572   typename same<long double, __float128>::type f2;
15573 }
15574 EOF
15575
15576     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15577 $as_echo_n "checking for __float128... " >&6; }
15578     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15579   (eval $ac_compile) 2>&5
15580   ac_status=$?
15581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15582   test $ac_status = 0; }; then
15583
15584 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15585
15586       enable_float128=yes
15587     else
15588       enable_float128=no
15589     fi
15590     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15591 $as_echo "$enable_float128" >&6; }
15592     rm -f conftest*
15593
15594   ac_ext=c
15595 ac_cpp='$CPP $CPPFLAGS'
15596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15599
15600
15601
15602 # Checks for compiler support that doesn't require linking.
15603
15604   # All these tests are for C++; save the language and the compiler flags.
15605   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15606   # found in GLIBCXX_CONFIGURE.
15607
15608   ac_ext=cpp
15609 ac_cpp='$CXXCPP $CPPFLAGS'
15610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15613
15614   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15615   ac_save_CXXFLAGS="$CXXFLAGS"
15616
15617   # Check for maintainer-mode bits.
15618   if test x"$USE_MAINTAINER_MODE" = xno; then
15619     WERROR=''
15620   else
15621     WERROR='-Werror'
15622   fi
15623
15624   # Check for -ffunction-sections -fdata-sections
15625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15626 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15627   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15629 /* end confdefs.h.  */
15630 int foo; void bar() { };
15631 int
15632 main ()
15633 {
15634
15635   ;
15636   return 0;
15637 }
15638 _ACEOF
15639 if ac_fn_cxx_try_compile "$LINENO"; then :
15640   ac_fdsections=yes
15641 else
15642   ac_fdsections=no
15643 fi
15644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15645   if test "$ac_test_CXXFLAGS" = set; then
15646     CXXFLAGS="$ac_save_CXXFLAGS"
15647   else
15648     # this is the suspicious part
15649     CXXFLAGS=''
15650   fi
15651   if test x"$ac_fdsections" = x"yes"; then
15652     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15653   fi
15654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15655 $as_echo "$ac_fdsections" >&6; }
15656
15657   ac_ext=c
15658 ac_cpp='$CPP $CPPFLAGS'
15659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15662
15663
15664
15665
15666
15667 # Enable all the variable C++ runtime options that don't require linking.
15668
15669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15670 $as_echo_n "checking for underlying I/O to use... " >&6; }
15671    # Check whether --enable-cstdio was given.
15672 if test "${enable_cstdio+set}" = set; then :
15673   enableval=$enable_cstdio;
15674       case "$enableval" in
15675        stdio) ;;
15676        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15677                         esac
15678
15679 else
15680   enable_cstdio=stdio
15681 fi
15682
15683
15684
15685   # Now that libio has been removed, you can have any color you want as long
15686   # as it's black.  This is one big no-op until other packages are added, but
15687   # showing the framework never hurts.
15688   case ${enable_cstdio} in
15689     stdio)
15690       CSTDIO_H=config/io/c_io_stdio.h
15691       BASIC_FILE_H=config/io/basic_file_stdio.h
15692       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15693       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15694 $as_echo "stdio" >&6; }
15695       ;;
15696   esac
15697
15698
15699
15700
15701
15702
15703    # Check whether --enable-clocale was given.
15704 if test "${enable_clocale+set}" = set; then :
15705   enableval=$enable_clocale;
15706       case "$enableval" in
15707        generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15708        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15709                         esac
15710
15711 else
15712   enable_clocale=auto
15713 fi
15714
15715
15716
15717   # Deal with gettext issues.  Default to not using it (=no) until we detect
15718   # support for it later.  Let the user turn it off via --e/d, but let that
15719   # default to on for easier handling.
15720   USE_NLS=no
15721   # Check whether --enable-nls was given.
15722 if test "${enable_nls+set}" = set; then :
15723   enableval=$enable_nls;
15724 else
15725   enable_nls=yes
15726 fi
15727
15728
15729   # Either a known package, or "auto"
15730   if test $enable_clocale = no || test $enable_clocale = yes; then
15731      enable_clocale=auto
15732   fi
15733   enable_clocale_flag=$enable_clocale
15734
15735   # Probe for locale model to use if none specified.
15736   # Default to "generic".
15737   if test $enable_clocale_flag = auto; then
15738     case ${target_os} in
15739       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15740         enable_clocale_flag=gnu
15741         ;;
15742       darwin* | freebsd*)
15743         enable_clocale_flag=darwin
15744         ;;
15745       *)
15746         if test x"$with_newlib" = x"yes"; then
15747           enable_clocale_flag=newlib
15748         else
15749           enable_clocale_flag=generic
15750         fi
15751         ;;
15752     esac
15753   fi
15754
15755   # Sanity check model, and test for special functionality.
15756   if test $enable_clocale_flag = gnu; then
15757     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15758 /* end confdefs.h.  */
15759
15760     #include <features.h>
15761     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15762       _GLIBCXX_ok
15763     #endif
15764
15765 _ACEOF
15766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15767   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15768   enable_clocale_flag=gnu
15769 else
15770   enable_clocale_flag=generic
15771 fi
15772 rm -f conftest*
15773
15774
15775     # Set it to scream when it hurts.
15776     ac_save_CFLAGS="$CFLAGS"
15777     CFLAGS="-Wimplicit-function-declaration -Werror"
15778
15779     # Use strxfrm_l if available.
15780     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15781 /* end confdefs.h.  */
15782 #define _GNU_SOURCE 1
15783                     #include <string.h>
15784                     #include <locale.h>
15785 int
15786 main ()
15787 {
15788 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15789   ;
15790   return 0;
15791 }
15792 _ACEOF
15793 if ac_fn_c_try_compile "$LINENO"; then :
15794
15795 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15796
15797 fi
15798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15799
15800     # Use strerror_l if available.
15801     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h.  */
15803 #define _GNU_SOURCE 1
15804                     #include <string.h>
15805                     #include <locale.h>
15806 int
15807 main ()
15808 {
15809 __locale_t loc; strerror_l(5, loc);
15810   ;
15811   return 0;
15812 }
15813 _ACEOF
15814 if ac_fn_c_try_compile "$LINENO"; then :
15815
15816 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15817
15818 fi
15819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15820
15821     CFLAGS="$ac_save_CFLAGS"
15822   fi
15823
15824   # Perhaps use strerror_r if available, and strerror_l isn't.
15825   ac_save_CFLAGS="$CFLAGS"
15826   CFLAGS="-Wimplicit-function-declaration -Werror"
15827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15828 /* end confdefs.h.  */
15829 #define _GNU_SOURCE 1
15830                   #include <string.h>
15831                   #include <locale.h>
15832 int
15833 main ()
15834 {
15835 char s[128]; strerror_r(5, s, 128);
15836   ;
15837   return 0;
15838 }
15839 _ACEOF
15840 if ac_fn_c_try_compile "$LINENO"; then :
15841
15842 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15843
15844 fi
15845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15846   CFLAGS="$ac_save_CFLAGS"
15847
15848   # Set configure bits for specified locale package
15849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15850 $as_echo_n "checking for C locale to use... " >&6; }
15851   case ${enable_clocale_flag} in
15852     generic)
15853       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15854 $as_echo "generic" >&6; }
15855
15856       CLOCALE_H=config/locale/generic/c_locale.h
15857       CLOCALE_CC=config/locale/generic/c_locale.cc
15858       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15859       CCOLLATE_CC=config/locale/generic/collate_members.cc
15860       CCTYPE_CC=config/locale/generic/ctype_members.cc
15861       CMESSAGES_H=config/locale/generic/messages_members.h
15862       CMESSAGES_CC=config/locale/generic/messages_members.cc
15863       CMONEY_CC=config/locale/generic/monetary_members.cc
15864       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15865       CTIME_H=config/locale/generic/time_members.h
15866       CTIME_CC=config/locale/generic/time_members.cc
15867       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15868       ;;
15869     darwin)
15870       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15871 $as_echo "darwin or freebsd" >&6; }
15872
15873       CLOCALE_H=config/locale/generic/c_locale.h
15874       CLOCALE_CC=config/locale/generic/c_locale.cc
15875       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15876       CCOLLATE_CC=config/locale/generic/collate_members.cc
15877       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15878       CMESSAGES_H=config/locale/generic/messages_members.h
15879       CMESSAGES_CC=config/locale/generic/messages_members.cc
15880       CMONEY_CC=config/locale/generic/monetary_members.cc
15881       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15882       CTIME_H=config/locale/generic/time_members.h
15883       CTIME_CC=config/locale/generic/time_members.cc
15884       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15885       ;;
15886
15887     gnu)
15888       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15889 $as_echo "gnu" >&6; }
15890
15891       # Declare intention to use gettext, and add support for specific
15892       # languages.
15893       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15894       ALL_LINGUAS="de fr"
15895
15896       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15897       # Extract the first word of "msgfmt", so it can be a program name with args.
15898 set dummy msgfmt; ac_word=$2
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15900 $as_echo_n "checking for $ac_word... " >&6; }
15901 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15902   $as_echo_n "(cached) " >&6
15903 else
15904   if test -n "$check_msgfmt"; then
15905   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15906 else
15907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15908 for as_dir in $PATH
15909 do
15910   IFS=$as_save_IFS
15911   test -z "$as_dir" && as_dir=.
15912     for ac_exec_ext in '' $ac_executable_extensions; do
15913   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15914     ac_cv_prog_check_msgfmt="yes"
15915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15916     break 2
15917   fi
15918 done
15919   done
15920 IFS=$as_save_IFS
15921
15922   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15923 fi
15924 fi
15925 check_msgfmt=$ac_cv_prog_check_msgfmt
15926 if test -n "$check_msgfmt"; then
15927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15928 $as_echo "$check_msgfmt" >&6; }
15929 else
15930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15931 $as_echo "no" >&6; }
15932 fi
15933
15934
15935       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15936         USE_NLS=yes
15937       fi
15938       # Export the build objects.
15939       for ling in $ALL_LINGUAS; do \
15940         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15941         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15942       done
15943
15944
15945
15946       CLOCALE_H=config/locale/gnu/c_locale.h
15947       CLOCALE_CC=config/locale/gnu/c_locale.cc
15948       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15949       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15950       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15951       CMESSAGES_H=config/locale/gnu/messages_members.h
15952       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15953       CMONEY_CC=config/locale/gnu/monetary_members.cc
15954       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15955       CTIME_H=config/locale/gnu/time_members.h
15956       CTIME_CC=config/locale/gnu/time_members.cc
15957       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15958       ;;
15959     ieee_1003.1-2001)
15960       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15961 $as_echo "IEEE 1003.1" >&6; }
15962
15963       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15964       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15965       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15966       CCOLLATE_CC=config/locale/generic/collate_members.cc
15967       CCTYPE_CC=config/locale/generic/ctype_members.cc
15968       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15969       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15970       CMONEY_CC=config/locale/generic/monetary_members.cc
15971       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15972       CTIME_H=config/locale/generic/time_members.h
15973       CTIME_CC=config/locale/generic/time_members.cc
15974       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15975       ;;
15976     newlib)
15977       { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15978 $as_echo "newlib" >&6; }
15979
15980       CLOCALE_H=config/locale/generic/c_locale.h
15981       CLOCALE_CC=config/locale/generic/c_locale.cc
15982       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15983       CCOLLATE_CC=config/locale/generic/collate_members.cc
15984       CCTYPE_CC=config/locale/newlib/ctype_members.cc
15985       CMESSAGES_H=config/locale/generic/messages_members.h
15986       CMESSAGES_CC=config/locale/generic/messages_members.cc
15987       CMONEY_CC=config/locale/generic/monetary_members.cc
15988       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15989       CTIME_H=config/locale/generic/time_members.h
15990       CTIME_CC=config/locale/generic/time_members.cc
15991       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15992       ;;
15993   esac
15994
15995   # This is where the testsuite looks for locale catalogs, using the
15996   # -DLOCALEDIR define during testsuite compilation.
15997   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15998
15999
16000   # A standalone libintl (e.g., GNU libintl) may be in use.
16001   if test $USE_NLS = yes; then
16002     for ac_header in libintl.h
16003 do :
16004   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16005 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16006   cat >>confdefs.h <<_ACEOF
16007 #define HAVE_LIBINTL_H 1
16008 _ACEOF
16009
16010 else
16011   USE_NLS=no
16012 fi
16013
16014 done
16015
16016     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16017 $as_echo_n "checking for library containing gettext... " >&6; }
16018 if test "${ac_cv_search_gettext+set}" = set; then :
16019   $as_echo_n "(cached) " >&6
16020 else
16021   ac_func_search_save_LIBS=$LIBS
16022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16023 /* end confdefs.h.  */
16024
16025 /* Override any GCC internal prototype to avoid an error.
16026    Use char because int might match the return type of a GCC
16027    builtin and then its argument prototype would still apply.  */
16028 #ifdef __cplusplus
16029 extern "C"
16030 #endif
16031 char gettext ();
16032 int
16033 main ()
16034 {
16035 return gettext ();
16036   ;
16037   return 0;
16038 }
16039 _ACEOF
16040 for ac_lib in '' intl; do
16041   if test -z "$ac_lib"; then
16042     ac_res="none required"
16043   else
16044     ac_res=-l$ac_lib
16045     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16046   fi
16047   if test x$gcc_no_link = xyes; then
16048   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16049 fi
16050 if ac_fn_c_try_link "$LINENO"; then :
16051   ac_cv_search_gettext=$ac_res
16052 fi
16053 rm -f core conftest.err conftest.$ac_objext \
16054     conftest$ac_exeext
16055   if test "${ac_cv_search_gettext+set}" = set; then :
16056   break
16057 fi
16058 done
16059 if test "${ac_cv_search_gettext+set}" = set; then :
16060
16061 else
16062   ac_cv_search_gettext=no
16063 fi
16064 rm conftest.$ac_ext
16065 LIBS=$ac_func_search_save_LIBS
16066 fi
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16068 $as_echo "$ac_cv_search_gettext" >&6; }
16069 ac_res=$ac_cv_search_gettext
16070 if test "$ac_res" != no; then :
16071   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16072
16073 else
16074   USE_NLS=no
16075 fi
16076
16077   fi
16078   if test $USE_NLS = yes; then
16079
16080 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16081
16082   fi
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16100 $as_echo_n "checking for std::allocator base class... " >&6; }
16101    # Check whether --enable-libstdcxx-allocator was given.
16102 if test "${enable_libstdcxx_allocator+set}" = set; then :
16103   enableval=$enable_libstdcxx_allocator;
16104       case "$enableval" in
16105        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16106        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16107                         esac
16108
16109 else
16110   enable_libstdcxx_allocator=auto
16111 fi
16112
16113
16114
16115   # If they didn't use this option switch, or if they specified --enable
16116   # with no specific model, we'll have to look for one.  If they
16117   # specified --disable (???), do likewise.
16118   if test $enable_libstdcxx_allocator = no ||
16119      test $enable_libstdcxx_allocator = yes;
16120   then
16121      enable_libstdcxx_allocator=auto
16122   fi
16123
16124   # Either a known package, or "auto". Auto implies the default choice
16125   # for a particular platform.
16126   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16127
16128   # Probe for host-specific support if no specific model is specified.
16129   # Default to "new".
16130   if test $enable_libstdcxx_allocator_flag = auto; then
16131     case ${target_os} in
16132       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16133         enable_libstdcxx_allocator_flag=new
16134         ;;
16135       *)
16136         enable_libstdcxx_allocator_flag=new
16137         ;;
16138     esac
16139   fi
16140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16141 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16142
16143
16144   # Set configure bits for specified locale package
16145   case ${enable_libstdcxx_allocator_flag} in
16146     bitmap)
16147       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16148       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16149       ;;
16150     malloc)
16151       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16152       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16153       ;;
16154     mt)
16155       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16156       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16157       ;;
16158     new)
16159       ALLOCATOR_H=config/allocator/new_allocator_base.h
16160       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16161       ;;
16162     pool)
16163       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16164       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16165       ;;
16166   esac
16167
16168
16169
16170
16171
16172    # Check whether --enable-cheaders was given.
16173 if test "${enable_cheaders+set}" = set; then :
16174   enableval=$enable_cheaders;
16175       case "$enableval" in
16176        c|c_std|c_global) ;;
16177        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16178                         esac
16179
16180 else
16181   enable_cheaders=$c_model
16182 fi
16183
16184
16185   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16186 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16187
16188   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16189
16190   # Allow overrides to configure.host here.
16191   if test $enable_cheaders = c_global; then
16192      c_compatibility=yes
16193   fi
16194
16195
16196
16197
16198
16199
16200
16201    # Check whether --enable-long-long was given.
16202 if test "${enable_long_long+set}" = set; then :
16203   enableval=$enable_long_long;
16204       case "$enableval" in
16205        yes|no) ;;
16206        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16207       esac
16208
16209 else
16210   enable_long_long=yes
16211 fi
16212
16213
16214   if test $enable_long_long = yes; then
16215
16216 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16217
16218   fi
16219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16220 $as_echo_n "checking for enabled long long specializations... " >&6; }
16221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16222 $as_echo "$enable_long_long" >&6; }
16223
16224
16225    # Check whether --enable-wchar_t was given.
16226 if test "${enable_wchar_t+set}" = set; then :
16227   enableval=$enable_wchar_t;
16228       case "$enableval" in
16229        yes|no) ;;
16230        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16231       esac
16232
16233 else
16234   enable_wchar_t=yes
16235 fi
16236
16237
16238
16239   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16240   for ac_header in wchar.h
16241 do :
16242   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16243 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16244   cat >>confdefs.h <<_ACEOF
16245 #define HAVE_WCHAR_H 1
16246 _ACEOF
16247  ac_has_wchar_h=yes
16248 else
16249   ac_has_wchar_h=no
16250 fi
16251
16252 done
16253
16254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16255 $as_echo_n "checking for mbstate_t... " >&6; }
16256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16257 /* end confdefs.h.  */
16258 #include <wchar.h>
16259 int
16260 main ()
16261 {
16262 mbstate_t teststate;
16263   ;
16264   return 0;
16265 }
16266 _ACEOF
16267 if ac_fn_c_try_compile "$LINENO"; then :
16268   have_mbstate_t=yes
16269 else
16270   have_mbstate_t=no
16271 fi
16272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16274 $as_echo "$have_mbstate_t" >&6; }
16275   if test x"$have_mbstate_t" = xyes; then
16276
16277 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16278
16279   fi
16280
16281   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16282   # ac_has_wchar_h.
16283   for ac_header in wctype.h
16284 do :
16285   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16286 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16287   cat >>confdefs.h <<_ACEOF
16288 #define HAVE_WCTYPE_H 1
16289 _ACEOF
16290  ac_has_wctype_h=yes
16291 else
16292   ac_has_wctype_h=no
16293 fi
16294
16295 done
16296
16297
16298   if test x"$enable_wchar_t" = x"yes"; then
16299
16300
16301     ac_ext=cpp
16302 ac_cpp='$CXXCPP $CPPFLAGS'
16303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16306
16307
16308     if test x"$ac_has_wchar_h" = xyes &&
16309        test x"$ac_has_wctype_h" = xyes; then
16310       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16311 /* end confdefs.h.  */
16312 #include <wchar.h>
16313                       #include <stddef.h>
16314                       wint_t i;
16315                       long l = WEOF;
16316                       long j = WCHAR_MIN;
16317                       long k = WCHAR_MAX;
16318                       namespace test
16319                       {
16320                         using ::btowc;
16321                         using ::fgetwc;
16322                         using ::fgetws;
16323                         using ::fputwc;
16324                         using ::fputws;
16325                         using ::fwide;
16326                         using ::fwprintf;
16327                         using ::fwscanf;
16328                         using ::getwc;
16329                         using ::getwchar;
16330                         using ::mbrlen;
16331                         using ::mbrtowc;
16332                         using ::mbsinit;
16333                         using ::mbsrtowcs;
16334                         using ::putwc;
16335                         using ::putwchar;
16336                         using ::swprintf;
16337                         using ::swscanf;
16338                         using ::ungetwc;
16339                         using ::vfwprintf;
16340                         using ::vswprintf;
16341                         using ::vwprintf;
16342                         using ::wcrtomb;
16343                         using ::wcscat;
16344                         using ::wcschr;
16345                         using ::wcscmp;
16346                         using ::wcscoll;
16347                         using ::wcscpy;
16348                         using ::wcscspn;
16349                         using ::wcsftime;
16350                         using ::wcslen;
16351                         using ::wcsncat;
16352                         using ::wcsncmp;
16353                         using ::wcsncpy;
16354                         using ::wcspbrk;
16355                         using ::wcsrchr;
16356                         using ::wcsrtombs;
16357                         using ::wcsspn;
16358                         using ::wcsstr;
16359                         using ::wcstod;
16360                         using ::wcstok;
16361                         using ::wcstol;
16362                         using ::wcstoul;
16363                         using ::wcsxfrm;
16364                         using ::wctob;
16365                         using ::wmemchr;
16366                         using ::wmemcmp;
16367                         using ::wmemcpy;
16368                         using ::wmemmove;
16369                         using ::wmemset;
16370                         using ::wprintf;
16371                         using ::wscanf;
16372                       }
16373
16374 int
16375 main ()
16376 {
16377
16378   ;
16379   return 0;
16380 }
16381 _ACEOF
16382 if ac_fn_cxx_try_compile "$LINENO"; then :
16383
16384 else
16385   enable_wchar_t=no
16386 fi
16387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16388     else
16389       enable_wchar_t=no
16390     fi
16391
16392     ac_ext=c
16393 ac_cpp='$CPP $CPPFLAGS'
16394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16397
16398   fi
16399
16400   if test x"$enable_wchar_t" = x"yes"; then
16401
16402 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16403
16404   fi
16405
16406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16407 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16409 $as_echo "$enable_wchar_t" >&6; }
16410
16411
16412
16413    # Check whether --enable-c99 was given.
16414 if test "${enable_c99+set}" = set; then :
16415   enableval=$enable_c99;
16416       case "$enableval" in
16417        yes|no) ;;
16418        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16419       esac
16420
16421 else
16422   enable_c99=yes
16423 fi
16424
16425
16426
16427   if test x"$enable_c99" = x"yes"; then
16428
16429
16430   ac_ext=cpp
16431 ac_cpp='$CXXCPP $CPPFLAGS'
16432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16435
16436
16437   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16438   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16439   # spuriously enabled.
16440   # Long term, -std=c++0x could be even better, could manage to explicitely
16441   # request C99 facilities to the underlying C headers.
16442   ac_save_CXXFLAGS="$CXXFLAGS"
16443   CXXFLAGS="$CXXFLAGS -std=c++98"
16444   ac_save_LIBS="$LIBS"
16445   ac_save_gcc_no_link="$gcc_no_link"
16446
16447   if test x$gcc_no_link != xyes; then
16448     # Use -fno-exceptions to that the C driver can link these tests without
16449     # hitting undefined references to personality routines.
16450     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16451     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16452 $as_echo_n "checking for sin in -lm... " >&6; }
16453 if test "${ac_cv_lib_m_sin+set}" = set; then :
16454   $as_echo_n "(cached) " >&6
16455 else
16456   ac_check_lib_save_LIBS=$LIBS
16457 LIBS="-lm  $LIBS"
16458 if test x$gcc_no_link = xyes; then
16459   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16460 fi
16461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16462 /* end confdefs.h.  */
16463
16464 /* Override any GCC internal prototype to avoid an error.
16465    Use char because int might match the return type of a GCC
16466    builtin and then its argument prototype would still apply.  */
16467 #ifdef __cplusplus
16468 extern "C"
16469 #endif
16470 char sin ();
16471 int
16472 main ()
16473 {
16474 return sin ();
16475   ;
16476   return 0;
16477 }
16478 _ACEOF
16479 if ac_fn_cxx_try_link "$LINENO"; then :
16480   ac_cv_lib_m_sin=yes
16481 else
16482   ac_cv_lib_m_sin=no
16483 fi
16484 rm -f core conftest.err conftest.$ac_objext \
16485     conftest$ac_exeext conftest.$ac_ext
16486 LIBS=$ac_check_lib_save_LIBS
16487 fi
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16489 $as_echo "$ac_cv_lib_m_sin" >&6; }
16490 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16491
16492       LIBS="$LIBS -lm"
16493
16494 else
16495
16496       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16497       gcc_no_link=yes
16498
16499 fi
16500
16501   fi
16502
16503   # Check for the existence of <math.h> functions used if C99 is enabled.
16504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16505 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16506   if test "${glibcxx_cv_c99_math+set}" = set; then :
16507   $as_echo_n "(cached) " >&6
16508 else
16509
16510   if test x$gcc_no_link = xyes; then
16511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h.  */
16513 #include <math.h>
16514       volatile double d1, d2;
16515       volatile int i;
16516 int
16517 main ()
16518 {
16519 i = fpclassify(d1);
16520       i = isfinite(d1);
16521       i = isinf(d1);
16522       i = isnan(d1);
16523       i = isnormal(d1);
16524       i = signbit(d1);
16525       i = isgreater(d1, d2);
16526       i = isgreaterequal(d1, d2);
16527       i = isless(d1, d2);
16528       i = islessequal(d1, d2);
16529       i = islessgreater(d1, d2);
16530       i = islessgreater(d1, d2);
16531       i = isunordered(d1, d2);
16532
16533   ;
16534   return 0;
16535 }
16536 _ACEOF
16537 if ac_fn_cxx_try_compile "$LINENO"; then :
16538   glibcxx_cv_c99_math=yes
16539 else
16540   glibcxx_cv_c99_math=no
16541 fi
16542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16543 else
16544   if test x$gcc_no_link = xyes; then
16545   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16546 fi
16547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16548 /* end confdefs.h.  */
16549 #include <math.h>
16550       volatile double d1, d2;
16551       volatile int i;
16552 int
16553 main ()
16554 {
16555 i = fpclassify(d1);
16556       i = isfinite(d1);
16557       i = isinf(d1);
16558       i = isnan(d1);
16559       i = isnormal(d1);
16560       i = signbit(d1);
16561       i = isgreater(d1, d2);
16562       i = isgreaterequal(d1, d2);
16563       i = isless(d1, d2);
16564       i = islessequal(d1, d2);
16565       i = islessgreater(d1, d2);
16566       i = islessgreater(d1, d2);
16567       i = isunordered(d1, d2);
16568
16569   ;
16570   return 0;
16571 }
16572 _ACEOF
16573 if ac_fn_cxx_try_link "$LINENO"; then :
16574   glibcxx_cv_c99_math=yes
16575 else
16576   glibcxx_cv_c99_math=no
16577 fi
16578 rm -f core conftest.err conftest.$ac_objext \
16579     conftest$ac_exeext conftest.$ac_ext
16580 fi
16581
16582 fi
16583
16584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16585 $as_echo "$glibcxx_cv_c99_math" >&6; }
16586   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16587
16588 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16589
16590   fi
16591
16592   # Check for the existence of <complex.h> complex math functions.
16593   # This is necessary even though libstdc++ uses the builtin versions
16594   # of these functions, because if the builtin cannot be used, a reference
16595   # to the library function is emitted.
16596   for ac_header in tgmath.h
16597 do :
16598   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16599 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16600   cat >>confdefs.h <<_ACEOF
16601 #define HAVE_TGMATH_H 1
16602 _ACEOF
16603  ac_has_tgmath_h=yes
16604 else
16605   ac_has_tgmath_h=no
16606 fi
16607
16608 done
16609
16610   for ac_header in complex.h
16611 do :
16612   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16613 if test "x$ac_cv_header_complex_h" = x""yes; then :
16614   cat >>confdefs.h <<_ACEOF
16615 #define HAVE_COMPLEX_H 1
16616 _ACEOF
16617  ac_has_complex_h=yes
16618 else
16619   ac_has_complex_h=no
16620 fi
16621
16622 done
16623
16624   glibcxx_cv_c99_complex=no;
16625   if test x"$ac_has_complex_h" = x"yes"; then
16626     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16627 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16628     if test x$gcc_no_link = xyes; then
16629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16630 /* end confdefs.h.  */
16631 #include <complex.h>
16632         typedef __complex__ float float_type;
16633         typedef __complex__ double double_type;
16634         typedef __complex__ long double ld_type;
16635         volatile float_type tmpf;
16636         volatile double_type tmpd;
16637         volatile ld_type tmpld;
16638         volatile float f;
16639         volatile double d;
16640         volatile long double ld;
16641 int
16642 main ()
16643 {
16644 f = cabsf(tmpf);
16645         f = cargf(tmpf);
16646         tmpf = ccosf(tmpf);
16647         tmpf = ccoshf(tmpf);
16648         tmpf = cexpf(tmpf);
16649         tmpf = clogf(tmpf);
16650         tmpf = csinf(tmpf);
16651         tmpf = csinhf(tmpf);
16652         tmpf = csqrtf(tmpf);
16653         tmpf = ctanf(tmpf);
16654         tmpf = ctanhf(tmpf);
16655         tmpf = cpowf(tmpf, tmpf);
16656         tmpf = cprojf(tmpf);
16657         d = cabs(tmpd);
16658         d = carg(tmpd);
16659         tmpd = ccos(tmpd);
16660         tmpd = ccosh(tmpd);
16661         tmpd = cexp(tmpd);
16662         tmpd = clog(tmpd);
16663         tmpd = csin(tmpd);
16664         tmpd = csinh(tmpd);
16665         tmpd = csqrt(tmpd);
16666         tmpd = ctan(tmpd);
16667         tmpd = ctanh(tmpd);
16668         tmpd = cpow(tmpd, tmpd);
16669         tmpd = cproj(tmpd);
16670         ld = cabsl(tmpld);
16671         ld = cargl(tmpld);
16672         tmpld = ccosl(tmpld);
16673         tmpld = ccoshl(tmpld);
16674         tmpld = cexpl(tmpld);
16675         tmpld = clogl(tmpld);
16676         tmpld = csinl(tmpld);
16677         tmpld = csinhl(tmpld);
16678         tmpld = csqrtl(tmpld);
16679         tmpld = ctanl(tmpld);
16680         tmpld = ctanhl(tmpld);
16681         tmpld = cpowl(tmpld, tmpld);
16682         tmpld = cprojl(tmpld);
16683
16684   ;
16685   return 0;
16686 }
16687 _ACEOF
16688 if ac_fn_cxx_try_compile "$LINENO"; then :
16689   glibcxx_cv_c99_complex=yes
16690 else
16691   glibcxx_cv_c99_complex=no
16692 fi
16693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16694 else
16695   if test x$gcc_no_link = xyes; then
16696   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16697 fi
16698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16699 /* end confdefs.h.  */
16700 #include <complex.h>
16701         typedef __complex__ float float_type;
16702         typedef __complex__ double double_type;
16703         typedef __complex__ long double ld_type;
16704         volatile float_type tmpf;
16705         volatile double_type tmpd;
16706         volatile ld_type tmpld;
16707         volatile float f;
16708         volatile double d;
16709         volatile long double ld;
16710 int
16711 main ()
16712 {
16713 f = cabsf(tmpf);
16714         f = cargf(tmpf);
16715         tmpf = ccosf(tmpf);
16716         tmpf = ccoshf(tmpf);
16717         tmpf = cexpf(tmpf);
16718         tmpf = clogf(tmpf);
16719         tmpf = csinf(tmpf);
16720         tmpf = csinhf(tmpf);
16721         tmpf = csqrtf(tmpf);
16722         tmpf = ctanf(tmpf);
16723         tmpf = ctanhf(tmpf);
16724         tmpf = cpowf(tmpf, tmpf);
16725         tmpf = cprojf(tmpf);
16726         d = cabs(tmpd);
16727         d = carg(tmpd);
16728         tmpd = ccos(tmpd);
16729         tmpd = ccosh(tmpd);
16730         tmpd = cexp(tmpd);
16731         tmpd = clog(tmpd);
16732         tmpd = csin(tmpd);
16733         tmpd = csinh(tmpd);
16734         tmpd = csqrt(tmpd);
16735         tmpd = ctan(tmpd);
16736         tmpd = ctanh(tmpd);
16737         tmpd = cpow(tmpd, tmpd);
16738         tmpd = cproj(tmpd);
16739         ld = cabsl(tmpld);
16740         ld = cargl(tmpld);
16741         tmpld = ccosl(tmpld);
16742         tmpld = ccoshl(tmpld);
16743         tmpld = cexpl(tmpld);
16744         tmpld = clogl(tmpld);
16745         tmpld = csinl(tmpld);
16746         tmpld = csinhl(tmpld);
16747         tmpld = csqrtl(tmpld);
16748         tmpld = ctanl(tmpld);
16749         tmpld = ctanhl(tmpld);
16750         tmpld = cpowl(tmpld, tmpld);
16751         tmpld = cprojl(tmpld);
16752
16753   ;
16754   return 0;
16755 }
16756 _ACEOF
16757 if ac_fn_cxx_try_link "$LINENO"; then :
16758   glibcxx_cv_c99_complex=yes
16759 else
16760   glibcxx_cv_c99_complex=no
16761 fi
16762 rm -f core conftest.err conftest.$ac_objext \
16763     conftest$ac_exeext conftest.$ac_ext
16764 fi
16765   fi
16766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16767 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16768   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16769
16770 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16771
16772   fi
16773
16774   # Check for the existence in <stdio.h> of vscanf, et. al.
16775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16776 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16777   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16778   $as_echo_n "(cached) " >&6
16779 else
16780
16781   if test x$gcc_no_link = xyes; then
16782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16783 /* end confdefs.h.  */
16784 #include <stdio.h>
16785       #include <stdarg.h>
16786       void foo(char* fmt, ...)
16787       {
16788         va_list args; va_start(args, fmt);
16789         vfscanf(stderr, "%i", args);
16790         vscanf("%i", args);
16791         vsnprintf(fmt, 0, "%i", args);
16792         vsscanf(fmt, "%i", args);
16793       }
16794 int
16795 main ()
16796 {
16797 snprintf("12", 0, "%i");
16798   ;
16799   return 0;
16800 }
16801 _ACEOF
16802 if ac_fn_cxx_try_compile "$LINENO"; then :
16803   glibcxx_cv_c99_stdio=yes
16804 else
16805   glibcxx_cv_c99_stdio=no
16806 fi
16807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16808 else
16809   if test x$gcc_no_link = xyes; then
16810   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16811 fi
16812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h.  */
16814 #include <stdio.h>
16815       #include <stdarg.h>
16816       void foo(char* fmt, ...)
16817       {
16818         va_list args; va_start(args, fmt);
16819         vfscanf(stderr, "%i", args);
16820         vscanf("%i", args);
16821         vsnprintf(fmt, 0, "%i", args);
16822         vsscanf(fmt, "%i", args);
16823       }
16824 int
16825 main ()
16826 {
16827 snprintf("12", 0, "%i");
16828   ;
16829   return 0;
16830 }
16831 _ACEOF
16832 if ac_fn_cxx_try_link "$LINENO"; then :
16833   glibcxx_cv_c99_stdio=yes
16834 else
16835   glibcxx_cv_c99_stdio=no
16836 fi
16837 rm -f core conftest.err conftest.$ac_objext \
16838     conftest$ac_exeext conftest.$ac_ext
16839 fi
16840
16841 fi
16842
16843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16844 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16845
16846   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16848 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16849   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16850   $as_echo_n "(cached) " >&6
16851 else
16852
16853   if test x$gcc_no_link = xyes; then
16854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h.  */
16856 #include <stdlib.h>
16857       volatile float f;
16858       volatile long double ld;
16859       volatile unsigned long long ll;
16860       lldiv_t mydivt;
16861 int
16862 main ()
16863 {
16864 char* tmp;
16865       f = strtof("gnu", &tmp);
16866       ld = strtold("gnu", &tmp);
16867       ll = strtoll("gnu", &tmp, 10);
16868       ll = strtoull("gnu", &tmp, 10);
16869       ll = llabs(10);
16870       mydivt = lldiv(10,1);
16871       ll = mydivt.quot;
16872       ll = mydivt.rem;
16873       ll = atoll("10");
16874       _Exit(0);
16875
16876   ;
16877   return 0;
16878 }
16879 _ACEOF
16880 if ac_fn_cxx_try_compile "$LINENO"; then :
16881   glibcxx_cv_c99_stdlib=yes
16882 else
16883   glibcxx_cv_c99_stdlib=no
16884 fi
16885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16886 else
16887   if test x$gcc_no_link = xyes; then
16888   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16889 fi
16890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16891 /* end confdefs.h.  */
16892 #include <stdlib.h>
16893       volatile float f;
16894       volatile long double ld;
16895       volatile unsigned long long ll;
16896       lldiv_t mydivt;
16897 int
16898 main ()
16899 {
16900 char* tmp;
16901       f = strtof("gnu", &tmp);
16902       ld = strtold("gnu", &tmp);
16903       ll = strtoll("gnu", &tmp, 10);
16904       ll = strtoull("gnu", &tmp, 10);
16905       ll = llabs(10);
16906       mydivt = lldiv(10,1);
16907       ll = mydivt.quot;
16908       ll = mydivt.rem;
16909       ll = atoll("10");
16910       _Exit(0);
16911
16912   ;
16913   return 0;
16914 }
16915 _ACEOF
16916 if ac_fn_cxx_try_link "$LINENO"; then :
16917   glibcxx_cv_c99_stdlib=yes
16918 else
16919   glibcxx_cv_c99_stdlib=no
16920 fi
16921 rm -f core conftest.err conftest.$ac_objext \
16922     conftest$ac_exeext conftest.$ac_ext
16923 fi
16924
16925 fi
16926
16927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16928 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16929
16930   # Check for the existence in <wchar.h> of wcstold, etc.
16931   glibcxx_cv_c99_wchar=no;
16932   if test x"$ac_has_wchar_h" = xyes &&
16933      test x"$ac_has_wctype_h" = xyes; then
16934     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16935 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16936     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h.  */
16938 #include <wchar.h>
16939                     namespace test
16940                     {
16941                       using ::wcstold;
16942                       using ::wcstoll;
16943                       using ::wcstoull;
16944                     }
16945
16946 int
16947 main ()
16948 {
16949
16950   ;
16951   return 0;
16952 }
16953 _ACEOF
16954 if ac_fn_cxx_try_compile "$LINENO"; then :
16955   glibcxx_cv_c99_wchar=yes
16956 else
16957   glibcxx_cv_c99_wchar=no
16958 fi
16959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16960
16961     # Checks for wide character functions that may not be present.
16962     # Injection of these is wrapped with guard macros.
16963     # NB: only put functions here, instead of immediately above, if
16964     # absolutely necessary.
16965     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16966 /* end confdefs.h.  */
16967 #include <wchar.h>
16968                     namespace test { using ::vfwscanf; }
16969 int
16970 main ()
16971 {
16972
16973   ;
16974   return 0;
16975 }
16976 _ACEOF
16977 if ac_fn_cxx_try_compile "$LINENO"; then :
16978
16979 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16980
16981 fi
16982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16983
16984     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h.  */
16986 #include <wchar.h>
16987                     namespace test { using ::vswscanf; }
16988 int
16989 main ()
16990 {
16991
16992   ;
16993   return 0;
16994 }
16995 _ACEOF
16996 if ac_fn_cxx_try_compile "$LINENO"; then :
16997
16998 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16999
17000 fi
17001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002
17003     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h.  */
17005 #include <wchar.h>
17006                     namespace test { using ::vwscanf; }
17007 int
17008 main ()
17009 {
17010
17011   ;
17012   return 0;
17013 }
17014 _ACEOF
17015 if ac_fn_cxx_try_compile "$LINENO"; then :
17016
17017 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17018
17019 fi
17020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17021
17022     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17023 /* end confdefs.h.  */
17024 #include <wchar.h>
17025                     namespace test { using ::wcstof; }
17026 int
17027 main ()
17028 {
17029
17030   ;
17031   return 0;
17032 }
17033 _ACEOF
17034 if ac_fn_cxx_try_compile "$LINENO"; then :
17035
17036 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17037
17038 fi
17039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17040
17041     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17042 /* end confdefs.h.  */
17043 #include <wctype.h>
17044 int
17045 main ()
17046 {
17047  wint_t t; int i = iswblank(t);
17048   ;
17049   return 0;
17050 }
17051 _ACEOF
17052 if ac_fn_cxx_try_compile "$LINENO"; then :
17053
17054 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17055
17056 fi
17057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17058
17059     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17060 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17061   fi
17062
17063   # Option parsed, now set things appropriately.
17064   if test x"$glibcxx_cv_c99_math" = x"no" ||
17065      test x"$glibcxx_cv_c99_complex" = x"no" ||
17066      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17067      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17068      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17069     enable_c99=no;
17070   else
17071
17072 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17073
17074   fi
17075
17076   gcc_no_link="$ac_save_gcc_no_link"
17077   LIBS="$ac_save_LIBS"
17078   CXXFLAGS="$ac_save_CXXFLAGS"
17079   ac_ext=c
17080 ac_cpp='$CPP $CPPFLAGS'
17081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17084
17085   fi
17086
17087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17088 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17090 $as_echo "$enable_c99" >&6; }
17091
17092
17093    # Check whether --enable-concept-checks was given.
17094 if test "${enable_concept_checks+set}" = set; then :
17095   enableval=$enable_concept_checks;
17096       case "$enableval" in
17097        yes|no) ;;
17098        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17099       esac
17100
17101 else
17102   enable_concept_checks=no
17103 fi
17104
17105
17106   if test $enable_concept_checks = yes; then
17107
17108 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17109
17110   fi
17111
17112
17113    # Check whether --enable-libstdcxx-debug-flags was given.
17114 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17115   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17116       xno | x)    enable_libstdcxx_debug_flags= ;;
17117       x-*)        ;;
17118       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17119      esac
17120 else
17121   enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17122 fi
17123
17124
17125
17126   # Option parsed, now set things appropriately
17127   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17128
17129
17130   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17131 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17132
17133
17134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17135 $as_echo_n "checking for additional debug build... " >&6; }
17136    # Check whether --enable-libstdcxx-debug was given.
17137 if test "${enable_libstdcxx_debug+set}" = set; then :
17138   enableval=$enable_libstdcxx_debug;
17139       case "$enableval" in
17140        yes|no) ;;
17141        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17142       esac
17143
17144 else
17145   enable_libstdcxx_debug=no
17146 fi
17147
17148
17149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17150 $as_echo "$enable_libstdcxx_debug" >&6; }
17151
17152
17153
17154
17155   enable_parallel=no;
17156
17157   # See if configured libgomp/omp.h exists. (libgomp may be in
17158   # noconfigdirs but not explicitly disabled.)
17159   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17160     enable_parallel=yes;
17161   else
17162     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17163 $as_echo "$as_me: target-libgomp not built" >&6;}
17164   fi
17165
17166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17167 $as_echo_n "checking for parallel mode support... " >&6; }
17168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17169 $as_echo "$enable_parallel" >&6; }
17170
17171
17172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17173 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17174    # Check whether --enable-cxx-flags was given.
17175 if test "${enable_cxx_flags+set}" = set; then :
17176   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17177       xno | x)   enable_cxx_flags= ;;
17178       x-*)       ;;
17179       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17180      esac
17181 else
17182   enable_cxx_flags=
17183 fi
17184
17185
17186
17187   # Run through flags (either default or command-line) and set anything
17188   # extra (e.g., #defines) that must accompany particular g++ options.
17189   if test -n "$enable_cxx_flags"; then
17190     for f in $enable_cxx_flags; do
17191       case "$f" in
17192         -fhonor-std)  ;;
17193         -*)  ;;
17194         *)   # and we're trying to pass /what/ exactly?
17195              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17196       esac
17197     done
17198   fi
17199
17200   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17202 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17203
17204
17205
17206    # Check whether --enable-fully-dynamic-string was given.
17207 if test "${enable_fully_dynamic_string+set}" = set; then :
17208   enableval=$enable_fully_dynamic_string;
17209       case "$enableval" in
17210        yes|no) ;;
17211        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17212       esac
17213
17214 else
17215   enable_fully_dynamic_string=no
17216 fi
17217
17218
17219   if test $enable_fully_dynamic_string = yes; then
17220     enable_fully_dynamic_string_def=1
17221   else
17222     enable_fully_dynamic_string_def=0
17223   fi
17224
17225 cat >>confdefs.h <<_ACEOF
17226 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17227 _ACEOF
17228
17229
17230
17231
17232    # Check whether --enable-extern-template was given.
17233 if test "${enable_extern_template+set}" = set; then :
17234   enableval=$enable_extern_template;
17235       case "$enableval" in
17236        yes|no) ;;
17237        *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17238       esac
17239
17240 else
17241   enable_extern_template=yes
17242 fi
17243
17244
17245
17246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17247 $as_echo_n "checking for extern template support... " >&6; }
17248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17249 $as_echo "$enable_extern_template" >&6; }
17250
17251
17252
17253
17254
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17256 $as_echo_n "checking for custom python install directory... " >&6; }
17257
17258 # Check whether --with-python-dir was given.
17259 if test "${with_python_dir+set}" = set; then :
17260   withval=$with_python_dir; with_python_dir=$withval
17261 else
17262   with_python_dir="no"
17263 fi
17264
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17266 $as_echo "${with_python_dir}" >&6; }
17267
17268 # Needed for installing Python modules during make install.
17269 python_mod_dir="${with_python_dir}"
17270
17271
17272
17273
17274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17275 $as_echo_n "checking for -Werror... " >&6; }
17276    # Check whether --enable-werror was given.
17277 if test "${enable_werror+set}" = set; then :
17278   enableval=$enable_werror;
17279       case "$enableval" in
17280        yes|no) ;;
17281        *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17282       esac
17283
17284 else
17285   enable_werror=yes
17286 fi
17287
17288
17289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17290 $as_echo "$enable_werror" >&6; }
17291
17292
17293
17294 # Checks for operating systems support that doesn't require linking.
17295
17296
17297
17298   ac_ext=cpp
17299 ac_cpp='$CXXCPP $CPPFLAGS'
17300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17303
17304
17305   case "$host" in
17306     *-*-solaris2.*)
17307       # Solaris 8 FCS only had an overload for double std::abs(double) in
17308       # <iso/math_iso.h>.  Patches 111721-04 (SPARC) and 112757-01 (x86)
17309       # introduced the full set also found from Solaris 9 onwards.
17310       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17311 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17312       if test "${glibcxx_cv_abs_float+set}" = set; then :
17313   $as_echo_n "(cached) " >&6
17314 else
17315
17316         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17317 /* end confdefs.h.  */
17318 #include <math.h>
17319            namespace std {
17320              inline float abs(float __x)
17321              {  return __builtin_fabsf(__x); }
17322            }
17323
17324 _ACEOF
17325 if ac_fn_cxx_try_compile "$LINENO"; then :
17326   glibcxx_cv_abs_float=no
17327 else
17328   glibcxx_cv_abs_float=yes
17329
17330 fi
17331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17332 fi
17333
17334
17335       # autoheader cannot handle indented templates.
17336
17337
17338
17339       if test $glibcxx_cv_abs_float = yes; then
17340         $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17341
17342       else
17343         $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17344
17345       fi
17346       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17347 $as_echo "$glibcxx_cv_abs_float" >&6; }
17348       ;;
17349   esac
17350
17351   ac_ext=c
17352 ac_cpp='$CPP $CPPFLAGS'
17353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17356
17357
17358
17359
17360
17361   ac_ext=cpp
17362 ac_cpp='$CXXCPP $CPPFLAGS'
17363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17366
17367
17368   case "$host" in
17369     *-*-solaris2.*)
17370       # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17371       # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>.  Patches 109607-02
17372       # (SPARC) and 109608-02 (x86) introduced them.
17373       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17374 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17375       if test "${glibcxx_cv_abs_long+set}" = set; then :
17376   $as_echo_n "(cached) " >&6
17377 else
17378
17379         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h.  */
17381 #include <stdlib.h>
17382            namespace std {
17383              inline long
17384              abs(long __i) { return labs(__i); }
17385            }
17386
17387 _ACEOF
17388 if ac_fn_cxx_try_compile "$LINENO"; then :
17389   glibcxx_cv_abs_long=no
17390 else
17391   glibcxx_cv_abs_long=yes
17392
17393 fi
17394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17395 fi
17396
17397
17398       # autoheader cannot handle indented templates.
17399
17400       if test $glibcxx_cv_abs_long = yes; then
17401         $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17402
17403       fi
17404       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17405 $as_echo "$glibcxx_cv_abs_long" >&6; }
17406       ;;
17407   esac
17408
17409   ac_ext=c
17410 ac_cpp='$CPP $CPPFLAGS'
17411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17414
17415
17416
17417
17418
17419   ac_ext=cpp
17420 ac_cpp='$CXXCPP $CPPFLAGS'
17421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17424
17425
17426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17427 $as_echo_n "checking for gets declaration... " >&6; }
17428   if test "${glibcxx_cv_gets+set}" = set; then :
17429   $as_echo_n "(cached) " >&6
17430 else
17431
17432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h.  */
17434 #include <stdio.h>
17435            namespace test
17436            {
17437               using ::gets;
17438            }
17439
17440 _ACEOF
17441 if ac_fn_cxx_try_compile "$LINENO"; then :
17442   glibcxx_cv_gets=yes
17443 else
17444   glibcxx_cv_gets=no
17445
17446 fi
17447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17448 fi
17449
17450
17451   if test $glibcxx_cv_gets = yes; then
17452
17453 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17454
17455   fi
17456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17457 $as_echo "$glibcxx_cv_gets" >&6; }
17458
17459   ac_ext=c
17460 ac_cpp='$CPP $CPPFLAGS'
17461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17464
17465
17466
17467
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17469 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17470 if test "${glibcxx_cv_system_error1+set}" = set; then :
17471   $as_echo_n "(cached) " >&6
17472 else
17473
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h.  */
17476 #include <errno.h>
17477 int
17478 main ()
17479 {
17480 int i = EOWNERDEAD;
17481   ;
17482   return 0;
17483 }
17484 _ACEOF
17485 if ac_fn_c_try_compile "$LINENO"; then :
17486   glibcxx_cv_system_error1=yes
17487 else
17488   glibcxx_cv_system_error1=no
17489 fi
17490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17491
17492 fi
17493
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17495 $as_echo "$glibcxx_cv_system_error1" >&6; }
17496 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17497
17498 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17499
17500 fi
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17502 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17503 if test "${glibcxx_cv_system_error2+set}" = set; then :
17504   $as_echo_n "(cached) " >&6
17505 else
17506
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h.  */
17509 #include <errno.h>
17510 int
17511 main ()
17512 {
17513 int i = ENOTRECOVERABLE;
17514   ;
17515   return 0;
17516 }
17517 _ACEOF
17518 if ac_fn_c_try_compile "$LINENO"; then :
17519   glibcxx_cv_system_error2=yes
17520 else
17521   glibcxx_cv_system_error2=no
17522 fi
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17524
17525 fi
17526
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17528 $as_echo "$glibcxx_cv_system_error2" >&6; }
17529 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17530
17531 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17532
17533 fi
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17535 $as_echo_n "checking for ENOLINK... " >&6; }
17536 if test "${glibcxx_cv_system_error3+set}" = set; then :
17537   $as_echo_n "(cached) " >&6
17538 else
17539
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h.  */
17542 #include <errno.h>
17543 int
17544 main ()
17545 {
17546 int i = ENOLINK;
17547   ;
17548   return 0;
17549 }
17550 _ACEOF
17551 if ac_fn_c_try_compile "$LINENO"; then :
17552   glibcxx_cv_system_error3=yes
17553 else
17554   glibcxx_cv_system_error3=no
17555 fi
17556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17557
17558 fi
17559
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17561 $as_echo "$glibcxx_cv_system_error3" >&6; }
17562 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17563
17564 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17565
17566 fi
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17568 $as_echo_n "checking for EPROTO... " >&6; }
17569 if test "${glibcxx_cv_system_error4+set}" = set; then :
17570   $as_echo_n "(cached) " >&6
17571 else
17572
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h.  */
17575 #include <errno.h>
17576 int
17577 main ()
17578 {
17579 int i = EPROTO;
17580   ;
17581   return 0;
17582 }
17583 _ACEOF
17584 if ac_fn_c_try_compile "$LINENO"; then :
17585   glibcxx_cv_system_error4=yes
17586 else
17587   glibcxx_cv_system_error4=no
17588 fi
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17590
17591 fi
17592
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17594 $as_echo "$glibcxx_cv_system_error4" >&6; }
17595 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17596
17597 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17598
17599 fi
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17601 $as_echo_n "checking for ENODATA... " >&6; }
17602 if test "${glibcxx_cv_system_error5+set}" = set; then :
17603   $as_echo_n "(cached) " >&6
17604 else
17605
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h.  */
17608 #include <errno.h>
17609 int
17610 main ()
17611 {
17612 int i = ENODATA;
17613   ;
17614   return 0;
17615 }
17616 _ACEOF
17617 if ac_fn_c_try_compile "$LINENO"; then :
17618   glibcxx_cv_system_error5=yes
17619 else
17620   glibcxx_cv_system_error5=no
17621 fi
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623
17624 fi
17625
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17627 $as_echo "$glibcxx_cv_system_error5" >&6; }
17628 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17629
17630 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17631
17632 fi
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17634 $as_echo_n "checking for ENOSR... " >&6; }
17635 if test "${glibcxx_cv_system_error6+set}" = set; then :
17636   $as_echo_n "(cached) " >&6
17637 else
17638
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h.  */
17641 #include <errno.h>
17642 int
17643 main ()
17644 {
17645 int i = ENOSR;
17646   ;
17647   return 0;
17648 }
17649 _ACEOF
17650 if ac_fn_c_try_compile "$LINENO"; then :
17651   glibcxx_cv_system_error6=yes
17652 else
17653   glibcxx_cv_system_error6=no
17654 fi
17655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656
17657 fi
17658
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17660 $as_echo "$glibcxx_cv_system_error6" >&6; }
17661 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17662
17663 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17664
17665 fi
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17667 $as_echo_n "checking for ENOSTR... " >&6; }
17668 if test "${glibcxx_cv_system_error7+set}" = set; then :
17669   $as_echo_n "(cached) " >&6
17670 else
17671
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h.  */
17674 #include <errno.h>
17675 int
17676 main ()
17677 {
17678 int i = ENOSTR;
17679   ;
17680   return 0;
17681 }
17682 _ACEOF
17683 if ac_fn_c_try_compile "$LINENO"; then :
17684   glibcxx_cv_system_error7=yes
17685 else
17686   glibcxx_cv_system_error7=no
17687 fi
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17689
17690 fi
17691
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17693 $as_echo "$glibcxx_cv_system_error7" >&6; }
17694 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17695
17696 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17697
17698 fi
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17700 $as_echo_n "checking for ETIME... " >&6; }
17701 if test "${glibcxx_cv_system_error8+set}" = set; then :
17702   $as_echo_n "(cached) " >&6
17703 else
17704
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h.  */
17707 #include <errno.h>
17708 int
17709 main ()
17710 {
17711 int i = ETIME;
17712   ;
17713   return 0;
17714 }
17715 _ACEOF
17716 if ac_fn_c_try_compile "$LINENO"; then :
17717   glibcxx_cv_system_error8=yes
17718 else
17719   glibcxx_cv_system_error8=no
17720 fi
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17722
17723 fi
17724
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17726 $as_echo "$glibcxx_cv_system_error8" >&6; }
17727 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17728
17729 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17730
17731 fi
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17733 $as_echo_n "checking for EBADMSG... " >&6; }
17734 if test "${glibcxx_cv_system_error9+set}" = set; then :
17735   $as_echo_n "(cached) " >&6
17736 else
17737
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h.  */
17740 #include <errno.h>
17741 int
17742 main ()
17743 {
17744 int i = EBADMSG;
17745   ;
17746   return 0;
17747 }
17748 _ACEOF
17749 if ac_fn_c_try_compile "$LINENO"; then :
17750   glibcxx_cv_system_error9=yes
17751 else
17752   glibcxx_cv_system_error9=no
17753 fi
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755
17756 fi
17757
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17759 $as_echo "$glibcxx_cv_system_error9" >&6; }
17760 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17761
17762 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17763
17764 fi
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17766 $as_echo_n "checking for ECANCELED... " >&6; }
17767 if test "${glibcxx_cv_system_error10+set}" = set; then :
17768   $as_echo_n "(cached) " >&6
17769 else
17770
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h.  */
17773 #include <errno.h>
17774 int
17775 main ()
17776 {
17777 int i = ECANCELED;
17778   ;
17779   return 0;
17780 }
17781 _ACEOF
17782 if ac_fn_c_try_compile "$LINENO"; then :
17783   glibcxx_cv_system_error10=yes
17784 else
17785   glibcxx_cv_system_error10=no
17786 fi
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17788
17789 fi
17790
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17792 $as_echo "$glibcxx_cv_system_error10" >&6; }
17793 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17794
17795 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17796
17797 fi
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17799 $as_echo_n "checking for EOVERFLOW... " >&6; }
17800 if test "${glibcxx_cv_system_error11+set}" = set; then :
17801   $as_echo_n "(cached) " >&6
17802 else
17803
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h.  */
17806 #include <errno.h>
17807 int
17808 main ()
17809 {
17810 int i = EOVERFLOW;
17811   ;
17812   return 0;
17813 }
17814 _ACEOF
17815 if ac_fn_c_try_compile "$LINENO"; then :
17816   glibcxx_cv_system_error11=yes
17817 else
17818   glibcxx_cv_system_error11=no
17819 fi
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17821
17822 fi
17823
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17825 $as_echo "$glibcxx_cv_system_error11" >&6; }
17826 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17827
17828 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17829
17830 fi
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17832 $as_echo_n "checking for ENOTSUP... " >&6; }
17833 if test "${glibcxx_cv_system_error12+set}" = set; then :
17834   $as_echo_n "(cached) " >&6
17835 else
17836
17837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h.  */
17839 #include <errno.h>
17840 int
17841 main ()
17842 {
17843 int i = ENOTSUP;
17844   ;
17845   return 0;
17846 }
17847 _ACEOF
17848 if ac_fn_c_try_compile "$LINENO"; then :
17849   glibcxx_cv_system_error12=yes
17850 else
17851   glibcxx_cv_system_error12=no
17852 fi
17853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17854
17855 fi
17856
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17858 $as_echo "$glibcxx_cv_system_error12" >&6; }
17859 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17860
17861 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17862
17863 fi
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17865 $as_echo_n "checking for EIDRM... " >&6; }
17866 if test "${glibcxx_cv_system_error13+set}" = set; then :
17867   $as_echo_n "(cached) " >&6
17868 else
17869
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h.  */
17872 #include <errno.h>
17873 int
17874 main ()
17875 {
17876 int i = EIDRM;
17877   ;
17878   return 0;
17879 }
17880 _ACEOF
17881 if ac_fn_c_try_compile "$LINENO"; then :
17882   glibcxx_cv_system_error13=yes
17883 else
17884   glibcxx_cv_system_error13=no
17885 fi
17886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17887
17888 fi
17889
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17891 $as_echo "$glibcxx_cv_system_error13" >&6; }
17892 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17893
17894 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17895
17896 fi
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17898 $as_echo_n "checking for ETXTBSY... " >&6; }
17899 if test "${glibcxx_cv_system_error14+set}" = set; then :
17900   $as_echo_n "(cached) " >&6
17901 else
17902
17903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h.  */
17905 #include <errno.h>
17906 int
17907 main ()
17908 {
17909 int i = ETXTBSY;
17910   ;
17911   return 0;
17912 }
17913 _ACEOF
17914 if ac_fn_c_try_compile "$LINENO"; then :
17915   glibcxx_cv_system_error14=yes
17916 else
17917   glibcxx_cv_system_error14=no
17918 fi
17919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17920
17921 fi
17922
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17924 $as_echo "$glibcxx_cv_system_error14" >&6; }
17925 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17926
17927 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17928
17929 fi
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17931 $as_echo_n "checking for ECHILD... " >&6; }
17932 if test "${glibcxx_cv_system_error15+set}" = set; then :
17933   $as_echo_n "(cached) " >&6
17934 else
17935
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h.  */
17938 #include <errno.h>
17939 int
17940 main ()
17941 {
17942 int i = ECHILD;
17943   ;
17944   return 0;
17945 }
17946 _ACEOF
17947 if ac_fn_c_try_compile "$LINENO"; then :
17948   glibcxx_cv_system_error15=yes
17949 else
17950   glibcxx_cv_system_error15=no
17951 fi
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17953
17954 fi
17955
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17957 $as_echo "$glibcxx_cv_system_error15" >&6; }
17958 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17959
17960 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17961
17962 fi
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17964 $as_echo_n "checking for ENOSPC... " >&6; }
17965 if test "${glibcxx_cv_system_error16+set}" = set; then :
17966   $as_echo_n "(cached) " >&6
17967 else
17968
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h.  */
17971 #include <errno.h>
17972 int
17973 main ()
17974 {
17975 int i = ENOSPC;
17976   ;
17977   return 0;
17978 }
17979 _ACEOF
17980 if ac_fn_c_try_compile "$LINENO"; then :
17981   glibcxx_cv_system_error16=yes
17982 else
17983   glibcxx_cv_system_error16=no
17984 fi
17985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17986
17987 fi
17988
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17990 $as_echo "$glibcxx_cv_system_error16" >&6; }
17991 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17992
17993 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17994
17995 fi
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17997 $as_echo_n "checking for EPERM... " >&6; }
17998 if test "${glibcxx_cv_system_error17+set}" = set; then :
17999   $as_echo_n "(cached) " >&6
18000 else
18001
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h.  */
18004 #include <errno.h>
18005 int
18006 main ()
18007 {
18008 int i = EPERM;
18009   ;
18010   return 0;
18011 }
18012 _ACEOF
18013 if ac_fn_c_try_compile "$LINENO"; then :
18014   glibcxx_cv_system_error17=yes
18015 else
18016   glibcxx_cv_system_error17=no
18017 fi
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019
18020 fi
18021
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18023 $as_echo "$glibcxx_cv_system_error17" >&6; }
18024 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18025
18026 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18027
18028 fi
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18030 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18031 if test "${glibcxx_cv_system_error18+set}" = set; then :
18032   $as_echo_n "(cached) " >&6
18033 else
18034
18035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h.  */
18037 #include <errno.h>
18038 int
18039 main ()
18040 {
18041 int i = ETIMEDOUT;
18042   ;
18043   return 0;
18044 }
18045 _ACEOF
18046 if ac_fn_c_try_compile "$LINENO"; then :
18047   glibcxx_cv_system_error18=yes
18048 else
18049   glibcxx_cv_system_error18=no
18050 fi
18051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18052
18053 fi
18054
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18056 $as_echo "$glibcxx_cv_system_error18" >&6; }
18057 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18058
18059 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18060
18061 fi
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18063 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18064 if test "${glibcxx_cv_system_error19+set}" = set; then :
18065   $as_echo_n "(cached) " >&6
18066 else
18067
18068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18069 /* end confdefs.h.  */
18070 #include <errno.h>
18071 int
18072 main ()
18073 {
18074 int i = EWOULDBLOCK;
18075   ;
18076   return 0;
18077 }
18078 _ACEOF
18079 if ac_fn_c_try_compile "$LINENO"; then :
18080   glibcxx_cv_system_error19=yes
18081 else
18082   glibcxx_cv_system_error19=no
18083 fi
18084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18085
18086 fi
18087
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18089 $as_echo "$glibcxx_cv_system_error19" >&6; }
18090 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18091
18092 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18093
18094 fi
18095
18096
18097
18098 # For the streamoff typedef.
18099
18100
18101
18102   ac_ext=cpp
18103 ac_cpp='$CXXCPP $CPPFLAGS'
18104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18107
18108
18109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18110 $as_echo_n "checking for int64_t... " >&6; }
18111   if test "${glibcxx_cv_INT64_T+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 int
18119 main ()
18120 {
18121 int64_t var;
18122   ;
18123   return 0;
18124 }
18125 _ACEOF
18126 if ac_fn_cxx_try_compile "$LINENO"; then :
18127   glibcxx_cv_INT64_T=yes
18128 else
18129   glibcxx_cv_INT64_T=no
18130 fi
18131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18132
18133 fi
18134
18135
18136   if test $glibcxx_cv_INT64_T = yes; then
18137
18138 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18139
18140     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18141 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18142
18143     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18144 $as_echo_n "checking for int64_t as long... " >&6; }
18145     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18146   $as_echo_n "(cached) " >&6
18147 else
18148
18149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18150 /* end confdefs.h.  */
18151 #include <stdint.h>
18152         template<typename, typename> struct same { enum { value = -1 }; };
18153         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18154         int array[same<int64_t, long>::value];
18155 int
18156 main ()
18157 {
18158
18159   ;
18160   return 0;
18161 }
18162 _ACEOF
18163 if ac_fn_cxx_try_compile "$LINENO"; then :
18164   glibcxx_cv_int64_t_long=yes
18165 else
18166   glibcxx_cv_int64_t_long=no
18167 fi
18168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18169
18170 fi
18171
18172
18173     if test $glibcxx_cv_int64_t_long = yes; then
18174
18175 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18176
18177       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18178 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18179     fi
18180
18181     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18182 $as_echo_n "checking for int64_t as long long... " >&6; }
18183     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18184   $as_echo_n "(cached) " >&6
18185 else
18186
18187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18188 /* end confdefs.h.  */
18189 #include <stdint.h>
18190         template<typename, typename> struct same { enum { value = -1 }; };
18191         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18192         int array[same<int64_t, long long>::value];
18193 int
18194 main ()
18195 {
18196
18197   ;
18198   return 0;
18199 }
18200 _ACEOF
18201 if ac_fn_cxx_try_compile "$LINENO"; then :
18202   glibcxx_cv_int64_t_long_long=yes
18203 else
18204   glibcxx_cv_int64_t_long_long=no
18205 fi
18206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18207
18208 fi
18209
18210
18211     if test $glibcxx_cv_int64_t_long_long = yes; then
18212
18213 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18214
18215       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18216 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18217     fi
18218   fi
18219
18220   ac_ext=c
18221 ac_cpp='$CPP $CPPFLAGS'
18222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18225
18226
18227
18228 # For LFS support.
18229
18230
18231   ac_ext=cpp
18232 ac_cpp='$CXXCPP $CPPFLAGS'
18233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18236
18237   ac_save_CXXFLAGS="$CXXFLAGS"
18238   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18240 $as_echo_n "checking for LFS support... " >&6; }
18241   if test "${glibcxx_cv_LFS+set}" = set; then :
18242   $as_echo_n "(cached) " >&6
18243 else
18244
18245     if test x$gcc_no_link = xyes; then
18246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18247 /* end confdefs.h.  */
18248 #include <unistd.h>
18249        #include <stdio.h>
18250        #include <sys/stat.h>
18251
18252 int
18253 main ()
18254 {
18255 FILE* fp;
18256        fopen64("t", "w");
18257        fseeko64(fp, 0, SEEK_CUR);
18258        ftello64(fp);
18259        lseek64(1, 0, SEEK_CUR);
18260        struct stat64 buf;
18261        fstat64(1, &buf);
18262   ;
18263   return 0;
18264 }
18265 _ACEOF
18266 if ac_fn_cxx_try_compile "$LINENO"; then :
18267   glibcxx_cv_LFS=yes
18268 else
18269   glibcxx_cv_LFS=no
18270 fi
18271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18272 else
18273   if test x$gcc_no_link = xyes; then
18274   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18275 fi
18276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18277 /* end confdefs.h.  */
18278 #include <unistd.h>
18279        #include <stdio.h>
18280        #include <sys/stat.h>
18281
18282 int
18283 main ()
18284 {
18285 FILE* fp;
18286        fopen64("t", "w");
18287        fseeko64(fp, 0, SEEK_CUR);
18288        ftello64(fp);
18289        lseek64(1, 0, SEEK_CUR);
18290        struct stat64 buf;
18291        fstat64(1, &buf);
18292   ;
18293   return 0;
18294 }
18295 _ACEOF
18296 if ac_fn_cxx_try_link "$LINENO"; then :
18297   glibcxx_cv_LFS=yes
18298 else
18299   glibcxx_cv_LFS=no
18300 fi
18301 rm -f core conftest.err conftest.$ac_objext \
18302     conftest$ac_exeext conftest.$ac_ext
18303 fi
18304
18305 fi
18306
18307   if test $glibcxx_cv_LFS = yes; then
18308
18309 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18310
18311   fi
18312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18313 $as_echo "$glibcxx_cv_LFS" >&6; }
18314   CXXFLAGS="$ac_save_CXXFLAGS"
18315   ac_ext=c
18316 ac_cpp='$CPP $CPPFLAGS'
18317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18320
18321
18322
18323 # For showmanyc_helper().
18324 for ac_header in sys/ioctl.h sys/filio.h
18325 do :
18326   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18327 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18328 eval as_val=\$$as_ac_Header
18329    if test "x$as_val" = x""yes; then :
18330   cat >>confdefs.h <<_ACEOF
18331 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18332 _ACEOF
18333
18334 fi
18335
18336 done
18337
18338
18339
18340
18341   ac_ext=cpp
18342 ac_cpp='$CXXCPP $CPPFLAGS'
18343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18346
18347   ac_save_CXXFLAGS="$CXXFLAGS"
18348   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18349
18350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18351 $as_echo_n "checking for poll... " >&6; }
18352   if test "${glibcxx_cv_POLL+set}" = set; then :
18353   $as_echo_n "(cached) " >&6
18354 else
18355
18356     if test x$gcc_no_link = xyes; then
18357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18358 /* end confdefs.h.  */
18359 #include <poll.h>
18360 int
18361 main ()
18362 {
18363 struct pollfd pfd[1];
18364        pfd[0].events = POLLIN;
18365        poll(pfd, 1, 0);
18366   ;
18367   return 0;
18368 }
18369 _ACEOF
18370 if ac_fn_cxx_try_compile "$LINENO"; then :
18371   glibcxx_cv_POLL=yes
18372 else
18373   glibcxx_cv_POLL=no
18374 fi
18375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18376 else
18377   if test x$gcc_no_link = xyes; then
18378   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18379 fi
18380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18381 /* end confdefs.h.  */
18382 #include <poll.h>
18383 int
18384 main ()
18385 {
18386 struct pollfd pfd[1];
18387        pfd[0].events = POLLIN;
18388        poll(pfd, 1, 0);
18389   ;
18390   return 0;
18391 }
18392 _ACEOF
18393 if ac_fn_cxx_try_link "$LINENO"; then :
18394   glibcxx_cv_POLL=yes
18395 else
18396   glibcxx_cv_POLL=no
18397 fi
18398 rm -f core conftest.err conftest.$ac_objext \
18399     conftest$ac_exeext conftest.$ac_ext
18400 fi
18401
18402 fi
18403
18404   if test $glibcxx_cv_POLL = yes; then
18405
18406 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18407
18408   fi
18409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18410 $as_echo "$glibcxx_cv_POLL" >&6; }
18411
18412   CXXFLAGS="$ac_save_CXXFLAGS"
18413   ac_ext=c
18414 ac_cpp='$CPP $CPPFLAGS'
18415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18418
18419
18420
18421
18422
18423   ac_ext=cpp
18424 ac_cpp='$CXXCPP $CPPFLAGS'
18425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18428
18429   ac_save_CXXFLAGS="$CXXFLAGS"
18430   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18431
18432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18433 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18434   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18435   $as_echo_n "(cached) " >&6
18436 else
18437
18438     if test x$gcc_no_link = xyes; then
18439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h.  */
18441 #include <sys/stat.h>
18442 int
18443 main ()
18444 {
18445 struct stat buffer;
18446        fstat(0, &buffer);
18447        S_ISREG(buffer.st_mode);
18448   ;
18449   return 0;
18450 }
18451 _ACEOF
18452 if ac_fn_cxx_try_compile "$LINENO"; then :
18453   glibcxx_cv_S_ISREG=yes
18454 else
18455   glibcxx_cv_S_ISREG=no
18456 fi
18457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18458 else
18459   if test x$gcc_no_link = xyes; then
18460   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18461 fi
18462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18463 /* end confdefs.h.  */
18464 #include <sys/stat.h>
18465 int
18466 main ()
18467 {
18468 struct stat buffer;
18469        fstat(0, &buffer);
18470        S_ISREG(buffer.st_mode);
18471   ;
18472   return 0;
18473 }
18474 _ACEOF
18475 if ac_fn_cxx_try_link "$LINENO"; then :
18476   glibcxx_cv_S_ISREG=yes
18477 else
18478   glibcxx_cv_S_ISREG=no
18479 fi
18480 rm -f core conftest.err conftest.$ac_objext \
18481     conftest$ac_exeext conftest.$ac_ext
18482 fi
18483
18484 fi
18485
18486   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18487   $as_echo_n "(cached) " >&6
18488 else
18489
18490     if test x$gcc_no_link = xyes; then
18491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18492 /* end confdefs.h.  */
18493 #include <sys/stat.h>
18494 int
18495 main ()
18496 {
18497 struct stat buffer;
18498        fstat(0, &buffer);
18499        S_IFREG & buffer.st_mode;
18500   ;
18501   return 0;
18502 }
18503 _ACEOF
18504 if ac_fn_cxx_try_compile "$LINENO"; then :
18505   glibcxx_cv_S_IFREG=yes
18506 else
18507   glibcxx_cv_S_IFREG=no
18508 fi
18509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18510 else
18511   if test x$gcc_no_link = xyes; then
18512   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18513 fi
18514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18515 /* end confdefs.h.  */
18516 #include <sys/stat.h>
18517 int
18518 main ()
18519 {
18520 struct stat buffer;
18521        fstat(0, &buffer);
18522        S_IFREG & buffer.st_mode;
18523   ;
18524   return 0;
18525 }
18526 _ACEOF
18527 if ac_fn_cxx_try_link "$LINENO"; then :
18528   glibcxx_cv_S_IFREG=yes
18529 else
18530   glibcxx_cv_S_IFREG=no
18531 fi
18532 rm -f core conftest.err conftest.$ac_objext \
18533     conftest$ac_exeext conftest.$ac_ext
18534 fi
18535
18536 fi
18537
18538   res=no
18539   if test $glibcxx_cv_S_ISREG = yes; then
18540
18541 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18542
18543     res=S_ISREG
18544   elif test $glibcxx_cv_S_IFREG = yes; then
18545
18546 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18547
18548     res=S_IFREG
18549   fi
18550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18551 $as_echo "$res" >&6; }
18552
18553   CXXFLAGS="$ac_save_CXXFLAGS"
18554   ac_ext=c
18555 ac_cpp='$CPP $CPPFLAGS'
18556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18559
18560
18561
18562 # For xsputn_2().
18563 for ac_header in sys/uio.h
18564 do :
18565   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18566 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18567   cat >>confdefs.h <<_ACEOF
18568 #define HAVE_SYS_UIO_H 1
18569 _ACEOF
18570
18571 fi
18572
18573 done
18574
18575
18576
18577
18578   ac_ext=cpp
18579 ac_cpp='$CXXCPP $CPPFLAGS'
18580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18583
18584   ac_save_CXXFLAGS="$CXXFLAGS"
18585   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18586
18587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18588 $as_echo_n "checking for writev... " >&6; }
18589   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18590   $as_echo_n "(cached) " >&6
18591 else
18592
18593     if test x$gcc_no_link = xyes; then
18594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18595 /* end confdefs.h.  */
18596 #include <sys/uio.h>
18597 int
18598 main ()
18599 {
18600 struct iovec iov[2];
18601        writev(0, iov, 0);
18602   ;
18603   return 0;
18604 }
18605 _ACEOF
18606 if ac_fn_cxx_try_compile "$LINENO"; then :
18607   glibcxx_cv_WRITEV=yes
18608 else
18609   glibcxx_cv_WRITEV=no
18610 fi
18611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18612 else
18613   if test x$gcc_no_link = xyes; then
18614   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18615 fi
18616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h.  */
18618 #include <sys/uio.h>
18619 int
18620 main ()
18621 {
18622 struct iovec iov[2];
18623        writev(0, iov, 0);
18624   ;
18625   return 0;
18626 }
18627 _ACEOF
18628 if ac_fn_cxx_try_link "$LINENO"; then :
18629   glibcxx_cv_WRITEV=yes
18630 else
18631   glibcxx_cv_WRITEV=no
18632 fi
18633 rm -f core conftest.err conftest.$ac_objext \
18634     conftest$ac_exeext conftest.$ac_ext
18635 fi
18636
18637 fi
18638
18639   if test $glibcxx_cv_WRITEV = yes; then
18640
18641 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18642
18643   fi
18644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18645 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18646
18647   CXXFLAGS="$ac_save_CXXFLAGS"
18648   ac_ext=c
18649 ac_cpp='$CPP $CPPFLAGS'
18650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18653
18654
18655
18656 # For C99 support to TR1.
18657
18658
18659
18660   ac_ext=cpp
18661 ac_cpp='$CXXCPP $CPPFLAGS'
18662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18665
18666
18667   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18668   # undefined and fake C99 facilities may be spuriously enabled.
18669   ac_save_CXXFLAGS="$CXXFLAGS"
18670   CXXFLAGS="$CXXFLAGS -std=c++98"
18671
18672   # Check for the existence of <complex.h> complex math functions used
18673   # by tr1/complex.
18674   for ac_header in complex.h
18675 do :
18676   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18677 if test "x$ac_cv_header_complex_h" = x""yes; then :
18678   cat >>confdefs.h <<_ACEOF
18679 #define HAVE_COMPLEX_H 1
18680 _ACEOF
18681  ac_has_complex_h=yes
18682 else
18683   ac_has_complex_h=no
18684 fi
18685
18686 done
18687
18688   ac_c99_complex_tr1=no;
18689   if test x"$ac_has_complex_h" = x"yes"; then
18690     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18691 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18692     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18693 /* end confdefs.h.  */
18694 #include <complex.h>
18695 int
18696 main ()
18697 {
18698 typedef __complex__ float float_type; float_type tmpf;
18699                     cacosf(tmpf);
18700                     casinf(tmpf);
18701                     catanf(tmpf);
18702                     cacoshf(tmpf);
18703                     casinhf(tmpf);
18704                     catanhf(tmpf);
18705                     typedef __complex__ double double_type; double_type tmpd;
18706                     cacos(tmpd);
18707                     casin(tmpd);
18708                     catan(tmpd);
18709                     cacosh(tmpd);
18710                     casinh(tmpd);
18711                     catanh(tmpd);
18712                     typedef __complex__ long double ld_type; ld_type tmpld;
18713                     cacosl(tmpld);
18714                     casinl(tmpld);
18715                     catanl(tmpld);
18716                     cacoshl(tmpld);
18717                     casinhl(tmpld);
18718                     catanhl(tmpld);
18719
18720   ;
18721   return 0;
18722 }
18723 _ACEOF
18724 if ac_fn_cxx_try_compile "$LINENO"; then :
18725   ac_c99_complex_tr1=yes
18726 else
18727   ac_c99_complex_tr1=no
18728 fi
18729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18730   fi
18731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18732 $as_echo "$ac_c99_complex_tr1" >&6; }
18733   if test x"$ac_c99_complex_tr1" = x"yes"; then
18734
18735 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18736
18737   fi
18738
18739   # Check for the existence of <ctype.h> functions.
18740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18741 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18742   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18743   $as_echo_n "(cached) " >&6
18744 else
18745
18746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18747 /* end confdefs.h.  */
18748 #include <ctype.h>
18749 int
18750 main ()
18751 {
18752 int ch;
18753                   int ret;
18754                   ret = isblank(ch);
18755
18756   ;
18757   return 0;
18758 }
18759 _ACEOF
18760 if ac_fn_cxx_try_compile "$LINENO"; then :
18761   glibcxx_cv_c99_ctype_tr1=yes
18762 else
18763   glibcxx_cv_c99_ctype_tr1=no
18764 fi
18765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18766
18767 fi
18768
18769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18770 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18771   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18772
18773 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18774
18775   fi
18776
18777   # Check for the existence of <fenv.h> functions.
18778   for ac_header in fenv.h
18779 do :
18780   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18781 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18782   cat >>confdefs.h <<_ACEOF
18783 #define HAVE_FENV_H 1
18784 _ACEOF
18785  ac_has_fenv_h=yes
18786 else
18787   ac_has_fenv_h=no
18788 fi
18789
18790 done
18791
18792   ac_c99_fenv_tr1=no;
18793   if test x"$ac_has_fenv_h" = x"yes"; then
18794     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18795 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18796     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18797 /* end confdefs.h.  */
18798 #include <fenv.h>
18799 int
18800 main ()
18801 {
18802 int except, mode;
18803                     fexcept_t* pflag;
18804                     fenv_t* penv;
18805                     int ret;
18806                     ret = feclearexcept(except);
18807                     ret = fegetexceptflag(pflag, except);
18808                     ret = feraiseexcept(except);
18809                     ret = fesetexceptflag(pflag, except);
18810                     ret = fetestexcept(except);
18811                     ret = fegetround();
18812                     ret = fesetround(mode);
18813                     ret = fegetenv(penv);
18814                     ret = feholdexcept(penv);
18815                     ret = fesetenv(penv);
18816                     ret = feupdateenv(penv);
18817
18818   ;
18819   return 0;
18820 }
18821 _ACEOF
18822 if ac_fn_cxx_try_compile "$LINENO"; then :
18823   ac_c99_fenv_tr1=yes
18824 else
18825   ac_c99_fenv_tr1=no
18826 fi
18827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18828   fi
18829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18830 $as_echo "$ac_c99_fenv_tr1" >&6; }
18831   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18832
18833 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18834
18835   fi
18836
18837   # Check for the existence of <stdint.h> types.
18838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18839 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18840   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18841   $as_echo_n "(cached) " >&6
18842 else
18843
18844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18845 /* end confdefs.h.  */
18846 #define __STDC_LIMIT_MACROS
18847                   #define __STDC_CONSTANT_MACROS
18848                   #include <stdint.h>
18849 int
18850 main ()
18851 {
18852 typedef int8_t          my_int8_t;
18853                   my_int8_t               i8 = INT8_MIN;
18854                   i8 = INT8_MAX;
18855                   typedef int16_t         my_int16_t;
18856                   my_int16_t              i16 = INT16_MIN;
18857                   i16 = INT16_MAX;
18858                   typedef int32_t         my_int32_t;
18859                   my_int32_t              i32 = INT32_MIN;
18860                   i32 = INT32_MAX;
18861                   typedef int64_t         my_int64_t;
18862                   my_int64_t              i64 = INT64_MIN;
18863                   i64 = INT64_MAX;
18864                   typedef int_fast8_t     my_int_fast8_t;
18865                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18866                   if8 = INT_FAST8_MAX;
18867                   typedef int_fast16_t    my_int_fast16_t;
18868                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18869                   if16 = INT_FAST16_MAX;
18870                   typedef int_fast32_t    my_int_fast32_t;
18871                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18872                   if32 = INT_FAST32_MAX;
18873                   typedef int_fast64_t    my_int_fast64_t;
18874                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18875                   if64 = INT_FAST64_MAX;
18876                   typedef int_least8_t    my_int_least8_t;
18877                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18878                   il8 = INT_LEAST8_MAX;
18879                   typedef int_least16_t   my_int_least16_t;
18880                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18881                   il16 = INT_LEAST16_MAX;
18882                   typedef int_least32_t   my_int_least32_t;
18883                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18884                   il32 = INT_LEAST32_MAX;
18885                   typedef int_least64_t   my_int_least64_t;
18886                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18887                   il64 = INT_LEAST64_MAX;
18888                   typedef intmax_t        my_intmax_t;
18889                   my_intmax_t             im = INTMAX_MAX;
18890                   im = INTMAX_MIN;
18891                   typedef intptr_t        my_intptr_t;
18892                   my_intptr_t             ip = INTPTR_MAX;
18893                   ip = INTPTR_MIN;
18894                   typedef uint8_t         my_uint8_t;
18895                   my_uint8_t              ui8 = UINT8_MAX;
18896                   ui8 = UINT8_MAX;
18897                   typedef uint16_t        my_uint16_t;
18898                   my_uint16_t             ui16 = UINT16_MAX;
18899                   ui16 = UINT16_MAX;
18900                   typedef uint32_t        my_uint32_t;
18901                   my_uint32_t             ui32 = UINT32_MAX;
18902                   ui32 = UINT32_MAX;
18903                   typedef uint64_t        my_uint64_t;
18904                   my_uint64_t             ui64 = UINT64_MAX;
18905                   ui64 = UINT64_MAX;
18906                   typedef uint_fast8_t    my_uint_fast8_t;
18907                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18908                   uif8 = UINT_FAST8_MAX;
18909                   typedef uint_fast16_t   my_uint_fast16_t;
18910                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18911                   uif16 = UINT_FAST16_MAX;
18912                   typedef uint_fast32_t   my_uint_fast32_t;
18913                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18914                   uif32 = UINT_FAST32_MAX;
18915                   typedef uint_fast64_t   my_uint_fast64_t;
18916                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18917                   uif64 = UINT_FAST64_MAX;
18918                   typedef uint_least8_t   my_uint_least8_t;
18919                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18920                   uil8 = UINT_LEAST8_MAX;
18921                   typedef uint_least16_t  my_uint_least16_t;
18922                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18923                   uil16 = UINT_LEAST16_MAX;
18924                   typedef uint_least32_t  my_uint_least32_t;
18925                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18926                   uil32 = UINT_LEAST32_MAX;
18927                   typedef uint_least64_t  my_uint_least64_t;
18928                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18929                   uil64 = UINT_LEAST64_MAX;
18930                   typedef uintmax_t       my_uintmax_t;
18931                   my_uintmax_t            uim = UINTMAX_MAX;
18932                   uim = UINTMAX_MAX;
18933                   typedef uintptr_t       my_uintptr_t;
18934                   my_uintptr_t            uip = UINTPTR_MAX;
18935                   uip = UINTPTR_MAX;
18936
18937   ;
18938   return 0;
18939 }
18940 _ACEOF
18941 if ac_fn_cxx_try_compile "$LINENO"; then :
18942   glibcxx_cv_c99_stdint_tr1=yes
18943 else
18944   glibcxx_cv_c99_stdint_tr1=no
18945 fi
18946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18947
18948 fi
18949
18950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18951 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18952   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18953
18954 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18955
18956   fi
18957
18958   # Check for the existence of <math.h> functions.
18959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18960 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18961   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18962   $as_echo_n "(cached) " >&6
18963 else
18964
18965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18966 /* end confdefs.h.  */
18967 #include <math.h>
18968 int
18969 main ()
18970 {
18971 typedef double_t  my_double_t;
18972                   typedef float_t   my_float_t;
18973                   acosh(0.0);
18974                   acoshf(0.0f);
18975                   acoshl(0.0l);
18976                   asinh(0.0);
18977                   asinhf(0.0f);
18978                   asinhl(0.0l);
18979                   atanh(0.0);
18980                   atanhf(0.0f);
18981                   atanhl(0.0l);
18982                   cbrt(0.0);
18983                   cbrtf(0.0f);
18984                   cbrtl(0.0l);
18985                   copysign(0.0, 0.0);
18986                   copysignf(0.0f, 0.0f);
18987                   copysignl(0.0l, 0.0l);
18988                   erf(0.0);
18989                   erff(0.0f);
18990                   erfl(0.0l);
18991                   erfc(0.0);
18992                   erfcf(0.0f);
18993                   erfcl(0.0l);
18994                   exp2(0.0);
18995                   exp2f(0.0f);
18996                   exp2l(0.0l);
18997                   expm1(0.0);
18998                   expm1f(0.0f);
18999                   expm1l(0.0l);
19000                   fdim(0.0, 0.0);
19001                   fdimf(0.0f, 0.0f);
19002                   fdiml(0.0l, 0.0l);
19003                   fma(0.0, 0.0, 0.0);
19004                   fmaf(0.0f, 0.0f, 0.0f);
19005                   fmal(0.0l, 0.0l, 0.0l);
19006                   fmax(0.0, 0.0);
19007                   fmaxf(0.0f, 0.0f);
19008                   fmaxl(0.0l, 0.0l);
19009                   fmin(0.0, 0.0);
19010                   fminf(0.0f, 0.0f);
19011                   fminl(0.0l, 0.0l);
19012                   hypot(0.0, 0.0);
19013                   hypotf(0.0f, 0.0f);
19014                   hypotl(0.0l, 0.0l);
19015                   ilogb(0.0);
19016                   ilogbf(0.0f);
19017                   ilogbl(0.0l);
19018                   lgamma(0.0);
19019                   lgammaf(0.0f);
19020                   lgammal(0.0l);
19021                   llrint(0.0);
19022                   llrintf(0.0f);
19023                   llrintl(0.0l);
19024                   llround(0.0);
19025                   llroundf(0.0f);
19026                   llroundl(0.0l);
19027                   log1p(0.0);
19028                   log1pf(0.0f);
19029                   log1pl(0.0l);
19030                   log2(0.0);
19031                   log2f(0.0f);
19032                   log2l(0.0l);
19033                   logb(0.0);
19034                   logbf(0.0f);
19035                   logbl(0.0l);
19036                   lrint(0.0);
19037                   lrintf(0.0f);
19038                   lrintl(0.0l);
19039                   lround(0.0);
19040                   lroundf(0.0f);
19041                   lroundl(0.0l);
19042                   nan(0);
19043                   nanf(0);
19044                   nanl(0);
19045                   nearbyint(0.0);
19046                   nearbyintf(0.0f);
19047                   nearbyintl(0.0l);
19048                   nextafter(0.0, 0.0);
19049                   nextafterf(0.0f, 0.0f);
19050                   nextafterl(0.0l, 0.0l);
19051                   nexttoward(0.0, 0.0);
19052                   nexttowardf(0.0f, 0.0f);
19053                   nexttowardl(0.0l, 0.0l);
19054                   remainder(0.0, 0.0);
19055                   remainderf(0.0f, 0.0f);
19056                   remainderl(0.0l, 0.0l);
19057                   remquo(0.0, 0.0, 0);
19058                   remquof(0.0f, 0.0f, 0);
19059                   remquol(0.0l, 0.0l, 0);
19060                   rint(0.0);
19061                   rintf(0.0f);
19062                   rintl(0.0l);
19063                   round(0.0);
19064                   roundf(0.0f);
19065                   roundl(0.0l);
19066                   scalbln(0.0, 0l);
19067                   scalblnf(0.0f, 0l);
19068                   scalblnl(0.0l, 0l);
19069                   scalbn(0.0, 0);
19070                   scalbnf(0.0f, 0);
19071                   scalbnl(0.0l, 0);
19072                   tgamma(0.0);
19073                   tgammaf(0.0f);
19074                   tgammal(0.0l);
19075                   trunc(0.0);
19076                   truncf(0.0f);
19077                   truncl(0.0l);
19078
19079   ;
19080   return 0;
19081 }
19082 _ACEOF
19083 if ac_fn_cxx_try_compile "$LINENO"; then :
19084   glibcxx_cv_c99_math_tr1=yes
19085 else
19086   glibcxx_cv_c99_math_tr1=no
19087 fi
19088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19089
19090 fi
19091
19092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19093 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19094   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19095
19096 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19097
19098   fi
19099
19100   # Check for the existence of <inttypes.h> functions (NB: doesn't make
19101   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19102   ac_c99_inttypes_tr1=no;
19103   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19104     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19105 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19106     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19107 /* end confdefs.h.  */
19108 #include <inttypes.h>
19109 int
19110 main ()
19111 {
19112 intmax_t i, numer, denom, base;
19113                     const char* s;
19114                     char** endptr;
19115                     intmax_t ret = imaxabs(i);
19116                     imaxdiv_t dret = imaxdiv(numer, denom);
19117                     ret = strtoimax(s, endptr, base);
19118                     uintmax_t uret = strtoumax(s, endptr, base);
19119
19120   ;
19121   return 0;
19122 }
19123 _ACEOF
19124 if ac_fn_cxx_try_compile "$LINENO"; then :
19125   ac_c99_inttypes_tr1=yes
19126 else
19127   ac_c99_inttypes_tr1=no
19128 fi
19129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19130   fi
19131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19132 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19133   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19134
19135 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19136
19137   fi
19138
19139   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19140   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19141   ac_c99_inttypes_wchar_t_tr1=no;
19142   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19143     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19144 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19145     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19146 /* end confdefs.h.  */
19147 #include <inttypes.h>
19148 int
19149 main ()
19150 {
19151 intmax_t base;
19152                     const wchar_t* s;
19153                     wchar_t** endptr;
19154                     intmax_t ret = wcstoimax(s, endptr, base);
19155                     uintmax_t uret = wcstoumax(s, endptr, base);
19156
19157   ;
19158   return 0;
19159 }
19160 _ACEOF
19161 if ac_fn_cxx_try_compile "$LINENO"; then :
19162   ac_c99_inttypes_wchar_t_tr1=yes
19163 else
19164   ac_c99_inttypes_wchar_t_tr1=no
19165 fi
19166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19167   fi
19168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19169 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19170   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19171
19172 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19173
19174   fi
19175
19176   # Check for the existence of the <stdbool.h> header.
19177   for ac_header in stdbool.h
19178 do :
19179   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19180 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19181   cat >>confdefs.h <<_ACEOF
19182 #define HAVE_STDBOOL_H 1
19183 _ACEOF
19184
19185 fi
19186
19187 done
19188
19189
19190   # Check for the existence of the <stdalign.h> header.
19191   for ac_header in stdalign.h
19192 do :
19193   ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19194 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19195   cat >>confdefs.h <<_ACEOF
19196 #define HAVE_STDALIGN_H 1
19197 _ACEOF
19198
19199 fi
19200
19201 done
19202
19203
19204   CXXFLAGS="$ac_save_CXXFLAGS"
19205   ac_ext=c
19206 ac_cpp='$CPP $CPPFLAGS'
19207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19210
19211
19212
19213 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19214
19215
19216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19217 $as_echo_n "checking for the value of EOF... " >&6; }
19218 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19219   $as_echo_n "(cached) " >&6
19220 else
19221
19222   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
19223
19224 else
19225   as_fn_error "computing EOF failed" "$LINENO" 5
19226 fi
19227
19228
19229 fi
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19231 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19232
19233 cat >>confdefs.h <<_ACEOF
19234 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19235 _ACEOF
19236
19237
19238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19239 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19240 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19241   $as_echo_n "(cached) " >&6
19242 else
19243
19244   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
19245
19246 else
19247   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19248 fi
19249
19250
19251 fi
19252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19253 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19254
19255 cat >>confdefs.h <<_ACEOF
19256 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19257 _ACEOF
19258
19259
19260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19261 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19262 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19263   $as_echo_n "(cached) " >&6
19264 else
19265
19266   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
19267
19268 else
19269   as_fn_error "computing SEEK_END failed" "$LINENO" 5
19270 fi
19271
19272
19273 fi
19274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19275 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19276
19277 cat >>confdefs.h <<_ACEOF
19278 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19279 _ACEOF
19280
19281
19282
19283 # For gettimeofday support.
19284
19285
19286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19287 $as_echo_n "checking for gettimeofday... " >&6; }
19288
19289
19290   ac_ext=cpp
19291 ac_cpp='$CXXCPP $CPPFLAGS'
19292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19295
19296   ac_save_CXXFLAGS="$CXXFLAGS"
19297   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19298
19299   ac_has_gettimeofday=no;
19300   for ac_header in sys/time.h
19301 do :
19302   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19303 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19304   cat >>confdefs.h <<_ACEOF
19305 #define HAVE_SYS_TIME_H 1
19306 _ACEOF
19307  ac_has_sys_time_h=yes
19308 else
19309   ac_has_sys_time_h=no
19310 fi
19311
19312 done
19313
19314   if test x"$ac_has_sys_time_h" = x"yes"; then
19315     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19316 $as_echo_n "checking for gettimeofday... " >&6; }
19317     if test x$gcc_no_link = xyes; then
19318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19319 /* end confdefs.h.  */
19320 #include <sys/time.h>
19321 int
19322 main ()
19323 {
19324 timeval tv; gettimeofday(&tv, 0);
19325   ;
19326   return 0;
19327 }
19328 _ACEOF
19329 if ac_fn_cxx_try_compile "$LINENO"; then :
19330   ac_has_gettimeofday=yes
19331 else
19332   ac_has_gettimeofday=no
19333 fi
19334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19335 else
19336   if test x$gcc_no_link = xyes; then
19337   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19338 fi
19339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19340 /* end confdefs.h.  */
19341 #include <sys/time.h>
19342 int
19343 main ()
19344 {
19345 timeval tv; gettimeofday(&tv, 0);
19346   ;
19347   return 0;
19348 }
19349 _ACEOF
19350 if ac_fn_cxx_try_link "$LINENO"; then :
19351   ac_has_gettimeofday=yes
19352 else
19353   ac_has_gettimeofday=no
19354 fi
19355 rm -f core conftest.err conftest.$ac_objext \
19356     conftest$ac_exeext conftest.$ac_ext
19357 fi
19358
19359     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19360 $as_echo "$ac_has_gettimeofday" >&6; }
19361   fi
19362
19363   if test x"$ac_has_gettimeofday" = x"yes"; then
19364
19365 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19366
19367   fi
19368
19369   CXXFLAGS="$ac_save_CXXFLAGS"
19370   ac_ext=c
19371 ac_cpp='$CPP $CPPFLAGS'
19372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19375
19376
19377
19378 # For clock_gettime, nanosleep and sched_yield support.
19379 # NB: The default is [no], because otherwise it requires linking.
19380
19381
19382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19383 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19384    # Check whether --enable-libstdcxx-time was given.
19385 if test "${enable_libstdcxx_time+set}" = set; then :
19386   enableval=$enable_libstdcxx_time;
19387       case "$enableval" in
19388        yes|no|rt) ;;
19389        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19390                         esac
19391
19392 else
19393   enable_libstdcxx_time=no
19394 fi
19395
19396
19397
19398
19399   ac_ext=cpp
19400 ac_cpp='$CXXCPP $CPPFLAGS'
19401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19404
19405   ac_save_CXXFLAGS="$CXXFLAGS"
19406   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19407   ac_save_LIBS="$LIBS"
19408
19409   ac_has_clock_monotonic=no
19410   ac_has_clock_realtime=no
19411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19412 $as_echo "$enable_libstdcxx_time" >&6; }
19413
19414   if test x"$enable_libstdcxx_time" != x"no"; then
19415
19416     if test x"$enable_libstdcxx_time" = x"rt"; then
19417       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19418 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19419 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19420   $as_echo_n "(cached) " >&6
19421 else
19422   ac_func_search_save_LIBS=$LIBS
19423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19424 /* end confdefs.h.  */
19425
19426 /* Override any GCC internal prototype to avoid an error.
19427    Use char because int might match the return type of a GCC
19428    builtin and then its argument prototype would still apply.  */
19429 #ifdef __cplusplus
19430 extern "C"
19431 #endif
19432 char clock_gettime ();
19433 int
19434 main ()
19435 {
19436 return clock_gettime ();
19437   ;
19438   return 0;
19439 }
19440 _ACEOF
19441 for ac_lib in '' rt posix4; do
19442   if test -z "$ac_lib"; then
19443     ac_res="none required"
19444   else
19445     ac_res=-l$ac_lib
19446     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19447   fi
19448   if test x$gcc_no_link = xyes; then
19449   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19450 fi
19451 if ac_fn_cxx_try_link "$LINENO"; then :
19452   ac_cv_search_clock_gettime=$ac_res
19453 fi
19454 rm -f core conftest.err conftest.$ac_objext \
19455     conftest$ac_exeext
19456   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19457   break
19458 fi
19459 done
19460 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19461
19462 else
19463   ac_cv_search_clock_gettime=no
19464 fi
19465 rm conftest.$ac_ext
19466 LIBS=$ac_func_search_save_LIBS
19467 fi
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19469 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19470 ac_res=$ac_cv_search_clock_gettime
19471 if test "$ac_res" != no; then :
19472   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19473
19474 fi
19475
19476       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19477 $as_echo_n "checking for library containing nanosleep... " >&6; }
19478 if test "${ac_cv_search_nanosleep+set}" = set; then :
19479   $as_echo_n "(cached) " >&6
19480 else
19481   ac_func_search_save_LIBS=$LIBS
19482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19483 /* end confdefs.h.  */
19484
19485 /* Override any GCC internal prototype to avoid an error.
19486    Use char because int might match the return type of a GCC
19487    builtin and then its argument prototype would still apply.  */
19488 #ifdef __cplusplus
19489 extern "C"
19490 #endif
19491 char nanosleep ();
19492 int
19493 main ()
19494 {
19495 return nanosleep ();
19496   ;
19497   return 0;
19498 }
19499 _ACEOF
19500 for ac_lib in '' rt posix4; do
19501   if test -z "$ac_lib"; then
19502     ac_res="none required"
19503   else
19504     ac_res=-l$ac_lib
19505     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19506   fi
19507   if test x$gcc_no_link = xyes; then
19508   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19509 fi
19510 if ac_fn_cxx_try_link "$LINENO"; then :
19511   ac_cv_search_nanosleep=$ac_res
19512 fi
19513 rm -f core conftest.err conftest.$ac_objext \
19514     conftest$ac_exeext
19515   if test "${ac_cv_search_nanosleep+set}" = set; then :
19516   break
19517 fi
19518 done
19519 if test "${ac_cv_search_nanosleep+set}" = set; then :
19520
19521 else
19522   ac_cv_search_nanosleep=no
19523 fi
19524 rm conftest.$ac_ext
19525 LIBS=$ac_func_search_save_LIBS
19526 fi
19527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19528 $as_echo "$ac_cv_search_nanosleep" >&6; }
19529 ac_res=$ac_cv_search_nanosleep
19530 if test "$ac_res" != no; then :
19531   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19532
19533 fi
19534
19535     else
19536       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19537 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19538 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19539   $as_echo_n "(cached) " >&6
19540 else
19541   ac_func_search_save_LIBS=$LIBS
19542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19543 /* end confdefs.h.  */
19544
19545 /* Override any GCC internal prototype to avoid an error.
19546    Use char because int might match the return type of a GCC
19547    builtin and then its argument prototype would still apply.  */
19548 #ifdef __cplusplus
19549 extern "C"
19550 #endif
19551 char clock_gettime ();
19552 int
19553 main ()
19554 {
19555 return clock_gettime ();
19556   ;
19557   return 0;
19558 }
19559 _ACEOF
19560 for ac_lib in '' posix4; do
19561   if test -z "$ac_lib"; then
19562     ac_res="none required"
19563   else
19564     ac_res=-l$ac_lib
19565     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19566   fi
19567   if test x$gcc_no_link = xyes; then
19568   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19569 fi
19570 if ac_fn_cxx_try_link "$LINENO"; then :
19571   ac_cv_search_clock_gettime=$ac_res
19572 fi
19573 rm -f core conftest.err conftest.$ac_objext \
19574     conftest$ac_exeext
19575   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19576   break
19577 fi
19578 done
19579 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19580
19581 else
19582   ac_cv_search_clock_gettime=no
19583 fi
19584 rm conftest.$ac_ext
19585 LIBS=$ac_func_search_save_LIBS
19586 fi
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19588 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19589 ac_res=$ac_cv_search_clock_gettime
19590 if test "$ac_res" != no; then :
19591   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19592
19593 fi
19594
19595       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19596 $as_echo_n "checking for library containing nanosleep... " >&6; }
19597 if test "${ac_cv_search_nanosleep+set}" = set; then :
19598   $as_echo_n "(cached) " >&6
19599 else
19600   ac_func_search_save_LIBS=$LIBS
19601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19602 /* end confdefs.h.  */
19603
19604 /* Override any GCC internal prototype to avoid an error.
19605    Use char because int might match the return type of a GCC
19606    builtin and then its argument prototype would still apply.  */
19607 #ifdef __cplusplus
19608 extern "C"
19609 #endif
19610 char nanosleep ();
19611 int
19612 main ()
19613 {
19614 return nanosleep ();
19615   ;
19616   return 0;
19617 }
19618 _ACEOF
19619 for ac_lib in '' posix4; do
19620   if test -z "$ac_lib"; then
19621     ac_res="none required"
19622   else
19623     ac_res=-l$ac_lib
19624     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19625   fi
19626   if test x$gcc_no_link = xyes; then
19627   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19628 fi
19629 if ac_fn_cxx_try_link "$LINENO"; then :
19630   ac_cv_search_nanosleep=$ac_res
19631 fi
19632 rm -f core conftest.err conftest.$ac_objext \
19633     conftest$ac_exeext
19634   if test "${ac_cv_search_nanosleep+set}" = set; then :
19635   break
19636 fi
19637 done
19638 if test "${ac_cv_search_nanosleep+set}" = set; then :
19639
19640 else
19641   ac_cv_search_nanosleep=no
19642 fi
19643 rm conftest.$ac_ext
19644 LIBS=$ac_func_search_save_LIBS
19645 fi
19646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19647 $as_echo "$ac_cv_search_nanosleep" >&6; }
19648 ac_res=$ac_cv_search_nanosleep
19649 if test "$ac_res" != no; then :
19650   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19651
19652 fi
19653
19654     fi
19655
19656     case "$ac_cv_search_clock_gettime" in
19657       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19658       ;;
19659     esac
19660     case "$ac_cv_search_nanosleep" in
19661       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19662       ;;
19663     esac
19664
19665     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19666 $as_echo_n "checking for library containing sched_yield... " >&6; }
19667 if test "${ac_cv_search_sched_yield+set}" = set; then :
19668   $as_echo_n "(cached) " >&6
19669 else
19670   ac_func_search_save_LIBS=$LIBS
19671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19672 /* end confdefs.h.  */
19673
19674 /* Override any GCC internal prototype to avoid an error.
19675    Use char because int might match the return type of a GCC
19676    builtin and then its argument prototype would still apply.  */
19677 #ifdef __cplusplus
19678 extern "C"
19679 #endif
19680 char sched_yield ();
19681 int
19682 main ()
19683 {
19684 return sched_yield ();
19685   ;
19686   return 0;
19687 }
19688 _ACEOF
19689 for ac_lib in '' rt posix4; do
19690   if test -z "$ac_lib"; then
19691     ac_res="none required"
19692   else
19693     ac_res=-l$ac_lib
19694     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19695   fi
19696   if test x$gcc_no_link = xyes; then
19697   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19698 fi
19699 if ac_fn_cxx_try_link "$LINENO"; then :
19700   ac_cv_search_sched_yield=$ac_res
19701 fi
19702 rm -f core conftest.err conftest.$ac_objext \
19703     conftest$ac_exeext
19704   if test "${ac_cv_search_sched_yield+set}" = set; then :
19705   break
19706 fi
19707 done
19708 if test "${ac_cv_search_sched_yield+set}" = set; then :
19709
19710 else
19711   ac_cv_search_sched_yield=no
19712 fi
19713 rm conftest.$ac_ext
19714 LIBS=$ac_func_search_save_LIBS
19715 fi
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19717 $as_echo "$ac_cv_search_sched_yield" >&6; }
19718 ac_res=$ac_cv_search_sched_yield
19719 if test "$ac_res" != no; then :
19720   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19721
19722 fi
19723
19724
19725     case "$ac_cv_search_sched_yield" in
19726       -lposix4*)
19727       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19728
19729 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19730
19731       ;;
19732       -lrt*)
19733       if test x"$enable_libstdcxx_time" = x"rt"; then
19734         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19735
19736 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19737
19738       fi
19739       ;;
19740       *)
19741
19742 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19743
19744       ;;
19745     esac
19746
19747     for ac_header in unistd.h
19748 do :
19749   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19750 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19751   cat >>confdefs.h <<_ACEOF
19752 #define HAVE_UNISTD_H 1
19753 _ACEOF
19754  ac_has_unistd_h=yes
19755 else
19756   ac_has_unistd_h=no
19757 fi
19758
19759 done
19760
19761
19762     if test x"$ac_has_unistd_h" = x"yes"; then
19763       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19764 $as_echo_n "checking for monotonic clock... " >&6; }
19765       if test x$gcc_no_link = xyes; then
19766   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19767 fi
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h.  */
19770 #include <unistd.h>
19771          #include <time.h>
19772
19773 int
19774 main ()
19775 {
19776 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19777           timespec tp;
19778          #endif
19779           clock_gettime(CLOCK_MONOTONIC, &tp);
19780
19781   ;
19782   return 0;
19783 }
19784 _ACEOF
19785 if ac_fn_cxx_try_link "$LINENO"; then :
19786   ac_has_clock_monotonic=yes
19787 else
19788   ac_has_clock_monotonic=no
19789 fi
19790 rm -f core conftest.err conftest.$ac_objext \
19791     conftest$ac_exeext conftest.$ac_ext
19792
19793       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19794 $as_echo "$ac_has_clock_monotonic" >&6; }
19795
19796       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19797 $as_echo_n "checking for realtime clock... " >&6; }
19798       if test x$gcc_no_link = xyes; then
19799   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19800 fi
19801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19802 /* end confdefs.h.  */
19803 #include <unistd.h>
19804          #include <time.h>
19805
19806 int
19807 main ()
19808 {
19809 #if _POSIX_TIMERS > 0
19810           timespec tp;
19811          #endif
19812           clock_gettime(CLOCK_REALTIME, &tp);
19813
19814   ;
19815   return 0;
19816 }
19817 _ACEOF
19818 if ac_fn_cxx_try_link "$LINENO"; then :
19819   ac_has_clock_realtime=yes
19820 else
19821   ac_has_clock_realtime=no
19822 fi
19823 rm -f core conftest.err conftest.$ac_objext \
19824     conftest$ac_exeext conftest.$ac_ext
19825
19826       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19827 $as_echo "$ac_has_clock_realtime" >&6; }
19828
19829       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19830 $as_echo_n "checking for nanosleep... " >&6; }
19831       if test x$gcc_no_link = xyes; then
19832   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19833 fi
19834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19835 /* end confdefs.h.  */
19836 #include <unistd.h>
19837          #include <time.h>
19838
19839 int
19840 main ()
19841 {
19842 #if _POSIX_TIMERS > 0
19843           timespec tp;
19844          #endif
19845           nanosleep(&tp, 0);
19846
19847   ;
19848   return 0;
19849 }
19850 _ACEOF
19851 if ac_fn_cxx_try_link "$LINENO"; then :
19852   ac_has_nanosleep=yes
19853 else
19854   ac_has_nanosleep=no
19855 fi
19856 rm -f core conftest.err conftest.$ac_objext \
19857     conftest$ac_exeext conftest.$ac_ext
19858
19859       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19860 $as_echo "$ac_has_nanosleep" >&6; }
19861     fi
19862   fi
19863
19864   if test x"$ac_has_clock_monotonic" = x"yes"; then
19865
19866 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19867
19868   fi
19869
19870   if test x"$ac_has_clock_realtime" = x"yes"; then
19871
19872 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19873
19874   fi
19875
19876   if test x"$ac_has_nanosleep" = x"yes"; then
19877
19878 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19879
19880   fi
19881
19882
19883
19884   CXXFLAGS="$ac_save_CXXFLAGS"
19885   LIBS="$ac_save_LIBS"
19886   ac_ext=c
19887 ac_cpp='$CPP $CPPFLAGS'
19888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19891
19892
19893
19894
19895   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19896 if test "x$ac_cv_header_locale_h" = x""yes; then :
19897
19898     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19899 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19900 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19901   $as_echo_n "(cached) " >&6
19902 else
19903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19904 /* end confdefs.h.  */
19905 #include <locale.h>
19906 int
19907 main ()
19908 {
19909 return LC_MESSAGES
19910   ;
19911   return 0;
19912 }
19913 _ACEOF
19914 if ac_fn_c_try_compile "$LINENO"; then :
19915   ac_cv_val_LC_MESSAGES=yes
19916 else
19917   ac_cv_val_LC_MESSAGES=no
19918 fi
19919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19920 fi
19921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19922 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19923     if test $ac_cv_val_LC_MESSAGES = yes; then
19924
19925 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19926
19927     fi
19928
19929 fi
19930
19931
19932
19933
19934 # For hardware_concurrency
19935 for ac_header in sys/sysinfo.h
19936 do :
19937   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19938 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19939   cat >>confdefs.h <<_ACEOF
19940 #define HAVE_SYS_SYSINFO_H 1
19941 _ACEOF
19942
19943 fi
19944
19945 done
19946
19947
19948
19949
19950   ac_ext=cpp
19951 ac_cpp='$CXXCPP $CPPFLAGS'
19952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19955
19956   ac_save_CXXFLAGS="$CXXFLAGS"
19957   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19958
19959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19960 $as_echo_n "checking for get_nprocs... " >&6; }
19961   if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19962   $as_echo_n "(cached) " >&6
19963 else
19964
19965     if test x$gcc_no_link = xyes; then
19966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19967 /* end confdefs.h.  */
19968 #include <sys/sysinfo.h>
19969 int
19970 main ()
19971 {
19972 int n = get_nprocs();
19973   ;
19974   return 0;
19975 }
19976 _ACEOF
19977 if ac_fn_cxx_try_compile "$LINENO"; then :
19978   glibcxx_cv_GET_NPROCS=yes
19979 else
19980   glibcxx_cv_GET_NPROCS=no
19981 fi
19982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19983 else
19984   if test x$gcc_no_link = xyes; then
19985   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19986 fi
19987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19988 /* end confdefs.h.  */
19989 #include <sys/sysinfo.h>
19990 int
19991 main ()
19992 {
19993 int n = get_nprocs();
19994   ;
19995   return 0;
19996 }
19997 _ACEOF
19998 if ac_fn_cxx_try_link "$LINENO"; then :
19999   glibcxx_cv_GET_NPROCS=yes
20000 else
20001   glibcxx_cv_GET_NPROCS=no
20002 fi
20003 rm -f core conftest.err conftest.$ac_objext \
20004     conftest$ac_exeext conftest.$ac_ext
20005 fi
20006
20007 fi
20008
20009   if test $glibcxx_cv_GET_NPROCS = yes; then
20010
20011 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20012
20013   fi
20014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20015 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20016
20017   CXXFLAGS="$ac_save_CXXFLAGS"
20018   ac_ext=c
20019 ac_cpp='$CPP $CPPFLAGS'
20020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20023
20024
20025 for ac_header in unistd.h
20026 do :
20027   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20028 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20029   cat >>confdefs.h <<_ACEOF
20030 #define HAVE_UNISTD_H 1
20031 _ACEOF
20032
20033 fi
20034
20035 done
20036
20037
20038
20039
20040   ac_ext=cpp
20041 ac_cpp='$CXXCPP $CPPFLAGS'
20042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20045
20046   ac_save_CXXFLAGS="$CXXFLAGS"
20047   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20048
20049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20050 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20051   if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20052   $as_echo_n "(cached) " >&6
20053 else
20054
20055     if test x$gcc_no_link = xyes; then
20056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20057 /* end confdefs.h.  */
20058 #include <unistd.h>
20059 int
20060 main ()
20061 {
20062 int n = sysconf(_SC_NPROCESSORS_ONLN);
20063   ;
20064   return 0;
20065 }
20066 _ACEOF
20067 if ac_fn_cxx_try_compile "$LINENO"; then :
20068   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20069 else
20070   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20071 fi
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20073 else
20074   if test x$gcc_no_link = xyes; then
20075   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20076 fi
20077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20078 /* end confdefs.h.  */
20079 #include <unistd.h>
20080 int
20081 main ()
20082 {
20083 int n = sysconf(_SC_NPROCESSORS_ONLN);
20084   ;
20085   return 0;
20086 }
20087 _ACEOF
20088 if ac_fn_cxx_try_link "$LINENO"; then :
20089   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20090 else
20091   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20092 fi
20093 rm -f core conftest.err conftest.$ac_objext \
20094     conftest$ac_exeext conftest.$ac_ext
20095 fi
20096
20097 fi
20098
20099   if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20100
20101 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20102
20103   fi
20104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20105 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20106
20107   CXXFLAGS="$ac_save_CXXFLAGS"
20108   ac_ext=c
20109 ac_cpp='$CPP $CPPFLAGS'
20110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20113
20114
20115
20116
20117
20118   ac_ext=cpp
20119 ac_cpp='$CXXCPP $CPPFLAGS'
20120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20123
20124   ac_save_CXXFLAGS="$CXXFLAGS"
20125   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20126
20127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20128 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20129   if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20130   $as_echo_n "(cached) " >&6
20131 else
20132
20133     if test x$gcc_no_link = xyes; then
20134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20135 /* end confdefs.h.  */
20136 #include <unistd.h>
20137 int
20138 main ()
20139 {
20140 int n = sysconf(_SC_NPROC_ONLN);
20141   ;
20142   return 0;
20143 }
20144 _ACEOF
20145 if ac_fn_cxx_try_compile "$LINENO"; then :
20146   glibcxx_cv_SC_NPROC_ONLN=yes
20147 else
20148   glibcxx_cv_SC_NPROC_ONLN=no
20149 fi
20150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20151 else
20152   if test x$gcc_no_link = xyes; then
20153   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20154 fi
20155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20156 /* end confdefs.h.  */
20157 #include <unistd.h>
20158 int
20159 main ()
20160 {
20161 int n = sysconf(_SC_NPROC_ONLN);
20162   ;
20163   return 0;
20164 }
20165 _ACEOF
20166 if ac_fn_cxx_try_link "$LINENO"; then :
20167   glibcxx_cv_SC_NPROC_ONLN=yes
20168 else
20169   glibcxx_cv_SC_NPROC_ONLN=no
20170 fi
20171 rm -f core conftest.err conftest.$ac_objext \
20172     conftest$ac_exeext conftest.$ac_ext
20173 fi
20174
20175 fi
20176
20177   if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20178
20179 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20180
20181   fi
20182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20183 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20184
20185   CXXFLAGS="$ac_save_CXXFLAGS"
20186   ac_ext=c
20187 ac_cpp='$CPP $CPPFLAGS'
20188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20191
20192
20193
20194
20195
20196   ac_ext=cpp
20197 ac_cpp='$CXXCPP $CPPFLAGS'
20198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20201
20202   ac_save_CXXFLAGS="$CXXFLAGS"
20203   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20204
20205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20206 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20207   if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20208   $as_echo_n "(cached) " >&6
20209 else
20210
20211     if test x$gcc_no_link = xyes; then
20212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20213 /* end confdefs.h.  */
20214 #include <pthread.h>
20215 int
20216 main ()
20217 {
20218 int n = pthread_num_processors_np();
20219   ;
20220   return 0;
20221 }
20222 _ACEOF
20223 if ac_fn_cxx_try_compile "$LINENO"; then :
20224   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20225 else
20226   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20227 fi
20228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20229 else
20230   if test x$gcc_no_link = xyes; then
20231   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20232 fi
20233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20234 /* end confdefs.h.  */
20235 #include <pthread.h>
20236 int
20237 main ()
20238 {
20239 int n = pthread_num_processors_np();
20240   ;
20241   return 0;
20242 }
20243 _ACEOF
20244 if ac_fn_cxx_try_link "$LINENO"; then :
20245   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20246 else
20247   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20248 fi
20249 rm -f core conftest.err conftest.$ac_objext \
20250     conftest$ac_exeext conftest.$ac_ext
20251 fi
20252
20253 fi
20254
20255   if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20256
20257 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20258
20259   fi
20260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20261 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20262
20263   CXXFLAGS="$ac_save_CXXFLAGS"
20264   ac_ext=c
20265 ac_cpp='$CPP $CPPFLAGS'
20266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20269
20270
20271
20272
20273
20274   ac_ext=cpp
20275 ac_cpp='$CXXCPP $CPPFLAGS'
20276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20279
20280   ac_save_CXXFLAGS="$CXXFLAGS"
20281   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20282
20283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20284 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20285   if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20286   $as_echo_n "(cached) " >&6
20287 else
20288
20289     if test x$gcc_no_link = xyes; then
20290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20291 /* end confdefs.h.  */
20292
20293        #include <stddef.h>
20294        #include <sys/sysctl.h>
20295
20296 int
20297 main ()
20298 {
20299
20300        int count;
20301        size_t size = sizeof(count);
20302        int mib[] = { CTL_HW, HW_NCPU };
20303        sysctl(mib, 2, &count, &size, NULL, 0);
20304
20305   ;
20306   return 0;
20307 }
20308 _ACEOF
20309 if ac_fn_cxx_try_compile "$LINENO"; then :
20310   glibcxx_cv_SYSCTL_HW_NCPU=yes
20311 else
20312   glibcxx_cv_SYSCTL_HW_NCPU=no
20313 fi
20314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20315 else
20316   if test x$gcc_no_link = xyes; then
20317   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20318 fi
20319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20320 /* end confdefs.h.  */
20321
20322        #include <stddef.h>
20323        #include <sys/sysctl.h>
20324
20325 int
20326 main ()
20327 {
20328
20329        int count;
20330        size_t size = sizeof(count);
20331        int mib[] = { CTL_HW, HW_NCPU };
20332        sysctl(mib, 2, &count, &size, NULL, 0);
20333
20334   ;
20335   return 0;
20336 }
20337 _ACEOF
20338 if ac_fn_cxx_try_link "$LINENO"; then :
20339   glibcxx_cv_SYSCTL_HW_NCPU=yes
20340 else
20341   glibcxx_cv_SYSCTL_HW_NCPU=no
20342 fi
20343 rm -f core conftest.err conftest.$ac_objext \
20344     conftest$ac_exeext conftest.$ac_ext
20345 fi
20346
20347 fi
20348
20349   if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20350
20351 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20352
20353   fi
20354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20355 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20356
20357   CXXFLAGS="$ac_save_CXXFLAGS"
20358   ac_ext=c
20359 ac_cpp='$CPP $CPPFLAGS'
20360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20363
20364
20365
20366 # Check for available headers.
20367 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20368 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20369 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20370 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20371 wchar.h wctype.h
20372 do :
20373   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20374 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20375 eval as_val=\$$as_ac_Header
20376    if test "x$as_val" = x""yes; then :
20377   cat >>confdefs.h <<_ACEOF
20378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20379 _ACEOF
20380
20381 fi
20382
20383 done
20384
20385
20386 # Only do link tests if native. Else, hardcode.
20387 if $GLIBCXX_IS_NATIVE; then
20388
20389   # We can do more elaborate tests that assume a working linker.
20390   CANADIAN=no
20391
20392
20393
20394 # Check whether --with-gnu-ld was given.
20395 if test "${with_gnu_ld+set}" = set; then :
20396   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20397 else
20398   with_gnu_ld=no
20399 fi
20400
20401 ac_prog=ld
20402 if test "$GCC" = yes; then
20403   # Check if gcc -print-prog-name=ld gives a path.
20404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20405 $as_echo_n "checking for ld used by $CC... " >&6; }
20406   case $host in
20407   *-*-mingw*)
20408     # gcc leaves a trailing carriage return which upsets mingw
20409     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20410   *)
20411     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20412   esac
20413   case $ac_prog in
20414     # Accept absolute paths.
20415     [\\/]* | ?:[\\/]*)
20416       re_direlt='/[^/][^/]*/\.\./'
20417       # Canonicalize the pathname of ld
20418       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20419       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20420         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20421       done
20422       test -z "$LD" && LD="$ac_prog"
20423       ;;
20424   "")
20425     # If it fails, then pretend we aren't using GCC.
20426     ac_prog=ld
20427     ;;
20428   *)
20429     # If it is relative, then search for the first ld in PATH.
20430     with_gnu_ld=unknown
20431     ;;
20432   esac
20433 elif test "$with_gnu_ld" = yes; then
20434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20435 $as_echo_n "checking for GNU ld... " >&6; }
20436 else
20437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20438 $as_echo_n "checking for non-GNU ld... " >&6; }
20439 fi
20440 if test "${lt_cv_path_LD+set}" = set; then :
20441   $as_echo_n "(cached) " >&6
20442 else
20443   if test -z "$LD"; then
20444   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20445   for ac_dir in $PATH; do
20446     IFS="$lt_save_ifs"
20447     test -z "$ac_dir" && ac_dir=.
20448     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20449       lt_cv_path_LD="$ac_dir/$ac_prog"
20450       # Check to see if the program is GNU ld.  I'd rather use --version,
20451       # but apparently some variants of GNU ld only accept -v.
20452       # Break only if it was the GNU/non-GNU ld that we prefer.
20453       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20454       *GNU* | *'with BFD'*)
20455         test "$with_gnu_ld" != no && break
20456         ;;
20457       *)
20458         test "$with_gnu_ld" != yes && break
20459         ;;
20460       esac
20461     fi
20462   done
20463   IFS="$lt_save_ifs"
20464 else
20465   lt_cv_path_LD="$LD" # Let the user override the test with a path.
20466 fi
20467 fi
20468
20469 LD="$lt_cv_path_LD"
20470 if test -n "$LD"; then
20471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20472 $as_echo "$LD" >&6; }
20473 else
20474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20475 $as_echo "no" >&6; }
20476 fi
20477 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20479 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20480 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20481   $as_echo_n "(cached) " >&6
20482 else
20483   # I'd rather use --version here, but apparently some GNU lds only accept -v.
20484 case `$LD -v 2>&1 </dev/null` in
20485 *GNU* | *'with BFD'*)
20486   lt_cv_prog_gnu_ld=yes
20487   ;;
20488 *)
20489   lt_cv_prog_gnu_ld=no
20490   ;;
20491 esac
20492 fi
20493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20494 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20495 with_gnu_ld=$lt_cv_prog_gnu_ld
20496
20497
20498
20499
20500
20501
20502
20503   # If we're not using GNU ld, then there's no point in even trying these
20504   # tests.  Check for that first.  We should have already tested for gld
20505   # by now (in libtool), but require it now just to be safe...
20506   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20507   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20508
20509
20510
20511   # The name set by libtool depends on the version of libtool.  Shame on us
20512   # for depending on an impl detail, but c'est la vie.  Older versions used
20513   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20514   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20515   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
20516   # set (hence we're using an older libtool), then set it.
20517   if test x${with_gnu_ld+set} != xset; then
20518     if test x${ac_cv_prog_gnu_ld+set} != xset; then
20519       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
20520       with_gnu_ld=no
20521     else
20522       with_gnu_ld=$ac_cv_prog_gnu_ld
20523     fi
20524   fi
20525
20526   # Start by getting the version number.  I think the libtool test already
20527   # does some of this, but throws away the result.
20528   glibcxx_ld_is_gold=no
20529   if test x"$with_gnu_ld" = x"yes"; then
20530     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20531 $as_echo_n "checking for ld version... " >&6; }
20532
20533     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20534       glibcxx_ld_is_gold=yes
20535     fi
20536     ldver=`$LD --version 2>/dev/null |
20537            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'`
20538
20539     glibcxx_gnu_ld_version=`echo $ldver | \
20540            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20541     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20542 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20543   fi
20544
20545   # Set --gc-sections.
20546   glibcxx_have_gc_sections=no
20547   if test "$glibcxx_ld_is_gold" = "yes"; then
20548     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20549       glibcxx_have_gc_sections=yes
20550     fi
20551   else
20552     glibcxx_gcsections_min_ld=21602
20553     if test x"$with_gnu_ld" = x"yes" &&
20554         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20555       glibcxx_have_gc_sections=yes
20556     fi
20557   fi
20558   if test "$glibcxx_have_gc_sections" = "yes"; then
20559     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
20560     # NB: This flag only works reliably after 2.16.1. Configure tests
20561     # for this are difficult, so hard wire a value that should work.
20562
20563     ac_test_CFLAGS="${CFLAGS+set}"
20564     ac_save_CFLAGS="$CFLAGS"
20565     CFLAGS='-Wl,--gc-sections'
20566
20567     # Check for -Wl,--gc-sections
20568     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20569 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20570     if test x$gcc_no_link = xyes; then
20571   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20572 fi
20573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20574 /* end confdefs.h.  */
20575  int one(void) { return 1; }
20576      int two(void) { return 2; }
20577
20578 int
20579 main ()
20580 {
20581  two();
20582   ;
20583   return 0;
20584 }
20585 _ACEOF
20586 if ac_fn_c_try_link "$LINENO"; then :
20587   ac_gcsections=yes
20588 else
20589   ac_gcsections=no
20590 fi
20591 rm -f core conftest.err conftest.$ac_objext \
20592     conftest$ac_exeext conftest.$ac_ext
20593     if test "$ac_gcsections" = "yes"; then
20594       rm -f conftest.c
20595       touch conftest.c
20596       if $CC -c conftest.c; then
20597         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20598            grep "Warning: gc-sections option ignored" > /dev/null; then
20599           ac_gcsections=no
20600         fi
20601       fi
20602       rm -f conftest.c conftest.o conftest
20603     fi
20604     if test "$ac_gcsections" = "yes"; then
20605       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20606     fi
20607     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20608 $as_echo "$ac_gcsections" >&6; }
20609
20610     if test "$ac_test_CFLAGS" = set; then
20611       CFLAGS="$ac_save_CFLAGS"
20612     else
20613       # this is the suspicious part
20614       CFLAGS=''
20615     fi
20616   fi
20617
20618   # Set -z,relro.
20619   # Note this is only for shared objects.
20620   ac_ld_relro=no
20621   if test x"$with_gnu_ld" = x"yes"; then
20622     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20623 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20624     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20625     if test -n "$cxx_z_relo"; then
20626       OPT_LDFLAGS="-Wl,-z,relro"
20627       ac_ld_relro=yes
20628     fi
20629     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20630 $as_echo "$ac_ld_relro" >&6; }
20631   fi
20632
20633   # Set linker optimization flags.
20634   if test x"$with_gnu_ld" = x"yes"; then
20635     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20636   fi
20637
20638
20639
20640
20641
20642   ac_test_CXXFLAGS="${CXXFLAGS+set}"
20643   ac_save_CXXFLAGS="$CXXFLAGS"
20644   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20645
20646     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20647 $as_echo_n "checking for sin in -lm... " >&6; }
20648 if test "${ac_cv_lib_m_sin+set}" = set; then :
20649   $as_echo_n "(cached) " >&6
20650 else
20651   ac_check_lib_save_LIBS=$LIBS
20652 LIBS="-lm  $LIBS"
20653 if test x$gcc_no_link = xyes; then
20654   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20655 fi
20656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20657 /* end confdefs.h.  */
20658
20659 /* Override any GCC internal prototype to avoid an error.
20660    Use char because int might match the return type of a GCC
20661    builtin and then its argument prototype would still apply.  */
20662 #ifdef __cplusplus
20663 extern "C"
20664 #endif
20665 char sin ();
20666 int
20667 main ()
20668 {
20669 return sin ();
20670   ;
20671   return 0;
20672 }
20673 _ACEOF
20674 if ac_fn_c_try_link "$LINENO"; then :
20675   ac_cv_lib_m_sin=yes
20676 else
20677   ac_cv_lib_m_sin=no
20678 fi
20679 rm -f core conftest.err conftest.$ac_objext \
20680     conftest$ac_exeext conftest.$ac_ext
20681 LIBS=$ac_check_lib_save_LIBS
20682 fi
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20684 $as_echo "$ac_cv_lib_m_sin" >&6; }
20685 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20686   libm="-lm"
20687 fi
20688
20689   ac_save_LIBS="$LIBS"
20690   LIBS="$LIBS $libm"
20691
20692
20693
20694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20695 $as_echo_n "checking for isinf declaration... " >&6; }
20696   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20697     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20698   $as_echo_n "(cached) " >&6
20699 else
20700
20701
20702       ac_ext=cpp
20703 ac_cpp='$CXXCPP $CPPFLAGS'
20704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20707
20708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20709 /* end confdefs.h.  */
20710 #include <math.h>
20711                       #ifdef HAVE_IEEEFP_H
20712                       #include <ieeefp.h>
20713                       #endif
20714
20715 int
20716 main ()
20717 {
20718  isinf(0);
20719   ;
20720   return 0;
20721 }
20722 _ACEOF
20723 if ac_fn_cxx_try_compile "$LINENO"; then :
20724   glibcxx_cv_func_isinf_use=yes
20725 else
20726   glibcxx_cv_func_isinf_use=no
20727 fi
20728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20729       ac_ext=c
20730 ac_cpp='$CPP $CPPFLAGS'
20731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20734
20735
20736 fi
20737
20738   fi
20739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20740 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20741
20742   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20743     for ac_func in isinf
20744 do :
20745   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20746 if test "x$ac_cv_func_isinf" = x""yes; then :
20747   cat >>confdefs.h <<_ACEOF
20748 #define HAVE_ISINF 1
20749 _ACEOF
20750
20751 fi
20752 done
20753
20754   else
20755
20756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20757 $as_echo_n "checking for _isinf declaration... " >&6; }
20758   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20759     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20760   $as_echo_n "(cached) " >&6
20761 else
20762
20763
20764       ac_ext=cpp
20765 ac_cpp='$CXXCPP $CPPFLAGS'
20766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20769
20770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20771 /* end confdefs.h.  */
20772 #include <math.h>
20773                       #ifdef HAVE_IEEEFP_H
20774                       #include <ieeefp.h>
20775                       #endif
20776
20777 int
20778 main ()
20779 {
20780  _isinf(0);
20781   ;
20782   return 0;
20783 }
20784 _ACEOF
20785 if ac_fn_cxx_try_compile "$LINENO"; then :
20786   glibcxx_cv_func__isinf_use=yes
20787 else
20788   glibcxx_cv_func__isinf_use=no
20789 fi
20790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20791       ac_ext=c
20792 ac_cpp='$CPP $CPPFLAGS'
20793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20796
20797
20798 fi
20799
20800   fi
20801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20802 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20803
20804     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20805       for ac_func in _isinf
20806 do :
20807   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20808 if test "x$ac_cv_func__isinf" = x""yes; then :
20809   cat >>confdefs.h <<_ACEOF
20810 #define HAVE__ISINF 1
20811 _ACEOF
20812
20813 fi
20814 done
20815
20816     fi
20817   fi
20818
20819
20820
20821
20822
20823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20824 $as_echo_n "checking for isnan declaration... " >&6; }
20825   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20826     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20827   $as_echo_n "(cached) " >&6
20828 else
20829
20830
20831       ac_ext=cpp
20832 ac_cpp='$CXXCPP $CPPFLAGS'
20833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20836
20837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20838 /* end confdefs.h.  */
20839 #include <math.h>
20840                       #ifdef HAVE_IEEEFP_H
20841                       #include <ieeefp.h>
20842                       #endif
20843
20844 int
20845 main ()
20846 {
20847  isnan(0);
20848   ;
20849   return 0;
20850 }
20851 _ACEOF
20852 if ac_fn_cxx_try_compile "$LINENO"; then :
20853   glibcxx_cv_func_isnan_use=yes
20854 else
20855   glibcxx_cv_func_isnan_use=no
20856 fi
20857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20858       ac_ext=c
20859 ac_cpp='$CPP $CPPFLAGS'
20860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20863
20864
20865 fi
20866
20867   fi
20868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20869 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20870
20871   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20872     for ac_func in isnan
20873 do :
20874   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20875 if test "x$ac_cv_func_isnan" = x""yes; then :
20876   cat >>confdefs.h <<_ACEOF
20877 #define HAVE_ISNAN 1
20878 _ACEOF
20879
20880 fi
20881 done
20882
20883   else
20884
20885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20886 $as_echo_n "checking for _isnan declaration... " >&6; }
20887   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20888     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20889   $as_echo_n "(cached) " >&6
20890 else
20891
20892
20893       ac_ext=cpp
20894 ac_cpp='$CXXCPP $CPPFLAGS'
20895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20898
20899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20900 /* end confdefs.h.  */
20901 #include <math.h>
20902                       #ifdef HAVE_IEEEFP_H
20903                       #include <ieeefp.h>
20904                       #endif
20905
20906 int
20907 main ()
20908 {
20909  _isnan(0);
20910   ;
20911   return 0;
20912 }
20913 _ACEOF
20914 if ac_fn_cxx_try_compile "$LINENO"; then :
20915   glibcxx_cv_func__isnan_use=yes
20916 else
20917   glibcxx_cv_func__isnan_use=no
20918 fi
20919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20920       ac_ext=c
20921 ac_cpp='$CPP $CPPFLAGS'
20922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20925
20926
20927 fi
20928
20929   fi
20930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20931 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20932
20933     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20934       for ac_func in _isnan
20935 do :
20936   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20937 if test "x$ac_cv_func__isnan" = x""yes; then :
20938   cat >>confdefs.h <<_ACEOF
20939 #define HAVE__ISNAN 1
20940 _ACEOF
20941
20942 fi
20943 done
20944
20945     fi
20946   fi
20947
20948
20949
20950
20951
20952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20953 $as_echo_n "checking for finite declaration... " >&6; }
20954   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20955     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20956   $as_echo_n "(cached) " >&6
20957 else
20958
20959
20960       ac_ext=cpp
20961 ac_cpp='$CXXCPP $CPPFLAGS'
20962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20965
20966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20967 /* end confdefs.h.  */
20968 #include <math.h>
20969                       #ifdef HAVE_IEEEFP_H
20970                       #include <ieeefp.h>
20971                       #endif
20972
20973 int
20974 main ()
20975 {
20976  finite(0);
20977   ;
20978   return 0;
20979 }
20980 _ACEOF
20981 if ac_fn_cxx_try_compile "$LINENO"; then :
20982   glibcxx_cv_func_finite_use=yes
20983 else
20984   glibcxx_cv_func_finite_use=no
20985 fi
20986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20987       ac_ext=c
20988 ac_cpp='$CPP $CPPFLAGS'
20989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20992
20993
20994 fi
20995
20996   fi
20997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20998 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20999
21000   if test x$glibcxx_cv_func_finite_use = x"yes"; then
21001     for ac_func in finite
21002 do :
21003   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21004 if test "x$ac_cv_func_finite" = x""yes; then :
21005   cat >>confdefs.h <<_ACEOF
21006 #define HAVE_FINITE 1
21007 _ACEOF
21008
21009 fi
21010 done
21011
21012   else
21013
21014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21015 $as_echo_n "checking for _finite declaration... " >&6; }
21016   if test x${glibcxx_cv_func__finite_use+set} != xset; then
21017     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21018   $as_echo_n "(cached) " >&6
21019 else
21020
21021
21022       ac_ext=cpp
21023 ac_cpp='$CXXCPP $CPPFLAGS'
21024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21027
21028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21029 /* end confdefs.h.  */
21030 #include <math.h>
21031                       #ifdef HAVE_IEEEFP_H
21032                       #include <ieeefp.h>
21033                       #endif
21034
21035 int
21036 main ()
21037 {
21038  _finite(0);
21039   ;
21040   return 0;
21041 }
21042 _ACEOF
21043 if ac_fn_cxx_try_compile "$LINENO"; then :
21044   glibcxx_cv_func__finite_use=yes
21045 else
21046   glibcxx_cv_func__finite_use=no
21047 fi
21048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21049       ac_ext=c
21050 ac_cpp='$CPP $CPPFLAGS'
21051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21054
21055
21056 fi
21057
21058   fi
21059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21060 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21061
21062     if test x$glibcxx_cv_func__finite_use = x"yes"; then
21063       for ac_func in _finite
21064 do :
21065   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21066 if test "x$ac_cv_func__finite" = x""yes; then :
21067   cat >>confdefs.h <<_ACEOF
21068 #define HAVE__FINITE 1
21069 _ACEOF
21070
21071 fi
21072 done
21073
21074     fi
21075   fi
21076
21077
21078
21079
21080
21081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21082 $as_echo_n "checking for sincos declaration... " >&6; }
21083   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21084     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21085   $as_echo_n "(cached) " >&6
21086 else
21087
21088
21089       ac_ext=cpp
21090 ac_cpp='$CXXCPP $CPPFLAGS'
21091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21094
21095       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21096 /* end confdefs.h.  */
21097 #include <math.h>
21098 int
21099 main ()
21100 {
21101  sincos(0, 0, 0);
21102   ;
21103   return 0;
21104 }
21105 _ACEOF
21106 if ac_fn_cxx_try_compile "$LINENO"; then :
21107   glibcxx_cv_func_sincos_use=yes
21108 else
21109   glibcxx_cv_func_sincos_use=no
21110 fi
21111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21112       ac_ext=c
21113 ac_cpp='$CPP $CPPFLAGS'
21114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21117
21118
21119 fi
21120
21121   fi
21122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21123 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21124
21125   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21126     for ac_func in sincos
21127 do :
21128   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21129 if test "x$ac_cv_func_sincos" = x""yes; then :
21130   cat >>confdefs.h <<_ACEOF
21131 #define HAVE_SINCOS 1
21132 _ACEOF
21133
21134 fi
21135 done
21136
21137   else
21138
21139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21140 $as_echo_n "checking for _sincos declaration... " >&6; }
21141   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21142     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21143   $as_echo_n "(cached) " >&6
21144 else
21145
21146
21147       ac_ext=cpp
21148 ac_cpp='$CXXCPP $CPPFLAGS'
21149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21152
21153       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21154 /* end confdefs.h.  */
21155 #include <math.h>
21156 int
21157 main ()
21158 {
21159  _sincos(0, 0, 0);
21160   ;
21161   return 0;
21162 }
21163 _ACEOF
21164 if ac_fn_cxx_try_compile "$LINENO"; then :
21165   glibcxx_cv_func__sincos_use=yes
21166 else
21167   glibcxx_cv_func__sincos_use=no
21168 fi
21169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21170       ac_ext=c
21171 ac_cpp='$CPP $CPPFLAGS'
21172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21175
21176
21177 fi
21178
21179   fi
21180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21181 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21182
21183     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21184       for ac_func in _sincos
21185 do :
21186   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21187 if test "x$ac_cv_func__sincos" = x""yes; then :
21188   cat >>confdefs.h <<_ACEOF
21189 #define HAVE__SINCOS 1
21190 _ACEOF
21191
21192 fi
21193 done
21194
21195     fi
21196   fi
21197
21198
21199
21200
21201
21202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21203 $as_echo_n "checking for fpclass declaration... " >&6; }
21204   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21205     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21206   $as_echo_n "(cached) " >&6
21207 else
21208
21209
21210       ac_ext=cpp
21211 ac_cpp='$CXXCPP $CPPFLAGS'
21212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21215
21216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21217 /* end confdefs.h.  */
21218 #include <math.h>
21219                       #ifdef HAVE_IEEEFP_H
21220                       #include <ieeefp.h>
21221                       #endif
21222
21223 int
21224 main ()
21225 {
21226  fpclass(0);
21227   ;
21228   return 0;
21229 }
21230 _ACEOF
21231 if ac_fn_cxx_try_compile "$LINENO"; then :
21232   glibcxx_cv_func_fpclass_use=yes
21233 else
21234   glibcxx_cv_func_fpclass_use=no
21235 fi
21236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21237       ac_ext=c
21238 ac_cpp='$CPP $CPPFLAGS'
21239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21242
21243
21244 fi
21245
21246   fi
21247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21248 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21249
21250   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21251     for ac_func in fpclass
21252 do :
21253   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21254 if test "x$ac_cv_func_fpclass" = x""yes; then :
21255   cat >>confdefs.h <<_ACEOF
21256 #define HAVE_FPCLASS 1
21257 _ACEOF
21258
21259 fi
21260 done
21261
21262   else
21263
21264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21265 $as_echo_n "checking for _fpclass declaration... " >&6; }
21266   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21267     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21268   $as_echo_n "(cached) " >&6
21269 else
21270
21271
21272       ac_ext=cpp
21273 ac_cpp='$CXXCPP $CPPFLAGS'
21274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21277
21278       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21279 /* end confdefs.h.  */
21280 #include <math.h>
21281                       #ifdef HAVE_IEEEFP_H
21282                       #include <ieeefp.h>
21283                       #endif
21284
21285 int
21286 main ()
21287 {
21288  _fpclass(0);
21289   ;
21290   return 0;
21291 }
21292 _ACEOF
21293 if ac_fn_cxx_try_compile "$LINENO"; then :
21294   glibcxx_cv_func__fpclass_use=yes
21295 else
21296   glibcxx_cv_func__fpclass_use=no
21297 fi
21298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21299       ac_ext=c
21300 ac_cpp='$CPP $CPPFLAGS'
21301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21304
21305
21306 fi
21307
21308   fi
21309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21310 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21311
21312     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21313       for ac_func in _fpclass
21314 do :
21315   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21316 if test "x$ac_cv_func__fpclass" = x""yes; then :
21317   cat >>confdefs.h <<_ACEOF
21318 #define HAVE__FPCLASS 1
21319 _ACEOF
21320
21321 fi
21322 done
21323
21324     fi
21325   fi
21326
21327
21328
21329
21330
21331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21332 $as_echo_n "checking for qfpclass declaration... " >&6; }
21333   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21334     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21335   $as_echo_n "(cached) " >&6
21336 else
21337
21338
21339       ac_ext=cpp
21340 ac_cpp='$CXXCPP $CPPFLAGS'
21341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21344
21345       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21346 /* end confdefs.h.  */
21347 #include <math.h>
21348                       #ifdef HAVE_IEEEFP_H
21349                       #include <ieeefp.h>
21350                       #endif
21351
21352 int
21353 main ()
21354 {
21355  qfpclass(0);
21356   ;
21357   return 0;
21358 }
21359 _ACEOF
21360 if ac_fn_cxx_try_compile "$LINENO"; then :
21361   glibcxx_cv_func_qfpclass_use=yes
21362 else
21363   glibcxx_cv_func_qfpclass_use=no
21364 fi
21365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21366       ac_ext=c
21367 ac_cpp='$CPP $CPPFLAGS'
21368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21371
21372
21373 fi
21374
21375   fi
21376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21377 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21378
21379   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21380     for ac_func in qfpclass
21381 do :
21382   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21383 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21384   cat >>confdefs.h <<_ACEOF
21385 #define HAVE_QFPCLASS 1
21386 _ACEOF
21387
21388 fi
21389 done
21390
21391   else
21392
21393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21394 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21395   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21396     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21397   $as_echo_n "(cached) " >&6
21398 else
21399
21400
21401       ac_ext=cpp
21402 ac_cpp='$CXXCPP $CPPFLAGS'
21403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21406
21407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21408 /* end confdefs.h.  */
21409 #include <math.h>
21410                       #ifdef HAVE_IEEEFP_H
21411                       #include <ieeefp.h>
21412                       #endif
21413
21414 int
21415 main ()
21416 {
21417  _qfpclass(0);
21418   ;
21419   return 0;
21420 }
21421 _ACEOF
21422 if ac_fn_cxx_try_compile "$LINENO"; then :
21423   glibcxx_cv_func__qfpclass_use=yes
21424 else
21425   glibcxx_cv_func__qfpclass_use=no
21426 fi
21427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21428       ac_ext=c
21429 ac_cpp='$CPP $CPPFLAGS'
21430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21433
21434
21435 fi
21436
21437   fi
21438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21439 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21440
21441     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21442       for ac_func in _qfpclass
21443 do :
21444   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21445 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21446   cat >>confdefs.h <<_ACEOF
21447 #define HAVE__QFPCLASS 1
21448 _ACEOF
21449
21450 fi
21451 done
21452
21453     fi
21454   fi
21455
21456
21457
21458
21459
21460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21461 $as_echo_n "checking for hypot declaration... " >&6; }
21462   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21463     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21464   $as_echo_n "(cached) " >&6
21465 else
21466
21467
21468       ac_ext=cpp
21469 ac_cpp='$CXXCPP $CPPFLAGS'
21470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21473
21474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21475 /* end confdefs.h.  */
21476 #include <math.h>
21477 int
21478 main ()
21479 {
21480  hypot(0, 0);
21481   ;
21482   return 0;
21483 }
21484 _ACEOF
21485 if ac_fn_cxx_try_compile "$LINENO"; then :
21486   glibcxx_cv_func_hypot_use=yes
21487 else
21488   glibcxx_cv_func_hypot_use=no
21489 fi
21490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21491       ac_ext=c
21492 ac_cpp='$CPP $CPPFLAGS'
21493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21496
21497
21498 fi
21499
21500   fi
21501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21502 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21503
21504   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21505     for ac_func in hypot
21506 do :
21507   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21508 if test "x$ac_cv_func_hypot" = x""yes; then :
21509   cat >>confdefs.h <<_ACEOF
21510 #define HAVE_HYPOT 1
21511 _ACEOF
21512
21513 fi
21514 done
21515
21516   else
21517
21518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21519 $as_echo_n "checking for _hypot declaration... " >&6; }
21520   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21521     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21522   $as_echo_n "(cached) " >&6
21523 else
21524
21525
21526       ac_ext=cpp
21527 ac_cpp='$CXXCPP $CPPFLAGS'
21528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21531
21532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21533 /* end confdefs.h.  */
21534 #include <math.h>
21535 int
21536 main ()
21537 {
21538  _hypot(0, 0);
21539   ;
21540   return 0;
21541 }
21542 _ACEOF
21543 if ac_fn_cxx_try_compile "$LINENO"; then :
21544   glibcxx_cv_func__hypot_use=yes
21545 else
21546   glibcxx_cv_func__hypot_use=no
21547 fi
21548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21549       ac_ext=c
21550 ac_cpp='$CPP $CPPFLAGS'
21551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21554
21555
21556 fi
21557
21558   fi
21559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21560 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21561
21562     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21563       for ac_func in _hypot
21564 do :
21565   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21566 if test "x$ac_cv_func__hypot" = x""yes; then :
21567   cat >>confdefs.h <<_ACEOF
21568 #define HAVE__HYPOT 1
21569 _ACEOF
21570
21571 fi
21572 done
21573
21574     fi
21575   fi
21576
21577
21578
21579
21580
21581     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21582 $as_echo_n "checking for float trig functions... " >&6; }
21583   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21584   $as_echo_n "(cached) " >&6
21585 else
21586
21587
21588     ac_ext=cpp
21589 ac_cpp='$CXXCPP $CPPFLAGS'
21590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21593
21594     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21595 /* end confdefs.h.  */
21596 #include <math.h>
21597 int
21598 main ()
21599 {
21600 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21601   ;
21602   return 0;
21603 }
21604 _ACEOF
21605 if ac_fn_cxx_try_compile "$LINENO"; then :
21606   glibcxx_cv_func_float_trig_use=yes
21607 else
21608   glibcxx_cv_func_float_trig_use=no
21609 fi
21610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21611     ac_ext=c
21612 ac_cpp='$CPP $CPPFLAGS'
21613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21616
21617 fi
21618
21619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21620 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21621   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21622     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21623 do :
21624   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21625 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21626 eval as_val=\$$as_ac_var
21627    if test "x$as_val" = x""yes; then :
21628   cat >>confdefs.h <<_ACEOF
21629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21630 _ACEOF
21631
21632 fi
21633 done
21634
21635   else
21636     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21637 $as_echo_n "checking for _float trig functions... " >&6; }
21638     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21639   $as_echo_n "(cached) " >&6
21640 else
21641
21642
21643       ac_ext=cpp
21644 ac_cpp='$CXXCPP $CPPFLAGS'
21645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21648
21649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21650 /* end confdefs.h.  */
21651 #include <math.h>
21652 int
21653 main ()
21654 {
21655 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21656   ;
21657   return 0;
21658 }
21659 _ACEOF
21660 if ac_fn_cxx_try_compile "$LINENO"; then :
21661   glibcxx_cv_func__float_trig_use=yes
21662 else
21663   glibcxx_cv_func__float_trig_use=no
21664 fi
21665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21666       ac_ext=c
21667 ac_cpp='$CPP $CPPFLAGS'
21668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21671
21672 fi
21673
21674     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21675 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21676     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21677       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21678 do :
21679   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21680 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21681 eval as_val=\$$as_ac_var
21682    if test "x$as_val" = x""yes; then :
21683   cat >>confdefs.h <<_ACEOF
21684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21685 _ACEOF
21686
21687 fi
21688 done
21689
21690     fi
21691   fi
21692
21693
21694
21695
21696
21697     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21698 $as_echo_n "checking for float round functions... " >&6; }
21699   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21700   $as_echo_n "(cached) " >&6
21701 else
21702
21703
21704     ac_ext=cpp
21705 ac_cpp='$CXXCPP $CPPFLAGS'
21706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21709
21710     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21711 /* end confdefs.h.  */
21712 #include <math.h>
21713 int
21714 main ()
21715 {
21716 ceilf (0); floorf (0);
21717   ;
21718   return 0;
21719 }
21720 _ACEOF
21721 if ac_fn_cxx_try_compile "$LINENO"; then :
21722   glibcxx_cv_func_float_round_use=yes
21723 else
21724   glibcxx_cv_func_float_round_use=no
21725 fi
21726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21727     ac_ext=c
21728 ac_cpp='$CPP $CPPFLAGS'
21729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21732
21733 fi
21734
21735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21736 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21737   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21738     for ac_func in ceilf floorf
21739 do :
21740   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21741 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21742 eval as_val=\$$as_ac_var
21743    if test "x$as_val" = x""yes; then :
21744   cat >>confdefs.h <<_ACEOF
21745 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21746 _ACEOF
21747
21748 fi
21749 done
21750
21751   else
21752     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21753 $as_echo_n "checking for _float round functions... " >&6; }
21754     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21755   $as_echo_n "(cached) " >&6
21756 else
21757
21758
21759       ac_ext=cpp
21760 ac_cpp='$CXXCPP $CPPFLAGS'
21761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21764
21765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21766 /* end confdefs.h.  */
21767 #include <math.h>
21768 int
21769 main ()
21770 {
21771 _ceilf (0); _floorf (0);
21772   ;
21773   return 0;
21774 }
21775 _ACEOF
21776 if ac_fn_cxx_try_compile "$LINENO"; then :
21777   glibcxx_cv_func__float_round_use=yes
21778 else
21779   glibcxx_cv_func__float_round_use=no
21780 fi
21781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21782       ac_ext=c
21783 ac_cpp='$CPP $CPPFLAGS'
21784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21787
21788 fi
21789
21790     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21791 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21792     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21793       for ac_func in _ceilf _floorf
21794 do :
21795   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21797 eval as_val=\$$as_ac_var
21798    if test "x$as_val" = x""yes; then :
21799   cat >>confdefs.h <<_ACEOF
21800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21801 _ACEOF
21802
21803 fi
21804 done
21805
21806     fi
21807   fi
21808
21809
21810
21811
21812
21813
21814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21815 $as_echo_n "checking for expf declaration... " >&6; }
21816   if test x${glibcxx_cv_func_expf_use+set} != xset; then
21817     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21818   $as_echo_n "(cached) " >&6
21819 else
21820
21821
21822       ac_ext=cpp
21823 ac_cpp='$CXXCPP $CPPFLAGS'
21824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21827
21828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21829 /* end confdefs.h.  */
21830 #include <math.h>
21831                       #ifdef HAVE_IEEEFP_H
21832                       #include <ieeefp.h>
21833                       #endif
21834
21835 int
21836 main ()
21837 {
21838  expf(0);
21839   ;
21840   return 0;
21841 }
21842 _ACEOF
21843 if ac_fn_cxx_try_compile "$LINENO"; then :
21844   glibcxx_cv_func_expf_use=yes
21845 else
21846   glibcxx_cv_func_expf_use=no
21847 fi
21848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21849       ac_ext=c
21850 ac_cpp='$CPP $CPPFLAGS'
21851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21854
21855
21856 fi
21857
21858   fi
21859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21860 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21861
21862   if test x$glibcxx_cv_func_expf_use = x"yes"; then
21863     for ac_func in expf
21864 do :
21865   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21866 if test "x$ac_cv_func_expf" = x""yes; then :
21867   cat >>confdefs.h <<_ACEOF
21868 #define HAVE_EXPF 1
21869 _ACEOF
21870
21871 fi
21872 done
21873
21874   else
21875
21876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21877 $as_echo_n "checking for _expf declaration... " >&6; }
21878   if test x${glibcxx_cv_func__expf_use+set} != xset; then
21879     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21880   $as_echo_n "(cached) " >&6
21881 else
21882
21883
21884       ac_ext=cpp
21885 ac_cpp='$CXXCPP $CPPFLAGS'
21886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21889
21890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21891 /* end confdefs.h.  */
21892 #include <math.h>
21893                       #ifdef HAVE_IEEEFP_H
21894                       #include <ieeefp.h>
21895                       #endif
21896
21897 int
21898 main ()
21899 {
21900  _expf(0);
21901   ;
21902   return 0;
21903 }
21904 _ACEOF
21905 if ac_fn_cxx_try_compile "$LINENO"; then :
21906   glibcxx_cv_func__expf_use=yes
21907 else
21908   glibcxx_cv_func__expf_use=no
21909 fi
21910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21911       ac_ext=c
21912 ac_cpp='$CPP $CPPFLAGS'
21913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21916
21917
21918 fi
21919
21920   fi
21921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21922 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21923
21924     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21925       for ac_func in _expf
21926 do :
21927   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21928 if test "x$ac_cv_func__expf" = x""yes; then :
21929   cat >>confdefs.h <<_ACEOF
21930 #define HAVE__EXPF 1
21931 _ACEOF
21932
21933 fi
21934 done
21935
21936     fi
21937   fi
21938
21939
21940
21941
21942
21943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21944 $as_echo_n "checking for isnanf declaration... " >&6; }
21945   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21946     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21947   $as_echo_n "(cached) " >&6
21948 else
21949
21950
21951       ac_ext=cpp
21952 ac_cpp='$CXXCPP $CPPFLAGS'
21953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21956
21957       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21958 /* end confdefs.h.  */
21959 #include <math.h>
21960                       #ifdef HAVE_IEEEFP_H
21961                       #include <ieeefp.h>
21962                       #endif
21963
21964 int
21965 main ()
21966 {
21967  isnanf(0);
21968   ;
21969   return 0;
21970 }
21971 _ACEOF
21972 if ac_fn_cxx_try_compile "$LINENO"; then :
21973   glibcxx_cv_func_isnanf_use=yes
21974 else
21975   glibcxx_cv_func_isnanf_use=no
21976 fi
21977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21978       ac_ext=c
21979 ac_cpp='$CPP $CPPFLAGS'
21980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21983
21984
21985 fi
21986
21987   fi
21988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21989 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21990
21991   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21992     for ac_func in isnanf
21993 do :
21994   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21995 if test "x$ac_cv_func_isnanf" = x""yes; then :
21996   cat >>confdefs.h <<_ACEOF
21997 #define HAVE_ISNANF 1
21998 _ACEOF
21999
22000 fi
22001 done
22002
22003   else
22004
22005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22006 $as_echo_n "checking for _isnanf declaration... " >&6; }
22007   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22008     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22009   $as_echo_n "(cached) " >&6
22010 else
22011
22012
22013       ac_ext=cpp
22014 ac_cpp='$CXXCPP $CPPFLAGS'
22015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22018
22019       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22020 /* end confdefs.h.  */
22021 #include <math.h>
22022                       #ifdef HAVE_IEEEFP_H
22023                       #include <ieeefp.h>
22024                       #endif
22025
22026 int
22027 main ()
22028 {
22029  _isnanf(0);
22030   ;
22031   return 0;
22032 }
22033 _ACEOF
22034 if ac_fn_cxx_try_compile "$LINENO"; then :
22035   glibcxx_cv_func__isnanf_use=yes
22036 else
22037   glibcxx_cv_func__isnanf_use=no
22038 fi
22039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22040       ac_ext=c
22041 ac_cpp='$CPP $CPPFLAGS'
22042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22045
22046
22047 fi
22048
22049   fi
22050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22051 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22052
22053     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22054       for ac_func in _isnanf
22055 do :
22056   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22057 if test "x$ac_cv_func__isnanf" = x""yes; then :
22058   cat >>confdefs.h <<_ACEOF
22059 #define HAVE__ISNANF 1
22060 _ACEOF
22061
22062 fi
22063 done
22064
22065     fi
22066   fi
22067
22068
22069
22070
22071
22072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22073 $as_echo_n "checking for isinff declaration... " >&6; }
22074   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22075     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22076   $as_echo_n "(cached) " >&6
22077 else
22078
22079
22080       ac_ext=cpp
22081 ac_cpp='$CXXCPP $CPPFLAGS'
22082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22085
22086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22087 /* end confdefs.h.  */
22088 #include <math.h>
22089                       #ifdef HAVE_IEEEFP_H
22090                       #include <ieeefp.h>
22091                       #endif
22092
22093 int
22094 main ()
22095 {
22096  isinff(0);
22097   ;
22098   return 0;
22099 }
22100 _ACEOF
22101 if ac_fn_cxx_try_compile "$LINENO"; then :
22102   glibcxx_cv_func_isinff_use=yes
22103 else
22104   glibcxx_cv_func_isinff_use=no
22105 fi
22106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22107       ac_ext=c
22108 ac_cpp='$CPP $CPPFLAGS'
22109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22112
22113
22114 fi
22115
22116   fi
22117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22118 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22119
22120   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22121     for ac_func in isinff
22122 do :
22123   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22124 if test "x$ac_cv_func_isinff" = x""yes; then :
22125   cat >>confdefs.h <<_ACEOF
22126 #define HAVE_ISINFF 1
22127 _ACEOF
22128
22129 fi
22130 done
22131
22132   else
22133
22134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22135 $as_echo_n "checking for _isinff declaration... " >&6; }
22136   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22137     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22138   $as_echo_n "(cached) " >&6
22139 else
22140
22141
22142       ac_ext=cpp
22143 ac_cpp='$CXXCPP $CPPFLAGS'
22144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22147
22148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22149 /* end confdefs.h.  */
22150 #include <math.h>
22151                       #ifdef HAVE_IEEEFP_H
22152                       #include <ieeefp.h>
22153                       #endif
22154
22155 int
22156 main ()
22157 {
22158  _isinff(0);
22159   ;
22160   return 0;
22161 }
22162 _ACEOF
22163 if ac_fn_cxx_try_compile "$LINENO"; then :
22164   glibcxx_cv_func__isinff_use=yes
22165 else
22166   glibcxx_cv_func__isinff_use=no
22167 fi
22168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22169       ac_ext=c
22170 ac_cpp='$CPP $CPPFLAGS'
22171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22174
22175
22176 fi
22177
22178   fi
22179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22180 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22181
22182     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22183       for ac_func in _isinff
22184 do :
22185   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22186 if test "x$ac_cv_func__isinff" = x""yes; then :
22187   cat >>confdefs.h <<_ACEOF
22188 #define HAVE__ISINFF 1
22189 _ACEOF
22190
22191 fi
22192 done
22193
22194     fi
22195   fi
22196
22197
22198
22199
22200
22201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22202 $as_echo_n "checking for atan2f declaration... " >&6; }
22203   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22204     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22205   $as_echo_n "(cached) " >&6
22206 else
22207
22208
22209       ac_ext=cpp
22210 ac_cpp='$CXXCPP $CPPFLAGS'
22211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22214
22215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22216 /* end confdefs.h.  */
22217 #include <math.h>
22218 int
22219 main ()
22220 {
22221  atan2f(0, 0);
22222   ;
22223   return 0;
22224 }
22225 _ACEOF
22226 if ac_fn_cxx_try_compile "$LINENO"; then :
22227   glibcxx_cv_func_atan2f_use=yes
22228 else
22229   glibcxx_cv_func_atan2f_use=no
22230 fi
22231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22232       ac_ext=c
22233 ac_cpp='$CPP $CPPFLAGS'
22234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22237
22238
22239 fi
22240
22241   fi
22242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22243 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22244
22245   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22246     for ac_func in atan2f
22247 do :
22248   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22249 if test "x$ac_cv_func_atan2f" = x""yes; then :
22250   cat >>confdefs.h <<_ACEOF
22251 #define HAVE_ATAN2F 1
22252 _ACEOF
22253
22254 fi
22255 done
22256
22257   else
22258
22259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22260 $as_echo_n "checking for _atan2f declaration... " >&6; }
22261   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22262     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22263   $as_echo_n "(cached) " >&6
22264 else
22265
22266
22267       ac_ext=cpp
22268 ac_cpp='$CXXCPP $CPPFLAGS'
22269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22272
22273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22274 /* end confdefs.h.  */
22275 #include <math.h>
22276 int
22277 main ()
22278 {
22279  _atan2f(0, 0);
22280   ;
22281   return 0;
22282 }
22283 _ACEOF
22284 if ac_fn_cxx_try_compile "$LINENO"; then :
22285   glibcxx_cv_func__atan2f_use=yes
22286 else
22287   glibcxx_cv_func__atan2f_use=no
22288 fi
22289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22290       ac_ext=c
22291 ac_cpp='$CPP $CPPFLAGS'
22292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22295
22296
22297 fi
22298
22299   fi
22300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22301 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22302
22303     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22304       for ac_func in _atan2f
22305 do :
22306   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22307 if test "x$ac_cv_func__atan2f" = x""yes; then :
22308   cat >>confdefs.h <<_ACEOF
22309 #define HAVE__ATAN2F 1
22310 _ACEOF
22311
22312 fi
22313 done
22314
22315     fi
22316   fi
22317
22318
22319
22320
22321
22322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22323 $as_echo_n "checking for fabsf declaration... " >&6; }
22324   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22325     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22326   $as_echo_n "(cached) " >&6
22327 else
22328
22329
22330       ac_ext=cpp
22331 ac_cpp='$CXXCPP $CPPFLAGS'
22332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22335
22336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22337 /* end confdefs.h.  */
22338 #include <math.h>
22339                       #ifdef HAVE_IEEEFP_H
22340                       #include <ieeefp.h>
22341                       #endif
22342
22343 int
22344 main ()
22345 {
22346  fabsf(0);
22347   ;
22348   return 0;
22349 }
22350 _ACEOF
22351 if ac_fn_cxx_try_compile "$LINENO"; then :
22352   glibcxx_cv_func_fabsf_use=yes
22353 else
22354   glibcxx_cv_func_fabsf_use=no
22355 fi
22356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22357       ac_ext=c
22358 ac_cpp='$CPP $CPPFLAGS'
22359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22362
22363
22364 fi
22365
22366   fi
22367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22368 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22369
22370   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22371     for ac_func in fabsf
22372 do :
22373   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22374 if test "x$ac_cv_func_fabsf" = x""yes; then :
22375   cat >>confdefs.h <<_ACEOF
22376 #define HAVE_FABSF 1
22377 _ACEOF
22378
22379 fi
22380 done
22381
22382   else
22383
22384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22385 $as_echo_n "checking for _fabsf declaration... " >&6; }
22386   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22387     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22388   $as_echo_n "(cached) " >&6
22389 else
22390
22391
22392       ac_ext=cpp
22393 ac_cpp='$CXXCPP $CPPFLAGS'
22394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22397
22398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22399 /* end confdefs.h.  */
22400 #include <math.h>
22401                       #ifdef HAVE_IEEEFP_H
22402                       #include <ieeefp.h>
22403                       #endif
22404
22405 int
22406 main ()
22407 {
22408  _fabsf(0);
22409   ;
22410   return 0;
22411 }
22412 _ACEOF
22413 if ac_fn_cxx_try_compile "$LINENO"; then :
22414   glibcxx_cv_func__fabsf_use=yes
22415 else
22416   glibcxx_cv_func__fabsf_use=no
22417 fi
22418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22419       ac_ext=c
22420 ac_cpp='$CPP $CPPFLAGS'
22421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22424
22425
22426 fi
22427
22428   fi
22429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22430 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22431
22432     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22433       for ac_func in _fabsf
22434 do :
22435   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22436 if test "x$ac_cv_func__fabsf" = x""yes; then :
22437   cat >>confdefs.h <<_ACEOF
22438 #define HAVE__FABSF 1
22439 _ACEOF
22440
22441 fi
22442 done
22443
22444     fi
22445   fi
22446
22447
22448
22449
22450
22451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22452 $as_echo_n "checking for fmodf declaration... " >&6; }
22453   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22454     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22455   $as_echo_n "(cached) " >&6
22456 else
22457
22458
22459       ac_ext=cpp
22460 ac_cpp='$CXXCPP $CPPFLAGS'
22461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22464
22465       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22466 /* end confdefs.h.  */
22467 #include <math.h>
22468 int
22469 main ()
22470 {
22471  fmodf(0, 0);
22472   ;
22473   return 0;
22474 }
22475 _ACEOF
22476 if ac_fn_cxx_try_compile "$LINENO"; then :
22477   glibcxx_cv_func_fmodf_use=yes
22478 else
22479   glibcxx_cv_func_fmodf_use=no
22480 fi
22481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22482       ac_ext=c
22483 ac_cpp='$CPP $CPPFLAGS'
22484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22487
22488
22489 fi
22490
22491   fi
22492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22493 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22494
22495   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22496     for ac_func in fmodf
22497 do :
22498   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22499 if test "x$ac_cv_func_fmodf" = x""yes; then :
22500   cat >>confdefs.h <<_ACEOF
22501 #define HAVE_FMODF 1
22502 _ACEOF
22503
22504 fi
22505 done
22506
22507   else
22508
22509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22510 $as_echo_n "checking for _fmodf declaration... " >&6; }
22511   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22512     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22513   $as_echo_n "(cached) " >&6
22514 else
22515
22516
22517       ac_ext=cpp
22518 ac_cpp='$CXXCPP $CPPFLAGS'
22519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22522
22523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22524 /* end confdefs.h.  */
22525 #include <math.h>
22526 int
22527 main ()
22528 {
22529  _fmodf(0, 0);
22530   ;
22531   return 0;
22532 }
22533 _ACEOF
22534 if ac_fn_cxx_try_compile "$LINENO"; then :
22535   glibcxx_cv_func__fmodf_use=yes
22536 else
22537   glibcxx_cv_func__fmodf_use=no
22538 fi
22539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22540       ac_ext=c
22541 ac_cpp='$CPP $CPPFLAGS'
22542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22545
22546
22547 fi
22548
22549   fi
22550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22551 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22552
22553     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22554       for ac_func in _fmodf
22555 do :
22556   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22557 if test "x$ac_cv_func__fmodf" = x""yes; then :
22558   cat >>confdefs.h <<_ACEOF
22559 #define HAVE__FMODF 1
22560 _ACEOF
22561
22562 fi
22563 done
22564
22565     fi
22566   fi
22567
22568
22569
22570
22571
22572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22573 $as_echo_n "checking for frexpf declaration... " >&6; }
22574   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22575     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22576   $as_echo_n "(cached) " >&6
22577 else
22578
22579
22580       ac_ext=cpp
22581 ac_cpp='$CXXCPP $CPPFLAGS'
22582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22585
22586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22587 /* end confdefs.h.  */
22588 #include <math.h>
22589 int
22590 main ()
22591 {
22592  frexpf(0, 0);
22593   ;
22594   return 0;
22595 }
22596 _ACEOF
22597 if ac_fn_cxx_try_compile "$LINENO"; then :
22598   glibcxx_cv_func_frexpf_use=yes
22599 else
22600   glibcxx_cv_func_frexpf_use=no
22601 fi
22602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22603       ac_ext=c
22604 ac_cpp='$CPP $CPPFLAGS'
22605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22608
22609
22610 fi
22611
22612   fi
22613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22614 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22615
22616   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22617     for ac_func in frexpf
22618 do :
22619   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22620 if test "x$ac_cv_func_frexpf" = x""yes; then :
22621   cat >>confdefs.h <<_ACEOF
22622 #define HAVE_FREXPF 1
22623 _ACEOF
22624
22625 fi
22626 done
22627
22628   else
22629
22630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22631 $as_echo_n "checking for _frexpf declaration... " >&6; }
22632   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22633     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22634   $as_echo_n "(cached) " >&6
22635 else
22636
22637
22638       ac_ext=cpp
22639 ac_cpp='$CXXCPP $CPPFLAGS'
22640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22643
22644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22645 /* end confdefs.h.  */
22646 #include <math.h>
22647 int
22648 main ()
22649 {
22650  _frexpf(0, 0);
22651   ;
22652   return 0;
22653 }
22654 _ACEOF
22655 if ac_fn_cxx_try_compile "$LINENO"; then :
22656   glibcxx_cv_func__frexpf_use=yes
22657 else
22658   glibcxx_cv_func__frexpf_use=no
22659 fi
22660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22661       ac_ext=c
22662 ac_cpp='$CPP $CPPFLAGS'
22663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22666
22667
22668 fi
22669
22670   fi
22671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22672 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22673
22674     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22675       for ac_func in _frexpf
22676 do :
22677   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22678 if test "x$ac_cv_func__frexpf" = x""yes; then :
22679   cat >>confdefs.h <<_ACEOF
22680 #define HAVE__FREXPF 1
22681 _ACEOF
22682
22683 fi
22684 done
22685
22686     fi
22687   fi
22688
22689
22690
22691
22692
22693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22694 $as_echo_n "checking for hypotf declaration... " >&6; }
22695   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22696     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22697   $as_echo_n "(cached) " >&6
22698 else
22699
22700
22701       ac_ext=cpp
22702 ac_cpp='$CXXCPP $CPPFLAGS'
22703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22706
22707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22708 /* end confdefs.h.  */
22709 #include <math.h>
22710 int
22711 main ()
22712 {
22713  hypotf(0, 0);
22714   ;
22715   return 0;
22716 }
22717 _ACEOF
22718 if ac_fn_cxx_try_compile "$LINENO"; then :
22719   glibcxx_cv_func_hypotf_use=yes
22720 else
22721   glibcxx_cv_func_hypotf_use=no
22722 fi
22723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22724       ac_ext=c
22725 ac_cpp='$CPP $CPPFLAGS'
22726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22729
22730
22731 fi
22732
22733   fi
22734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22735 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22736
22737   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22738     for ac_func in hypotf
22739 do :
22740   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22741 if test "x$ac_cv_func_hypotf" = x""yes; then :
22742   cat >>confdefs.h <<_ACEOF
22743 #define HAVE_HYPOTF 1
22744 _ACEOF
22745
22746 fi
22747 done
22748
22749   else
22750
22751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22752 $as_echo_n "checking for _hypotf declaration... " >&6; }
22753   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22754     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22755   $as_echo_n "(cached) " >&6
22756 else
22757
22758
22759       ac_ext=cpp
22760 ac_cpp='$CXXCPP $CPPFLAGS'
22761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22764
22765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22766 /* end confdefs.h.  */
22767 #include <math.h>
22768 int
22769 main ()
22770 {
22771  _hypotf(0, 0);
22772   ;
22773   return 0;
22774 }
22775 _ACEOF
22776 if ac_fn_cxx_try_compile "$LINENO"; then :
22777   glibcxx_cv_func__hypotf_use=yes
22778 else
22779   glibcxx_cv_func__hypotf_use=no
22780 fi
22781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22782       ac_ext=c
22783 ac_cpp='$CPP $CPPFLAGS'
22784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22787
22788
22789 fi
22790
22791   fi
22792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22793 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22794
22795     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22796       for ac_func in _hypotf
22797 do :
22798   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22799 if test "x$ac_cv_func__hypotf" = x""yes; then :
22800   cat >>confdefs.h <<_ACEOF
22801 #define HAVE__HYPOTF 1
22802 _ACEOF
22803
22804 fi
22805 done
22806
22807     fi
22808   fi
22809
22810
22811
22812
22813
22814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22815 $as_echo_n "checking for ldexpf declaration... " >&6; }
22816   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22817     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22818   $as_echo_n "(cached) " >&6
22819 else
22820
22821
22822       ac_ext=cpp
22823 ac_cpp='$CXXCPP $CPPFLAGS'
22824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22827
22828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22829 /* end confdefs.h.  */
22830 #include <math.h>
22831 int
22832 main ()
22833 {
22834  ldexpf(0, 0);
22835   ;
22836   return 0;
22837 }
22838 _ACEOF
22839 if ac_fn_cxx_try_compile "$LINENO"; then :
22840   glibcxx_cv_func_ldexpf_use=yes
22841 else
22842   glibcxx_cv_func_ldexpf_use=no
22843 fi
22844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22845       ac_ext=c
22846 ac_cpp='$CPP $CPPFLAGS'
22847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22850
22851
22852 fi
22853
22854   fi
22855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22856 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22857
22858   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22859     for ac_func in ldexpf
22860 do :
22861   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22862 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22863   cat >>confdefs.h <<_ACEOF
22864 #define HAVE_LDEXPF 1
22865 _ACEOF
22866
22867 fi
22868 done
22869
22870   else
22871
22872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22873 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22874   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22875     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22876   $as_echo_n "(cached) " >&6
22877 else
22878
22879
22880       ac_ext=cpp
22881 ac_cpp='$CXXCPP $CPPFLAGS'
22882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22885
22886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22887 /* end confdefs.h.  */
22888 #include <math.h>
22889 int
22890 main ()
22891 {
22892  _ldexpf(0, 0);
22893   ;
22894   return 0;
22895 }
22896 _ACEOF
22897 if ac_fn_cxx_try_compile "$LINENO"; then :
22898   glibcxx_cv_func__ldexpf_use=yes
22899 else
22900   glibcxx_cv_func__ldexpf_use=no
22901 fi
22902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22903       ac_ext=c
22904 ac_cpp='$CPP $CPPFLAGS'
22905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22908
22909
22910 fi
22911
22912   fi
22913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22914 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22915
22916     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22917       for ac_func in _ldexpf
22918 do :
22919   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22920 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22921   cat >>confdefs.h <<_ACEOF
22922 #define HAVE__LDEXPF 1
22923 _ACEOF
22924
22925 fi
22926 done
22927
22928     fi
22929   fi
22930
22931
22932
22933
22934
22935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22936 $as_echo_n "checking for logf declaration... " >&6; }
22937   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22938     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22939   $as_echo_n "(cached) " >&6
22940 else
22941
22942
22943       ac_ext=cpp
22944 ac_cpp='$CXXCPP $CPPFLAGS'
22945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22948
22949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22950 /* end confdefs.h.  */
22951 #include <math.h>
22952                       #ifdef HAVE_IEEEFP_H
22953                       #include <ieeefp.h>
22954                       #endif
22955
22956 int
22957 main ()
22958 {
22959  logf(0);
22960   ;
22961   return 0;
22962 }
22963 _ACEOF
22964 if ac_fn_cxx_try_compile "$LINENO"; then :
22965   glibcxx_cv_func_logf_use=yes
22966 else
22967   glibcxx_cv_func_logf_use=no
22968 fi
22969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22970       ac_ext=c
22971 ac_cpp='$CPP $CPPFLAGS'
22972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22975
22976
22977 fi
22978
22979   fi
22980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22981 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22982
22983   if test x$glibcxx_cv_func_logf_use = x"yes"; then
22984     for ac_func in logf
22985 do :
22986   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22987 if test "x$ac_cv_func_logf" = x""yes; then :
22988   cat >>confdefs.h <<_ACEOF
22989 #define HAVE_LOGF 1
22990 _ACEOF
22991
22992 fi
22993 done
22994
22995   else
22996
22997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22998 $as_echo_n "checking for _logf declaration... " >&6; }
22999   if test x${glibcxx_cv_func__logf_use+set} != xset; then
23000     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23001   $as_echo_n "(cached) " >&6
23002 else
23003
23004
23005       ac_ext=cpp
23006 ac_cpp='$CXXCPP $CPPFLAGS'
23007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23010
23011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23012 /* end confdefs.h.  */
23013 #include <math.h>
23014                       #ifdef HAVE_IEEEFP_H
23015                       #include <ieeefp.h>
23016                       #endif
23017
23018 int
23019 main ()
23020 {
23021  _logf(0);
23022   ;
23023   return 0;
23024 }
23025 _ACEOF
23026 if ac_fn_cxx_try_compile "$LINENO"; then :
23027   glibcxx_cv_func__logf_use=yes
23028 else
23029   glibcxx_cv_func__logf_use=no
23030 fi
23031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23032       ac_ext=c
23033 ac_cpp='$CPP $CPPFLAGS'
23034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23037
23038
23039 fi
23040
23041   fi
23042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23043 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23044
23045     if test x$glibcxx_cv_func__logf_use = x"yes"; then
23046       for ac_func in _logf
23047 do :
23048   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23049 if test "x$ac_cv_func__logf" = x""yes; then :
23050   cat >>confdefs.h <<_ACEOF
23051 #define HAVE__LOGF 1
23052 _ACEOF
23053
23054 fi
23055 done
23056
23057     fi
23058   fi
23059
23060
23061
23062
23063
23064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23065 $as_echo_n "checking for log10f declaration... " >&6; }
23066   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23067     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23068   $as_echo_n "(cached) " >&6
23069 else
23070
23071
23072       ac_ext=cpp
23073 ac_cpp='$CXXCPP $CPPFLAGS'
23074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23077
23078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23079 /* end confdefs.h.  */
23080 #include <math.h>
23081                       #ifdef HAVE_IEEEFP_H
23082                       #include <ieeefp.h>
23083                       #endif
23084
23085 int
23086 main ()
23087 {
23088  log10f(0);
23089   ;
23090   return 0;
23091 }
23092 _ACEOF
23093 if ac_fn_cxx_try_compile "$LINENO"; then :
23094   glibcxx_cv_func_log10f_use=yes
23095 else
23096   glibcxx_cv_func_log10f_use=no
23097 fi
23098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23099       ac_ext=c
23100 ac_cpp='$CPP $CPPFLAGS'
23101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23104
23105
23106 fi
23107
23108   fi
23109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23110 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23111
23112   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23113     for ac_func in log10f
23114 do :
23115   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23116 if test "x$ac_cv_func_log10f" = x""yes; then :
23117   cat >>confdefs.h <<_ACEOF
23118 #define HAVE_LOG10F 1
23119 _ACEOF
23120
23121 fi
23122 done
23123
23124   else
23125
23126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23127 $as_echo_n "checking for _log10f declaration... " >&6; }
23128   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23129     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23130   $as_echo_n "(cached) " >&6
23131 else
23132
23133
23134       ac_ext=cpp
23135 ac_cpp='$CXXCPP $CPPFLAGS'
23136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23139
23140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23141 /* end confdefs.h.  */
23142 #include <math.h>
23143                       #ifdef HAVE_IEEEFP_H
23144                       #include <ieeefp.h>
23145                       #endif
23146
23147 int
23148 main ()
23149 {
23150  _log10f(0);
23151   ;
23152   return 0;
23153 }
23154 _ACEOF
23155 if ac_fn_cxx_try_compile "$LINENO"; then :
23156   glibcxx_cv_func__log10f_use=yes
23157 else
23158   glibcxx_cv_func__log10f_use=no
23159 fi
23160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23161       ac_ext=c
23162 ac_cpp='$CPP $CPPFLAGS'
23163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23166
23167
23168 fi
23169
23170   fi
23171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23172 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23173
23174     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23175       for ac_func in _log10f
23176 do :
23177   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23178 if test "x$ac_cv_func__log10f" = x""yes; then :
23179   cat >>confdefs.h <<_ACEOF
23180 #define HAVE__LOG10F 1
23181 _ACEOF
23182
23183 fi
23184 done
23185
23186     fi
23187   fi
23188
23189
23190
23191
23192
23193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23194 $as_echo_n "checking for modff declaration... " >&6; }
23195   if test x${glibcxx_cv_func_modff_use+set} != xset; then
23196     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23197   $as_echo_n "(cached) " >&6
23198 else
23199
23200
23201       ac_ext=cpp
23202 ac_cpp='$CXXCPP $CPPFLAGS'
23203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23206
23207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23208 /* end confdefs.h.  */
23209 #include <math.h>
23210 int
23211 main ()
23212 {
23213  modff(0, 0);
23214   ;
23215   return 0;
23216 }
23217 _ACEOF
23218 if ac_fn_cxx_try_compile "$LINENO"; then :
23219   glibcxx_cv_func_modff_use=yes
23220 else
23221   glibcxx_cv_func_modff_use=no
23222 fi
23223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23224       ac_ext=c
23225 ac_cpp='$CPP $CPPFLAGS'
23226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23229
23230
23231 fi
23232
23233   fi
23234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23235 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23236
23237   if test x$glibcxx_cv_func_modff_use = x"yes"; then
23238     for ac_func in modff
23239 do :
23240   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23241 if test "x$ac_cv_func_modff" = x""yes; then :
23242   cat >>confdefs.h <<_ACEOF
23243 #define HAVE_MODFF 1
23244 _ACEOF
23245
23246 fi
23247 done
23248
23249   else
23250
23251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23252 $as_echo_n "checking for _modff declaration... " >&6; }
23253   if test x${glibcxx_cv_func__modff_use+set} != xset; then
23254     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23255   $as_echo_n "(cached) " >&6
23256 else
23257
23258
23259       ac_ext=cpp
23260 ac_cpp='$CXXCPP $CPPFLAGS'
23261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23264
23265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23266 /* end confdefs.h.  */
23267 #include <math.h>
23268 int
23269 main ()
23270 {
23271  _modff(0, 0);
23272   ;
23273   return 0;
23274 }
23275 _ACEOF
23276 if ac_fn_cxx_try_compile "$LINENO"; then :
23277   glibcxx_cv_func__modff_use=yes
23278 else
23279   glibcxx_cv_func__modff_use=no
23280 fi
23281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23282       ac_ext=c
23283 ac_cpp='$CPP $CPPFLAGS'
23284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23287
23288
23289 fi
23290
23291   fi
23292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23293 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23294
23295     if test x$glibcxx_cv_func__modff_use = x"yes"; then
23296       for ac_func in _modff
23297 do :
23298   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23299 if test "x$ac_cv_func__modff" = x""yes; then :
23300   cat >>confdefs.h <<_ACEOF
23301 #define HAVE__MODFF 1
23302 _ACEOF
23303
23304 fi
23305 done
23306
23307     fi
23308   fi
23309
23310
23311
23312
23313
23314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23315 $as_echo_n "checking for modf declaration... " >&6; }
23316   if test x${glibcxx_cv_func_modf_use+set} != xset; then
23317     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23318   $as_echo_n "(cached) " >&6
23319 else
23320
23321
23322       ac_ext=cpp
23323 ac_cpp='$CXXCPP $CPPFLAGS'
23324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23327
23328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23329 /* end confdefs.h.  */
23330 #include <math.h>
23331 int
23332 main ()
23333 {
23334  modf(0, 0);
23335   ;
23336   return 0;
23337 }
23338 _ACEOF
23339 if ac_fn_cxx_try_compile "$LINENO"; then :
23340   glibcxx_cv_func_modf_use=yes
23341 else
23342   glibcxx_cv_func_modf_use=no
23343 fi
23344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23345       ac_ext=c
23346 ac_cpp='$CPP $CPPFLAGS'
23347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23350
23351
23352 fi
23353
23354   fi
23355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23356 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23357
23358   if test x$glibcxx_cv_func_modf_use = x"yes"; then
23359     for ac_func in modf
23360 do :
23361   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23362 if test "x$ac_cv_func_modf" = x""yes; then :
23363   cat >>confdefs.h <<_ACEOF
23364 #define HAVE_MODF 1
23365 _ACEOF
23366
23367 fi
23368 done
23369
23370   else
23371
23372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23373 $as_echo_n "checking for _modf declaration... " >&6; }
23374   if test x${glibcxx_cv_func__modf_use+set} != xset; then
23375     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23376   $as_echo_n "(cached) " >&6
23377 else
23378
23379
23380       ac_ext=cpp
23381 ac_cpp='$CXXCPP $CPPFLAGS'
23382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23385
23386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23387 /* end confdefs.h.  */
23388 #include <math.h>
23389 int
23390 main ()
23391 {
23392  _modf(0, 0);
23393   ;
23394   return 0;
23395 }
23396 _ACEOF
23397 if ac_fn_cxx_try_compile "$LINENO"; then :
23398   glibcxx_cv_func__modf_use=yes
23399 else
23400   glibcxx_cv_func__modf_use=no
23401 fi
23402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23403       ac_ext=c
23404 ac_cpp='$CPP $CPPFLAGS'
23405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23408
23409
23410 fi
23411
23412   fi
23413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23414 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23415
23416     if test x$glibcxx_cv_func__modf_use = x"yes"; then
23417       for ac_func in _modf
23418 do :
23419   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23420 if test "x$ac_cv_func__modf" = x""yes; then :
23421   cat >>confdefs.h <<_ACEOF
23422 #define HAVE__MODF 1
23423 _ACEOF
23424
23425 fi
23426 done
23427
23428     fi
23429   fi
23430
23431
23432
23433
23434
23435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23436 $as_echo_n "checking for powf declaration... " >&6; }
23437   if test x${glibcxx_cv_func_powf_use+set} != xset; then
23438     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23439   $as_echo_n "(cached) " >&6
23440 else
23441
23442
23443       ac_ext=cpp
23444 ac_cpp='$CXXCPP $CPPFLAGS'
23445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23448
23449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23450 /* end confdefs.h.  */
23451 #include <math.h>
23452 int
23453 main ()
23454 {
23455  powf(0, 0);
23456   ;
23457   return 0;
23458 }
23459 _ACEOF
23460 if ac_fn_cxx_try_compile "$LINENO"; then :
23461   glibcxx_cv_func_powf_use=yes
23462 else
23463   glibcxx_cv_func_powf_use=no
23464 fi
23465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23466       ac_ext=c
23467 ac_cpp='$CPP $CPPFLAGS'
23468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23471
23472
23473 fi
23474
23475   fi
23476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23477 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23478
23479   if test x$glibcxx_cv_func_powf_use = x"yes"; then
23480     for ac_func in powf
23481 do :
23482   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23483 if test "x$ac_cv_func_powf" = x""yes; then :
23484   cat >>confdefs.h <<_ACEOF
23485 #define HAVE_POWF 1
23486 _ACEOF
23487
23488 fi
23489 done
23490
23491   else
23492
23493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23494 $as_echo_n "checking for _powf declaration... " >&6; }
23495   if test x${glibcxx_cv_func__powf_use+set} != xset; then
23496     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23497   $as_echo_n "(cached) " >&6
23498 else
23499
23500
23501       ac_ext=cpp
23502 ac_cpp='$CXXCPP $CPPFLAGS'
23503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23506
23507       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23508 /* end confdefs.h.  */
23509 #include <math.h>
23510 int
23511 main ()
23512 {
23513  _powf(0, 0);
23514   ;
23515   return 0;
23516 }
23517 _ACEOF
23518 if ac_fn_cxx_try_compile "$LINENO"; then :
23519   glibcxx_cv_func__powf_use=yes
23520 else
23521   glibcxx_cv_func__powf_use=no
23522 fi
23523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23524       ac_ext=c
23525 ac_cpp='$CPP $CPPFLAGS'
23526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23529
23530
23531 fi
23532
23533   fi
23534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23535 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23536
23537     if test x$glibcxx_cv_func__powf_use = x"yes"; then
23538       for ac_func in _powf
23539 do :
23540   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23541 if test "x$ac_cv_func__powf" = x""yes; then :
23542   cat >>confdefs.h <<_ACEOF
23543 #define HAVE__POWF 1
23544 _ACEOF
23545
23546 fi
23547 done
23548
23549     fi
23550   fi
23551
23552
23553
23554
23555
23556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23557 $as_echo_n "checking for sqrtf declaration... " >&6; }
23558   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23559     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23560   $as_echo_n "(cached) " >&6
23561 else
23562
23563
23564       ac_ext=cpp
23565 ac_cpp='$CXXCPP $CPPFLAGS'
23566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23569
23570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23571 /* end confdefs.h.  */
23572 #include <math.h>
23573                       #ifdef HAVE_IEEEFP_H
23574                       #include <ieeefp.h>
23575                       #endif
23576
23577 int
23578 main ()
23579 {
23580  sqrtf(0);
23581   ;
23582   return 0;
23583 }
23584 _ACEOF
23585 if ac_fn_cxx_try_compile "$LINENO"; then :
23586   glibcxx_cv_func_sqrtf_use=yes
23587 else
23588   glibcxx_cv_func_sqrtf_use=no
23589 fi
23590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23591       ac_ext=c
23592 ac_cpp='$CPP $CPPFLAGS'
23593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23596
23597
23598 fi
23599
23600   fi
23601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23602 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23603
23604   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23605     for ac_func in sqrtf
23606 do :
23607   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23608 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23609   cat >>confdefs.h <<_ACEOF
23610 #define HAVE_SQRTF 1
23611 _ACEOF
23612
23613 fi
23614 done
23615
23616   else
23617
23618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23619 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23620   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23621     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23622   $as_echo_n "(cached) " >&6
23623 else
23624
23625
23626       ac_ext=cpp
23627 ac_cpp='$CXXCPP $CPPFLAGS'
23628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23631
23632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23633 /* end confdefs.h.  */
23634 #include <math.h>
23635                       #ifdef HAVE_IEEEFP_H
23636                       #include <ieeefp.h>
23637                       #endif
23638
23639 int
23640 main ()
23641 {
23642  _sqrtf(0);
23643   ;
23644   return 0;
23645 }
23646 _ACEOF
23647 if ac_fn_cxx_try_compile "$LINENO"; then :
23648   glibcxx_cv_func__sqrtf_use=yes
23649 else
23650   glibcxx_cv_func__sqrtf_use=no
23651 fi
23652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23653       ac_ext=c
23654 ac_cpp='$CPP $CPPFLAGS'
23655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23658
23659
23660 fi
23661
23662   fi
23663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23664 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23665
23666     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23667       for ac_func in _sqrtf
23668 do :
23669   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23670 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23671   cat >>confdefs.h <<_ACEOF
23672 #define HAVE__SQRTF 1
23673 _ACEOF
23674
23675 fi
23676 done
23677
23678     fi
23679   fi
23680
23681
23682
23683
23684
23685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23686 $as_echo_n "checking for sincosf declaration... " >&6; }
23687   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23688     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23689   $as_echo_n "(cached) " >&6
23690 else
23691
23692
23693       ac_ext=cpp
23694 ac_cpp='$CXXCPP $CPPFLAGS'
23695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23698
23699       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23700 /* end confdefs.h.  */
23701 #include <math.h>
23702 int
23703 main ()
23704 {
23705  sincosf(0, 0, 0);
23706   ;
23707   return 0;
23708 }
23709 _ACEOF
23710 if ac_fn_cxx_try_compile "$LINENO"; then :
23711   glibcxx_cv_func_sincosf_use=yes
23712 else
23713   glibcxx_cv_func_sincosf_use=no
23714 fi
23715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23716       ac_ext=c
23717 ac_cpp='$CPP $CPPFLAGS'
23718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23721
23722
23723 fi
23724
23725   fi
23726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23727 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23728
23729   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23730     for ac_func in sincosf
23731 do :
23732   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23733 if test "x$ac_cv_func_sincosf" = x""yes; then :
23734   cat >>confdefs.h <<_ACEOF
23735 #define HAVE_SINCOSF 1
23736 _ACEOF
23737
23738 fi
23739 done
23740
23741   else
23742
23743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23744 $as_echo_n "checking for _sincosf declaration... " >&6; }
23745   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23746     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23747   $as_echo_n "(cached) " >&6
23748 else
23749
23750
23751       ac_ext=cpp
23752 ac_cpp='$CXXCPP $CPPFLAGS'
23753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23756
23757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23758 /* end confdefs.h.  */
23759 #include <math.h>
23760 int
23761 main ()
23762 {
23763  _sincosf(0, 0, 0);
23764   ;
23765   return 0;
23766 }
23767 _ACEOF
23768 if ac_fn_cxx_try_compile "$LINENO"; then :
23769   glibcxx_cv_func__sincosf_use=yes
23770 else
23771   glibcxx_cv_func__sincosf_use=no
23772 fi
23773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23774       ac_ext=c
23775 ac_cpp='$CPP $CPPFLAGS'
23776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23779
23780
23781 fi
23782
23783   fi
23784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23785 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23786
23787     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23788       for ac_func in _sincosf
23789 do :
23790   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23791 if test "x$ac_cv_func__sincosf" = x""yes; then :
23792   cat >>confdefs.h <<_ACEOF
23793 #define HAVE__SINCOSF 1
23794 _ACEOF
23795
23796 fi
23797 done
23798
23799     fi
23800   fi
23801
23802
23803
23804
23805
23806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23807 $as_echo_n "checking for finitef declaration... " >&6; }
23808   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23809     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23810   $as_echo_n "(cached) " >&6
23811 else
23812
23813
23814       ac_ext=cpp
23815 ac_cpp='$CXXCPP $CPPFLAGS'
23816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23819
23820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23821 /* end confdefs.h.  */
23822 #include <math.h>
23823                       #ifdef HAVE_IEEEFP_H
23824                       #include <ieeefp.h>
23825                       #endif
23826
23827 int
23828 main ()
23829 {
23830  finitef(0);
23831   ;
23832   return 0;
23833 }
23834 _ACEOF
23835 if ac_fn_cxx_try_compile "$LINENO"; then :
23836   glibcxx_cv_func_finitef_use=yes
23837 else
23838   glibcxx_cv_func_finitef_use=no
23839 fi
23840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23841       ac_ext=c
23842 ac_cpp='$CPP $CPPFLAGS'
23843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23846
23847
23848 fi
23849
23850   fi
23851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23852 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23853
23854   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23855     for ac_func in finitef
23856 do :
23857   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23858 if test "x$ac_cv_func_finitef" = x""yes; then :
23859   cat >>confdefs.h <<_ACEOF
23860 #define HAVE_FINITEF 1
23861 _ACEOF
23862
23863 fi
23864 done
23865
23866   else
23867
23868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23869 $as_echo_n "checking for _finitef declaration... " >&6; }
23870   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23871     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23872   $as_echo_n "(cached) " >&6
23873 else
23874
23875
23876       ac_ext=cpp
23877 ac_cpp='$CXXCPP $CPPFLAGS'
23878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23881
23882       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23883 /* end confdefs.h.  */
23884 #include <math.h>
23885                       #ifdef HAVE_IEEEFP_H
23886                       #include <ieeefp.h>
23887                       #endif
23888
23889 int
23890 main ()
23891 {
23892  _finitef(0);
23893   ;
23894   return 0;
23895 }
23896 _ACEOF
23897 if ac_fn_cxx_try_compile "$LINENO"; then :
23898   glibcxx_cv_func__finitef_use=yes
23899 else
23900   glibcxx_cv_func__finitef_use=no
23901 fi
23902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23903       ac_ext=c
23904 ac_cpp='$CPP $CPPFLAGS'
23905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23908
23909
23910 fi
23911
23912   fi
23913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23914 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23915
23916     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23917       for ac_func in _finitef
23918 do :
23919   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23920 if test "x$ac_cv_func__finitef" = x""yes; then :
23921   cat >>confdefs.h <<_ACEOF
23922 #define HAVE__FINITEF 1
23923 _ACEOF
23924
23925 fi
23926 done
23927
23928     fi
23929   fi
23930
23931
23932
23933
23934
23935     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23936 $as_echo_n "checking for long double trig functions... " >&6; }
23937   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23938   $as_echo_n "(cached) " >&6
23939 else
23940
23941
23942     ac_ext=cpp
23943 ac_cpp='$CXXCPP $CPPFLAGS'
23944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23947
23948     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23949 /* end confdefs.h.  */
23950 #include <math.h>
23951 int
23952 main ()
23953 {
23954 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23955   ;
23956   return 0;
23957 }
23958 _ACEOF
23959 if ac_fn_cxx_try_compile "$LINENO"; then :
23960   glibcxx_cv_func_long_double_trig_use=yes
23961 else
23962   glibcxx_cv_func_long_double_trig_use=no
23963 fi
23964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23965     ac_ext=c
23966 ac_cpp='$CPP $CPPFLAGS'
23967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23970
23971 fi
23972
23973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23974 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23975   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23976     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23977 do :
23978   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23980 eval as_val=\$$as_ac_var
23981    if test "x$as_val" = x""yes; then :
23982   cat >>confdefs.h <<_ACEOF
23983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23984 _ACEOF
23985
23986 fi
23987 done
23988
23989   else
23990     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23991 $as_echo_n "checking for _long double trig functions... " >&6; }
23992     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23993   $as_echo_n "(cached) " >&6
23994 else
23995
23996
23997       ac_ext=cpp
23998 ac_cpp='$CXXCPP $CPPFLAGS'
23999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24002
24003       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24004 /* end confdefs.h.  */
24005 #include <math.h>
24006 int
24007 main ()
24008 {
24009 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24010   ;
24011   return 0;
24012 }
24013 _ACEOF
24014 if ac_fn_cxx_try_compile "$LINENO"; then :
24015   glibcxx_cv_func__long_double_trig_use=yes
24016 else
24017   glibcxx_cv_func__long_double_trig_use=no
24018 fi
24019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24020       ac_ext=c
24021 ac_cpp='$CPP $CPPFLAGS'
24022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24025
24026 fi
24027
24028     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24029 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24030     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24031       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24032 do :
24033   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24035 eval as_val=\$$as_ac_var
24036    if test "x$as_val" = x""yes; then :
24037   cat >>confdefs.h <<_ACEOF
24038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24039 _ACEOF
24040
24041 fi
24042 done
24043
24044     fi
24045   fi
24046
24047
24048
24049
24050
24051     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24052 $as_echo_n "checking for long double round functions... " >&6; }
24053   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24054   $as_echo_n "(cached) " >&6
24055 else
24056
24057
24058     ac_ext=cpp
24059 ac_cpp='$CXXCPP $CPPFLAGS'
24060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24063
24064     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24065 /* end confdefs.h.  */
24066 #include <math.h>
24067 int
24068 main ()
24069 {
24070 ceill (0); floorl (0);
24071   ;
24072   return 0;
24073 }
24074 _ACEOF
24075 if ac_fn_cxx_try_compile "$LINENO"; then :
24076   glibcxx_cv_func_long_double_round_use=yes
24077 else
24078   glibcxx_cv_func_long_double_round_use=no
24079 fi
24080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24081     ac_ext=c
24082 ac_cpp='$CPP $CPPFLAGS'
24083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24086
24087 fi
24088
24089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24090 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24091   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24092     for ac_func in ceill floorl
24093 do :
24094   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24096 eval as_val=\$$as_ac_var
24097    if test "x$as_val" = x""yes; then :
24098   cat >>confdefs.h <<_ACEOF
24099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24100 _ACEOF
24101
24102 fi
24103 done
24104
24105   else
24106     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24107 $as_echo_n "checking for _long double round functions... " >&6; }
24108     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24109   $as_echo_n "(cached) " >&6
24110 else
24111
24112
24113       ac_ext=cpp
24114 ac_cpp='$CXXCPP $CPPFLAGS'
24115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24118
24119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24120 /* end confdefs.h.  */
24121 #include <math.h>
24122 int
24123 main ()
24124 {
24125 _ceill (0); _floorl (0);
24126   ;
24127   return 0;
24128 }
24129 _ACEOF
24130 if ac_fn_cxx_try_compile "$LINENO"; then :
24131   glibcxx_cv_func__long_double_round_use=yes
24132 else
24133   glibcxx_cv_func__long_double_round_use=no
24134 fi
24135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24136       ac_ext=c
24137 ac_cpp='$CPP $CPPFLAGS'
24138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24141
24142 fi
24143
24144     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24145 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24146     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24147       for ac_func in _ceill _floorl
24148 do :
24149   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24151 eval as_val=\$$as_ac_var
24152    if test "x$as_val" = x""yes; then :
24153   cat >>confdefs.h <<_ACEOF
24154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24155 _ACEOF
24156
24157 fi
24158 done
24159
24160     fi
24161   fi
24162
24163
24164
24165
24166
24167
24168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24169 $as_echo_n "checking for isnanl declaration... " >&6; }
24170   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24171     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24172   $as_echo_n "(cached) " >&6
24173 else
24174
24175
24176       ac_ext=cpp
24177 ac_cpp='$CXXCPP $CPPFLAGS'
24178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24181
24182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24183 /* end confdefs.h.  */
24184 #include <math.h>
24185                       #ifdef HAVE_IEEEFP_H
24186                       #include <ieeefp.h>
24187                       #endif
24188
24189 int
24190 main ()
24191 {
24192  isnanl(0);
24193   ;
24194   return 0;
24195 }
24196 _ACEOF
24197 if ac_fn_cxx_try_compile "$LINENO"; then :
24198   glibcxx_cv_func_isnanl_use=yes
24199 else
24200   glibcxx_cv_func_isnanl_use=no
24201 fi
24202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24203       ac_ext=c
24204 ac_cpp='$CPP $CPPFLAGS'
24205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24208
24209
24210 fi
24211
24212   fi
24213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24214 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24215
24216   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24217     for ac_func in isnanl
24218 do :
24219   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24220 if test "x$ac_cv_func_isnanl" = x""yes; then :
24221   cat >>confdefs.h <<_ACEOF
24222 #define HAVE_ISNANL 1
24223 _ACEOF
24224
24225 fi
24226 done
24227
24228   else
24229
24230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24231 $as_echo_n "checking for _isnanl declaration... " >&6; }
24232   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24233     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24234   $as_echo_n "(cached) " >&6
24235 else
24236
24237
24238       ac_ext=cpp
24239 ac_cpp='$CXXCPP $CPPFLAGS'
24240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24243
24244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24245 /* end confdefs.h.  */
24246 #include <math.h>
24247                       #ifdef HAVE_IEEEFP_H
24248                       #include <ieeefp.h>
24249                       #endif
24250
24251 int
24252 main ()
24253 {
24254  _isnanl(0);
24255   ;
24256   return 0;
24257 }
24258 _ACEOF
24259 if ac_fn_cxx_try_compile "$LINENO"; then :
24260   glibcxx_cv_func__isnanl_use=yes
24261 else
24262   glibcxx_cv_func__isnanl_use=no
24263 fi
24264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24265       ac_ext=c
24266 ac_cpp='$CPP $CPPFLAGS'
24267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24270
24271
24272 fi
24273
24274   fi
24275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24276 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24277
24278     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24279       for ac_func in _isnanl
24280 do :
24281   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24282 if test "x$ac_cv_func__isnanl" = x""yes; then :
24283   cat >>confdefs.h <<_ACEOF
24284 #define HAVE__ISNANL 1
24285 _ACEOF
24286
24287 fi
24288 done
24289
24290     fi
24291   fi
24292
24293
24294
24295
24296
24297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24298 $as_echo_n "checking for isinfl declaration... " >&6; }
24299   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24300     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24301   $as_echo_n "(cached) " >&6
24302 else
24303
24304
24305       ac_ext=cpp
24306 ac_cpp='$CXXCPP $CPPFLAGS'
24307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24310
24311       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24312 /* end confdefs.h.  */
24313 #include <math.h>
24314                       #ifdef HAVE_IEEEFP_H
24315                       #include <ieeefp.h>
24316                       #endif
24317
24318 int
24319 main ()
24320 {
24321  isinfl(0);
24322   ;
24323   return 0;
24324 }
24325 _ACEOF
24326 if ac_fn_cxx_try_compile "$LINENO"; then :
24327   glibcxx_cv_func_isinfl_use=yes
24328 else
24329   glibcxx_cv_func_isinfl_use=no
24330 fi
24331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24332       ac_ext=c
24333 ac_cpp='$CPP $CPPFLAGS'
24334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24337
24338
24339 fi
24340
24341   fi
24342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24343 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24344
24345   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24346     for ac_func in isinfl
24347 do :
24348   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24349 if test "x$ac_cv_func_isinfl" = x""yes; then :
24350   cat >>confdefs.h <<_ACEOF
24351 #define HAVE_ISINFL 1
24352 _ACEOF
24353
24354 fi
24355 done
24356
24357   else
24358
24359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24360 $as_echo_n "checking for _isinfl declaration... " >&6; }
24361   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24362     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24363   $as_echo_n "(cached) " >&6
24364 else
24365
24366
24367       ac_ext=cpp
24368 ac_cpp='$CXXCPP $CPPFLAGS'
24369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24372
24373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24374 /* end confdefs.h.  */
24375 #include <math.h>
24376                       #ifdef HAVE_IEEEFP_H
24377                       #include <ieeefp.h>
24378                       #endif
24379
24380 int
24381 main ()
24382 {
24383  _isinfl(0);
24384   ;
24385   return 0;
24386 }
24387 _ACEOF
24388 if ac_fn_cxx_try_compile "$LINENO"; then :
24389   glibcxx_cv_func__isinfl_use=yes
24390 else
24391   glibcxx_cv_func__isinfl_use=no
24392 fi
24393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24394       ac_ext=c
24395 ac_cpp='$CPP $CPPFLAGS'
24396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24399
24400
24401 fi
24402
24403   fi
24404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24405 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24406
24407     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24408       for ac_func in _isinfl
24409 do :
24410   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24411 if test "x$ac_cv_func__isinfl" = x""yes; then :
24412   cat >>confdefs.h <<_ACEOF
24413 #define HAVE__ISINFL 1
24414 _ACEOF
24415
24416 fi
24417 done
24418
24419     fi
24420   fi
24421
24422
24423
24424
24425
24426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24427 $as_echo_n "checking for atan2l declaration... " >&6; }
24428   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24429     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24430   $as_echo_n "(cached) " >&6
24431 else
24432
24433
24434       ac_ext=cpp
24435 ac_cpp='$CXXCPP $CPPFLAGS'
24436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24439
24440       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24441 /* end confdefs.h.  */
24442 #include <math.h>
24443 int
24444 main ()
24445 {
24446  atan2l(0, 0);
24447   ;
24448   return 0;
24449 }
24450 _ACEOF
24451 if ac_fn_cxx_try_compile "$LINENO"; then :
24452   glibcxx_cv_func_atan2l_use=yes
24453 else
24454   glibcxx_cv_func_atan2l_use=no
24455 fi
24456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24457       ac_ext=c
24458 ac_cpp='$CPP $CPPFLAGS'
24459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24462
24463
24464 fi
24465
24466   fi
24467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24468 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24469
24470   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24471     for ac_func in atan2l
24472 do :
24473   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24474 if test "x$ac_cv_func_atan2l" = x""yes; then :
24475   cat >>confdefs.h <<_ACEOF
24476 #define HAVE_ATAN2L 1
24477 _ACEOF
24478
24479 fi
24480 done
24481
24482   else
24483
24484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24485 $as_echo_n "checking for _atan2l declaration... " >&6; }
24486   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24487     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24488   $as_echo_n "(cached) " >&6
24489 else
24490
24491
24492       ac_ext=cpp
24493 ac_cpp='$CXXCPP $CPPFLAGS'
24494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24497
24498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24499 /* end confdefs.h.  */
24500 #include <math.h>
24501 int
24502 main ()
24503 {
24504  _atan2l(0, 0);
24505   ;
24506   return 0;
24507 }
24508 _ACEOF
24509 if ac_fn_cxx_try_compile "$LINENO"; then :
24510   glibcxx_cv_func__atan2l_use=yes
24511 else
24512   glibcxx_cv_func__atan2l_use=no
24513 fi
24514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24515       ac_ext=c
24516 ac_cpp='$CPP $CPPFLAGS'
24517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24520
24521
24522 fi
24523
24524   fi
24525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24526 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24527
24528     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24529       for ac_func in _atan2l
24530 do :
24531   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24532 if test "x$ac_cv_func__atan2l" = x""yes; then :
24533   cat >>confdefs.h <<_ACEOF
24534 #define HAVE__ATAN2L 1
24535 _ACEOF
24536
24537 fi
24538 done
24539
24540     fi
24541   fi
24542
24543
24544
24545
24546
24547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24548 $as_echo_n "checking for expl declaration... " >&6; }
24549   if test x${glibcxx_cv_func_expl_use+set} != xset; then
24550     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24551   $as_echo_n "(cached) " >&6
24552 else
24553
24554
24555       ac_ext=cpp
24556 ac_cpp='$CXXCPP $CPPFLAGS'
24557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24560
24561       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24562 /* end confdefs.h.  */
24563 #include <math.h>
24564                       #ifdef HAVE_IEEEFP_H
24565                       #include <ieeefp.h>
24566                       #endif
24567
24568 int
24569 main ()
24570 {
24571  expl(0);
24572   ;
24573   return 0;
24574 }
24575 _ACEOF
24576 if ac_fn_cxx_try_compile "$LINENO"; then :
24577   glibcxx_cv_func_expl_use=yes
24578 else
24579   glibcxx_cv_func_expl_use=no
24580 fi
24581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24582       ac_ext=c
24583 ac_cpp='$CPP $CPPFLAGS'
24584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24587
24588
24589 fi
24590
24591   fi
24592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24593 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24594
24595   if test x$glibcxx_cv_func_expl_use = x"yes"; then
24596     for ac_func in expl
24597 do :
24598   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24599 if test "x$ac_cv_func_expl" = x""yes; then :
24600   cat >>confdefs.h <<_ACEOF
24601 #define HAVE_EXPL 1
24602 _ACEOF
24603
24604 fi
24605 done
24606
24607   else
24608
24609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24610 $as_echo_n "checking for _expl declaration... " >&6; }
24611   if test x${glibcxx_cv_func__expl_use+set} != xset; then
24612     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24613   $as_echo_n "(cached) " >&6
24614 else
24615
24616
24617       ac_ext=cpp
24618 ac_cpp='$CXXCPP $CPPFLAGS'
24619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24622
24623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24624 /* end confdefs.h.  */
24625 #include <math.h>
24626                       #ifdef HAVE_IEEEFP_H
24627                       #include <ieeefp.h>
24628                       #endif
24629
24630 int
24631 main ()
24632 {
24633  _expl(0);
24634   ;
24635   return 0;
24636 }
24637 _ACEOF
24638 if ac_fn_cxx_try_compile "$LINENO"; then :
24639   glibcxx_cv_func__expl_use=yes
24640 else
24641   glibcxx_cv_func__expl_use=no
24642 fi
24643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24644       ac_ext=c
24645 ac_cpp='$CPP $CPPFLAGS'
24646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24649
24650
24651 fi
24652
24653   fi
24654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24655 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24656
24657     if test x$glibcxx_cv_func__expl_use = x"yes"; then
24658       for ac_func in _expl
24659 do :
24660   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24661 if test "x$ac_cv_func__expl" = x""yes; then :
24662   cat >>confdefs.h <<_ACEOF
24663 #define HAVE__EXPL 1
24664 _ACEOF
24665
24666 fi
24667 done
24668
24669     fi
24670   fi
24671
24672
24673
24674
24675
24676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24677 $as_echo_n "checking for fabsl declaration... " >&6; }
24678   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24679     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24680   $as_echo_n "(cached) " >&6
24681 else
24682
24683
24684       ac_ext=cpp
24685 ac_cpp='$CXXCPP $CPPFLAGS'
24686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24689
24690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24691 /* end confdefs.h.  */
24692 #include <math.h>
24693                       #ifdef HAVE_IEEEFP_H
24694                       #include <ieeefp.h>
24695                       #endif
24696
24697 int
24698 main ()
24699 {
24700  fabsl(0);
24701   ;
24702   return 0;
24703 }
24704 _ACEOF
24705 if ac_fn_cxx_try_compile "$LINENO"; then :
24706   glibcxx_cv_func_fabsl_use=yes
24707 else
24708   glibcxx_cv_func_fabsl_use=no
24709 fi
24710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24711       ac_ext=c
24712 ac_cpp='$CPP $CPPFLAGS'
24713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24716
24717
24718 fi
24719
24720   fi
24721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24722 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24723
24724   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24725     for ac_func in fabsl
24726 do :
24727   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24728 if test "x$ac_cv_func_fabsl" = x""yes; then :
24729   cat >>confdefs.h <<_ACEOF
24730 #define HAVE_FABSL 1
24731 _ACEOF
24732
24733 fi
24734 done
24735
24736   else
24737
24738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24739 $as_echo_n "checking for _fabsl declaration... " >&6; }
24740   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24741     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24742   $as_echo_n "(cached) " >&6
24743 else
24744
24745
24746       ac_ext=cpp
24747 ac_cpp='$CXXCPP $CPPFLAGS'
24748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24751
24752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24753 /* end confdefs.h.  */
24754 #include <math.h>
24755                       #ifdef HAVE_IEEEFP_H
24756                       #include <ieeefp.h>
24757                       #endif
24758
24759 int
24760 main ()
24761 {
24762  _fabsl(0);
24763   ;
24764   return 0;
24765 }
24766 _ACEOF
24767 if ac_fn_cxx_try_compile "$LINENO"; then :
24768   glibcxx_cv_func__fabsl_use=yes
24769 else
24770   glibcxx_cv_func__fabsl_use=no
24771 fi
24772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24773       ac_ext=c
24774 ac_cpp='$CPP $CPPFLAGS'
24775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24778
24779
24780 fi
24781
24782   fi
24783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24784 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24785
24786     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24787       for ac_func in _fabsl
24788 do :
24789   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24790 if test "x$ac_cv_func__fabsl" = x""yes; then :
24791   cat >>confdefs.h <<_ACEOF
24792 #define HAVE__FABSL 1
24793 _ACEOF
24794
24795 fi
24796 done
24797
24798     fi
24799   fi
24800
24801
24802
24803
24804
24805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24806 $as_echo_n "checking for fmodl declaration... " >&6; }
24807   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24808     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24809   $as_echo_n "(cached) " >&6
24810 else
24811
24812
24813       ac_ext=cpp
24814 ac_cpp='$CXXCPP $CPPFLAGS'
24815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24818
24819       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24820 /* end confdefs.h.  */
24821 #include <math.h>
24822 int
24823 main ()
24824 {
24825  fmodl(0, 0);
24826   ;
24827   return 0;
24828 }
24829 _ACEOF
24830 if ac_fn_cxx_try_compile "$LINENO"; then :
24831   glibcxx_cv_func_fmodl_use=yes
24832 else
24833   glibcxx_cv_func_fmodl_use=no
24834 fi
24835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24836       ac_ext=c
24837 ac_cpp='$CPP $CPPFLAGS'
24838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24841
24842
24843 fi
24844
24845   fi
24846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24847 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24848
24849   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24850     for ac_func in fmodl
24851 do :
24852   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24853 if test "x$ac_cv_func_fmodl" = x""yes; then :
24854   cat >>confdefs.h <<_ACEOF
24855 #define HAVE_FMODL 1
24856 _ACEOF
24857
24858 fi
24859 done
24860
24861   else
24862
24863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24864 $as_echo_n "checking for _fmodl declaration... " >&6; }
24865   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24866     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24867   $as_echo_n "(cached) " >&6
24868 else
24869
24870
24871       ac_ext=cpp
24872 ac_cpp='$CXXCPP $CPPFLAGS'
24873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24876
24877       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24878 /* end confdefs.h.  */
24879 #include <math.h>
24880 int
24881 main ()
24882 {
24883  _fmodl(0, 0);
24884   ;
24885   return 0;
24886 }
24887 _ACEOF
24888 if ac_fn_cxx_try_compile "$LINENO"; then :
24889   glibcxx_cv_func__fmodl_use=yes
24890 else
24891   glibcxx_cv_func__fmodl_use=no
24892 fi
24893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24894       ac_ext=c
24895 ac_cpp='$CPP $CPPFLAGS'
24896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24899
24900
24901 fi
24902
24903   fi
24904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24905 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24906
24907     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24908       for ac_func in _fmodl
24909 do :
24910   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24911 if test "x$ac_cv_func__fmodl" = x""yes; then :
24912   cat >>confdefs.h <<_ACEOF
24913 #define HAVE__FMODL 1
24914 _ACEOF
24915
24916 fi
24917 done
24918
24919     fi
24920   fi
24921
24922
24923
24924
24925
24926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24927 $as_echo_n "checking for frexpl declaration... " >&6; }
24928   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24929     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24930   $as_echo_n "(cached) " >&6
24931 else
24932
24933
24934       ac_ext=cpp
24935 ac_cpp='$CXXCPP $CPPFLAGS'
24936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24939
24940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24941 /* end confdefs.h.  */
24942 #include <math.h>
24943 int
24944 main ()
24945 {
24946  frexpl(0, 0);
24947   ;
24948   return 0;
24949 }
24950 _ACEOF
24951 if ac_fn_cxx_try_compile "$LINENO"; then :
24952   glibcxx_cv_func_frexpl_use=yes
24953 else
24954   glibcxx_cv_func_frexpl_use=no
24955 fi
24956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24957       ac_ext=c
24958 ac_cpp='$CPP $CPPFLAGS'
24959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24962
24963
24964 fi
24965
24966   fi
24967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24968 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24969
24970   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24971     for ac_func in frexpl
24972 do :
24973   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24974 if test "x$ac_cv_func_frexpl" = x""yes; then :
24975   cat >>confdefs.h <<_ACEOF
24976 #define HAVE_FREXPL 1
24977 _ACEOF
24978
24979 fi
24980 done
24981
24982   else
24983
24984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24985 $as_echo_n "checking for _frexpl declaration... " >&6; }
24986   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24987     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24988   $as_echo_n "(cached) " >&6
24989 else
24990
24991
24992       ac_ext=cpp
24993 ac_cpp='$CXXCPP $CPPFLAGS'
24994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24997
24998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24999 /* end confdefs.h.  */
25000 #include <math.h>
25001 int
25002 main ()
25003 {
25004  _frexpl(0, 0);
25005   ;
25006   return 0;
25007 }
25008 _ACEOF
25009 if ac_fn_cxx_try_compile "$LINENO"; then :
25010   glibcxx_cv_func__frexpl_use=yes
25011 else
25012   glibcxx_cv_func__frexpl_use=no
25013 fi
25014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25015       ac_ext=c
25016 ac_cpp='$CPP $CPPFLAGS'
25017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25020
25021
25022 fi
25023
25024   fi
25025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25026 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25027
25028     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25029       for ac_func in _frexpl
25030 do :
25031   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25032 if test "x$ac_cv_func__frexpl" = x""yes; then :
25033   cat >>confdefs.h <<_ACEOF
25034 #define HAVE__FREXPL 1
25035 _ACEOF
25036
25037 fi
25038 done
25039
25040     fi
25041   fi
25042
25043
25044
25045
25046
25047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25048 $as_echo_n "checking for hypotl declaration... " >&6; }
25049   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25050     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25051   $as_echo_n "(cached) " >&6
25052 else
25053
25054
25055       ac_ext=cpp
25056 ac_cpp='$CXXCPP $CPPFLAGS'
25057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25060
25061       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25062 /* end confdefs.h.  */
25063 #include <math.h>
25064 int
25065 main ()
25066 {
25067  hypotl(0, 0);
25068   ;
25069   return 0;
25070 }
25071 _ACEOF
25072 if ac_fn_cxx_try_compile "$LINENO"; then :
25073   glibcxx_cv_func_hypotl_use=yes
25074 else
25075   glibcxx_cv_func_hypotl_use=no
25076 fi
25077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25078       ac_ext=c
25079 ac_cpp='$CPP $CPPFLAGS'
25080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25083
25084
25085 fi
25086
25087   fi
25088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25089 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25090
25091   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25092     for ac_func in hypotl
25093 do :
25094   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25095 if test "x$ac_cv_func_hypotl" = x""yes; then :
25096   cat >>confdefs.h <<_ACEOF
25097 #define HAVE_HYPOTL 1
25098 _ACEOF
25099
25100 fi
25101 done
25102
25103   else
25104
25105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25106 $as_echo_n "checking for _hypotl declaration... " >&6; }
25107   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25108     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25109   $as_echo_n "(cached) " >&6
25110 else
25111
25112
25113       ac_ext=cpp
25114 ac_cpp='$CXXCPP $CPPFLAGS'
25115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25118
25119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25120 /* end confdefs.h.  */
25121 #include <math.h>
25122 int
25123 main ()
25124 {
25125  _hypotl(0, 0);
25126   ;
25127   return 0;
25128 }
25129 _ACEOF
25130 if ac_fn_cxx_try_compile "$LINENO"; then :
25131   glibcxx_cv_func__hypotl_use=yes
25132 else
25133   glibcxx_cv_func__hypotl_use=no
25134 fi
25135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25136       ac_ext=c
25137 ac_cpp='$CPP $CPPFLAGS'
25138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25141
25142
25143 fi
25144
25145   fi
25146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25147 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25148
25149     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25150       for ac_func in _hypotl
25151 do :
25152   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25153 if test "x$ac_cv_func__hypotl" = x""yes; then :
25154   cat >>confdefs.h <<_ACEOF
25155 #define HAVE__HYPOTL 1
25156 _ACEOF
25157
25158 fi
25159 done
25160
25161     fi
25162   fi
25163
25164
25165
25166
25167
25168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25169 $as_echo_n "checking for ldexpl declaration... " >&6; }
25170   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25171     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25172   $as_echo_n "(cached) " >&6
25173 else
25174
25175
25176       ac_ext=cpp
25177 ac_cpp='$CXXCPP $CPPFLAGS'
25178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25181
25182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25183 /* end confdefs.h.  */
25184 #include <math.h>
25185 int
25186 main ()
25187 {
25188  ldexpl(0, 0);
25189   ;
25190   return 0;
25191 }
25192 _ACEOF
25193 if ac_fn_cxx_try_compile "$LINENO"; then :
25194   glibcxx_cv_func_ldexpl_use=yes
25195 else
25196   glibcxx_cv_func_ldexpl_use=no
25197 fi
25198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25199       ac_ext=c
25200 ac_cpp='$CPP $CPPFLAGS'
25201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25204
25205
25206 fi
25207
25208   fi
25209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25210 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25211
25212   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25213     for ac_func in ldexpl
25214 do :
25215   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25216 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25217   cat >>confdefs.h <<_ACEOF
25218 #define HAVE_LDEXPL 1
25219 _ACEOF
25220
25221 fi
25222 done
25223
25224   else
25225
25226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25227 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25228   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25229     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25230   $as_echo_n "(cached) " >&6
25231 else
25232
25233
25234       ac_ext=cpp
25235 ac_cpp='$CXXCPP $CPPFLAGS'
25236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25239
25240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25241 /* end confdefs.h.  */
25242 #include <math.h>
25243 int
25244 main ()
25245 {
25246  _ldexpl(0, 0);
25247   ;
25248   return 0;
25249 }
25250 _ACEOF
25251 if ac_fn_cxx_try_compile "$LINENO"; then :
25252   glibcxx_cv_func__ldexpl_use=yes
25253 else
25254   glibcxx_cv_func__ldexpl_use=no
25255 fi
25256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25257       ac_ext=c
25258 ac_cpp='$CPP $CPPFLAGS'
25259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25262
25263
25264 fi
25265
25266   fi
25267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25268 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25269
25270     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25271       for ac_func in _ldexpl
25272 do :
25273   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25274 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25275   cat >>confdefs.h <<_ACEOF
25276 #define HAVE__LDEXPL 1
25277 _ACEOF
25278
25279 fi
25280 done
25281
25282     fi
25283   fi
25284
25285
25286
25287
25288
25289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25290 $as_echo_n "checking for logl declaration... " >&6; }
25291   if test x${glibcxx_cv_func_logl_use+set} != xset; then
25292     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25293   $as_echo_n "(cached) " >&6
25294 else
25295
25296
25297       ac_ext=cpp
25298 ac_cpp='$CXXCPP $CPPFLAGS'
25299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25302
25303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25304 /* end confdefs.h.  */
25305 #include <math.h>
25306                       #ifdef HAVE_IEEEFP_H
25307                       #include <ieeefp.h>
25308                       #endif
25309
25310 int
25311 main ()
25312 {
25313  logl(0);
25314   ;
25315   return 0;
25316 }
25317 _ACEOF
25318 if ac_fn_cxx_try_compile "$LINENO"; then :
25319   glibcxx_cv_func_logl_use=yes
25320 else
25321   glibcxx_cv_func_logl_use=no
25322 fi
25323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25324       ac_ext=c
25325 ac_cpp='$CPP $CPPFLAGS'
25326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25329
25330
25331 fi
25332
25333   fi
25334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25335 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25336
25337   if test x$glibcxx_cv_func_logl_use = x"yes"; then
25338     for ac_func in logl
25339 do :
25340   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25341 if test "x$ac_cv_func_logl" = x""yes; then :
25342   cat >>confdefs.h <<_ACEOF
25343 #define HAVE_LOGL 1
25344 _ACEOF
25345
25346 fi
25347 done
25348
25349   else
25350
25351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25352 $as_echo_n "checking for _logl declaration... " >&6; }
25353   if test x${glibcxx_cv_func__logl_use+set} != xset; then
25354     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25355   $as_echo_n "(cached) " >&6
25356 else
25357
25358
25359       ac_ext=cpp
25360 ac_cpp='$CXXCPP $CPPFLAGS'
25361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25364
25365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25366 /* end confdefs.h.  */
25367 #include <math.h>
25368                       #ifdef HAVE_IEEEFP_H
25369                       #include <ieeefp.h>
25370                       #endif
25371
25372 int
25373 main ()
25374 {
25375  _logl(0);
25376   ;
25377   return 0;
25378 }
25379 _ACEOF
25380 if ac_fn_cxx_try_compile "$LINENO"; then :
25381   glibcxx_cv_func__logl_use=yes
25382 else
25383   glibcxx_cv_func__logl_use=no
25384 fi
25385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25386       ac_ext=c
25387 ac_cpp='$CPP $CPPFLAGS'
25388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25391
25392
25393 fi
25394
25395   fi
25396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25397 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25398
25399     if test x$glibcxx_cv_func__logl_use = x"yes"; then
25400       for ac_func in _logl
25401 do :
25402   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25403 if test "x$ac_cv_func__logl" = x""yes; then :
25404   cat >>confdefs.h <<_ACEOF
25405 #define HAVE__LOGL 1
25406 _ACEOF
25407
25408 fi
25409 done
25410
25411     fi
25412   fi
25413
25414
25415
25416
25417
25418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25419 $as_echo_n "checking for log10l declaration... " >&6; }
25420   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25421     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25422   $as_echo_n "(cached) " >&6
25423 else
25424
25425
25426       ac_ext=cpp
25427 ac_cpp='$CXXCPP $CPPFLAGS'
25428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25431
25432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25433 /* end confdefs.h.  */
25434 #include <math.h>
25435                       #ifdef HAVE_IEEEFP_H
25436                       #include <ieeefp.h>
25437                       #endif
25438
25439 int
25440 main ()
25441 {
25442  log10l(0);
25443   ;
25444   return 0;
25445 }
25446 _ACEOF
25447 if ac_fn_cxx_try_compile "$LINENO"; then :
25448   glibcxx_cv_func_log10l_use=yes
25449 else
25450   glibcxx_cv_func_log10l_use=no
25451 fi
25452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25453       ac_ext=c
25454 ac_cpp='$CPP $CPPFLAGS'
25455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25458
25459
25460 fi
25461
25462   fi
25463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25464 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25465
25466   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25467     for ac_func in log10l
25468 do :
25469   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25470 if test "x$ac_cv_func_log10l" = x""yes; then :
25471   cat >>confdefs.h <<_ACEOF
25472 #define HAVE_LOG10L 1
25473 _ACEOF
25474
25475 fi
25476 done
25477
25478   else
25479
25480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25481 $as_echo_n "checking for _log10l declaration... " >&6; }
25482   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25483     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25484   $as_echo_n "(cached) " >&6
25485 else
25486
25487
25488       ac_ext=cpp
25489 ac_cpp='$CXXCPP $CPPFLAGS'
25490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25493
25494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25495 /* end confdefs.h.  */
25496 #include <math.h>
25497                       #ifdef HAVE_IEEEFP_H
25498                       #include <ieeefp.h>
25499                       #endif
25500
25501 int
25502 main ()
25503 {
25504  _log10l(0);
25505   ;
25506   return 0;
25507 }
25508 _ACEOF
25509 if ac_fn_cxx_try_compile "$LINENO"; then :
25510   glibcxx_cv_func__log10l_use=yes
25511 else
25512   glibcxx_cv_func__log10l_use=no
25513 fi
25514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25515       ac_ext=c
25516 ac_cpp='$CPP $CPPFLAGS'
25517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25520
25521
25522 fi
25523
25524   fi
25525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25526 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25527
25528     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25529       for ac_func in _log10l
25530 do :
25531   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25532 if test "x$ac_cv_func__log10l" = x""yes; then :
25533   cat >>confdefs.h <<_ACEOF
25534 #define HAVE__LOG10L 1
25535 _ACEOF
25536
25537 fi
25538 done
25539
25540     fi
25541   fi
25542
25543
25544
25545
25546
25547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25548 $as_echo_n "checking for modfl declaration... " >&6; }
25549   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25550     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25551   $as_echo_n "(cached) " >&6
25552 else
25553
25554
25555       ac_ext=cpp
25556 ac_cpp='$CXXCPP $CPPFLAGS'
25557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25560
25561       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25562 /* end confdefs.h.  */
25563 #include <math.h>
25564 int
25565 main ()
25566 {
25567  modfl(0, 0);
25568   ;
25569   return 0;
25570 }
25571 _ACEOF
25572 if ac_fn_cxx_try_compile "$LINENO"; then :
25573   glibcxx_cv_func_modfl_use=yes
25574 else
25575   glibcxx_cv_func_modfl_use=no
25576 fi
25577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25578       ac_ext=c
25579 ac_cpp='$CPP $CPPFLAGS'
25580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25583
25584
25585 fi
25586
25587   fi
25588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25589 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25590
25591   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25592     for ac_func in modfl
25593 do :
25594   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25595 if test "x$ac_cv_func_modfl" = x""yes; then :
25596   cat >>confdefs.h <<_ACEOF
25597 #define HAVE_MODFL 1
25598 _ACEOF
25599
25600 fi
25601 done
25602
25603   else
25604
25605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25606 $as_echo_n "checking for _modfl declaration... " >&6; }
25607   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25608     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25609   $as_echo_n "(cached) " >&6
25610 else
25611
25612
25613       ac_ext=cpp
25614 ac_cpp='$CXXCPP $CPPFLAGS'
25615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25618
25619       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25620 /* end confdefs.h.  */
25621 #include <math.h>
25622 int
25623 main ()
25624 {
25625  _modfl(0, 0);
25626   ;
25627   return 0;
25628 }
25629 _ACEOF
25630 if ac_fn_cxx_try_compile "$LINENO"; then :
25631   glibcxx_cv_func__modfl_use=yes
25632 else
25633   glibcxx_cv_func__modfl_use=no
25634 fi
25635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25636       ac_ext=c
25637 ac_cpp='$CPP $CPPFLAGS'
25638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25641
25642
25643 fi
25644
25645   fi
25646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25647 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25648
25649     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25650       for ac_func in _modfl
25651 do :
25652   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25653 if test "x$ac_cv_func__modfl" = x""yes; then :
25654   cat >>confdefs.h <<_ACEOF
25655 #define HAVE__MODFL 1
25656 _ACEOF
25657
25658 fi
25659 done
25660
25661     fi
25662   fi
25663
25664
25665
25666
25667
25668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25669 $as_echo_n "checking for powl declaration... " >&6; }
25670   if test x${glibcxx_cv_func_powl_use+set} != xset; then
25671     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25672   $as_echo_n "(cached) " >&6
25673 else
25674
25675
25676       ac_ext=cpp
25677 ac_cpp='$CXXCPP $CPPFLAGS'
25678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25681
25682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25683 /* end confdefs.h.  */
25684 #include <math.h>
25685 int
25686 main ()
25687 {
25688  powl(0, 0);
25689   ;
25690   return 0;
25691 }
25692 _ACEOF
25693 if ac_fn_cxx_try_compile "$LINENO"; then :
25694   glibcxx_cv_func_powl_use=yes
25695 else
25696   glibcxx_cv_func_powl_use=no
25697 fi
25698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25699       ac_ext=c
25700 ac_cpp='$CPP $CPPFLAGS'
25701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25704
25705
25706 fi
25707
25708   fi
25709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25710 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25711
25712   if test x$glibcxx_cv_func_powl_use = x"yes"; then
25713     for ac_func in powl
25714 do :
25715   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25716 if test "x$ac_cv_func_powl" = x""yes; then :
25717   cat >>confdefs.h <<_ACEOF
25718 #define HAVE_POWL 1
25719 _ACEOF
25720
25721 fi
25722 done
25723
25724   else
25725
25726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25727 $as_echo_n "checking for _powl declaration... " >&6; }
25728   if test x${glibcxx_cv_func__powl_use+set} != xset; then
25729     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25730   $as_echo_n "(cached) " >&6
25731 else
25732
25733
25734       ac_ext=cpp
25735 ac_cpp='$CXXCPP $CPPFLAGS'
25736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25739
25740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25741 /* end confdefs.h.  */
25742 #include <math.h>
25743 int
25744 main ()
25745 {
25746  _powl(0, 0);
25747   ;
25748   return 0;
25749 }
25750 _ACEOF
25751 if ac_fn_cxx_try_compile "$LINENO"; then :
25752   glibcxx_cv_func__powl_use=yes
25753 else
25754   glibcxx_cv_func__powl_use=no
25755 fi
25756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25757       ac_ext=c
25758 ac_cpp='$CPP $CPPFLAGS'
25759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25762
25763
25764 fi
25765
25766   fi
25767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25768 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25769
25770     if test x$glibcxx_cv_func__powl_use = x"yes"; then
25771       for ac_func in _powl
25772 do :
25773   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25774 if test "x$ac_cv_func__powl" = x""yes; then :
25775   cat >>confdefs.h <<_ACEOF
25776 #define HAVE__POWL 1
25777 _ACEOF
25778
25779 fi
25780 done
25781
25782     fi
25783   fi
25784
25785
25786
25787
25788
25789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25790 $as_echo_n "checking for sqrtl declaration... " >&6; }
25791   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25792     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25793   $as_echo_n "(cached) " >&6
25794 else
25795
25796
25797       ac_ext=cpp
25798 ac_cpp='$CXXCPP $CPPFLAGS'
25799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25802
25803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25804 /* end confdefs.h.  */
25805 #include <math.h>
25806                       #ifdef HAVE_IEEEFP_H
25807                       #include <ieeefp.h>
25808                       #endif
25809
25810 int
25811 main ()
25812 {
25813  sqrtl(0);
25814   ;
25815   return 0;
25816 }
25817 _ACEOF
25818 if ac_fn_cxx_try_compile "$LINENO"; then :
25819   glibcxx_cv_func_sqrtl_use=yes
25820 else
25821   glibcxx_cv_func_sqrtl_use=no
25822 fi
25823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25824       ac_ext=c
25825 ac_cpp='$CPP $CPPFLAGS'
25826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25829
25830
25831 fi
25832
25833   fi
25834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25835 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25836
25837   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25838     for ac_func in sqrtl
25839 do :
25840   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25841 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25842   cat >>confdefs.h <<_ACEOF
25843 #define HAVE_SQRTL 1
25844 _ACEOF
25845
25846 fi
25847 done
25848
25849   else
25850
25851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25852 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25853   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25854     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25855   $as_echo_n "(cached) " >&6
25856 else
25857
25858
25859       ac_ext=cpp
25860 ac_cpp='$CXXCPP $CPPFLAGS'
25861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25864
25865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25866 /* end confdefs.h.  */
25867 #include <math.h>
25868                       #ifdef HAVE_IEEEFP_H
25869                       #include <ieeefp.h>
25870                       #endif
25871
25872 int
25873 main ()
25874 {
25875  _sqrtl(0);
25876   ;
25877   return 0;
25878 }
25879 _ACEOF
25880 if ac_fn_cxx_try_compile "$LINENO"; then :
25881   glibcxx_cv_func__sqrtl_use=yes
25882 else
25883   glibcxx_cv_func__sqrtl_use=no
25884 fi
25885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25886       ac_ext=c
25887 ac_cpp='$CPP $CPPFLAGS'
25888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25891
25892
25893 fi
25894
25895   fi
25896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25897 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25898
25899     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25900       for ac_func in _sqrtl
25901 do :
25902   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25903 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25904   cat >>confdefs.h <<_ACEOF
25905 #define HAVE__SQRTL 1
25906 _ACEOF
25907
25908 fi
25909 done
25910
25911     fi
25912   fi
25913
25914
25915
25916
25917
25918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25919 $as_echo_n "checking for sincosl declaration... " >&6; }
25920   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25921     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25922   $as_echo_n "(cached) " >&6
25923 else
25924
25925
25926       ac_ext=cpp
25927 ac_cpp='$CXXCPP $CPPFLAGS'
25928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25931
25932       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25933 /* end confdefs.h.  */
25934 #include <math.h>
25935 int
25936 main ()
25937 {
25938  sincosl(0, 0, 0);
25939   ;
25940   return 0;
25941 }
25942 _ACEOF
25943 if ac_fn_cxx_try_compile "$LINENO"; then :
25944   glibcxx_cv_func_sincosl_use=yes
25945 else
25946   glibcxx_cv_func_sincosl_use=no
25947 fi
25948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25949       ac_ext=c
25950 ac_cpp='$CPP $CPPFLAGS'
25951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25954
25955
25956 fi
25957
25958   fi
25959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25960 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25961
25962   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25963     for ac_func in sincosl
25964 do :
25965   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25966 if test "x$ac_cv_func_sincosl" = x""yes; then :
25967   cat >>confdefs.h <<_ACEOF
25968 #define HAVE_SINCOSL 1
25969 _ACEOF
25970
25971 fi
25972 done
25973
25974   else
25975
25976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25977 $as_echo_n "checking for _sincosl declaration... " >&6; }
25978   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25979     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25980   $as_echo_n "(cached) " >&6
25981 else
25982
25983
25984       ac_ext=cpp
25985 ac_cpp='$CXXCPP $CPPFLAGS'
25986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25989
25990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25991 /* end confdefs.h.  */
25992 #include <math.h>
25993 int
25994 main ()
25995 {
25996  _sincosl(0, 0, 0);
25997   ;
25998   return 0;
25999 }
26000 _ACEOF
26001 if ac_fn_cxx_try_compile "$LINENO"; then :
26002   glibcxx_cv_func__sincosl_use=yes
26003 else
26004   glibcxx_cv_func__sincosl_use=no
26005 fi
26006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26007       ac_ext=c
26008 ac_cpp='$CPP $CPPFLAGS'
26009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26012
26013
26014 fi
26015
26016   fi
26017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26018 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26019
26020     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26021       for ac_func in _sincosl
26022 do :
26023   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26024 if test "x$ac_cv_func__sincosl" = x""yes; then :
26025   cat >>confdefs.h <<_ACEOF
26026 #define HAVE__SINCOSL 1
26027 _ACEOF
26028
26029 fi
26030 done
26031
26032     fi
26033   fi
26034
26035
26036
26037
26038
26039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26040 $as_echo_n "checking for finitel declaration... " >&6; }
26041   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26042     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26043   $as_echo_n "(cached) " >&6
26044 else
26045
26046
26047       ac_ext=cpp
26048 ac_cpp='$CXXCPP $CPPFLAGS'
26049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26052
26053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26054 /* end confdefs.h.  */
26055 #include <math.h>
26056                       #ifdef HAVE_IEEEFP_H
26057                       #include <ieeefp.h>
26058                       #endif
26059
26060 int
26061 main ()
26062 {
26063  finitel(0);
26064   ;
26065   return 0;
26066 }
26067 _ACEOF
26068 if ac_fn_cxx_try_compile "$LINENO"; then :
26069   glibcxx_cv_func_finitel_use=yes
26070 else
26071   glibcxx_cv_func_finitel_use=no
26072 fi
26073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26074       ac_ext=c
26075 ac_cpp='$CPP $CPPFLAGS'
26076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26079
26080
26081 fi
26082
26083   fi
26084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26085 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26086
26087   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26088     for ac_func in finitel
26089 do :
26090   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26091 if test "x$ac_cv_func_finitel" = x""yes; then :
26092   cat >>confdefs.h <<_ACEOF
26093 #define HAVE_FINITEL 1
26094 _ACEOF
26095
26096 fi
26097 done
26098
26099   else
26100
26101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26102 $as_echo_n "checking for _finitel declaration... " >&6; }
26103   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26104     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26105   $as_echo_n "(cached) " >&6
26106 else
26107
26108
26109       ac_ext=cpp
26110 ac_cpp='$CXXCPP $CPPFLAGS'
26111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26114
26115       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26116 /* end confdefs.h.  */
26117 #include <math.h>
26118                       #ifdef HAVE_IEEEFP_H
26119                       #include <ieeefp.h>
26120                       #endif
26121
26122 int
26123 main ()
26124 {
26125  _finitel(0);
26126   ;
26127   return 0;
26128 }
26129 _ACEOF
26130 if ac_fn_cxx_try_compile "$LINENO"; then :
26131   glibcxx_cv_func__finitel_use=yes
26132 else
26133   glibcxx_cv_func__finitel_use=no
26134 fi
26135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26136       ac_ext=c
26137 ac_cpp='$CPP $CPPFLAGS'
26138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26141
26142
26143 fi
26144
26145   fi
26146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26147 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26148
26149     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26150       for ac_func in _finitel
26151 do :
26152   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26153 if test "x$ac_cv_func__finitel" = x""yes; then :
26154   cat >>confdefs.h <<_ACEOF
26155 #define HAVE__FINITEL 1
26156 _ACEOF
26157
26158 fi
26159 done
26160
26161     fi
26162   fi
26163
26164
26165
26166
26167   LIBS="$ac_save_LIBS"
26168   CXXFLAGS="$ac_save_CXXFLAGS"
26169
26170
26171   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26172   ac_save_CXXFLAGS="$CXXFLAGS"
26173   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26174
26175
26176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26177 $as_echo_n "checking for strtold declaration... " >&6; }
26178   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26179     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26180   $as_echo_n "(cached) " >&6
26181 else
26182
26183
26184       ac_ext=cpp
26185 ac_cpp='$CXXCPP $CPPFLAGS'
26186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26189
26190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26191 /* end confdefs.h.  */
26192 #include <stdlib.h>
26193 int
26194 main ()
26195 {
26196  strtold(0, 0);
26197   ;
26198   return 0;
26199 }
26200 _ACEOF
26201 if ac_fn_cxx_try_compile "$LINENO"; then :
26202   glibcxx_cv_func_strtold_use=yes
26203 else
26204   glibcxx_cv_func_strtold_use=no
26205 fi
26206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26207       ac_ext=c
26208 ac_cpp='$CPP $CPPFLAGS'
26209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26212
26213
26214 fi
26215
26216   fi
26217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26218 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26219   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26220     for ac_func in strtold
26221 do :
26222   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26223 if test "x$ac_cv_func_strtold" = x""yes; then :
26224   cat >>confdefs.h <<_ACEOF
26225 #define HAVE_STRTOLD 1
26226 _ACEOF
26227
26228 fi
26229 done
26230
26231   fi
26232
26233
26234
26235
26236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26237 $as_echo_n "checking for strtof declaration... " >&6; }
26238   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26239     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26240   $as_echo_n "(cached) " >&6
26241 else
26242
26243
26244       ac_ext=cpp
26245 ac_cpp='$CXXCPP $CPPFLAGS'
26246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26249
26250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26251 /* end confdefs.h.  */
26252 #include <stdlib.h>
26253 int
26254 main ()
26255 {
26256  strtof(0, 0);
26257   ;
26258   return 0;
26259 }
26260 _ACEOF
26261 if ac_fn_cxx_try_compile "$LINENO"; then :
26262   glibcxx_cv_func_strtof_use=yes
26263 else
26264   glibcxx_cv_func_strtof_use=no
26265 fi
26266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26267       ac_ext=c
26268 ac_cpp='$CPP $CPPFLAGS'
26269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26272
26273
26274 fi
26275
26276   fi
26277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26278 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26279   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26280     for ac_func in strtof
26281 do :
26282   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26283 if test "x$ac_cv_func_strtof" = x""yes; then :
26284   cat >>confdefs.h <<_ACEOF
26285 #define HAVE_STRTOF 1
26286 _ACEOF
26287
26288 fi
26289 done
26290
26291   fi
26292
26293
26294
26295
26296   CXXFLAGS="$ac_save_CXXFLAGS"
26297
26298
26299   # For /dev/random and /dev/urandom for TR1.
26300
26301
26302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26303 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26304   if test "${glibcxx_cv_random_tr1+set}" = set; then :
26305   $as_echo_n "(cached) " >&6
26306 else
26307
26308     if test -r /dev/random && test -r /dev/urandom; then
26309       glibcxx_cv_random_tr1=yes;
26310     else
26311       glibcxx_cv_random_tr1=no;
26312     fi
26313
26314 fi
26315
26316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26317 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26318
26319   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26320
26321 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26322
26323   fi
26324
26325
26326
26327   # For TLS support.
26328
26329
26330    # Check whether --enable-tls was given.
26331 if test "${enable_tls+set}" = set; then :
26332   enableval=$enable_tls;
26333       case "$enableval" in
26334        yes|no) ;;
26335        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26336       esac
26337
26338 else
26339   enable_tls=yes
26340 fi
26341
26342
26343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26344 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26345 if test "${gcc_cv_have_tls+set}" = set; then :
26346   $as_echo_n "(cached) " >&6
26347 else
26348
26349     if test "$cross_compiling" = yes; then :
26350                 if test x$gcc_no_link = xyes; then
26351   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26352 fi
26353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26354 /* end confdefs.h.  */
26355 __thread int a; int b; int main() { return a = b; }
26356 _ACEOF
26357 if ac_fn_c_try_link "$LINENO"; then :
26358   chktls_save_LDFLAGS="$LDFLAGS"
26359                           case $host in
26360             *-*-linux*)
26361               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26362               ;;
26363           esac
26364           chktls_save_CFLAGS="$CFLAGS"
26365           CFLAGS="-fPIC $CFLAGS"
26366                   if test x$gcc_no_link = xyes; then
26367   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26368 fi
26369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26370 /* end confdefs.h.  */
26371 int f() { return 0; }
26372 _ACEOF
26373 if ac_fn_c_try_link "$LINENO"; then :
26374   if test x$gcc_no_link = xyes; then
26375   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26376 fi
26377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26378 /* end confdefs.h.  */
26379 __thread int a; int b; int f() { return a = b; }
26380 _ACEOF
26381 if ac_fn_c_try_link "$LINENO"; then :
26382   gcc_cv_have_tls=yes
26383 else
26384   gcc_cv_have_tls=no
26385 fi
26386 rm -f core conftest.err conftest.$ac_objext \
26387     conftest$ac_exeext conftest.$ac_ext
26388 else
26389   gcc_cv_have_tls=yes
26390 fi
26391 rm -f core conftest.err conftest.$ac_objext \
26392     conftest$ac_exeext conftest.$ac_ext
26393           CFLAGS="$chktls_save_CFLAGS"
26394           LDFLAGS="$chktls_save_LDFLAGS"
26395 else
26396   gcc_cv_have_tls=no
26397 fi
26398 rm -f core conftest.err conftest.$ac_objext \
26399     conftest$ac_exeext conftest.$ac_ext
26400
26401
26402 else
26403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26404 /* end confdefs.h.  */
26405 __thread int a; int b; int main() { return a = b; }
26406 _ACEOF
26407 if ac_fn_c_try_run "$LINENO"; then :
26408                       chktls_save_LDFLAGS="$LDFLAGS"
26409       LDFLAGS="-static $LDFLAGS"
26410       if test x$gcc_no_link = xyes; then
26411   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26412 fi
26413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26414 /* end confdefs.h.  */
26415 int main() { return 0; }
26416 _ACEOF
26417 if ac_fn_c_try_link "$LINENO"; then :
26418   if test "$cross_compiling" = yes; then :
26419   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26421 as_fn_error "cannot run test program while cross compiling
26422 See \`config.log' for more details." "$LINENO" 5; }
26423 else
26424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26425 /* end confdefs.h.  */
26426 __thread int a; int b; int main() { return a = b; }
26427 _ACEOF
26428 if ac_fn_c_try_run "$LINENO"; then :
26429   gcc_cv_have_tls=yes
26430 else
26431   gcc_cv_have_tls=no
26432 fi
26433 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26434   conftest.$ac_objext conftest.beam conftest.$ac_ext
26435 fi
26436
26437 else
26438   gcc_cv_have_tls=yes
26439 fi
26440 rm -f core conftest.err conftest.$ac_objext \
26441     conftest$ac_exeext conftest.$ac_ext
26442       LDFLAGS="$chktls_save_LDFLAGS"
26443       if test $gcc_cv_have_tls = yes; then
26444                                                 chktls_save_CFLAGS="$CFLAGS"
26445         thread_CFLAGS=failed
26446         for flag in '' '-pthread' '-lpthread'; do
26447           CFLAGS="$flag $chktls_save_CFLAGS"
26448           if test x$gcc_no_link = xyes; then
26449   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26450 fi
26451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26452 /* end confdefs.h.  */
26453 #include <pthread.h>
26454                 void *g(void *d) { return NULL; }
26455 int
26456 main ()
26457 {
26458 pthread_t t; pthread_create(&t,NULL,g,NULL);
26459   ;
26460   return 0;
26461 }
26462 _ACEOF
26463 if ac_fn_c_try_link "$LINENO"; then :
26464   thread_CFLAGS="$flag"
26465 fi
26466 rm -f core conftest.err conftest.$ac_objext \
26467     conftest$ac_exeext conftest.$ac_ext
26468           if test "X$thread_CFLAGS" != Xfailed; then
26469             break
26470           fi
26471         done
26472         CFLAGS="$chktls_save_CFLAGS"
26473         if test "X$thread_CFLAGS" != Xfailed; then
26474           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26475                                                   if test "$cross_compiling" = yes; then :
26476   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26478 as_fn_error "cannot run test program while cross compiling
26479 See \`config.log' for more details." "$LINENO" 5; }
26480 else
26481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26482 /* end confdefs.h.  */
26483 #include <pthread.h>
26484                 __thread int a;
26485                 static int *volatile a_in_other_thread;
26486                 static void *
26487                 thread_func (void *arg)
26488                 {
26489                   a_in_other_thread = &a;
26490                   return (void *)0;
26491                 }
26492 int
26493 main ()
26494 {
26495 pthread_t thread;
26496                 void *thread_retval;
26497                 int *volatile a_in_main_thread;
26498                 a_in_main_thread = &a;
26499                 if (pthread_create (&thread, (pthread_attr_t *)0,
26500                                     thread_func, (void *)0))
26501                   return 0;
26502                 if (pthread_join (thread, &thread_retval))
26503                   return 0;
26504                 return (a_in_other_thread == a_in_main_thread);
26505   ;
26506   return 0;
26507 }
26508 _ACEOF
26509 if ac_fn_c_try_run "$LINENO"; then :
26510   gcc_cv_have_tls=yes
26511 else
26512   gcc_cv_have_tls=no
26513 fi
26514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26515   conftest.$ac_objext conftest.beam conftest.$ac_ext
26516 fi
26517
26518           CFLAGS="$chktls_save_CFLAGS"
26519         fi
26520       fi
26521 else
26522   gcc_cv_have_tls=no
26523 fi
26524 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26525   conftest.$ac_objext conftest.beam conftest.$ac_ext
26526 fi
26527
26528 fi
26529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26530 $as_echo "$gcc_cv_have_tls" >&6; }
26531   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26532
26533 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26534
26535   fi
26536
26537   # For iconv support.
26538
26539       if test "X$prefix" = "XNONE"; then
26540     acl_final_prefix="$ac_default_prefix"
26541   else
26542     acl_final_prefix="$prefix"
26543   fi
26544   if test "X$exec_prefix" = "XNONE"; then
26545     acl_final_exec_prefix='${prefix}'
26546   else
26547     acl_final_exec_prefix="$exec_prefix"
26548   fi
26549   acl_save_prefix="$prefix"
26550   prefix="$acl_final_prefix"
26551   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26552   prefix="$acl_save_prefix"
26553
26554
26555 # Check whether --with-gnu-ld was given.
26556 if test "${with_gnu_ld+set}" = set; then :
26557   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26558 else
26559   with_gnu_ld=no
26560 fi
26561
26562 # Prepare PATH_SEPARATOR.
26563 # The user is always right.
26564 if test "${PATH_SEPARATOR+set}" != set; then
26565   echo "#! /bin/sh" >conf$$.sh
26566   echo  "exit 0"   >>conf$$.sh
26567   chmod +x conf$$.sh
26568   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26569     PATH_SEPARATOR=';'
26570   else
26571     PATH_SEPARATOR=:
26572   fi
26573   rm -f conf$$.sh
26574 fi
26575 ac_prog=ld
26576 if test "$GCC" = yes; then
26577   # Check if gcc -print-prog-name=ld gives a path.
26578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26579 $as_echo_n "checking for ld used by GCC... " >&6; }
26580   case $host in
26581   *-*-mingw*)
26582     # gcc leaves a trailing carriage return which upsets mingw
26583     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26584   *)
26585     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26586   esac
26587   case $ac_prog in
26588     # Accept absolute paths.
26589     [\\/]* | [A-Za-z]:[\\/]*)
26590       re_direlt='/[^/][^/]*/\.\./'
26591       # Canonicalize the path of ld
26592       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26593       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26594         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26595       done
26596       test -z "$LD" && LD="$ac_prog"
26597       ;;
26598   "")
26599     # If it fails, then pretend we aren't using GCC.
26600     ac_prog=ld
26601     ;;
26602   *)
26603     # If it is relative, then search for the first ld in PATH.
26604     with_gnu_ld=unknown
26605     ;;
26606   esac
26607 elif test "$with_gnu_ld" = yes; then
26608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26609 $as_echo_n "checking for GNU ld... " >&6; }
26610 else
26611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26612 $as_echo_n "checking for non-GNU ld... " >&6; }
26613 fi
26614 if test "${acl_cv_path_LD+set}" = set; then :
26615   $as_echo_n "(cached) " >&6
26616 else
26617   if test -z "$LD"; then
26618   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26619   for ac_dir in $PATH; do
26620     test -z "$ac_dir" && ac_dir=.
26621     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26622       acl_cv_path_LD="$ac_dir/$ac_prog"
26623       # Check to see if the program is GNU ld.  I'd rather use --version,
26624       # but apparently some GNU ld's only accept -v.
26625       # Break only if it was the GNU/non-GNU ld that we prefer.
26626       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26627         test "$with_gnu_ld" != no && break
26628       else
26629         test "$with_gnu_ld" != yes && break
26630       fi
26631     fi
26632   done
26633   IFS="$ac_save_ifs"
26634 else
26635   acl_cv_path_LD="$LD" # Let the user override the test with a path.
26636 fi
26637 fi
26638
26639 LD="$acl_cv_path_LD"
26640 if test -n "$LD"; then
26641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26642 $as_echo "$LD" >&6; }
26643 else
26644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26645 $as_echo "no" >&6; }
26646 fi
26647 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26649 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26650 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26651   $as_echo_n "(cached) " >&6
26652 else
26653   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26654 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26655   acl_cv_prog_gnu_ld=yes
26656 else
26657   acl_cv_prog_gnu_ld=no
26658 fi
26659 fi
26660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26661 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26662 with_gnu_ld=$acl_cv_prog_gnu_ld
26663
26664
26665
26666                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26667 $as_echo_n "checking for shared library run path origin... " >&6; }
26668 if test "${acl_cv_rpath+set}" = set; then :
26669   $as_echo_n "(cached) " >&6
26670 else
26671
26672     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26673     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26674     . ./conftest.sh
26675     rm -f ./conftest.sh
26676     acl_cv_rpath=done
26677
26678 fi
26679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26680 $as_echo "$acl_cv_rpath" >&6; }
26681   wl="$acl_cv_wl"
26682   libext="$acl_cv_libext"
26683   shlibext="$acl_cv_shlibext"
26684   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26685   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26686   hardcode_direct="$acl_cv_hardcode_direct"
26687   hardcode_minus_L="$acl_cv_hardcode_minus_L"
26688     # Check whether --enable-rpath was given.
26689 if test "${enable_rpath+set}" = set; then :
26690   enableval=$enable_rpath; :
26691 else
26692   enable_rpath=yes
26693 fi
26694
26695
26696
26697
26698
26699
26700
26701
26702     use_additional=yes
26703
26704   acl_save_prefix="$prefix"
26705   prefix="$acl_final_prefix"
26706   acl_save_exec_prefix="$exec_prefix"
26707   exec_prefix="$acl_final_exec_prefix"
26708
26709     eval additional_includedir=\"$includedir\"
26710     eval additional_libdir=\"$libdir\"
26711
26712   exec_prefix="$acl_save_exec_prefix"
26713   prefix="$acl_save_prefix"
26714
26715
26716 # Check whether --with-libiconv-prefix was given.
26717 if test "${with_libiconv_prefix+set}" = set; then :
26718   withval=$with_libiconv_prefix;
26719     if test "X$withval" = "Xno"; then
26720       use_additional=no
26721     else
26722       if test "X$withval" = "X"; then
26723
26724   acl_save_prefix="$prefix"
26725   prefix="$acl_final_prefix"
26726   acl_save_exec_prefix="$exec_prefix"
26727   exec_prefix="$acl_final_exec_prefix"
26728
26729           eval additional_includedir=\"$includedir\"
26730           eval additional_libdir=\"$libdir\"
26731
26732   exec_prefix="$acl_save_exec_prefix"
26733   prefix="$acl_save_prefix"
26734
26735       else
26736         additional_includedir="$withval/include"
26737         additional_libdir="$withval/lib"
26738       fi
26739     fi
26740
26741 fi
26742
26743       LIBICONV=
26744   LTLIBICONV=
26745   INCICONV=
26746   rpathdirs=
26747   ltrpathdirs=
26748   names_already_handled=
26749   names_next_round='iconv '
26750   while test -n "$names_next_round"; do
26751     names_this_round="$names_next_round"
26752     names_next_round=
26753     for name in $names_this_round; do
26754       already_handled=
26755       for n in $names_already_handled; do
26756         if test "$n" = "$name"; then
26757           already_handled=yes
26758           break
26759         fi
26760       done
26761       if test -z "$already_handled"; then
26762         names_already_handled="$names_already_handled $name"
26763                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26764         eval value=\"\$HAVE_LIB$uppername\"
26765         if test -n "$value"; then
26766           if test "$value" = yes; then
26767             eval value=\"\$LIB$uppername\"
26768             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26769             eval value=\"\$LTLIB$uppername\"
26770             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26771           else
26772                                     :
26773           fi
26774         else
26775                               found_dir=
26776           found_la=
26777           found_so=
26778           found_a=
26779           if test $use_additional = yes; then
26780             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26781               found_dir="$additional_libdir"
26782               found_so="$additional_libdir/lib$name.$shlibext"
26783               if test -f "$additional_libdir/lib$name.la"; then
26784                 found_la="$additional_libdir/lib$name.la"
26785               fi
26786             else
26787               if test -f "$additional_libdir/lib$name.$libext"; then
26788                 found_dir="$additional_libdir"
26789                 found_a="$additional_libdir/lib$name.$libext"
26790                 if test -f "$additional_libdir/lib$name.la"; then
26791                   found_la="$additional_libdir/lib$name.la"
26792                 fi
26793               fi
26794             fi
26795           fi
26796           if test "X$found_dir" = "X"; then
26797             for x in $LDFLAGS $LTLIBICONV; do
26798
26799   acl_save_prefix="$prefix"
26800   prefix="$acl_final_prefix"
26801   acl_save_exec_prefix="$exec_prefix"
26802   exec_prefix="$acl_final_exec_prefix"
26803   eval x=\"$x\"
26804   exec_prefix="$acl_save_exec_prefix"
26805   prefix="$acl_save_prefix"
26806
26807               case "$x" in
26808                 -L*)
26809                   dir=`echo "X$x" | sed -e 's/^X-L//'`
26810                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26811                     found_dir="$dir"
26812                     found_so="$dir/lib$name.$shlibext"
26813                     if test -f "$dir/lib$name.la"; then
26814                       found_la="$dir/lib$name.la"
26815                     fi
26816                   else
26817                     if test -f "$dir/lib$name.$libext"; then
26818                       found_dir="$dir"
26819                       found_a="$dir/lib$name.$libext"
26820                       if test -f "$dir/lib$name.la"; then
26821                         found_la="$dir/lib$name.la"
26822                       fi
26823                     fi
26824                   fi
26825                   ;;
26826               esac
26827               if test "X$found_dir" != "X"; then
26828                 break
26829               fi
26830             done
26831           fi
26832           if test "X$found_dir" != "X"; then
26833                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26834             if test "X$found_so" != "X"; then
26835                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26836                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26837               else
26838                                                                                 haveit=
26839                 for x in $ltrpathdirs; do
26840                   if test "X$x" = "X$found_dir"; then
26841                     haveit=yes
26842                     break
26843                   fi
26844                 done
26845                 if test -z "$haveit"; then
26846                   ltrpathdirs="$ltrpathdirs $found_dir"
26847                 fi
26848                                 if test "$hardcode_direct" = yes; then
26849                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26850                 else
26851                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26852                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26853                                                             haveit=
26854                     for x in $rpathdirs; do
26855                       if test "X$x" = "X$found_dir"; then
26856                         haveit=yes
26857                         break
26858                       fi
26859                     done
26860                     if test -z "$haveit"; then
26861                       rpathdirs="$rpathdirs $found_dir"
26862                     fi
26863                   else
26864                                                                                 haveit=
26865                     for x in $LDFLAGS $LIBICONV; do
26866
26867   acl_save_prefix="$prefix"
26868   prefix="$acl_final_prefix"
26869   acl_save_exec_prefix="$exec_prefix"
26870   exec_prefix="$acl_final_exec_prefix"
26871   eval x=\"$x\"
26872   exec_prefix="$acl_save_exec_prefix"
26873   prefix="$acl_save_prefix"
26874
26875                       if test "X$x" = "X-L$found_dir"; then
26876                         haveit=yes
26877                         break
26878                       fi
26879                     done
26880                     if test -z "$haveit"; then
26881                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26882                     fi
26883                     if test "$hardcode_minus_L" != no; then
26884                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26885                     else
26886                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26887                     fi
26888                   fi
26889                 fi
26890               fi
26891             else
26892               if test "X$found_a" != "X"; then
26893                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26894               else
26895                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26896               fi
26897             fi
26898                         additional_includedir=
26899             case "$found_dir" in
26900               */lib | */lib/)
26901                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26902                 additional_includedir="$basedir/include"
26903                 ;;
26904             esac
26905             if test "X$additional_includedir" != "X"; then
26906                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
26907                 haveit=
26908                 if test "X$additional_includedir" = "X/usr/local/include"; then
26909                   if test -n "$GCC"; then
26910                     case $host_os in
26911                       linux*) haveit=yes;;
26912                     esac
26913                   fi
26914                 fi
26915                 if test -z "$haveit"; then
26916                   for x in $CPPFLAGS $INCICONV; do
26917
26918   acl_save_prefix="$prefix"
26919   prefix="$acl_final_prefix"
26920   acl_save_exec_prefix="$exec_prefix"
26921   exec_prefix="$acl_final_exec_prefix"
26922   eval x=\"$x\"
26923   exec_prefix="$acl_save_exec_prefix"
26924   prefix="$acl_save_prefix"
26925
26926                     if test "X$x" = "X-I$additional_includedir"; then
26927                       haveit=yes
26928                       break
26929                     fi
26930                   done
26931                   if test -z "$haveit"; then
26932                     if test -d "$additional_includedir"; then
26933                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26934                     fi
26935                   fi
26936                 fi
26937               fi
26938             fi
26939                         if test -n "$found_la"; then
26940                                                         save_libdir="$libdir"
26941               case "$found_la" in
26942                 */* | *\\*) . "$found_la" ;;
26943                 *) . "./$found_la" ;;
26944               esac
26945               libdir="$save_libdir"
26946                             for dep in $dependency_libs; do
26947                 case "$dep" in
26948                   -L*)
26949                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26950                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
26951                       haveit=
26952                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26953                         if test -n "$GCC"; then
26954                           case $host_os in
26955                             linux*) haveit=yes;;
26956                           esac
26957                         fi
26958                       fi
26959                       if test -z "$haveit"; then
26960                         haveit=
26961                         for x in $LDFLAGS $LIBICONV; do
26962
26963   acl_save_prefix="$prefix"
26964   prefix="$acl_final_prefix"
26965   acl_save_exec_prefix="$exec_prefix"
26966   exec_prefix="$acl_final_exec_prefix"
26967   eval x=\"$x\"
26968   exec_prefix="$acl_save_exec_prefix"
26969   prefix="$acl_save_prefix"
26970
26971                           if test "X$x" = "X-L$additional_libdir"; then
26972                             haveit=yes
26973                             break
26974                           fi
26975                         done
26976                         if test -z "$haveit"; then
26977                           if test -d "$additional_libdir"; then
26978                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26979                           fi
26980                         fi
26981                         haveit=
26982                         for x in $LDFLAGS $LTLIBICONV; do
26983
26984   acl_save_prefix="$prefix"
26985   prefix="$acl_final_prefix"
26986   acl_save_exec_prefix="$exec_prefix"
26987   exec_prefix="$acl_final_exec_prefix"
26988   eval x=\"$x\"
26989   exec_prefix="$acl_save_exec_prefix"
26990   prefix="$acl_save_prefix"
26991
26992                           if test "X$x" = "X-L$additional_libdir"; then
26993                             haveit=yes
26994                             break
26995                           fi
26996                         done
26997                         if test -z "$haveit"; then
26998                           if test -d "$additional_libdir"; then
26999                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27000                           fi
27001                         fi
27002                       fi
27003                     fi
27004                     ;;
27005                   -R*)
27006                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
27007                     if test "$enable_rpath" != no; then
27008                                                                   haveit=
27009                       for x in $rpathdirs; do
27010                         if test "X$x" = "X$dir"; then
27011                           haveit=yes
27012                           break
27013                         fi
27014                       done
27015                       if test -z "$haveit"; then
27016                         rpathdirs="$rpathdirs $dir"
27017                       fi
27018                                                                   haveit=
27019                       for x in $ltrpathdirs; do
27020                         if test "X$x" = "X$dir"; then
27021                           haveit=yes
27022                           break
27023                         fi
27024                       done
27025                       if test -z "$haveit"; then
27026                         ltrpathdirs="$ltrpathdirs $dir"
27027                       fi
27028                     fi
27029                     ;;
27030                   -l*)
27031                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27032                     ;;
27033                   *.la)
27034                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27035                     ;;
27036                   *)
27037                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27038                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27039                     ;;
27040                 esac
27041               done
27042             fi
27043           else
27044                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27045             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27046           fi
27047         fi
27048       fi
27049     done
27050   done
27051   if test "X$rpathdirs" != "X"; then
27052     if test -n "$hardcode_libdir_separator"; then
27053                         alldirs=
27054       for found_dir in $rpathdirs; do
27055         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27056       done
27057             acl_save_libdir="$libdir"
27058       libdir="$alldirs"
27059       eval flag=\"$hardcode_libdir_flag_spec\"
27060       libdir="$acl_save_libdir"
27061       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27062     else
27063             for found_dir in $rpathdirs; do
27064         acl_save_libdir="$libdir"
27065         libdir="$found_dir"
27066         eval flag=\"$hardcode_libdir_flag_spec\"
27067         libdir="$acl_save_libdir"
27068         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27069       done
27070     fi
27071   fi
27072   if test "X$ltrpathdirs" != "X"; then
27073             for found_dir in $ltrpathdirs; do
27074       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27075     done
27076   fi
27077
27078
27079
27080
27081
27082
27083
27084           am_save_CPPFLAGS="$CPPFLAGS"
27085
27086   for element in $INCICONV; do
27087     haveit=
27088     for x in $CPPFLAGS; do
27089
27090   acl_save_prefix="$prefix"
27091   prefix="$acl_final_prefix"
27092   acl_save_exec_prefix="$exec_prefix"
27093   exec_prefix="$acl_final_exec_prefix"
27094   eval x=\"$x\"
27095   exec_prefix="$acl_save_exec_prefix"
27096   prefix="$acl_save_prefix"
27097
27098       if test "X$x" = "X$element"; then
27099         haveit=yes
27100         break
27101       fi
27102     done
27103     if test -z "$haveit"; then
27104       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27105     fi
27106   done
27107
27108
27109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27110 $as_echo_n "checking for iconv... " >&6; }
27111 if test "${am_cv_func_iconv+set}" = set; then :
27112   $as_echo_n "(cached) " >&6
27113 else
27114
27115     am_cv_func_iconv="no, consider installing GNU libiconv"
27116     am_cv_lib_iconv=no
27117     if test x$gcc_no_link = xyes; then
27118   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27119 fi
27120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27121 /* end confdefs.h.  */
27122 #include <stdlib.h>
27123 #include <iconv.h>
27124 int
27125 main ()
27126 {
27127 iconv_t cd = iconv_open("","");
27128        iconv(cd,NULL,NULL,NULL,NULL);
27129        iconv_close(cd);
27130   ;
27131   return 0;
27132 }
27133 _ACEOF
27134 if ac_fn_c_try_link "$LINENO"; then :
27135   am_cv_func_iconv=yes
27136 fi
27137 rm -f core conftest.err conftest.$ac_objext \
27138     conftest$ac_exeext conftest.$ac_ext
27139     if test "$am_cv_func_iconv" != yes; then
27140       am_save_LIBS="$LIBS"
27141       LIBS="$LIBS $LIBICONV"
27142       if test x$gcc_no_link = xyes; then
27143   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27144 fi
27145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27146 /* end confdefs.h.  */
27147 #include <stdlib.h>
27148 #include <iconv.h>
27149 int
27150 main ()
27151 {
27152 iconv_t cd = iconv_open("","");
27153          iconv(cd,NULL,NULL,NULL,NULL);
27154          iconv_close(cd);
27155   ;
27156   return 0;
27157 }
27158 _ACEOF
27159 if ac_fn_c_try_link "$LINENO"; then :
27160   am_cv_lib_iconv=yes
27161         am_cv_func_iconv=yes
27162 fi
27163 rm -f core conftest.err conftest.$ac_objext \
27164     conftest$ac_exeext conftest.$ac_ext
27165       LIBS="$am_save_LIBS"
27166     fi
27167
27168 fi
27169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27170 $as_echo "$am_cv_func_iconv" >&6; }
27171   if test "$am_cv_func_iconv" = yes; then
27172
27173 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27174
27175   fi
27176   if test "$am_cv_lib_iconv" = yes; then
27177     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27178 $as_echo_n "checking how to link with libiconv... " >&6; }
27179     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27180 $as_echo "$LIBICONV" >&6; }
27181   else
27182             CPPFLAGS="$am_save_CPPFLAGS"
27183     LIBICONV=
27184     LTLIBICONV=
27185   fi
27186
27187
27188
27189   if test "$am_cv_func_iconv" = yes; then
27190     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27191 $as_echo_n "checking for iconv declaration... " >&6; }
27192     if test "${am_cv_proto_iconv+set}" = set; then :
27193   $as_echo_n "(cached) " >&6
27194 else
27195
27196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27197 /* end confdefs.h.  */
27198
27199 #include <stdlib.h>
27200 #include <iconv.h>
27201 extern
27202 #ifdef __cplusplus
27203 "C"
27204 #endif
27205 #if defined(__STDC__) || defined(__cplusplus)
27206 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27207 #else
27208 size_t iconv();
27209 #endif
27210
27211 int
27212 main ()
27213 {
27214
27215   ;
27216   return 0;
27217 }
27218 _ACEOF
27219 if ac_fn_c_try_compile "$LINENO"; then :
27220   am_cv_proto_iconv_arg1=""
27221 else
27222   am_cv_proto_iconv_arg1="const"
27223 fi
27224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27225       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);"
27226 fi
27227
27228     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27229     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27230          }$am_cv_proto_iconv" >&5
27231 $as_echo "${ac_t:-
27232          }$am_cv_proto_iconv" >&6; }
27233
27234 cat >>confdefs.h <<_ACEOF
27235 #define ICONV_CONST $am_cv_proto_iconv_arg1
27236 _ACEOF
27237
27238   fi
27239
27240
27241 else
27242
27243   # This lets us hard-code the functionality we know we'll have in the cross
27244   # target environment.  "Let" is a sugar-coated word placed on an especially
27245   # dull and tedious hack, actually.
27246   #
27247   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27248   # that involve linking, can't be used:
27249   #    "cannot open sim-crt0.o"
27250   #    "cannot open crt0.o"
27251   # etc.  All this is because there currently exists no unified, consistent
27252   # way for top level CC information to be passed down to target directories:
27253   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27254   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27255   # crosses can be removed.
27256
27257   # If Canadian cross, then don't pick up tools from the build directory.
27258   # Used only in GLIBCXX_EXPORT_INCLUDES.
27259   if test -n "$with_cross_host" &&
27260      test x"$build_alias" != x"$with_cross_host" &&
27261      test x"$build" != x"$target";
27262   then
27263     CANADIAN=yes
27264   else
27265     CANADIAN=no
27266   fi
27267
27268   # Construct crosses by hand, eliminating bits that need ld...
27269   # GLIBCXX_CHECK_MATH_SUPPORT
27270
27271   # First, test for "known" system libraries.  We may be using newlib even
27272   # on a hosted environment.
27273   if test "x${with_newlib}" = "xyes"; then
27274     os_include_dir="os/newlib"
27275     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27276
27277
27278     # GLIBCXX_CHECK_STDLIB_SUPPORT
27279     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27280
27281
27282     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27283
27284     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27285
27286     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27287
27288     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27289
27290     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27291
27292     $as_echo "#define HAVE_COSF 1" >>confdefs.h
27293
27294     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27295
27296     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27297
27298     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27299
27300     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27301
27302     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27303
27304     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27305
27306     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27307
27308     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27309
27310     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27311
27312     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27313
27314     $as_echo "#define HAVE_POWF 1" >>confdefs.h
27315
27316     $as_echo "#define HAVE_SINF 1" >>confdefs.h
27317
27318     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27319
27320     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27321
27322     $as_echo "#define HAVE_TANF 1" >>confdefs.h
27323
27324     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27325
27326
27327     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27328
27329   else
27330
27331 # Base decisions on target environment.
27332 case "${host}" in
27333   arm*-*-symbianelf*)
27334     # This is a freestanding configuration; there is nothing to do here.
27335     ;;
27336
27337   mips*-sde-elf*)
27338     # These definitions are for the SDE C library rather than newlib.
27339     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27340
27341
27342   # All these tests are for C++; save the language and the compiler flags.
27343   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27344   # found in GLIBCXX_CONFIGURE.
27345
27346   ac_ext=cpp
27347 ac_cpp='$CXXCPP $CPPFLAGS'
27348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27351
27352   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27353   ac_save_CXXFLAGS="$CXXFLAGS"
27354
27355   # Check for maintainer-mode bits.
27356   if test x"$USE_MAINTAINER_MODE" = xno; then
27357     WERROR=''
27358   else
27359     WERROR='-Werror'
27360   fi
27361
27362   # Check for -ffunction-sections -fdata-sections
27363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27364 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27365   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27367 /* end confdefs.h.  */
27368 int foo; void bar() { };
27369 int
27370 main ()
27371 {
27372
27373   ;
27374   return 0;
27375 }
27376 _ACEOF
27377 if ac_fn_cxx_try_compile "$LINENO"; then :
27378   ac_fdsections=yes
27379 else
27380   ac_fdsections=no
27381 fi
27382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27383   if test "$ac_test_CXXFLAGS" = set; then
27384     CXXFLAGS="$ac_save_CXXFLAGS"
27385   else
27386     # this is the suspicious part
27387     CXXFLAGS=''
27388   fi
27389   if test x"$ac_fdsections" = x"yes"; then
27390     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27391   fi
27392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27393 $as_echo "$ac_fdsections" >&6; }
27394
27395   ac_ext=c
27396 ac_cpp='$CPP $CPPFLAGS'
27397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27400
27401
27402
27403
27404
27405   # If we're not using GNU ld, then there's no point in even trying these
27406   # tests.  Check for that first.  We should have already tested for gld
27407   # by now (in libtool), but require it now just to be safe...
27408   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27409   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27410
27411
27412
27413   # The name set by libtool depends on the version of libtool.  Shame on us
27414   # for depending on an impl detail, but c'est la vie.  Older versions used
27415   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27416   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27417   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
27418   # set (hence we're using an older libtool), then set it.
27419   if test x${with_gnu_ld+set} != xset; then
27420     if test x${ac_cv_prog_gnu_ld+set} != xset; then
27421       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
27422       with_gnu_ld=no
27423     else
27424       with_gnu_ld=$ac_cv_prog_gnu_ld
27425     fi
27426   fi
27427
27428   # Start by getting the version number.  I think the libtool test already
27429   # does some of this, but throws away the result.
27430   glibcxx_ld_is_gold=no
27431   if test x"$with_gnu_ld" = x"yes"; then
27432     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27433 $as_echo_n "checking for ld version... " >&6; }
27434
27435     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27436       glibcxx_ld_is_gold=yes
27437     fi
27438     ldver=`$LD --version 2>/dev/null |
27439            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'`
27440
27441     glibcxx_gnu_ld_version=`echo $ldver | \
27442            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27443     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27444 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27445   fi
27446
27447   # Set --gc-sections.
27448   glibcxx_have_gc_sections=no
27449   if test "$glibcxx_ld_is_gold" = "yes"; then
27450     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27451       glibcxx_have_gc_sections=yes
27452     fi
27453   else
27454     glibcxx_gcsections_min_ld=21602
27455     if test x"$with_gnu_ld" = x"yes" &&
27456         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27457       glibcxx_have_gc_sections=yes
27458     fi
27459   fi
27460   if test "$glibcxx_have_gc_sections" = "yes"; then
27461     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
27462     # NB: This flag only works reliably after 2.16.1. Configure tests
27463     # for this are difficult, so hard wire a value that should work.
27464
27465     ac_test_CFLAGS="${CFLAGS+set}"
27466     ac_save_CFLAGS="$CFLAGS"
27467     CFLAGS='-Wl,--gc-sections'
27468
27469     # Check for -Wl,--gc-sections
27470     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27471 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27472     if test x$gcc_no_link = xyes; then
27473   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27474 fi
27475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27476 /* end confdefs.h.  */
27477  int one(void) { return 1; }
27478      int two(void) { return 2; }
27479
27480 int
27481 main ()
27482 {
27483  two();
27484   ;
27485   return 0;
27486 }
27487 _ACEOF
27488 if ac_fn_c_try_link "$LINENO"; then :
27489   ac_gcsections=yes
27490 else
27491   ac_gcsections=no
27492 fi
27493 rm -f core conftest.err conftest.$ac_objext \
27494     conftest$ac_exeext conftest.$ac_ext
27495     if test "$ac_gcsections" = "yes"; then
27496       rm -f conftest.c
27497       touch conftest.c
27498       if $CC -c conftest.c; then
27499         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27500            grep "Warning: gc-sections option ignored" > /dev/null; then
27501           ac_gcsections=no
27502         fi
27503       fi
27504       rm -f conftest.c conftest.o conftest
27505     fi
27506     if test "$ac_gcsections" = "yes"; then
27507       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27508     fi
27509     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27510 $as_echo "$ac_gcsections" >&6; }
27511
27512     if test "$ac_test_CFLAGS" = set; then
27513       CFLAGS="$ac_save_CFLAGS"
27514     else
27515       # this is the suspicious part
27516       CFLAGS=''
27517     fi
27518   fi
27519
27520   # Set -z,relro.
27521   # Note this is only for shared objects.
27522   ac_ld_relro=no
27523   if test x"$with_gnu_ld" = x"yes"; then
27524     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27525 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27526     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27527     if test -n "$cxx_z_relo"; then
27528       OPT_LDFLAGS="-Wl,-z,relro"
27529       ac_ld_relro=yes
27530     fi
27531     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27532 $as_echo "$ac_ld_relro" >&6; }
27533   fi
27534
27535   # Set linker optimization flags.
27536   if test x"$with_gnu_ld" = x"yes"; then
27537     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27538   fi
27539
27540
27541
27542
27543
27544   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27545   ac_save_CXXFLAGS="$CXXFLAGS"
27546   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27547
27548     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27549 $as_echo_n "checking for sin in -lm... " >&6; }
27550 if test "${ac_cv_lib_m_sin+set}" = set; then :
27551   $as_echo_n "(cached) " >&6
27552 else
27553   ac_check_lib_save_LIBS=$LIBS
27554 LIBS="-lm  $LIBS"
27555 if test x$gcc_no_link = xyes; then
27556   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27557 fi
27558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27559 /* end confdefs.h.  */
27560
27561 /* Override any GCC internal prototype to avoid an error.
27562    Use char because int might match the return type of a GCC
27563    builtin and then its argument prototype would still apply.  */
27564 #ifdef __cplusplus
27565 extern "C"
27566 #endif
27567 char sin ();
27568 int
27569 main ()
27570 {
27571 return sin ();
27572   ;
27573   return 0;
27574 }
27575 _ACEOF
27576 if ac_fn_c_try_link "$LINENO"; then :
27577   ac_cv_lib_m_sin=yes
27578 else
27579   ac_cv_lib_m_sin=no
27580 fi
27581 rm -f core conftest.err conftest.$ac_objext \
27582     conftest$ac_exeext conftest.$ac_ext
27583 LIBS=$ac_check_lib_save_LIBS
27584 fi
27585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27586 $as_echo "$ac_cv_lib_m_sin" >&6; }
27587 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27588   libm="-lm"
27589 fi
27590
27591   ac_save_LIBS="$LIBS"
27592   LIBS="$LIBS $libm"
27593
27594
27595
27596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27597 $as_echo_n "checking for isinf declaration... " >&6; }
27598   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27599     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27600   $as_echo_n "(cached) " >&6
27601 else
27602
27603
27604       ac_ext=cpp
27605 ac_cpp='$CXXCPP $CPPFLAGS'
27606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27609
27610       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27611 /* end confdefs.h.  */
27612 #include <math.h>
27613                       #ifdef HAVE_IEEEFP_H
27614                       #include <ieeefp.h>
27615                       #endif
27616
27617 int
27618 main ()
27619 {
27620  isinf(0);
27621   ;
27622   return 0;
27623 }
27624 _ACEOF
27625 if ac_fn_cxx_try_compile "$LINENO"; then :
27626   glibcxx_cv_func_isinf_use=yes
27627 else
27628   glibcxx_cv_func_isinf_use=no
27629 fi
27630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27631       ac_ext=c
27632 ac_cpp='$CPP $CPPFLAGS'
27633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27636
27637
27638 fi
27639
27640   fi
27641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27642 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27643
27644   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27645     for ac_func in isinf
27646 do :
27647   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27648 if test "x$ac_cv_func_isinf" = x""yes; then :
27649   cat >>confdefs.h <<_ACEOF
27650 #define HAVE_ISINF 1
27651 _ACEOF
27652
27653 fi
27654 done
27655
27656   else
27657
27658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27659 $as_echo_n "checking for _isinf declaration... " >&6; }
27660   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27661     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27662   $as_echo_n "(cached) " >&6
27663 else
27664
27665
27666       ac_ext=cpp
27667 ac_cpp='$CXXCPP $CPPFLAGS'
27668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27671
27672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27673 /* end confdefs.h.  */
27674 #include <math.h>
27675                       #ifdef HAVE_IEEEFP_H
27676                       #include <ieeefp.h>
27677                       #endif
27678
27679 int
27680 main ()
27681 {
27682  _isinf(0);
27683   ;
27684   return 0;
27685 }
27686 _ACEOF
27687 if ac_fn_cxx_try_compile "$LINENO"; then :
27688   glibcxx_cv_func__isinf_use=yes
27689 else
27690   glibcxx_cv_func__isinf_use=no
27691 fi
27692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27693       ac_ext=c
27694 ac_cpp='$CPP $CPPFLAGS'
27695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27698
27699
27700 fi
27701
27702   fi
27703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27704 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27705
27706     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27707       for ac_func in _isinf
27708 do :
27709   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27710 if test "x$ac_cv_func__isinf" = x""yes; then :
27711   cat >>confdefs.h <<_ACEOF
27712 #define HAVE__ISINF 1
27713 _ACEOF
27714
27715 fi
27716 done
27717
27718     fi
27719   fi
27720
27721
27722
27723
27724
27725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27726 $as_echo_n "checking for isnan declaration... " >&6; }
27727   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27728     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27729   $as_echo_n "(cached) " >&6
27730 else
27731
27732
27733       ac_ext=cpp
27734 ac_cpp='$CXXCPP $CPPFLAGS'
27735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27738
27739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27740 /* end confdefs.h.  */
27741 #include <math.h>
27742                       #ifdef HAVE_IEEEFP_H
27743                       #include <ieeefp.h>
27744                       #endif
27745
27746 int
27747 main ()
27748 {
27749  isnan(0);
27750   ;
27751   return 0;
27752 }
27753 _ACEOF
27754 if ac_fn_cxx_try_compile "$LINENO"; then :
27755   glibcxx_cv_func_isnan_use=yes
27756 else
27757   glibcxx_cv_func_isnan_use=no
27758 fi
27759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27760       ac_ext=c
27761 ac_cpp='$CPP $CPPFLAGS'
27762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27765
27766
27767 fi
27768
27769   fi
27770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27771 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27772
27773   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27774     for ac_func in isnan
27775 do :
27776   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27777 if test "x$ac_cv_func_isnan" = x""yes; then :
27778   cat >>confdefs.h <<_ACEOF
27779 #define HAVE_ISNAN 1
27780 _ACEOF
27781
27782 fi
27783 done
27784
27785   else
27786
27787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27788 $as_echo_n "checking for _isnan declaration... " >&6; }
27789   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27790     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27791   $as_echo_n "(cached) " >&6
27792 else
27793
27794
27795       ac_ext=cpp
27796 ac_cpp='$CXXCPP $CPPFLAGS'
27797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27800
27801       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27802 /* end confdefs.h.  */
27803 #include <math.h>
27804                       #ifdef HAVE_IEEEFP_H
27805                       #include <ieeefp.h>
27806                       #endif
27807
27808 int
27809 main ()
27810 {
27811  _isnan(0);
27812   ;
27813   return 0;
27814 }
27815 _ACEOF
27816 if ac_fn_cxx_try_compile "$LINENO"; then :
27817   glibcxx_cv_func__isnan_use=yes
27818 else
27819   glibcxx_cv_func__isnan_use=no
27820 fi
27821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27822       ac_ext=c
27823 ac_cpp='$CPP $CPPFLAGS'
27824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27827
27828
27829 fi
27830
27831   fi
27832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27833 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27834
27835     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27836       for ac_func in _isnan
27837 do :
27838   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27839 if test "x$ac_cv_func__isnan" = x""yes; then :
27840   cat >>confdefs.h <<_ACEOF
27841 #define HAVE__ISNAN 1
27842 _ACEOF
27843
27844 fi
27845 done
27846
27847     fi
27848   fi
27849
27850
27851
27852
27853
27854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27855 $as_echo_n "checking for finite declaration... " >&6; }
27856   if test x${glibcxx_cv_func_finite_use+set} != xset; then
27857     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27858   $as_echo_n "(cached) " >&6
27859 else
27860
27861
27862       ac_ext=cpp
27863 ac_cpp='$CXXCPP $CPPFLAGS'
27864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27867
27868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27869 /* end confdefs.h.  */
27870 #include <math.h>
27871                       #ifdef HAVE_IEEEFP_H
27872                       #include <ieeefp.h>
27873                       #endif
27874
27875 int
27876 main ()
27877 {
27878  finite(0);
27879   ;
27880   return 0;
27881 }
27882 _ACEOF
27883 if ac_fn_cxx_try_compile "$LINENO"; then :
27884   glibcxx_cv_func_finite_use=yes
27885 else
27886   glibcxx_cv_func_finite_use=no
27887 fi
27888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27889       ac_ext=c
27890 ac_cpp='$CPP $CPPFLAGS'
27891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27894
27895
27896 fi
27897
27898   fi
27899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27900 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27901
27902   if test x$glibcxx_cv_func_finite_use = x"yes"; then
27903     for ac_func in finite
27904 do :
27905   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27906 if test "x$ac_cv_func_finite" = x""yes; then :
27907   cat >>confdefs.h <<_ACEOF
27908 #define HAVE_FINITE 1
27909 _ACEOF
27910
27911 fi
27912 done
27913
27914   else
27915
27916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27917 $as_echo_n "checking for _finite declaration... " >&6; }
27918   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27919     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27920   $as_echo_n "(cached) " >&6
27921 else
27922
27923
27924       ac_ext=cpp
27925 ac_cpp='$CXXCPP $CPPFLAGS'
27926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27929
27930       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27931 /* end confdefs.h.  */
27932 #include <math.h>
27933                       #ifdef HAVE_IEEEFP_H
27934                       #include <ieeefp.h>
27935                       #endif
27936
27937 int
27938 main ()
27939 {
27940  _finite(0);
27941   ;
27942   return 0;
27943 }
27944 _ACEOF
27945 if ac_fn_cxx_try_compile "$LINENO"; then :
27946   glibcxx_cv_func__finite_use=yes
27947 else
27948   glibcxx_cv_func__finite_use=no
27949 fi
27950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27951       ac_ext=c
27952 ac_cpp='$CPP $CPPFLAGS'
27953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27956
27957
27958 fi
27959
27960   fi
27961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27962 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27963
27964     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27965       for ac_func in _finite
27966 do :
27967   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27968 if test "x$ac_cv_func__finite" = x""yes; then :
27969   cat >>confdefs.h <<_ACEOF
27970 #define HAVE__FINITE 1
27971 _ACEOF
27972
27973 fi
27974 done
27975
27976     fi
27977   fi
27978
27979
27980
27981
27982
27983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27984 $as_echo_n "checking for sincos declaration... " >&6; }
27985   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27986     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27987   $as_echo_n "(cached) " >&6
27988 else
27989
27990
27991       ac_ext=cpp
27992 ac_cpp='$CXXCPP $CPPFLAGS'
27993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27996
27997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27998 /* end confdefs.h.  */
27999 #include <math.h>
28000 int
28001 main ()
28002 {
28003  sincos(0, 0, 0);
28004   ;
28005   return 0;
28006 }
28007 _ACEOF
28008 if ac_fn_cxx_try_compile "$LINENO"; then :
28009   glibcxx_cv_func_sincos_use=yes
28010 else
28011   glibcxx_cv_func_sincos_use=no
28012 fi
28013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28014       ac_ext=c
28015 ac_cpp='$CPP $CPPFLAGS'
28016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28019
28020
28021 fi
28022
28023   fi
28024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28025 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28026
28027   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28028     for ac_func in sincos
28029 do :
28030   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28031 if test "x$ac_cv_func_sincos" = x""yes; then :
28032   cat >>confdefs.h <<_ACEOF
28033 #define HAVE_SINCOS 1
28034 _ACEOF
28035
28036 fi
28037 done
28038
28039   else
28040
28041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28042 $as_echo_n "checking for _sincos declaration... " >&6; }
28043   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28044     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28045   $as_echo_n "(cached) " >&6
28046 else
28047
28048
28049       ac_ext=cpp
28050 ac_cpp='$CXXCPP $CPPFLAGS'
28051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28054
28055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28056 /* end confdefs.h.  */
28057 #include <math.h>
28058 int
28059 main ()
28060 {
28061  _sincos(0, 0, 0);
28062   ;
28063   return 0;
28064 }
28065 _ACEOF
28066 if ac_fn_cxx_try_compile "$LINENO"; then :
28067   glibcxx_cv_func__sincos_use=yes
28068 else
28069   glibcxx_cv_func__sincos_use=no
28070 fi
28071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28072       ac_ext=c
28073 ac_cpp='$CPP $CPPFLAGS'
28074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28077
28078
28079 fi
28080
28081   fi
28082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28083 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28084
28085     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28086       for ac_func in _sincos
28087 do :
28088   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28089 if test "x$ac_cv_func__sincos" = x""yes; then :
28090   cat >>confdefs.h <<_ACEOF
28091 #define HAVE__SINCOS 1
28092 _ACEOF
28093
28094 fi
28095 done
28096
28097     fi
28098   fi
28099
28100
28101
28102
28103
28104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28105 $as_echo_n "checking for fpclass declaration... " >&6; }
28106   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28107     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28108   $as_echo_n "(cached) " >&6
28109 else
28110
28111
28112       ac_ext=cpp
28113 ac_cpp='$CXXCPP $CPPFLAGS'
28114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28117
28118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28119 /* end confdefs.h.  */
28120 #include <math.h>
28121                       #ifdef HAVE_IEEEFP_H
28122                       #include <ieeefp.h>
28123                       #endif
28124
28125 int
28126 main ()
28127 {
28128  fpclass(0);
28129   ;
28130   return 0;
28131 }
28132 _ACEOF
28133 if ac_fn_cxx_try_compile "$LINENO"; then :
28134   glibcxx_cv_func_fpclass_use=yes
28135 else
28136   glibcxx_cv_func_fpclass_use=no
28137 fi
28138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28139       ac_ext=c
28140 ac_cpp='$CPP $CPPFLAGS'
28141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28144
28145
28146 fi
28147
28148   fi
28149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28150 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28151
28152   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28153     for ac_func in fpclass
28154 do :
28155   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28156 if test "x$ac_cv_func_fpclass" = x""yes; then :
28157   cat >>confdefs.h <<_ACEOF
28158 #define HAVE_FPCLASS 1
28159 _ACEOF
28160
28161 fi
28162 done
28163
28164   else
28165
28166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28167 $as_echo_n "checking for _fpclass declaration... " >&6; }
28168   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28169     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28170   $as_echo_n "(cached) " >&6
28171 else
28172
28173
28174       ac_ext=cpp
28175 ac_cpp='$CXXCPP $CPPFLAGS'
28176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28179
28180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28181 /* end confdefs.h.  */
28182 #include <math.h>
28183                       #ifdef HAVE_IEEEFP_H
28184                       #include <ieeefp.h>
28185                       #endif
28186
28187 int
28188 main ()
28189 {
28190  _fpclass(0);
28191   ;
28192   return 0;
28193 }
28194 _ACEOF
28195 if ac_fn_cxx_try_compile "$LINENO"; then :
28196   glibcxx_cv_func__fpclass_use=yes
28197 else
28198   glibcxx_cv_func__fpclass_use=no
28199 fi
28200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28201       ac_ext=c
28202 ac_cpp='$CPP $CPPFLAGS'
28203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28206
28207
28208 fi
28209
28210   fi
28211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28212 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28213
28214     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28215       for ac_func in _fpclass
28216 do :
28217   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28218 if test "x$ac_cv_func__fpclass" = x""yes; then :
28219   cat >>confdefs.h <<_ACEOF
28220 #define HAVE__FPCLASS 1
28221 _ACEOF
28222
28223 fi
28224 done
28225
28226     fi
28227   fi
28228
28229
28230
28231
28232
28233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28234 $as_echo_n "checking for qfpclass declaration... " >&6; }
28235   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28236     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28237   $as_echo_n "(cached) " >&6
28238 else
28239
28240
28241       ac_ext=cpp
28242 ac_cpp='$CXXCPP $CPPFLAGS'
28243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28246
28247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28248 /* end confdefs.h.  */
28249 #include <math.h>
28250                       #ifdef HAVE_IEEEFP_H
28251                       #include <ieeefp.h>
28252                       #endif
28253
28254 int
28255 main ()
28256 {
28257  qfpclass(0);
28258   ;
28259   return 0;
28260 }
28261 _ACEOF
28262 if ac_fn_cxx_try_compile "$LINENO"; then :
28263   glibcxx_cv_func_qfpclass_use=yes
28264 else
28265   glibcxx_cv_func_qfpclass_use=no
28266 fi
28267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28268       ac_ext=c
28269 ac_cpp='$CPP $CPPFLAGS'
28270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28273
28274
28275 fi
28276
28277   fi
28278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28279 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28280
28281   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28282     for ac_func in qfpclass
28283 do :
28284   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28285 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28286   cat >>confdefs.h <<_ACEOF
28287 #define HAVE_QFPCLASS 1
28288 _ACEOF
28289
28290 fi
28291 done
28292
28293   else
28294
28295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28296 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28297   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28298     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28299   $as_echo_n "(cached) " >&6
28300 else
28301
28302
28303       ac_ext=cpp
28304 ac_cpp='$CXXCPP $CPPFLAGS'
28305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28308
28309       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28310 /* end confdefs.h.  */
28311 #include <math.h>
28312                       #ifdef HAVE_IEEEFP_H
28313                       #include <ieeefp.h>
28314                       #endif
28315
28316 int
28317 main ()
28318 {
28319  _qfpclass(0);
28320   ;
28321   return 0;
28322 }
28323 _ACEOF
28324 if ac_fn_cxx_try_compile "$LINENO"; then :
28325   glibcxx_cv_func__qfpclass_use=yes
28326 else
28327   glibcxx_cv_func__qfpclass_use=no
28328 fi
28329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28330       ac_ext=c
28331 ac_cpp='$CPP $CPPFLAGS'
28332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28335
28336
28337 fi
28338
28339   fi
28340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28341 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28342
28343     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28344       for ac_func in _qfpclass
28345 do :
28346   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28347 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28348   cat >>confdefs.h <<_ACEOF
28349 #define HAVE__QFPCLASS 1
28350 _ACEOF
28351
28352 fi
28353 done
28354
28355     fi
28356   fi
28357
28358
28359
28360
28361
28362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28363 $as_echo_n "checking for hypot declaration... " >&6; }
28364   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28365     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28366   $as_echo_n "(cached) " >&6
28367 else
28368
28369
28370       ac_ext=cpp
28371 ac_cpp='$CXXCPP $CPPFLAGS'
28372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28375
28376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28377 /* end confdefs.h.  */
28378 #include <math.h>
28379 int
28380 main ()
28381 {
28382  hypot(0, 0);
28383   ;
28384   return 0;
28385 }
28386 _ACEOF
28387 if ac_fn_cxx_try_compile "$LINENO"; then :
28388   glibcxx_cv_func_hypot_use=yes
28389 else
28390   glibcxx_cv_func_hypot_use=no
28391 fi
28392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28393       ac_ext=c
28394 ac_cpp='$CPP $CPPFLAGS'
28395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28398
28399
28400 fi
28401
28402   fi
28403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28404 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28405
28406   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28407     for ac_func in hypot
28408 do :
28409   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28410 if test "x$ac_cv_func_hypot" = x""yes; then :
28411   cat >>confdefs.h <<_ACEOF
28412 #define HAVE_HYPOT 1
28413 _ACEOF
28414
28415 fi
28416 done
28417
28418   else
28419
28420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28421 $as_echo_n "checking for _hypot declaration... " >&6; }
28422   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28423     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28424   $as_echo_n "(cached) " >&6
28425 else
28426
28427
28428       ac_ext=cpp
28429 ac_cpp='$CXXCPP $CPPFLAGS'
28430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28433
28434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28435 /* end confdefs.h.  */
28436 #include <math.h>
28437 int
28438 main ()
28439 {
28440  _hypot(0, 0);
28441   ;
28442   return 0;
28443 }
28444 _ACEOF
28445 if ac_fn_cxx_try_compile "$LINENO"; then :
28446   glibcxx_cv_func__hypot_use=yes
28447 else
28448   glibcxx_cv_func__hypot_use=no
28449 fi
28450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28451       ac_ext=c
28452 ac_cpp='$CPP $CPPFLAGS'
28453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28456
28457
28458 fi
28459
28460   fi
28461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28462 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28463
28464     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28465       for ac_func in _hypot
28466 do :
28467   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28468 if test "x$ac_cv_func__hypot" = x""yes; then :
28469   cat >>confdefs.h <<_ACEOF
28470 #define HAVE__HYPOT 1
28471 _ACEOF
28472
28473 fi
28474 done
28475
28476     fi
28477   fi
28478
28479
28480
28481
28482
28483     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28484 $as_echo_n "checking for float trig functions... " >&6; }
28485   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28486   $as_echo_n "(cached) " >&6
28487 else
28488
28489
28490     ac_ext=cpp
28491 ac_cpp='$CXXCPP $CPPFLAGS'
28492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28495
28496     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28497 /* end confdefs.h.  */
28498 #include <math.h>
28499 int
28500 main ()
28501 {
28502 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28503   ;
28504   return 0;
28505 }
28506 _ACEOF
28507 if ac_fn_cxx_try_compile "$LINENO"; then :
28508   glibcxx_cv_func_float_trig_use=yes
28509 else
28510   glibcxx_cv_func_float_trig_use=no
28511 fi
28512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28513     ac_ext=c
28514 ac_cpp='$CPP $CPPFLAGS'
28515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28518
28519 fi
28520
28521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28522 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28523   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28524     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28525 do :
28526   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28527 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28528 eval as_val=\$$as_ac_var
28529    if test "x$as_val" = x""yes; then :
28530   cat >>confdefs.h <<_ACEOF
28531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28532 _ACEOF
28533
28534 fi
28535 done
28536
28537   else
28538     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28539 $as_echo_n "checking for _float trig functions... " >&6; }
28540     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28541   $as_echo_n "(cached) " >&6
28542 else
28543
28544
28545       ac_ext=cpp
28546 ac_cpp='$CXXCPP $CPPFLAGS'
28547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28550
28551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28552 /* end confdefs.h.  */
28553 #include <math.h>
28554 int
28555 main ()
28556 {
28557 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28558   ;
28559   return 0;
28560 }
28561 _ACEOF
28562 if ac_fn_cxx_try_compile "$LINENO"; then :
28563   glibcxx_cv_func__float_trig_use=yes
28564 else
28565   glibcxx_cv_func__float_trig_use=no
28566 fi
28567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28568       ac_ext=c
28569 ac_cpp='$CPP $CPPFLAGS'
28570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28573
28574 fi
28575
28576     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28577 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28578     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28579       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28580 do :
28581   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28583 eval as_val=\$$as_ac_var
28584    if test "x$as_val" = x""yes; then :
28585   cat >>confdefs.h <<_ACEOF
28586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28587 _ACEOF
28588
28589 fi
28590 done
28591
28592     fi
28593   fi
28594
28595
28596
28597
28598
28599     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28600 $as_echo_n "checking for float round functions... " >&6; }
28601   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28602   $as_echo_n "(cached) " >&6
28603 else
28604
28605
28606     ac_ext=cpp
28607 ac_cpp='$CXXCPP $CPPFLAGS'
28608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28611
28612     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28613 /* end confdefs.h.  */
28614 #include <math.h>
28615 int
28616 main ()
28617 {
28618 ceilf (0); floorf (0);
28619   ;
28620   return 0;
28621 }
28622 _ACEOF
28623 if ac_fn_cxx_try_compile "$LINENO"; then :
28624   glibcxx_cv_func_float_round_use=yes
28625 else
28626   glibcxx_cv_func_float_round_use=no
28627 fi
28628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28629     ac_ext=c
28630 ac_cpp='$CPP $CPPFLAGS'
28631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28634
28635 fi
28636
28637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28638 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28639   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28640     for ac_func in ceilf floorf
28641 do :
28642   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28643 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28644 eval as_val=\$$as_ac_var
28645    if test "x$as_val" = x""yes; then :
28646   cat >>confdefs.h <<_ACEOF
28647 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28648 _ACEOF
28649
28650 fi
28651 done
28652
28653   else
28654     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28655 $as_echo_n "checking for _float round functions... " >&6; }
28656     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28657   $as_echo_n "(cached) " >&6
28658 else
28659
28660
28661       ac_ext=cpp
28662 ac_cpp='$CXXCPP $CPPFLAGS'
28663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28666
28667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28668 /* end confdefs.h.  */
28669 #include <math.h>
28670 int
28671 main ()
28672 {
28673 _ceilf (0); _floorf (0);
28674   ;
28675   return 0;
28676 }
28677 _ACEOF
28678 if ac_fn_cxx_try_compile "$LINENO"; then :
28679   glibcxx_cv_func__float_round_use=yes
28680 else
28681   glibcxx_cv_func__float_round_use=no
28682 fi
28683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28684       ac_ext=c
28685 ac_cpp='$CPP $CPPFLAGS'
28686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28689
28690 fi
28691
28692     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28693 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28694     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28695       for ac_func in _ceilf _floorf
28696 do :
28697   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28698 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28699 eval as_val=\$$as_ac_var
28700    if test "x$as_val" = x""yes; then :
28701   cat >>confdefs.h <<_ACEOF
28702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28703 _ACEOF
28704
28705 fi
28706 done
28707
28708     fi
28709   fi
28710
28711
28712
28713
28714
28715
28716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28717 $as_echo_n "checking for expf declaration... " >&6; }
28718   if test x${glibcxx_cv_func_expf_use+set} != xset; then
28719     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28720   $as_echo_n "(cached) " >&6
28721 else
28722
28723
28724       ac_ext=cpp
28725 ac_cpp='$CXXCPP $CPPFLAGS'
28726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28729
28730       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28731 /* end confdefs.h.  */
28732 #include <math.h>
28733                       #ifdef HAVE_IEEEFP_H
28734                       #include <ieeefp.h>
28735                       #endif
28736
28737 int
28738 main ()
28739 {
28740  expf(0);
28741   ;
28742   return 0;
28743 }
28744 _ACEOF
28745 if ac_fn_cxx_try_compile "$LINENO"; then :
28746   glibcxx_cv_func_expf_use=yes
28747 else
28748   glibcxx_cv_func_expf_use=no
28749 fi
28750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28751       ac_ext=c
28752 ac_cpp='$CPP $CPPFLAGS'
28753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28756
28757
28758 fi
28759
28760   fi
28761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28762 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28763
28764   if test x$glibcxx_cv_func_expf_use = x"yes"; then
28765     for ac_func in expf
28766 do :
28767   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28768 if test "x$ac_cv_func_expf" = x""yes; then :
28769   cat >>confdefs.h <<_ACEOF
28770 #define HAVE_EXPF 1
28771 _ACEOF
28772
28773 fi
28774 done
28775
28776   else
28777
28778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28779 $as_echo_n "checking for _expf declaration... " >&6; }
28780   if test x${glibcxx_cv_func__expf_use+set} != xset; then
28781     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28782   $as_echo_n "(cached) " >&6
28783 else
28784
28785
28786       ac_ext=cpp
28787 ac_cpp='$CXXCPP $CPPFLAGS'
28788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28791
28792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28793 /* end confdefs.h.  */
28794 #include <math.h>
28795                       #ifdef HAVE_IEEEFP_H
28796                       #include <ieeefp.h>
28797                       #endif
28798
28799 int
28800 main ()
28801 {
28802  _expf(0);
28803   ;
28804   return 0;
28805 }
28806 _ACEOF
28807 if ac_fn_cxx_try_compile "$LINENO"; then :
28808   glibcxx_cv_func__expf_use=yes
28809 else
28810   glibcxx_cv_func__expf_use=no
28811 fi
28812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28813       ac_ext=c
28814 ac_cpp='$CPP $CPPFLAGS'
28815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28818
28819
28820 fi
28821
28822   fi
28823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28824 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28825
28826     if test x$glibcxx_cv_func__expf_use = x"yes"; then
28827       for ac_func in _expf
28828 do :
28829   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28830 if test "x$ac_cv_func__expf" = x""yes; then :
28831   cat >>confdefs.h <<_ACEOF
28832 #define HAVE__EXPF 1
28833 _ACEOF
28834
28835 fi
28836 done
28837
28838     fi
28839   fi
28840
28841
28842
28843
28844
28845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28846 $as_echo_n "checking for isnanf declaration... " >&6; }
28847   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28848     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28849   $as_echo_n "(cached) " >&6
28850 else
28851
28852
28853       ac_ext=cpp
28854 ac_cpp='$CXXCPP $CPPFLAGS'
28855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28858
28859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28860 /* end confdefs.h.  */
28861 #include <math.h>
28862                       #ifdef HAVE_IEEEFP_H
28863                       #include <ieeefp.h>
28864                       #endif
28865
28866 int
28867 main ()
28868 {
28869  isnanf(0);
28870   ;
28871   return 0;
28872 }
28873 _ACEOF
28874 if ac_fn_cxx_try_compile "$LINENO"; then :
28875   glibcxx_cv_func_isnanf_use=yes
28876 else
28877   glibcxx_cv_func_isnanf_use=no
28878 fi
28879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28880       ac_ext=c
28881 ac_cpp='$CPP $CPPFLAGS'
28882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28885
28886
28887 fi
28888
28889   fi
28890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28891 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28892
28893   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28894     for ac_func in isnanf
28895 do :
28896   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28897 if test "x$ac_cv_func_isnanf" = x""yes; then :
28898   cat >>confdefs.h <<_ACEOF
28899 #define HAVE_ISNANF 1
28900 _ACEOF
28901
28902 fi
28903 done
28904
28905   else
28906
28907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28908 $as_echo_n "checking for _isnanf declaration... " >&6; }
28909   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28910     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28911   $as_echo_n "(cached) " >&6
28912 else
28913
28914
28915       ac_ext=cpp
28916 ac_cpp='$CXXCPP $CPPFLAGS'
28917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28920
28921       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28922 /* end confdefs.h.  */
28923 #include <math.h>
28924                       #ifdef HAVE_IEEEFP_H
28925                       #include <ieeefp.h>
28926                       #endif
28927
28928 int
28929 main ()
28930 {
28931  _isnanf(0);
28932   ;
28933   return 0;
28934 }
28935 _ACEOF
28936 if ac_fn_cxx_try_compile "$LINENO"; then :
28937   glibcxx_cv_func__isnanf_use=yes
28938 else
28939   glibcxx_cv_func__isnanf_use=no
28940 fi
28941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28942       ac_ext=c
28943 ac_cpp='$CPP $CPPFLAGS'
28944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28947
28948
28949 fi
28950
28951   fi
28952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28953 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28954
28955     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28956       for ac_func in _isnanf
28957 do :
28958   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28959 if test "x$ac_cv_func__isnanf" = x""yes; then :
28960   cat >>confdefs.h <<_ACEOF
28961 #define HAVE__ISNANF 1
28962 _ACEOF
28963
28964 fi
28965 done
28966
28967     fi
28968   fi
28969
28970
28971
28972
28973
28974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28975 $as_echo_n "checking for isinff declaration... " >&6; }
28976   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28977     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28978   $as_echo_n "(cached) " >&6
28979 else
28980
28981
28982       ac_ext=cpp
28983 ac_cpp='$CXXCPP $CPPFLAGS'
28984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28987
28988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28989 /* end confdefs.h.  */
28990 #include <math.h>
28991                       #ifdef HAVE_IEEEFP_H
28992                       #include <ieeefp.h>
28993                       #endif
28994
28995 int
28996 main ()
28997 {
28998  isinff(0);
28999   ;
29000   return 0;
29001 }
29002 _ACEOF
29003 if ac_fn_cxx_try_compile "$LINENO"; then :
29004   glibcxx_cv_func_isinff_use=yes
29005 else
29006   glibcxx_cv_func_isinff_use=no
29007 fi
29008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29009       ac_ext=c
29010 ac_cpp='$CPP $CPPFLAGS'
29011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29014
29015
29016 fi
29017
29018   fi
29019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29020 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29021
29022   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29023     for ac_func in isinff
29024 do :
29025   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29026 if test "x$ac_cv_func_isinff" = x""yes; then :
29027   cat >>confdefs.h <<_ACEOF
29028 #define HAVE_ISINFF 1
29029 _ACEOF
29030
29031 fi
29032 done
29033
29034   else
29035
29036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29037 $as_echo_n "checking for _isinff declaration... " >&6; }
29038   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29039     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29040   $as_echo_n "(cached) " >&6
29041 else
29042
29043
29044       ac_ext=cpp
29045 ac_cpp='$CXXCPP $CPPFLAGS'
29046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29049
29050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29051 /* end confdefs.h.  */
29052 #include <math.h>
29053                       #ifdef HAVE_IEEEFP_H
29054                       #include <ieeefp.h>
29055                       #endif
29056
29057 int
29058 main ()
29059 {
29060  _isinff(0);
29061   ;
29062   return 0;
29063 }
29064 _ACEOF
29065 if ac_fn_cxx_try_compile "$LINENO"; then :
29066   glibcxx_cv_func__isinff_use=yes
29067 else
29068   glibcxx_cv_func__isinff_use=no
29069 fi
29070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29071       ac_ext=c
29072 ac_cpp='$CPP $CPPFLAGS'
29073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29076
29077
29078 fi
29079
29080   fi
29081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29082 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29083
29084     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29085       for ac_func in _isinff
29086 do :
29087   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29088 if test "x$ac_cv_func__isinff" = x""yes; then :
29089   cat >>confdefs.h <<_ACEOF
29090 #define HAVE__ISINFF 1
29091 _ACEOF
29092
29093 fi
29094 done
29095
29096     fi
29097   fi
29098
29099
29100
29101
29102
29103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29104 $as_echo_n "checking for atan2f declaration... " >&6; }
29105   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29106     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29107   $as_echo_n "(cached) " >&6
29108 else
29109
29110
29111       ac_ext=cpp
29112 ac_cpp='$CXXCPP $CPPFLAGS'
29113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29116
29117       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29118 /* end confdefs.h.  */
29119 #include <math.h>
29120 int
29121 main ()
29122 {
29123  atan2f(0, 0);
29124   ;
29125   return 0;
29126 }
29127 _ACEOF
29128 if ac_fn_cxx_try_compile "$LINENO"; then :
29129   glibcxx_cv_func_atan2f_use=yes
29130 else
29131   glibcxx_cv_func_atan2f_use=no
29132 fi
29133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29134       ac_ext=c
29135 ac_cpp='$CPP $CPPFLAGS'
29136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29139
29140
29141 fi
29142
29143   fi
29144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29145 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29146
29147   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29148     for ac_func in atan2f
29149 do :
29150   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29151 if test "x$ac_cv_func_atan2f" = x""yes; then :
29152   cat >>confdefs.h <<_ACEOF
29153 #define HAVE_ATAN2F 1
29154 _ACEOF
29155
29156 fi
29157 done
29158
29159   else
29160
29161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29162 $as_echo_n "checking for _atan2f declaration... " >&6; }
29163   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29164     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29165   $as_echo_n "(cached) " >&6
29166 else
29167
29168
29169       ac_ext=cpp
29170 ac_cpp='$CXXCPP $CPPFLAGS'
29171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29174
29175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29176 /* end confdefs.h.  */
29177 #include <math.h>
29178 int
29179 main ()
29180 {
29181  _atan2f(0, 0);
29182   ;
29183   return 0;
29184 }
29185 _ACEOF
29186 if ac_fn_cxx_try_compile "$LINENO"; then :
29187   glibcxx_cv_func__atan2f_use=yes
29188 else
29189   glibcxx_cv_func__atan2f_use=no
29190 fi
29191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29192       ac_ext=c
29193 ac_cpp='$CPP $CPPFLAGS'
29194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29197
29198
29199 fi
29200
29201   fi
29202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29203 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29204
29205     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29206       for ac_func in _atan2f
29207 do :
29208   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29209 if test "x$ac_cv_func__atan2f" = x""yes; then :
29210   cat >>confdefs.h <<_ACEOF
29211 #define HAVE__ATAN2F 1
29212 _ACEOF
29213
29214 fi
29215 done
29216
29217     fi
29218   fi
29219
29220
29221
29222
29223
29224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29225 $as_echo_n "checking for fabsf declaration... " >&6; }
29226   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29227     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29228   $as_echo_n "(cached) " >&6
29229 else
29230
29231
29232       ac_ext=cpp
29233 ac_cpp='$CXXCPP $CPPFLAGS'
29234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29237
29238       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29239 /* end confdefs.h.  */
29240 #include <math.h>
29241                       #ifdef HAVE_IEEEFP_H
29242                       #include <ieeefp.h>
29243                       #endif
29244
29245 int
29246 main ()
29247 {
29248  fabsf(0);
29249   ;
29250   return 0;
29251 }
29252 _ACEOF
29253 if ac_fn_cxx_try_compile "$LINENO"; then :
29254   glibcxx_cv_func_fabsf_use=yes
29255 else
29256   glibcxx_cv_func_fabsf_use=no
29257 fi
29258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29259       ac_ext=c
29260 ac_cpp='$CPP $CPPFLAGS'
29261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29264
29265
29266 fi
29267
29268   fi
29269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29270 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29271
29272   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29273     for ac_func in fabsf
29274 do :
29275   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29276 if test "x$ac_cv_func_fabsf" = x""yes; then :
29277   cat >>confdefs.h <<_ACEOF
29278 #define HAVE_FABSF 1
29279 _ACEOF
29280
29281 fi
29282 done
29283
29284   else
29285
29286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29287 $as_echo_n "checking for _fabsf declaration... " >&6; }
29288   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29289     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29290   $as_echo_n "(cached) " >&6
29291 else
29292
29293
29294       ac_ext=cpp
29295 ac_cpp='$CXXCPP $CPPFLAGS'
29296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29299
29300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29301 /* end confdefs.h.  */
29302 #include <math.h>
29303                       #ifdef HAVE_IEEEFP_H
29304                       #include <ieeefp.h>
29305                       #endif
29306
29307 int
29308 main ()
29309 {
29310  _fabsf(0);
29311   ;
29312   return 0;
29313 }
29314 _ACEOF
29315 if ac_fn_cxx_try_compile "$LINENO"; then :
29316   glibcxx_cv_func__fabsf_use=yes
29317 else
29318   glibcxx_cv_func__fabsf_use=no
29319 fi
29320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29321       ac_ext=c
29322 ac_cpp='$CPP $CPPFLAGS'
29323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29326
29327
29328 fi
29329
29330   fi
29331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29332 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29333
29334     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29335       for ac_func in _fabsf
29336 do :
29337   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29338 if test "x$ac_cv_func__fabsf" = x""yes; then :
29339   cat >>confdefs.h <<_ACEOF
29340 #define HAVE__FABSF 1
29341 _ACEOF
29342
29343 fi
29344 done
29345
29346     fi
29347   fi
29348
29349
29350
29351
29352
29353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29354 $as_echo_n "checking for fmodf declaration... " >&6; }
29355   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29356     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29357   $as_echo_n "(cached) " >&6
29358 else
29359
29360
29361       ac_ext=cpp
29362 ac_cpp='$CXXCPP $CPPFLAGS'
29363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29366
29367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29368 /* end confdefs.h.  */
29369 #include <math.h>
29370 int
29371 main ()
29372 {
29373  fmodf(0, 0);
29374   ;
29375   return 0;
29376 }
29377 _ACEOF
29378 if ac_fn_cxx_try_compile "$LINENO"; then :
29379   glibcxx_cv_func_fmodf_use=yes
29380 else
29381   glibcxx_cv_func_fmodf_use=no
29382 fi
29383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29384       ac_ext=c
29385 ac_cpp='$CPP $CPPFLAGS'
29386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29389
29390
29391 fi
29392
29393   fi
29394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29395 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29396
29397   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29398     for ac_func in fmodf
29399 do :
29400   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29401 if test "x$ac_cv_func_fmodf" = x""yes; then :
29402   cat >>confdefs.h <<_ACEOF
29403 #define HAVE_FMODF 1
29404 _ACEOF
29405
29406 fi
29407 done
29408
29409   else
29410
29411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29412 $as_echo_n "checking for _fmodf declaration... " >&6; }
29413   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29414     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29415   $as_echo_n "(cached) " >&6
29416 else
29417
29418
29419       ac_ext=cpp
29420 ac_cpp='$CXXCPP $CPPFLAGS'
29421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29424
29425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29426 /* end confdefs.h.  */
29427 #include <math.h>
29428 int
29429 main ()
29430 {
29431  _fmodf(0, 0);
29432   ;
29433   return 0;
29434 }
29435 _ACEOF
29436 if ac_fn_cxx_try_compile "$LINENO"; then :
29437   glibcxx_cv_func__fmodf_use=yes
29438 else
29439   glibcxx_cv_func__fmodf_use=no
29440 fi
29441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29442       ac_ext=c
29443 ac_cpp='$CPP $CPPFLAGS'
29444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29447
29448
29449 fi
29450
29451   fi
29452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29453 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29454
29455     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29456       for ac_func in _fmodf
29457 do :
29458   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29459 if test "x$ac_cv_func__fmodf" = x""yes; then :
29460   cat >>confdefs.h <<_ACEOF
29461 #define HAVE__FMODF 1
29462 _ACEOF
29463
29464 fi
29465 done
29466
29467     fi
29468   fi
29469
29470
29471
29472
29473
29474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29475 $as_echo_n "checking for frexpf declaration... " >&6; }
29476   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29477     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29478   $as_echo_n "(cached) " >&6
29479 else
29480
29481
29482       ac_ext=cpp
29483 ac_cpp='$CXXCPP $CPPFLAGS'
29484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29487
29488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29489 /* end confdefs.h.  */
29490 #include <math.h>
29491 int
29492 main ()
29493 {
29494  frexpf(0, 0);
29495   ;
29496   return 0;
29497 }
29498 _ACEOF
29499 if ac_fn_cxx_try_compile "$LINENO"; then :
29500   glibcxx_cv_func_frexpf_use=yes
29501 else
29502   glibcxx_cv_func_frexpf_use=no
29503 fi
29504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29505       ac_ext=c
29506 ac_cpp='$CPP $CPPFLAGS'
29507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29510
29511
29512 fi
29513
29514   fi
29515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29516 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29517
29518   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29519     for ac_func in frexpf
29520 do :
29521   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29522 if test "x$ac_cv_func_frexpf" = x""yes; then :
29523   cat >>confdefs.h <<_ACEOF
29524 #define HAVE_FREXPF 1
29525 _ACEOF
29526
29527 fi
29528 done
29529
29530   else
29531
29532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29533 $as_echo_n "checking for _frexpf declaration... " >&6; }
29534   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29535     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29536   $as_echo_n "(cached) " >&6
29537 else
29538
29539
29540       ac_ext=cpp
29541 ac_cpp='$CXXCPP $CPPFLAGS'
29542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29545
29546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29547 /* end confdefs.h.  */
29548 #include <math.h>
29549 int
29550 main ()
29551 {
29552  _frexpf(0, 0);
29553   ;
29554   return 0;
29555 }
29556 _ACEOF
29557 if ac_fn_cxx_try_compile "$LINENO"; then :
29558   glibcxx_cv_func__frexpf_use=yes
29559 else
29560   glibcxx_cv_func__frexpf_use=no
29561 fi
29562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29563       ac_ext=c
29564 ac_cpp='$CPP $CPPFLAGS'
29565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29568
29569
29570 fi
29571
29572   fi
29573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29574 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29575
29576     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29577       for ac_func in _frexpf
29578 do :
29579   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29580 if test "x$ac_cv_func__frexpf" = x""yes; then :
29581   cat >>confdefs.h <<_ACEOF
29582 #define HAVE__FREXPF 1
29583 _ACEOF
29584
29585 fi
29586 done
29587
29588     fi
29589   fi
29590
29591
29592
29593
29594
29595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29596 $as_echo_n "checking for hypotf declaration... " >&6; }
29597   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29598     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29599   $as_echo_n "(cached) " >&6
29600 else
29601
29602
29603       ac_ext=cpp
29604 ac_cpp='$CXXCPP $CPPFLAGS'
29605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29608
29609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29610 /* end confdefs.h.  */
29611 #include <math.h>
29612 int
29613 main ()
29614 {
29615  hypotf(0, 0);
29616   ;
29617   return 0;
29618 }
29619 _ACEOF
29620 if ac_fn_cxx_try_compile "$LINENO"; then :
29621   glibcxx_cv_func_hypotf_use=yes
29622 else
29623   glibcxx_cv_func_hypotf_use=no
29624 fi
29625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29626       ac_ext=c
29627 ac_cpp='$CPP $CPPFLAGS'
29628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29631
29632
29633 fi
29634
29635   fi
29636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29637 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29638
29639   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29640     for ac_func in hypotf
29641 do :
29642   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29643 if test "x$ac_cv_func_hypotf" = x""yes; then :
29644   cat >>confdefs.h <<_ACEOF
29645 #define HAVE_HYPOTF 1
29646 _ACEOF
29647
29648 fi
29649 done
29650
29651   else
29652
29653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29654 $as_echo_n "checking for _hypotf declaration... " >&6; }
29655   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29656     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29657   $as_echo_n "(cached) " >&6
29658 else
29659
29660
29661       ac_ext=cpp
29662 ac_cpp='$CXXCPP $CPPFLAGS'
29663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29666
29667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29668 /* end confdefs.h.  */
29669 #include <math.h>
29670 int
29671 main ()
29672 {
29673  _hypotf(0, 0);
29674   ;
29675   return 0;
29676 }
29677 _ACEOF
29678 if ac_fn_cxx_try_compile "$LINENO"; then :
29679   glibcxx_cv_func__hypotf_use=yes
29680 else
29681   glibcxx_cv_func__hypotf_use=no
29682 fi
29683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29684       ac_ext=c
29685 ac_cpp='$CPP $CPPFLAGS'
29686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29689
29690
29691 fi
29692
29693   fi
29694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29695 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29696
29697     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29698       for ac_func in _hypotf
29699 do :
29700   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29701 if test "x$ac_cv_func__hypotf" = x""yes; then :
29702   cat >>confdefs.h <<_ACEOF
29703 #define HAVE__HYPOTF 1
29704 _ACEOF
29705
29706 fi
29707 done
29708
29709     fi
29710   fi
29711
29712
29713
29714
29715
29716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29717 $as_echo_n "checking for ldexpf declaration... " >&6; }
29718   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29719     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29720   $as_echo_n "(cached) " >&6
29721 else
29722
29723
29724       ac_ext=cpp
29725 ac_cpp='$CXXCPP $CPPFLAGS'
29726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29729
29730       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29731 /* end confdefs.h.  */
29732 #include <math.h>
29733 int
29734 main ()
29735 {
29736  ldexpf(0, 0);
29737   ;
29738   return 0;
29739 }
29740 _ACEOF
29741 if ac_fn_cxx_try_compile "$LINENO"; then :
29742   glibcxx_cv_func_ldexpf_use=yes
29743 else
29744   glibcxx_cv_func_ldexpf_use=no
29745 fi
29746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29747       ac_ext=c
29748 ac_cpp='$CPP $CPPFLAGS'
29749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29752
29753
29754 fi
29755
29756   fi
29757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29758 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29759
29760   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29761     for ac_func in ldexpf
29762 do :
29763   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29764 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29765   cat >>confdefs.h <<_ACEOF
29766 #define HAVE_LDEXPF 1
29767 _ACEOF
29768
29769 fi
29770 done
29771
29772   else
29773
29774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29775 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29776   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29777     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29778   $as_echo_n "(cached) " >&6
29779 else
29780
29781
29782       ac_ext=cpp
29783 ac_cpp='$CXXCPP $CPPFLAGS'
29784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29787
29788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29789 /* end confdefs.h.  */
29790 #include <math.h>
29791 int
29792 main ()
29793 {
29794  _ldexpf(0, 0);
29795   ;
29796   return 0;
29797 }
29798 _ACEOF
29799 if ac_fn_cxx_try_compile "$LINENO"; then :
29800   glibcxx_cv_func__ldexpf_use=yes
29801 else
29802   glibcxx_cv_func__ldexpf_use=no
29803 fi
29804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29805       ac_ext=c
29806 ac_cpp='$CPP $CPPFLAGS'
29807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29810
29811
29812 fi
29813
29814   fi
29815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29816 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29817
29818     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29819       for ac_func in _ldexpf
29820 do :
29821   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29822 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29823   cat >>confdefs.h <<_ACEOF
29824 #define HAVE__LDEXPF 1
29825 _ACEOF
29826
29827 fi
29828 done
29829
29830     fi
29831   fi
29832
29833
29834
29835
29836
29837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29838 $as_echo_n "checking for logf declaration... " >&6; }
29839   if test x${glibcxx_cv_func_logf_use+set} != xset; then
29840     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29841   $as_echo_n "(cached) " >&6
29842 else
29843
29844
29845       ac_ext=cpp
29846 ac_cpp='$CXXCPP $CPPFLAGS'
29847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29850
29851       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29852 /* end confdefs.h.  */
29853 #include <math.h>
29854                       #ifdef HAVE_IEEEFP_H
29855                       #include <ieeefp.h>
29856                       #endif
29857
29858 int
29859 main ()
29860 {
29861  logf(0);
29862   ;
29863   return 0;
29864 }
29865 _ACEOF
29866 if ac_fn_cxx_try_compile "$LINENO"; then :
29867   glibcxx_cv_func_logf_use=yes
29868 else
29869   glibcxx_cv_func_logf_use=no
29870 fi
29871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29872       ac_ext=c
29873 ac_cpp='$CPP $CPPFLAGS'
29874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29877
29878
29879 fi
29880
29881   fi
29882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29883 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29884
29885   if test x$glibcxx_cv_func_logf_use = x"yes"; then
29886     for ac_func in logf
29887 do :
29888   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29889 if test "x$ac_cv_func_logf" = x""yes; then :
29890   cat >>confdefs.h <<_ACEOF
29891 #define HAVE_LOGF 1
29892 _ACEOF
29893
29894 fi
29895 done
29896
29897   else
29898
29899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29900 $as_echo_n "checking for _logf declaration... " >&6; }
29901   if test x${glibcxx_cv_func__logf_use+set} != xset; then
29902     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29903   $as_echo_n "(cached) " >&6
29904 else
29905
29906
29907       ac_ext=cpp
29908 ac_cpp='$CXXCPP $CPPFLAGS'
29909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29912
29913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29914 /* end confdefs.h.  */
29915 #include <math.h>
29916                       #ifdef HAVE_IEEEFP_H
29917                       #include <ieeefp.h>
29918                       #endif
29919
29920 int
29921 main ()
29922 {
29923  _logf(0);
29924   ;
29925   return 0;
29926 }
29927 _ACEOF
29928 if ac_fn_cxx_try_compile "$LINENO"; then :
29929   glibcxx_cv_func__logf_use=yes
29930 else
29931   glibcxx_cv_func__logf_use=no
29932 fi
29933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29934       ac_ext=c
29935 ac_cpp='$CPP $CPPFLAGS'
29936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29939
29940
29941 fi
29942
29943   fi
29944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29945 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29946
29947     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29948       for ac_func in _logf
29949 do :
29950   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29951 if test "x$ac_cv_func__logf" = x""yes; then :
29952   cat >>confdefs.h <<_ACEOF
29953 #define HAVE__LOGF 1
29954 _ACEOF
29955
29956 fi
29957 done
29958
29959     fi
29960   fi
29961
29962
29963
29964
29965
29966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29967 $as_echo_n "checking for log10f declaration... " >&6; }
29968   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29969     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29970   $as_echo_n "(cached) " >&6
29971 else
29972
29973
29974       ac_ext=cpp
29975 ac_cpp='$CXXCPP $CPPFLAGS'
29976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29979
29980       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29981 /* end confdefs.h.  */
29982 #include <math.h>
29983                       #ifdef HAVE_IEEEFP_H
29984                       #include <ieeefp.h>
29985                       #endif
29986
29987 int
29988 main ()
29989 {
29990  log10f(0);
29991   ;
29992   return 0;
29993 }
29994 _ACEOF
29995 if ac_fn_cxx_try_compile "$LINENO"; then :
29996   glibcxx_cv_func_log10f_use=yes
29997 else
29998   glibcxx_cv_func_log10f_use=no
29999 fi
30000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30001       ac_ext=c
30002 ac_cpp='$CPP $CPPFLAGS'
30003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30006
30007
30008 fi
30009
30010   fi
30011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30012 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30013
30014   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30015     for ac_func in log10f
30016 do :
30017   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30018 if test "x$ac_cv_func_log10f" = x""yes; then :
30019   cat >>confdefs.h <<_ACEOF
30020 #define HAVE_LOG10F 1
30021 _ACEOF
30022
30023 fi
30024 done
30025
30026   else
30027
30028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30029 $as_echo_n "checking for _log10f declaration... " >&6; }
30030   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30031     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30032   $as_echo_n "(cached) " >&6
30033 else
30034
30035
30036       ac_ext=cpp
30037 ac_cpp='$CXXCPP $CPPFLAGS'
30038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30041
30042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30043 /* end confdefs.h.  */
30044 #include <math.h>
30045                       #ifdef HAVE_IEEEFP_H
30046                       #include <ieeefp.h>
30047                       #endif
30048
30049 int
30050 main ()
30051 {
30052  _log10f(0);
30053   ;
30054   return 0;
30055 }
30056 _ACEOF
30057 if ac_fn_cxx_try_compile "$LINENO"; then :
30058   glibcxx_cv_func__log10f_use=yes
30059 else
30060   glibcxx_cv_func__log10f_use=no
30061 fi
30062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30063       ac_ext=c
30064 ac_cpp='$CPP $CPPFLAGS'
30065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30068
30069
30070 fi
30071
30072   fi
30073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30074 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30075
30076     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30077       for ac_func in _log10f
30078 do :
30079   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30080 if test "x$ac_cv_func__log10f" = x""yes; then :
30081   cat >>confdefs.h <<_ACEOF
30082 #define HAVE__LOG10F 1
30083 _ACEOF
30084
30085 fi
30086 done
30087
30088     fi
30089   fi
30090
30091
30092
30093
30094
30095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30096 $as_echo_n "checking for modff declaration... " >&6; }
30097   if test x${glibcxx_cv_func_modff_use+set} != xset; then
30098     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30099   $as_echo_n "(cached) " >&6
30100 else
30101
30102
30103       ac_ext=cpp
30104 ac_cpp='$CXXCPP $CPPFLAGS'
30105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30108
30109       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30110 /* end confdefs.h.  */
30111 #include <math.h>
30112 int
30113 main ()
30114 {
30115  modff(0, 0);
30116   ;
30117   return 0;
30118 }
30119 _ACEOF
30120 if ac_fn_cxx_try_compile "$LINENO"; then :
30121   glibcxx_cv_func_modff_use=yes
30122 else
30123   glibcxx_cv_func_modff_use=no
30124 fi
30125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30126       ac_ext=c
30127 ac_cpp='$CPP $CPPFLAGS'
30128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30131
30132
30133 fi
30134
30135   fi
30136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30137 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30138
30139   if test x$glibcxx_cv_func_modff_use = x"yes"; then
30140     for ac_func in modff
30141 do :
30142   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30143 if test "x$ac_cv_func_modff" = x""yes; then :
30144   cat >>confdefs.h <<_ACEOF
30145 #define HAVE_MODFF 1
30146 _ACEOF
30147
30148 fi
30149 done
30150
30151   else
30152
30153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30154 $as_echo_n "checking for _modff declaration... " >&6; }
30155   if test x${glibcxx_cv_func__modff_use+set} != xset; then
30156     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30157   $as_echo_n "(cached) " >&6
30158 else
30159
30160
30161       ac_ext=cpp
30162 ac_cpp='$CXXCPP $CPPFLAGS'
30163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30166
30167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30168 /* end confdefs.h.  */
30169 #include <math.h>
30170 int
30171 main ()
30172 {
30173  _modff(0, 0);
30174   ;
30175   return 0;
30176 }
30177 _ACEOF
30178 if ac_fn_cxx_try_compile "$LINENO"; then :
30179   glibcxx_cv_func__modff_use=yes
30180 else
30181   glibcxx_cv_func__modff_use=no
30182 fi
30183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30184       ac_ext=c
30185 ac_cpp='$CPP $CPPFLAGS'
30186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30189
30190
30191 fi
30192
30193   fi
30194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30195 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30196
30197     if test x$glibcxx_cv_func__modff_use = x"yes"; then
30198       for ac_func in _modff
30199 do :
30200   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30201 if test "x$ac_cv_func__modff" = x""yes; then :
30202   cat >>confdefs.h <<_ACEOF
30203 #define HAVE__MODFF 1
30204 _ACEOF
30205
30206 fi
30207 done
30208
30209     fi
30210   fi
30211
30212
30213
30214
30215
30216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30217 $as_echo_n "checking for modf declaration... " >&6; }
30218   if test x${glibcxx_cv_func_modf_use+set} != xset; then
30219     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30220   $as_echo_n "(cached) " >&6
30221 else
30222
30223
30224       ac_ext=cpp
30225 ac_cpp='$CXXCPP $CPPFLAGS'
30226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30229
30230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30231 /* end confdefs.h.  */
30232 #include <math.h>
30233 int
30234 main ()
30235 {
30236  modf(0, 0);
30237   ;
30238   return 0;
30239 }
30240 _ACEOF
30241 if ac_fn_cxx_try_compile "$LINENO"; then :
30242   glibcxx_cv_func_modf_use=yes
30243 else
30244   glibcxx_cv_func_modf_use=no
30245 fi
30246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30247       ac_ext=c
30248 ac_cpp='$CPP $CPPFLAGS'
30249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30252
30253
30254 fi
30255
30256   fi
30257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30258 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30259
30260   if test x$glibcxx_cv_func_modf_use = x"yes"; then
30261     for ac_func in modf
30262 do :
30263   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30264 if test "x$ac_cv_func_modf" = x""yes; then :
30265   cat >>confdefs.h <<_ACEOF
30266 #define HAVE_MODF 1
30267 _ACEOF
30268
30269 fi
30270 done
30271
30272   else
30273
30274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30275 $as_echo_n "checking for _modf declaration... " >&6; }
30276   if test x${glibcxx_cv_func__modf_use+set} != xset; then
30277     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30278   $as_echo_n "(cached) " >&6
30279 else
30280
30281
30282       ac_ext=cpp
30283 ac_cpp='$CXXCPP $CPPFLAGS'
30284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30287
30288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30289 /* end confdefs.h.  */
30290 #include <math.h>
30291 int
30292 main ()
30293 {
30294  _modf(0, 0);
30295   ;
30296   return 0;
30297 }
30298 _ACEOF
30299 if ac_fn_cxx_try_compile "$LINENO"; then :
30300   glibcxx_cv_func__modf_use=yes
30301 else
30302   glibcxx_cv_func__modf_use=no
30303 fi
30304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30305       ac_ext=c
30306 ac_cpp='$CPP $CPPFLAGS'
30307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30310
30311
30312 fi
30313
30314   fi
30315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30316 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30317
30318     if test x$glibcxx_cv_func__modf_use = x"yes"; then
30319       for ac_func in _modf
30320 do :
30321   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30322 if test "x$ac_cv_func__modf" = x""yes; then :
30323   cat >>confdefs.h <<_ACEOF
30324 #define HAVE__MODF 1
30325 _ACEOF
30326
30327 fi
30328 done
30329
30330     fi
30331   fi
30332
30333
30334
30335
30336
30337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30338 $as_echo_n "checking for powf declaration... " >&6; }
30339   if test x${glibcxx_cv_func_powf_use+set} != xset; then
30340     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30341   $as_echo_n "(cached) " >&6
30342 else
30343
30344
30345       ac_ext=cpp
30346 ac_cpp='$CXXCPP $CPPFLAGS'
30347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30350
30351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30352 /* end confdefs.h.  */
30353 #include <math.h>
30354 int
30355 main ()
30356 {
30357  powf(0, 0);
30358   ;
30359   return 0;
30360 }
30361 _ACEOF
30362 if ac_fn_cxx_try_compile "$LINENO"; then :
30363   glibcxx_cv_func_powf_use=yes
30364 else
30365   glibcxx_cv_func_powf_use=no
30366 fi
30367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30368       ac_ext=c
30369 ac_cpp='$CPP $CPPFLAGS'
30370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30373
30374
30375 fi
30376
30377   fi
30378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30379 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30380
30381   if test x$glibcxx_cv_func_powf_use = x"yes"; then
30382     for ac_func in powf
30383 do :
30384   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30385 if test "x$ac_cv_func_powf" = x""yes; then :
30386   cat >>confdefs.h <<_ACEOF
30387 #define HAVE_POWF 1
30388 _ACEOF
30389
30390 fi
30391 done
30392
30393   else
30394
30395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30396 $as_echo_n "checking for _powf declaration... " >&6; }
30397   if test x${glibcxx_cv_func__powf_use+set} != xset; then
30398     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30399   $as_echo_n "(cached) " >&6
30400 else
30401
30402
30403       ac_ext=cpp
30404 ac_cpp='$CXXCPP $CPPFLAGS'
30405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30408
30409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30410 /* end confdefs.h.  */
30411 #include <math.h>
30412 int
30413 main ()
30414 {
30415  _powf(0, 0);
30416   ;
30417   return 0;
30418 }
30419 _ACEOF
30420 if ac_fn_cxx_try_compile "$LINENO"; then :
30421   glibcxx_cv_func__powf_use=yes
30422 else
30423   glibcxx_cv_func__powf_use=no
30424 fi
30425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30426       ac_ext=c
30427 ac_cpp='$CPP $CPPFLAGS'
30428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30431
30432
30433 fi
30434
30435   fi
30436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30437 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30438
30439     if test x$glibcxx_cv_func__powf_use = x"yes"; then
30440       for ac_func in _powf
30441 do :
30442   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30443 if test "x$ac_cv_func__powf" = x""yes; then :
30444   cat >>confdefs.h <<_ACEOF
30445 #define HAVE__POWF 1
30446 _ACEOF
30447
30448 fi
30449 done
30450
30451     fi
30452   fi
30453
30454
30455
30456
30457
30458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30459 $as_echo_n "checking for sqrtf declaration... " >&6; }
30460   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30461     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30462   $as_echo_n "(cached) " >&6
30463 else
30464
30465
30466       ac_ext=cpp
30467 ac_cpp='$CXXCPP $CPPFLAGS'
30468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30471
30472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30473 /* end confdefs.h.  */
30474 #include <math.h>
30475                       #ifdef HAVE_IEEEFP_H
30476                       #include <ieeefp.h>
30477                       #endif
30478
30479 int
30480 main ()
30481 {
30482  sqrtf(0);
30483   ;
30484   return 0;
30485 }
30486 _ACEOF
30487 if ac_fn_cxx_try_compile "$LINENO"; then :
30488   glibcxx_cv_func_sqrtf_use=yes
30489 else
30490   glibcxx_cv_func_sqrtf_use=no
30491 fi
30492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30493       ac_ext=c
30494 ac_cpp='$CPP $CPPFLAGS'
30495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30498
30499
30500 fi
30501
30502   fi
30503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30504 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30505
30506   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30507     for ac_func in sqrtf
30508 do :
30509   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30510 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30511   cat >>confdefs.h <<_ACEOF
30512 #define HAVE_SQRTF 1
30513 _ACEOF
30514
30515 fi
30516 done
30517
30518   else
30519
30520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30521 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30522   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30523     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30524   $as_echo_n "(cached) " >&6
30525 else
30526
30527
30528       ac_ext=cpp
30529 ac_cpp='$CXXCPP $CPPFLAGS'
30530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30533
30534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30535 /* end confdefs.h.  */
30536 #include <math.h>
30537                       #ifdef HAVE_IEEEFP_H
30538                       #include <ieeefp.h>
30539                       #endif
30540
30541 int
30542 main ()
30543 {
30544  _sqrtf(0);
30545   ;
30546   return 0;
30547 }
30548 _ACEOF
30549 if ac_fn_cxx_try_compile "$LINENO"; then :
30550   glibcxx_cv_func__sqrtf_use=yes
30551 else
30552   glibcxx_cv_func__sqrtf_use=no
30553 fi
30554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30555       ac_ext=c
30556 ac_cpp='$CPP $CPPFLAGS'
30557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30560
30561
30562 fi
30563
30564   fi
30565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30566 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30567
30568     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30569       for ac_func in _sqrtf
30570 do :
30571   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30572 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30573   cat >>confdefs.h <<_ACEOF
30574 #define HAVE__SQRTF 1
30575 _ACEOF
30576
30577 fi
30578 done
30579
30580     fi
30581   fi
30582
30583
30584
30585
30586
30587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30588 $as_echo_n "checking for sincosf declaration... " >&6; }
30589   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30590     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30591   $as_echo_n "(cached) " >&6
30592 else
30593
30594
30595       ac_ext=cpp
30596 ac_cpp='$CXXCPP $CPPFLAGS'
30597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30600
30601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30602 /* end confdefs.h.  */
30603 #include <math.h>
30604 int
30605 main ()
30606 {
30607  sincosf(0, 0, 0);
30608   ;
30609   return 0;
30610 }
30611 _ACEOF
30612 if ac_fn_cxx_try_compile "$LINENO"; then :
30613   glibcxx_cv_func_sincosf_use=yes
30614 else
30615   glibcxx_cv_func_sincosf_use=no
30616 fi
30617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30618       ac_ext=c
30619 ac_cpp='$CPP $CPPFLAGS'
30620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30623
30624
30625 fi
30626
30627   fi
30628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30629 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30630
30631   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30632     for ac_func in sincosf
30633 do :
30634   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30635 if test "x$ac_cv_func_sincosf" = x""yes; then :
30636   cat >>confdefs.h <<_ACEOF
30637 #define HAVE_SINCOSF 1
30638 _ACEOF
30639
30640 fi
30641 done
30642
30643   else
30644
30645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30646 $as_echo_n "checking for _sincosf declaration... " >&6; }
30647   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30648     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30649   $as_echo_n "(cached) " >&6
30650 else
30651
30652
30653       ac_ext=cpp
30654 ac_cpp='$CXXCPP $CPPFLAGS'
30655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30658
30659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30660 /* end confdefs.h.  */
30661 #include <math.h>
30662 int
30663 main ()
30664 {
30665  _sincosf(0, 0, 0);
30666   ;
30667   return 0;
30668 }
30669 _ACEOF
30670 if ac_fn_cxx_try_compile "$LINENO"; then :
30671   glibcxx_cv_func__sincosf_use=yes
30672 else
30673   glibcxx_cv_func__sincosf_use=no
30674 fi
30675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30676       ac_ext=c
30677 ac_cpp='$CPP $CPPFLAGS'
30678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30681
30682
30683 fi
30684
30685   fi
30686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30687 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30688
30689     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30690       for ac_func in _sincosf
30691 do :
30692   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30693 if test "x$ac_cv_func__sincosf" = x""yes; then :
30694   cat >>confdefs.h <<_ACEOF
30695 #define HAVE__SINCOSF 1
30696 _ACEOF
30697
30698 fi
30699 done
30700
30701     fi
30702   fi
30703
30704
30705
30706
30707
30708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30709 $as_echo_n "checking for finitef declaration... " >&6; }
30710   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30711     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30712   $as_echo_n "(cached) " >&6
30713 else
30714
30715
30716       ac_ext=cpp
30717 ac_cpp='$CXXCPP $CPPFLAGS'
30718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30721
30722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30723 /* end confdefs.h.  */
30724 #include <math.h>
30725                       #ifdef HAVE_IEEEFP_H
30726                       #include <ieeefp.h>
30727                       #endif
30728
30729 int
30730 main ()
30731 {
30732  finitef(0);
30733   ;
30734   return 0;
30735 }
30736 _ACEOF
30737 if ac_fn_cxx_try_compile "$LINENO"; then :
30738   glibcxx_cv_func_finitef_use=yes
30739 else
30740   glibcxx_cv_func_finitef_use=no
30741 fi
30742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30743       ac_ext=c
30744 ac_cpp='$CPP $CPPFLAGS'
30745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30748
30749
30750 fi
30751
30752   fi
30753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30754 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30755
30756   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30757     for ac_func in finitef
30758 do :
30759   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30760 if test "x$ac_cv_func_finitef" = x""yes; then :
30761   cat >>confdefs.h <<_ACEOF
30762 #define HAVE_FINITEF 1
30763 _ACEOF
30764
30765 fi
30766 done
30767
30768   else
30769
30770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30771 $as_echo_n "checking for _finitef declaration... " >&6; }
30772   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30773     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30774   $as_echo_n "(cached) " >&6
30775 else
30776
30777
30778       ac_ext=cpp
30779 ac_cpp='$CXXCPP $CPPFLAGS'
30780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30783
30784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30785 /* end confdefs.h.  */
30786 #include <math.h>
30787                       #ifdef HAVE_IEEEFP_H
30788                       #include <ieeefp.h>
30789                       #endif
30790
30791 int
30792 main ()
30793 {
30794  _finitef(0);
30795   ;
30796   return 0;
30797 }
30798 _ACEOF
30799 if ac_fn_cxx_try_compile "$LINENO"; then :
30800   glibcxx_cv_func__finitef_use=yes
30801 else
30802   glibcxx_cv_func__finitef_use=no
30803 fi
30804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30805       ac_ext=c
30806 ac_cpp='$CPP $CPPFLAGS'
30807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30810
30811
30812 fi
30813
30814   fi
30815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30816 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30817
30818     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30819       for ac_func in _finitef
30820 do :
30821   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30822 if test "x$ac_cv_func__finitef" = x""yes; then :
30823   cat >>confdefs.h <<_ACEOF
30824 #define HAVE__FINITEF 1
30825 _ACEOF
30826
30827 fi
30828 done
30829
30830     fi
30831   fi
30832
30833
30834
30835
30836
30837     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30838 $as_echo_n "checking for long double trig functions... " >&6; }
30839   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30840   $as_echo_n "(cached) " >&6
30841 else
30842
30843
30844     ac_ext=cpp
30845 ac_cpp='$CXXCPP $CPPFLAGS'
30846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30849
30850     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30851 /* end confdefs.h.  */
30852 #include <math.h>
30853 int
30854 main ()
30855 {
30856 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30857   ;
30858   return 0;
30859 }
30860 _ACEOF
30861 if ac_fn_cxx_try_compile "$LINENO"; then :
30862   glibcxx_cv_func_long_double_trig_use=yes
30863 else
30864   glibcxx_cv_func_long_double_trig_use=no
30865 fi
30866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30867     ac_ext=c
30868 ac_cpp='$CPP $CPPFLAGS'
30869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30872
30873 fi
30874
30875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30876 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30877   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30878     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30879 do :
30880   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30881 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30882 eval as_val=\$$as_ac_var
30883    if test "x$as_val" = x""yes; then :
30884   cat >>confdefs.h <<_ACEOF
30885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30886 _ACEOF
30887
30888 fi
30889 done
30890
30891   else
30892     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30893 $as_echo_n "checking for _long double trig functions... " >&6; }
30894     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30895   $as_echo_n "(cached) " >&6
30896 else
30897
30898
30899       ac_ext=cpp
30900 ac_cpp='$CXXCPP $CPPFLAGS'
30901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30904
30905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30906 /* end confdefs.h.  */
30907 #include <math.h>
30908 int
30909 main ()
30910 {
30911 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30912   ;
30913   return 0;
30914 }
30915 _ACEOF
30916 if ac_fn_cxx_try_compile "$LINENO"; then :
30917   glibcxx_cv_func__long_double_trig_use=yes
30918 else
30919   glibcxx_cv_func__long_double_trig_use=no
30920 fi
30921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30922       ac_ext=c
30923 ac_cpp='$CPP $CPPFLAGS'
30924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30927
30928 fi
30929
30930     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30931 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30932     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30933       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30934 do :
30935   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30936 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30937 eval as_val=\$$as_ac_var
30938    if test "x$as_val" = x""yes; then :
30939   cat >>confdefs.h <<_ACEOF
30940 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30941 _ACEOF
30942
30943 fi
30944 done
30945
30946     fi
30947   fi
30948
30949
30950
30951
30952
30953     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30954 $as_echo_n "checking for long double round functions... " >&6; }
30955   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30956   $as_echo_n "(cached) " >&6
30957 else
30958
30959
30960     ac_ext=cpp
30961 ac_cpp='$CXXCPP $CPPFLAGS'
30962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30965
30966     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30967 /* end confdefs.h.  */
30968 #include <math.h>
30969 int
30970 main ()
30971 {
30972 ceill (0); floorl (0);
30973   ;
30974   return 0;
30975 }
30976 _ACEOF
30977 if ac_fn_cxx_try_compile "$LINENO"; then :
30978   glibcxx_cv_func_long_double_round_use=yes
30979 else
30980   glibcxx_cv_func_long_double_round_use=no
30981 fi
30982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30983     ac_ext=c
30984 ac_cpp='$CPP $CPPFLAGS'
30985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30988
30989 fi
30990
30991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30992 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30993   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30994     for ac_func in ceill floorl
30995 do :
30996   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30997 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30998 eval as_val=\$$as_ac_var
30999    if test "x$as_val" = x""yes; then :
31000   cat >>confdefs.h <<_ACEOF
31001 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31002 _ACEOF
31003
31004 fi
31005 done
31006
31007   else
31008     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31009 $as_echo_n "checking for _long double round functions... " >&6; }
31010     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31011   $as_echo_n "(cached) " >&6
31012 else
31013
31014
31015       ac_ext=cpp
31016 ac_cpp='$CXXCPP $CPPFLAGS'
31017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31020
31021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31022 /* end confdefs.h.  */
31023 #include <math.h>
31024 int
31025 main ()
31026 {
31027 _ceill (0); _floorl (0);
31028   ;
31029   return 0;
31030 }
31031 _ACEOF
31032 if ac_fn_cxx_try_compile "$LINENO"; then :
31033   glibcxx_cv_func__long_double_round_use=yes
31034 else
31035   glibcxx_cv_func__long_double_round_use=no
31036 fi
31037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31038       ac_ext=c
31039 ac_cpp='$CPP $CPPFLAGS'
31040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31043
31044 fi
31045
31046     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31047 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31048     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31049       for ac_func in _ceill _floorl
31050 do :
31051   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31052 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31053 eval as_val=\$$as_ac_var
31054    if test "x$as_val" = x""yes; then :
31055   cat >>confdefs.h <<_ACEOF
31056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31057 _ACEOF
31058
31059 fi
31060 done
31061
31062     fi
31063   fi
31064
31065
31066
31067
31068
31069
31070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31071 $as_echo_n "checking for isnanl declaration... " >&6; }
31072   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31073     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31074   $as_echo_n "(cached) " >&6
31075 else
31076
31077
31078       ac_ext=cpp
31079 ac_cpp='$CXXCPP $CPPFLAGS'
31080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31083
31084       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31085 /* end confdefs.h.  */
31086 #include <math.h>
31087                       #ifdef HAVE_IEEEFP_H
31088                       #include <ieeefp.h>
31089                       #endif
31090
31091 int
31092 main ()
31093 {
31094  isnanl(0);
31095   ;
31096   return 0;
31097 }
31098 _ACEOF
31099 if ac_fn_cxx_try_compile "$LINENO"; then :
31100   glibcxx_cv_func_isnanl_use=yes
31101 else
31102   glibcxx_cv_func_isnanl_use=no
31103 fi
31104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31105       ac_ext=c
31106 ac_cpp='$CPP $CPPFLAGS'
31107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31110
31111
31112 fi
31113
31114   fi
31115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31116 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31117
31118   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31119     for ac_func in isnanl
31120 do :
31121   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31122 if test "x$ac_cv_func_isnanl" = x""yes; then :
31123   cat >>confdefs.h <<_ACEOF
31124 #define HAVE_ISNANL 1
31125 _ACEOF
31126
31127 fi
31128 done
31129
31130   else
31131
31132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31133 $as_echo_n "checking for _isnanl declaration... " >&6; }
31134   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31135     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31136   $as_echo_n "(cached) " >&6
31137 else
31138
31139
31140       ac_ext=cpp
31141 ac_cpp='$CXXCPP $CPPFLAGS'
31142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31145
31146       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31147 /* end confdefs.h.  */
31148 #include <math.h>
31149                       #ifdef HAVE_IEEEFP_H
31150                       #include <ieeefp.h>
31151                       #endif
31152
31153 int
31154 main ()
31155 {
31156  _isnanl(0);
31157   ;
31158   return 0;
31159 }
31160 _ACEOF
31161 if ac_fn_cxx_try_compile "$LINENO"; then :
31162   glibcxx_cv_func__isnanl_use=yes
31163 else
31164   glibcxx_cv_func__isnanl_use=no
31165 fi
31166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31167       ac_ext=c
31168 ac_cpp='$CPP $CPPFLAGS'
31169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31172
31173
31174 fi
31175
31176   fi
31177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31178 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31179
31180     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31181       for ac_func in _isnanl
31182 do :
31183   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31184 if test "x$ac_cv_func__isnanl" = x""yes; then :
31185   cat >>confdefs.h <<_ACEOF
31186 #define HAVE__ISNANL 1
31187 _ACEOF
31188
31189 fi
31190 done
31191
31192     fi
31193   fi
31194
31195
31196
31197
31198
31199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31200 $as_echo_n "checking for isinfl declaration... " >&6; }
31201   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31202     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31203   $as_echo_n "(cached) " >&6
31204 else
31205
31206
31207       ac_ext=cpp
31208 ac_cpp='$CXXCPP $CPPFLAGS'
31209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31212
31213       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31214 /* end confdefs.h.  */
31215 #include <math.h>
31216                       #ifdef HAVE_IEEEFP_H
31217                       #include <ieeefp.h>
31218                       #endif
31219
31220 int
31221 main ()
31222 {
31223  isinfl(0);
31224   ;
31225   return 0;
31226 }
31227 _ACEOF
31228 if ac_fn_cxx_try_compile "$LINENO"; then :
31229   glibcxx_cv_func_isinfl_use=yes
31230 else
31231   glibcxx_cv_func_isinfl_use=no
31232 fi
31233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31234       ac_ext=c
31235 ac_cpp='$CPP $CPPFLAGS'
31236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31239
31240
31241 fi
31242
31243   fi
31244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31245 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31246
31247   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31248     for ac_func in isinfl
31249 do :
31250   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31251 if test "x$ac_cv_func_isinfl" = x""yes; then :
31252   cat >>confdefs.h <<_ACEOF
31253 #define HAVE_ISINFL 1
31254 _ACEOF
31255
31256 fi
31257 done
31258
31259   else
31260
31261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31262 $as_echo_n "checking for _isinfl declaration... " >&6; }
31263   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31264     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31265   $as_echo_n "(cached) " >&6
31266 else
31267
31268
31269       ac_ext=cpp
31270 ac_cpp='$CXXCPP $CPPFLAGS'
31271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31274
31275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31276 /* end confdefs.h.  */
31277 #include <math.h>
31278                       #ifdef HAVE_IEEEFP_H
31279                       #include <ieeefp.h>
31280                       #endif
31281
31282 int
31283 main ()
31284 {
31285  _isinfl(0);
31286   ;
31287   return 0;
31288 }
31289 _ACEOF
31290 if ac_fn_cxx_try_compile "$LINENO"; then :
31291   glibcxx_cv_func__isinfl_use=yes
31292 else
31293   glibcxx_cv_func__isinfl_use=no
31294 fi
31295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31296       ac_ext=c
31297 ac_cpp='$CPP $CPPFLAGS'
31298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31301
31302
31303 fi
31304
31305   fi
31306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31307 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31308
31309     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31310       for ac_func in _isinfl
31311 do :
31312   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31313 if test "x$ac_cv_func__isinfl" = x""yes; then :
31314   cat >>confdefs.h <<_ACEOF
31315 #define HAVE__ISINFL 1
31316 _ACEOF
31317
31318 fi
31319 done
31320
31321     fi
31322   fi
31323
31324
31325
31326
31327
31328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31329 $as_echo_n "checking for atan2l declaration... " >&6; }
31330   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31331     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31332   $as_echo_n "(cached) " >&6
31333 else
31334
31335
31336       ac_ext=cpp
31337 ac_cpp='$CXXCPP $CPPFLAGS'
31338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31341
31342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31343 /* end confdefs.h.  */
31344 #include <math.h>
31345 int
31346 main ()
31347 {
31348  atan2l(0, 0);
31349   ;
31350   return 0;
31351 }
31352 _ACEOF
31353 if ac_fn_cxx_try_compile "$LINENO"; then :
31354   glibcxx_cv_func_atan2l_use=yes
31355 else
31356   glibcxx_cv_func_atan2l_use=no
31357 fi
31358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31359       ac_ext=c
31360 ac_cpp='$CPP $CPPFLAGS'
31361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31364
31365
31366 fi
31367
31368   fi
31369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31370 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31371
31372   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31373     for ac_func in atan2l
31374 do :
31375   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31376 if test "x$ac_cv_func_atan2l" = x""yes; then :
31377   cat >>confdefs.h <<_ACEOF
31378 #define HAVE_ATAN2L 1
31379 _ACEOF
31380
31381 fi
31382 done
31383
31384   else
31385
31386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31387 $as_echo_n "checking for _atan2l declaration... " >&6; }
31388   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31389     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31390   $as_echo_n "(cached) " >&6
31391 else
31392
31393
31394       ac_ext=cpp
31395 ac_cpp='$CXXCPP $CPPFLAGS'
31396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31399
31400       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31401 /* end confdefs.h.  */
31402 #include <math.h>
31403 int
31404 main ()
31405 {
31406  _atan2l(0, 0);
31407   ;
31408   return 0;
31409 }
31410 _ACEOF
31411 if ac_fn_cxx_try_compile "$LINENO"; then :
31412   glibcxx_cv_func__atan2l_use=yes
31413 else
31414   glibcxx_cv_func__atan2l_use=no
31415 fi
31416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31417       ac_ext=c
31418 ac_cpp='$CPP $CPPFLAGS'
31419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31422
31423
31424 fi
31425
31426   fi
31427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31428 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31429
31430     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31431       for ac_func in _atan2l
31432 do :
31433   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31434 if test "x$ac_cv_func__atan2l" = x""yes; then :
31435   cat >>confdefs.h <<_ACEOF
31436 #define HAVE__ATAN2L 1
31437 _ACEOF
31438
31439 fi
31440 done
31441
31442     fi
31443   fi
31444
31445
31446
31447
31448
31449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31450 $as_echo_n "checking for expl declaration... " >&6; }
31451   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31452     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31453   $as_echo_n "(cached) " >&6
31454 else
31455
31456
31457       ac_ext=cpp
31458 ac_cpp='$CXXCPP $CPPFLAGS'
31459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31462
31463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31464 /* end confdefs.h.  */
31465 #include <math.h>
31466                       #ifdef HAVE_IEEEFP_H
31467                       #include <ieeefp.h>
31468                       #endif
31469
31470 int
31471 main ()
31472 {
31473  expl(0);
31474   ;
31475   return 0;
31476 }
31477 _ACEOF
31478 if ac_fn_cxx_try_compile "$LINENO"; then :
31479   glibcxx_cv_func_expl_use=yes
31480 else
31481   glibcxx_cv_func_expl_use=no
31482 fi
31483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31484       ac_ext=c
31485 ac_cpp='$CPP $CPPFLAGS'
31486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31489
31490
31491 fi
31492
31493   fi
31494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31495 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31496
31497   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31498     for ac_func in expl
31499 do :
31500   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31501 if test "x$ac_cv_func_expl" = x""yes; then :
31502   cat >>confdefs.h <<_ACEOF
31503 #define HAVE_EXPL 1
31504 _ACEOF
31505
31506 fi
31507 done
31508
31509   else
31510
31511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31512 $as_echo_n "checking for _expl declaration... " >&6; }
31513   if test x${glibcxx_cv_func__expl_use+set} != xset; then
31514     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31515   $as_echo_n "(cached) " >&6
31516 else
31517
31518
31519       ac_ext=cpp
31520 ac_cpp='$CXXCPP $CPPFLAGS'
31521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31524
31525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31526 /* end confdefs.h.  */
31527 #include <math.h>
31528                       #ifdef HAVE_IEEEFP_H
31529                       #include <ieeefp.h>
31530                       #endif
31531
31532 int
31533 main ()
31534 {
31535  _expl(0);
31536   ;
31537   return 0;
31538 }
31539 _ACEOF
31540 if ac_fn_cxx_try_compile "$LINENO"; then :
31541   glibcxx_cv_func__expl_use=yes
31542 else
31543   glibcxx_cv_func__expl_use=no
31544 fi
31545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31546       ac_ext=c
31547 ac_cpp='$CPP $CPPFLAGS'
31548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31551
31552
31553 fi
31554
31555   fi
31556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31557 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31558
31559     if test x$glibcxx_cv_func__expl_use = x"yes"; then
31560       for ac_func in _expl
31561 do :
31562   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31563 if test "x$ac_cv_func__expl" = x""yes; then :
31564   cat >>confdefs.h <<_ACEOF
31565 #define HAVE__EXPL 1
31566 _ACEOF
31567
31568 fi
31569 done
31570
31571     fi
31572   fi
31573
31574
31575
31576
31577
31578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31579 $as_echo_n "checking for fabsl declaration... " >&6; }
31580   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31581     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31582   $as_echo_n "(cached) " >&6
31583 else
31584
31585
31586       ac_ext=cpp
31587 ac_cpp='$CXXCPP $CPPFLAGS'
31588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31591
31592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31593 /* end confdefs.h.  */
31594 #include <math.h>
31595                       #ifdef HAVE_IEEEFP_H
31596                       #include <ieeefp.h>
31597                       #endif
31598
31599 int
31600 main ()
31601 {
31602  fabsl(0);
31603   ;
31604   return 0;
31605 }
31606 _ACEOF
31607 if ac_fn_cxx_try_compile "$LINENO"; then :
31608   glibcxx_cv_func_fabsl_use=yes
31609 else
31610   glibcxx_cv_func_fabsl_use=no
31611 fi
31612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31613       ac_ext=c
31614 ac_cpp='$CPP $CPPFLAGS'
31615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31618
31619
31620 fi
31621
31622   fi
31623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31624 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31625
31626   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31627     for ac_func in fabsl
31628 do :
31629   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31630 if test "x$ac_cv_func_fabsl" = x""yes; then :
31631   cat >>confdefs.h <<_ACEOF
31632 #define HAVE_FABSL 1
31633 _ACEOF
31634
31635 fi
31636 done
31637
31638   else
31639
31640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31641 $as_echo_n "checking for _fabsl declaration... " >&6; }
31642   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31643     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31644   $as_echo_n "(cached) " >&6
31645 else
31646
31647
31648       ac_ext=cpp
31649 ac_cpp='$CXXCPP $CPPFLAGS'
31650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31653
31654       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31655 /* end confdefs.h.  */
31656 #include <math.h>
31657                       #ifdef HAVE_IEEEFP_H
31658                       #include <ieeefp.h>
31659                       #endif
31660
31661 int
31662 main ()
31663 {
31664  _fabsl(0);
31665   ;
31666   return 0;
31667 }
31668 _ACEOF
31669 if ac_fn_cxx_try_compile "$LINENO"; then :
31670   glibcxx_cv_func__fabsl_use=yes
31671 else
31672   glibcxx_cv_func__fabsl_use=no
31673 fi
31674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31675       ac_ext=c
31676 ac_cpp='$CPP $CPPFLAGS'
31677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31680
31681
31682 fi
31683
31684   fi
31685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31686 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31687
31688     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31689       for ac_func in _fabsl
31690 do :
31691   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31692 if test "x$ac_cv_func__fabsl" = x""yes; then :
31693   cat >>confdefs.h <<_ACEOF
31694 #define HAVE__FABSL 1
31695 _ACEOF
31696
31697 fi
31698 done
31699
31700     fi
31701   fi
31702
31703
31704
31705
31706
31707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31708 $as_echo_n "checking for fmodl declaration... " >&6; }
31709   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31710     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31711   $as_echo_n "(cached) " >&6
31712 else
31713
31714
31715       ac_ext=cpp
31716 ac_cpp='$CXXCPP $CPPFLAGS'
31717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31720
31721       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31722 /* end confdefs.h.  */
31723 #include <math.h>
31724 int
31725 main ()
31726 {
31727  fmodl(0, 0);
31728   ;
31729   return 0;
31730 }
31731 _ACEOF
31732 if ac_fn_cxx_try_compile "$LINENO"; then :
31733   glibcxx_cv_func_fmodl_use=yes
31734 else
31735   glibcxx_cv_func_fmodl_use=no
31736 fi
31737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31738       ac_ext=c
31739 ac_cpp='$CPP $CPPFLAGS'
31740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31743
31744
31745 fi
31746
31747   fi
31748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31749 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31750
31751   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31752     for ac_func in fmodl
31753 do :
31754   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31755 if test "x$ac_cv_func_fmodl" = x""yes; then :
31756   cat >>confdefs.h <<_ACEOF
31757 #define HAVE_FMODL 1
31758 _ACEOF
31759
31760 fi
31761 done
31762
31763   else
31764
31765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31766 $as_echo_n "checking for _fmodl declaration... " >&6; }
31767   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31768     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31769   $as_echo_n "(cached) " >&6
31770 else
31771
31772
31773       ac_ext=cpp
31774 ac_cpp='$CXXCPP $CPPFLAGS'
31775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31778
31779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31780 /* end confdefs.h.  */
31781 #include <math.h>
31782 int
31783 main ()
31784 {
31785  _fmodl(0, 0);
31786   ;
31787   return 0;
31788 }
31789 _ACEOF
31790 if ac_fn_cxx_try_compile "$LINENO"; then :
31791   glibcxx_cv_func__fmodl_use=yes
31792 else
31793   glibcxx_cv_func__fmodl_use=no
31794 fi
31795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31796       ac_ext=c
31797 ac_cpp='$CPP $CPPFLAGS'
31798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31801
31802
31803 fi
31804
31805   fi
31806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31807 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31808
31809     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31810       for ac_func in _fmodl
31811 do :
31812   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31813 if test "x$ac_cv_func__fmodl" = x""yes; then :
31814   cat >>confdefs.h <<_ACEOF
31815 #define HAVE__FMODL 1
31816 _ACEOF
31817
31818 fi
31819 done
31820
31821     fi
31822   fi
31823
31824
31825
31826
31827
31828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31829 $as_echo_n "checking for frexpl declaration... " >&6; }
31830   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31831     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31832   $as_echo_n "(cached) " >&6
31833 else
31834
31835
31836       ac_ext=cpp
31837 ac_cpp='$CXXCPP $CPPFLAGS'
31838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31841
31842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31843 /* end confdefs.h.  */
31844 #include <math.h>
31845 int
31846 main ()
31847 {
31848  frexpl(0, 0);
31849   ;
31850   return 0;
31851 }
31852 _ACEOF
31853 if ac_fn_cxx_try_compile "$LINENO"; then :
31854   glibcxx_cv_func_frexpl_use=yes
31855 else
31856   glibcxx_cv_func_frexpl_use=no
31857 fi
31858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31859       ac_ext=c
31860 ac_cpp='$CPP $CPPFLAGS'
31861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31864
31865
31866 fi
31867
31868   fi
31869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31870 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31871
31872   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31873     for ac_func in frexpl
31874 do :
31875   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31876 if test "x$ac_cv_func_frexpl" = x""yes; then :
31877   cat >>confdefs.h <<_ACEOF
31878 #define HAVE_FREXPL 1
31879 _ACEOF
31880
31881 fi
31882 done
31883
31884   else
31885
31886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31887 $as_echo_n "checking for _frexpl declaration... " >&6; }
31888   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31889     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31890   $as_echo_n "(cached) " >&6
31891 else
31892
31893
31894       ac_ext=cpp
31895 ac_cpp='$CXXCPP $CPPFLAGS'
31896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31899
31900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31901 /* end confdefs.h.  */
31902 #include <math.h>
31903 int
31904 main ()
31905 {
31906  _frexpl(0, 0);
31907   ;
31908   return 0;
31909 }
31910 _ACEOF
31911 if ac_fn_cxx_try_compile "$LINENO"; then :
31912   glibcxx_cv_func__frexpl_use=yes
31913 else
31914   glibcxx_cv_func__frexpl_use=no
31915 fi
31916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31917       ac_ext=c
31918 ac_cpp='$CPP $CPPFLAGS'
31919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31922
31923
31924 fi
31925
31926   fi
31927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31928 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31929
31930     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31931       for ac_func in _frexpl
31932 do :
31933   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31934 if test "x$ac_cv_func__frexpl" = x""yes; then :
31935   cat >>confdefs.h <<_ACEOF
31936 #define HAVE__FREXPL 1
31937 _ACEOF
31938
31939 fi
31940 done
31941
31942     fi
31943   fi
31944
31945
31946
31947
31948
31949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31950 $as_echo_n "checking for hypotl declaration... " >&6; }
31951   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31952     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31953   $as_echo_n "(cached) " >&6
31954 else
31955
31956
31957       ac_ext=cpp
31958 ac_cpp='$CXXCPP $CPPFLAGS'
31959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31962
31963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31964 /* end confdefs.h.  */
31965 #include <math.h>
31966 int
31967 main ()
31968 {
31969  hypotl(0, 0);
31970   ;
31971   return 0;
31972 }
31973 _ACEOF
31974 if ac_fn_cxx_try_compile "$LINENO"; then :
31975   glibcxx_cv_func_hypotl_use=yes
31976 else
31977   glibcxx_cv_func_hypotl_use=no
31978 fi
31979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31980       ac_ext=c
31981 ac_cpp='$CPP $CPPFLAGS'
31982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31985
31986
31987 fi
31988
31989   fi
31990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31991 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31992
31993   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31994     for ac_func in hypotl
31995 do :
31996   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31997 if test "x$ac_cv_func_hypotl" = x""yes; then :
31998   cat >>confdefs.h <<_ACEOF
31999 #define HAVE_HYPOTL 1
32000 _ACEOF
32001
32002 fi
32003 done
32004
32005   else
32006
32007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32008 $as_echo_n "checking for _hypotl declaration... " >&6; }
32009   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32010     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32011   $as_echo_n "(cached) " >&6
32012 else
32013
32014
32015       ac_ext=cpp
32016 ac_cpp='$CXXCPP $CPPFLAGS'
32017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32020
32021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32022 /* end confdefs.h.  */
32023 #include <math.h>
32024 int
32025 main ()
32026 {
32027  _hypotl(0, 0);
32028   ;
32029   return 0;
32030 }
32031 _ACEOF
32032 if ac_fn_cxx_try_compile "$LINENO"; then :
32033   glibcxx_cv_func__hypotl_use=yes
32034 else
32035   glibcxx_cv_func__hypotl_use=no
32036 fi
32037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32038       ac_ext=c
32039 ac_cpp='$CPP $CPPFLAGS'
32040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32043
32044
32045 fi
32046
32047   fi
32048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32049 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32050
32051     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32052       for ac_func in _hypotl
32053 do :
32054   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32055 if test "x$ac_cv_func__hypotl" = x""yes; then :
32056   cat >>confdefs.h <<_ACEOF
32057 #define HAVE__HYPOTL 1
32058 _ACEOF
32059
32060 fi
32061 done
32062
32063     fi
32064   fi
32065
32066
32067
32068
32069
32070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32071 $as_echo_n "checking for ldexpl declaration... " >&6; }
32072   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32073     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32074   $as_echo_n "(cached) " >&6
32075 else
32076
32077
32078       ac_ext=cpp
32079 ac_cpp='$CXXCPP $CPPFLAGS'
32080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32083
32084       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32085 /* end confdefs.h.  */
32086 #include <math.h>
32087 int
32088 main ()
32089 {
32090  ldexpl(0, 0);
32091   ;
32092   return 0;
32093 }
32094 _ACEOF
32095 if ac_fn_cxx_try_compile "$LINENO"; then :
32096   glibcxx_cv_func_ldexpl_use=yes
32097 else
32098   glibcxx_cv_func_ldexpl_use=no
32099 fi
32100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32101       ac_ext=c
32102 ac_cpp='$CPP $CPPFLAGS'
32103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32106
32107
32108 fi
32109
32110   fi
32111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32112 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32113
32114   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32115     for ac_func in ldexpl
32116 do :
32117   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32118 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32119   cat >>confdefs.h <<_ACEOF
32120 #define HAVE_LDEXPL 1
32121 _ACEOF
32122
32123 fi
32124 done
32125
32126   else
32127
32128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32129 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32130   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32131     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32132   $as_echo_n "(cached) " >&6
32133 else
32134
32135
32136       ac_ext=cpp
32137 ac_cpp='$CXXCPP $CPPFLAGS'
32138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32141
32142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32143 /* end confdefs.h.  */
32144 #include <math.h>
32145 int
32146 main ()
32147 {
32148  _ldexpl(0, 0);
32149   ;
32150   return 0;
32151 }
32152 _ACEOF
32153 if ac_fn_cxx_try_compile "$LINENO"; then :
32154   glibcxx_cv_func__ldexpl_use=yes
32155 else
32156   glibcxx_cv_func__ldexpl_use=no
32157 fi
32158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32159       ac_ext=c
32160 ac_cpp='$CPP $CPPFLAGS'
32161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32164
32165
32166 fi
32167
32168   fi
32169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32170 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32171
32172     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32173       for ac_func in _ldexpl
32174 do :
32175   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32176 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32177   cat >>confdefs.h <<_ACEOF
32178 #define HAVE__LDEXPL 1
32179 _ACEOF
32180
32181 fi
32182 done
32183
32184     fi
32185   fi
32186
32187
32188
32189
32190
32191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32192 $as_echo_n "checking for logl declaration... " >&6; }
32193   if test x${glibcxx_cv_func_logl_use+set} != xset; then
32194     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32195   $as_echo_n "(cached) " >&6
32196 else
32197
32198
32199       ac_ext=cpp
32200 ac_cpp='$CXXCPP $CPPFLAGS'
32201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32204
32205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32206 /* end confdefs.h.  */
32207 #include <math.h>
32208                       #ifdef HAVE_IEEEFP_H
32209                       #include <ieeefp.h>
32210                       #endif
32211
32212 int
32213 main ()
32214 {
32215  logl(0);
32216   ;
32217   return 0;
32218 }
32219 _ACEOF
32220 if ac_fn_cxx_try_compile "$LINENO"; then :
32221   glibcxx_cv_func_logl_use=yes
32222 else
32223   glibcxx_cv_func_logl_use=no
32224 fi
32225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32226       ac_ext=c
32227 ac_cpp='$CPP $CPPFLAGS'
32228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32231
32232
32233 fi
32234
32235   fi
32236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32237 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32238
32239   if test x$glibcxx_cv_func_logl_use = x"yes"; then
32240     for ac_func in logl
32241 do :
32242   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32243 if test "x$ac_cv_func_logl" = x""yes; then :
32244   cat >>confdefs.h <<_ACEOF
32245 #define HAVE_LOGL 1
32246 _ACEOF
32247
32248 fi
32249 done
32250
32251   else
32252
32253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32254 $as_echo_n "checking for _logl declaration... " >&6; }
32255   if test x${glibcxx_cv_func__logl_use+set} != xset; then
32256     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32257   $as_echo_n "(cached) " >&6
32258 else
32259
32260
32261       ac_ext=cpp
32262 ac_cpp='$CXXCPP $CPPFLAGS'
32263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32266
32267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32268 /* end confdefs.h.  */
32269 #include <math.h>
32270                       #ifdef HAVE_IEEEFP_H
32271                       #include <ieeefp.h>
32272                       #endif
32273
32274 int
32275 main ()
32276 {
32277  _logl(0);
32278   ;
32279   return 0;
32280 }
32281 _ACEOF
32282 if ac_fn_cxx_try_compile "$LINENO"; then :
32283   glibcxx_cv_func__logl_use=yes
32284 else
32285   glibcxx_cv_func__logl_use=no
32286 fi
32287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32288       ac_ext=c
32289 ac_cpp='$CPP $CPPFLAGS'
32290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32293
32294
32295 fi
32296
32297   fi
32298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32299 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32300
32301     if test x$glibcxx_cv_func__logl_use = x"yes"; then
32302       for ac_func in _logl
32303 do :
32304   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32305 if test "x$ac_cv_func__logl" = x""yes; then :
32306   cat >>confdefs.h <<_ACEOF
32307 #define HAVE__LOGL 1
32308 _ACEOF
32309
32310 fi
32311 done
32312
32313     fi
32314   fi
32315
32316
32317
32318
32319
32320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32321 $as_echo_n "checking for log10l declaration... " >&6; }
32322   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32323     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32324   $as_echo_n "(cached) " >&6
32325 else
32326
32327
32328       ac_ext=cpp
32329 ac_cpp='$CXXCPP $CPPFLAGS'
32330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32333
32334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32335 /* end confdefs.h.  */
32336 #include <math.h>
32337                       #ifdef HAVE_IEEEFP_H
32338                       #include <ieeefp.h>
32339                       #endif
32340
32341 int
32342 main ()
32343 {
32344  log10l(0);
32345   ;
32346   return 0;
32347 }
32348 _ACEOF
32349 if ac_fn_cxx_try_compile "$LINENO"; then :
32350   glibcxx_cv_func_log10l_use=yes
32351 else
32352   glibcxx_cv_func_log10l_use=no
32353 fi
32354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32355       ac_ext=c
32356 ac_cpp='$CPP $CPPFLAGS'
32357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32360
32361
32362 fi
32363
32364   fi
32365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32366 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32367
32368   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32369     for ac_func in log10l
32370 do :
32371   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32372 if test "x$ac_cv_func_log10l" = x""yes; then :
32373   cat >>confdefs.h <<_ACEOF
32374 #define HAVE_LOG10L 1
32375 _ACEOF
32376
32377 fi
32378 done
32379
32380   else
32381
32382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32383 $as_echo_n "checking for _log10l declaration... " >&6; }
32384   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32385     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32386   $as_echo_n "(cached) " >&6
32387 else
32388
32389
32390       ac_ext=cpp
32391 ac_cpp='$CXXCPP $CPPFLAGS'
32392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32395
32396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32397 /* end confdefs.h.  */
32398 #include <math.h>
32399                       #ifdef HAVE_IEEEFP_H
32400                       #include <ieeefp.h>
32401                       #endif
32402
32403 int
32404 main ()
32405 {
32406  _log10l(0);
32407   ;
32408   return 0;
32409 }
32410 _ACEOF
32411 if ac_fn_cxx_try_compile "$LINENO"; then :
32412   glibcxx_cv_func__log10l_use=yes
32413 else
32414   glibcxx_cv_func__log10l_use=no
32415 fi
32416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32417       ac_ext=c
32418 ac_cpp='$CPP $CPPFLAGS'
32419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32422
32423
32424 fi
32425
32426   fi
32427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32428 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32429
32430     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32431       for ac_func in _log10l
32432 do :
32433   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32434 if test "x$ac_cv_func__log10l" = x""yes; then :
32435   cat >>confdefs.h <<_ACEOF
32436 #define HAVE__LOG10L 1
32437 _ACEOF
32438
32439 fi
32440 done
32441
32442     fi
32443   fi
32444
32445
32446
32447
32448
32449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32450 $as_echo_n "checking for modfl declaration... " >&6; }
32451   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32452     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32453   $as_echo_n "(cached) " >&6
32454 else
32455
32456
32457       ac_ext=cpp
32458 ac_cpp='$CXXCPP $CPPFLAGS'
32459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32462
32463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32464 /* end confdefs.h.  */
32465 #include <math.h>
32466 int
32467 main ()
32468 {
32469  modfl(0, 0);
32470   ;
32471   return 0;
32472 }
32473 _ACEOF
32474 if ac_fn_cxx_try_compile "$LINENO"; then :
32475   glibcxx_cv_func_modfl_use=yes
32476 else
32477   glibcxx_cv_func_modfl_use=no
32478 fi
32479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32480       ac_ext=c
32481 ac_cpp='$CPP $CPPFLAGS'
32482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32485
32486
32487 fi
32488
32489   fi
32490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32491 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32492
32493   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32494     for ac_func in modfl
32495 do :
32496   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32497 if test "x$ac_cv_func_modfl" = x""yes; then :
32498   cat >>confdefs.h <<_ACEOF
32499 #define HAVE_MODFL 1
32500 _ACEOF
32501
32502 fi
32503 done
32504
32505   else
32506
32507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32508 $as_echo_n "checking for _modfl declaration... " >&6; }
32509   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32510     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32511   $as_echo_n "(cached) " >&6
32512 else
32513
32514
32515       ac_ext=cpp
32516 ac_cpp='$CXXCPP $CPPFLAGS'
32517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32520
32521       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32522 /* end confdefs.h.  */
32523 #include <math.h>
32524 int
32525 main ()
32526 {
32527  _modfl(0, 0);
32528   ;
32529   return 0;
32530 }
32531 _ACEOF
32532 if ac_fn_cxx_try_compile "$LINENO"; then :
32533   glibcxx_cv_func__modfl_use=yes
32534 else
32535   glibcxx_cv_func__modfl_use=no
32536 fi
32537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32538       ac_ext=c
32539 ac_cpp='$CPP $CPPFLAGS'
32540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32543
32544
32545 fi
32546
32547   fi
32548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32549 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32550
32551     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32552       for ac_func in _modfl
32553 do :
32554   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32555 if test "x$ac_cv_func__modfl" = x""yes; then :
32556   cat >>confdefs.h <<_ACEOF
32557 #define HAVE__MODFL 1
32558 _ACEOF
32559
32560 fi
32561 done
32562
32563     fi
32564   fi
32565
32566
32567
32568
32569
32570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32571 $as_echo_n "checking for powl declaration... " >&6; }
32572   if test x${glibcxx_cv_func_powl_use+set} != xset; then
32573     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32574   $as_echo_n "(cached) " >&6
32575 else
32576
32577
32578       ac_ext=cpp
32579 ac_cpp='$CXXCPP $CPPFLAGS'
32580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32583
32584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32585 /* end confdefs.h.  */
32586 #include <math.h>
32587 int
32588 main ()
32589 {
32590  powl(0, 0);
32591   ;
32592   return 0;
32593 }
32594 _ACEOF
32595 if ac_fn_cxx_try_compile "$LINENO"; then :
32596   glibcxx_cv_func_powl_use=yes
32597 else
32598   glibcxx_cv_func_powl_use=no
32599 fi
32600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32601       ac_ext=c
32602 ac_cpp='$CPP $CPPFLAGS'
32603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32606
32607
32608 fi
32609
32610   fi
32611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32612 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32613
32614   if test x$glibcxx_cv_func_powl_use = x"yes"; then
32615     for ac_func in powl
32616 do :
32617   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32618 if test "x$ac_cv_func_powl" = x""yes; then :
32619   cat >>confdefs.h <<_ACEOF
32620 #define HAVE_POWL 1
32621 _ACEOF
32622
32623 fi
32624 done
32625
32626   else
32627
32628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32629 $as_echo_n "checking for _powl declaration... " >&6; }
32630   if test x${glibcxx_cv_func__powl_use+set} != xset; then
32631     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32632   $as_echo_n "(cached) " >&6
32633 else
32634
32635
32636       ac_ext=cpp
32637 ac_cpp='$CXXCPP $CPPFLAGS'
32638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32641
32642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32643 /* end confdefs.h.  */
32644 #include <math.h>
32645 int
32646 main ()
32647 {
32648  _powl(0, 0);
32649   ;
32650   return 0;
32651 }
32652 _ACEOF
32653 if ac_fn_cxx_try_compile "$LINENO"; then :
32654   glibcxx_cv_func__powl_use=yes
32655 else
32656   glibcxx_cv_func__powl_use=no
32657 fi
32658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32659       ac_ext=c
32660 ac_cpp='$CPP $CPPFLAGS'
32661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32664
32665
32666 fi
32667
32668   fi
32669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32670 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32671
32672     if test x$glibcxx_cv_func__powl_use = x"yes"; then
32673       for ac_func in _powl
32674 do :
32675   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32676 if test "x$ac_cv_func__powl" = x""yes; then :
32677   cat >>confdefs.h <<_ACEOF
32678 #define HAVE__POWL 1
32679 _ACEOF
32680
32681 fi
32682 done
32683
32684     fi
32685   fi
32686
32687
32688
32689
32690
32691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32692 $as_echo_n "checking for sqrtl declaration... " >&6; }
32693   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32694     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32695   $as_echo_n "(cached) " >&6
32696 else
32697
32698
32699       ac_ext=cpp
32700 ac_cpp='$CXXCPP $CPPFLAGS'
32701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32704
32705       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32706 /* end confdefs.h.  */
32707 #include <math.h>
32708                       #ifdef HAVE_IEEEFP_H
32709                       #include <ieeefp.h>
32710                       #endif
32711
32712 int
32713 main ()
32714 {
32715  sqrtl(0);
32716   ;
32717   return 0;
32718 }
32719 _ACEOF
32720 if ac_fn_cxx_try_compile "$LINENO"; then :
32721   glibcxx_cv_func_sqrtl_use=yes
32722 else
32723   glibcxx_cv_func_sqrtl_use=no
32724 fi
32725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32726       ac_ext=c
32727 ac_cpp='$CPP $CPPFLAGS'
32728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32731
32732
32733 fi
32734
32735   fi
32736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32737 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32738
32739   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32740     for ac_func in sqrtl
32741 do :
32742   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32743 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32744   cat >>confdefs.h <<_ACEOF
32745 #define HAVE_SQRTL 1
32746 _ACEOF
32747
32748 fi
32749 done
32750
32751   else
32752
32753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32754 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32755   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32756     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32757   $as_echo_n "(cached) " >&6
32758 else
32759
32760
32761       ac_ext=cpp
32762 ac_cpp='$CXXCPP $CPPFLAGS'
32763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32766
32767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32768 /* end confdefs.h.  */
32769 #include <math.h>
32770                       #ifdef HAVE_IEEEFP_H
32771                       #include <ieeefp.h>
32772                       #endif
32773
32774 int
32775 main ()
32776 {
32777  _sqrtl(0);
32778   ;
32779   return 0;
32780 }
32781 _ACEOF
32782 if ac_fn_cxx_try_compile "$LINENO"; then :
32783   glibcxx_cv_func__sqrtl_use=yes
32784 else
32785   glibcxx_cv_func__sqrtl_use=no
32786 fi
32787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32788       ac_ext=c
32789 ac_cpp='$CPP $CPPFLAGS'
32790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32793
32794
32795 fi
32796
32797   fi
32798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32799 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32800
32801     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32802       for ac_func in _sqrtl
32803 do :
32804   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32805 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32806   cat >>confdefs.h <<_ACEOF
32807 #define HAVE__SQRTL 1
32808 _ACEOF
32809
32810 fi
32811 done
32812
32813     fi
32814   fi
32815
32816
32817
32818
32819
32820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32821 $as_echo_n "checking for sincosl declaration... " >&6; }
32822   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32823     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32824   $as_echo_n "(cached) " >&6
32825 else
32826
32827
32828       ac_ext=cpp
32829 ac_cpp='$CXXCPP $CPPFLAGS'
32830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32833
32834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32835 /* end confdefs.h.  */
32836 #include <math.h>
32837 int
32838 main ()
32839 {
32840  sincosl(0, 0, 0);
32841   ;
32842   return 0;
32843 }
32844 _ACEOF
32845 if ac_fn_cxx_try_compile "$LINENO"; then :
32846   glibcxx_cv_func_sincosl_use=yes
32847 else
32848   glibcxx_cv_func_sincosl_use=no
32849 fi
32850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32851       ac_ext=c
32852 ac_cpp='$CPP $CPPFLAGS'
32853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32856
32857
32858 fi
32859
32860   fi
32861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32862 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32863
32864   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32865     for ac_func in sincosl
32866 do :
32867   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32868 if test "x$ac_cv_func_sincosl" = x""yes; then :
32869   cat >>confdefs.h <<_ACEOF
32870 #define HAVE_SINCOSL 1
32871 _ACEOF
32872
32873 fi
32874 done
32875
32876   else
32877
32878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32879 $as_echo_n "checking for _sincosl declaration... " >&6; }
32880   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32881     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32882   $as_echo_n "(cached) " >&6
32883 else
32884
32885
32886       ac_ext=cpp
32887 ac_cpp='$CXXCPP $CPPFLAGS'
32888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32891
32892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32893 /* end confdefs.h.  */
32894 #include <math.h>
32895 int
32896 main ()
32897 {
32898  _sincosl(0, 0, 0);
32899   ;
32900   return 0;
32901 }
32902 _ACEOF
32903 if ac_fn_cxx_try_compile "$LINENO"; then :
32904   glibcxx_cv_func__sincosl_use=yes
32905 else
32906   glibcxx_cv_func__sincosl_use=no
32907 fi
32908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32909       ac_ext=c
32910 ac_cpp='$CPP $CPPFLAGS'
32911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32914
32915
32916 fi
32917
32918   fi
32919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32920 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32921
32922     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32923       for ac_func in _sincosl
32924 do :
32925   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32926 if test "x$ac_cv_func__sincosl" = x""yes; then :
32927   cat >>confdefs.h <<_ACEOF
32928 #define HAVE__SINCOSL 1
32929 _ACEOF
32930
32931 fi
32932 done
32933
32934     fi
32935   fi
32936
32937
32938
32939
32940
32941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32942 $as_echo_n "checking for finitel declaration... " >&6; }
32943   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32944     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32945   $as_echo_n "(cached) " >&6
32946 else
32947
32948
32949       ac_ext=cpp
32950 ac_cpp='$CXXCPP $CPPFLAGS'
32951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32954
32955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32956 /* end confdefs.h.  */
32957 #include <math.h>
32958                       #ifdef HAVE_IEEEFP_H
32959                       #include <ieeefp.h>
32960                       #endif
32961
32962 int
32963 main ()
32964 {
32965  finitel(0);
32966   ;
32967   return 0;
32968 }
32969 _ACEOF
32970 if ac_fn_cxx_try_compile "$LINENO"; then :
32971   glibcxx_cv_func_finitel_use=yes
32972 else
32973   glibcxx_cv_func_finitel_use=no
32974 fi
32975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32976       ac_ext=c
32977 ac_cpp='$CPP $CPPFLAGS'
32978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32981
32982
32983 fi
32984
32985   fi
32986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32987 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32988
32989   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32990     for ac_func in finitel
32991 do :
32992   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32993 if test "x$ac_cv_func_finitel" = x""yes; then :
32994   cat >>confdefs.h <<_ACEOF
32995 #define HAVE_FINITEL 1
32996 _ACEOF
32997
32998 fi
32999 done
33000
33001   else
33002
33003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33004 $as_echo_n "checking for _finitel declaration... " >&6; }
33005   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33006     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33007   $as_echo_n "(cached) " >&6
33008 else
33009
33010
33011       ac_ext=cpp
33012 ac_cpp='$CXXCPP $CPPFLAGS'
33013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33016
33017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33018 /* end confdefs.h.  */
33019 #include <math.h>
33020                       #ifdef HAVE_IEEEFP_H
33021                       #include <ieeefp.h>
33022                       #endif
33023
33024 int
33025 main ()
33026 {
33027  _finitel(0);
33028   ;
33029   return 0;
33030 }
33031 _ACEOF
33032 if ac_fn_cxx_try_compile "$LINENO"; then :
33033   glibcxx_cv_func__finitel_use=yes
33034 else
33035   glibcxx_cv_func__finitel_use=no
33036 fi
33037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33038       ac_ext=c
33039 ac_cpp='$CPP $CPPFLAGS'
33040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33043
33044
33045 fi
33046
33047   fi
33048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33049 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33050
33051     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33052       for ac_func in _finitel
33053 do :
33054   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33055 if test "x$ac_cv_func__finitel" = x""yes; then :
33056   cat >>confdefs.h <<_ACEOF
33057 #define HAVE__FINITEL 1
33058 _ACEOF
33059
33060 fi
33061 done
33062
33063     fi
33064   fi
33065
33066
33067
33068
33069   LIBS="$ac_save_LIBS"
33070   CXXFLAGS="$ac_save_CXXFLAGS"
33071
33072
33073   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33074   ac_save_CXXFLAGS="$CXXFLAGS"
33075   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33076
33077
33078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33079 $as_echo_n "checking for strtold declaration... " >&6; }
33080   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33081     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33082   $as_echo_n "(cached) " >&6
33083 else
33084
33085
33086       ac_ext=cpp
33087 ac_cpp='$CXXCPP $CPPFLAGS'
33088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33091
33092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33093 /* end confdefs.h.  */
33094 #include <stdlib.h>
33095 int
33096 main ()
33097 {
33098  strtold(0, 0);
33099   ;
33100   return 0;
33101 }
33102 _ACEOF
33103 if ac_fn_cxx_try_compile "$LINENO"; then :
33104   glibcxx_cv_func_strtold_use=yes
33105 else
33106   glibcxx_cv_func_strtold_use=no
33107 fi
33108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33109       ac_ext=c
33110 ac_cpp='$CPP $CPPFLAGS'
33111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33114
33115
33116 fi
33117
33118   fi
33119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33120 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33121   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33122     for ac_func in strtold
33123 do :
33124   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33125 if test "x$ac_cv_func_strtold" = x""yes; then :
33126   cat >>confdefs.h <<_ACEOF
33127 #define HAVE_STRTOLD 1
33128 _ACEOF
33129
33130 fi
33131 done
33132
33133   fi
33134
33135
33136
33137
33138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33139 $as_echo_n "checking for strtof declaration... " >&6; }
33140   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33141     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33142   $as_echo_n "(cached) " >&6
33143 else
33144
33145
33146       ac_ext=cpp
33147 ac_cpp='$CXXCPP $CPPFLAGS'
33148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33151
33152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33153 /* end confdefs.h.  */
33154 #include <stdlib.h>
33155 int
33156 main ()
33157 {
33158  strtof(0, 0);
33159   ;
33160   return 0;
33161 }
33162 _ACEOF
33163 if ac_fn_cxx_try_compile "$LINENO"; then :
33164   glibcxx_cv_func_strtof_use=yes
33165 else
33166   glibcxx_cv_func_strtof_use=no
33167 fi
33168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33169       ac_ext=c
33170 ac_cpp='$CPP $CPPFLAGS'
33171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33174
33175
33176 fi
33177
33178   fi
33179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33180 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33181   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33182     for ac_func in strtof
33183 do :
33184   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33185 if test "x$ac_cv_func_strtof" = x""yes; then :
33186   cat >>confdefs.h <<_ACEOF
33187 #define HAVE_STRTOF 1
33188 _ACEOF
33189
33190 fi
33191 done
33192
33193   fi
33194
33195
33196
33197
33198   CXXFLAGS="$ac_save_CXXFLAGS"
33199
33200
33201     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33202
33203     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33204
33205     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33206
33207     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33208
33209
33210     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33211
33212     $as_echo "#define HAVE_MODF 1" >>confdefs.h
33213
33214     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33215
33216     ;;
33217
33218   *-aix*)
33219
33220   # If we're not using GNU ld, then there's no point in even trying these
33221   # tests.  Check for that first.  We should have already tested for gld
33222   # by now (in libtool), but require it now just to be safe...
33223   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33224   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33225
33226
33227
33228   # The name set by libtool depends on the version of libtool.  Shame on us
33229   # for depending on an impl detail, but c'est la vie.  Older versions used
33230   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33231   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33232   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
33233   # set (hence we're using an older libtool), then set it.
33234   if test x${with_gnu_ld+set} != xset; then
33235     if test x${ac_cv_prog_gnu_ld+set} != xset; then
33236       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
33237       with_gnu_ld=no
33238     else
33239       with_gnu_ld=$ac_cv_prog_gnu_ld
33240     fi
33241   fi
33242
33243   # Start by getting the version number.  I think the libtool test already
33244   # does some of this, but throws away the result.
33245   glibcxx_ld_is_gold=no
33246   if test x"$with_gnu_ld" = x"yes"; then
33247     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33248 $as_echo_n "checking for ld version... " >&6; }
33249
33250     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33251       glibcxx_ld_is_gold=yes
33252     fi
33253     ldver=`$LD --version 2>/dev/null |
33254            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'`
33255
33256     glibcxx_gnu_ld_version=`echo $ldver | \
33257            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33258     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33259 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33260   fi
33261
33262   # Set --gc-sections.
33263   glibcxx_have_gc_sections=no
33264   if test "$glibcxx_ld_is_gold" = "yes"; then
33265     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33266       glibcxx_have_gc_sections=yes
33267     fi
33268   else
33269     glibcxx_gcsections_min_ld=21602
33270     if test x"$with_gnu_ld" = x"yes" &&
33271         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33272       glibcxx_have_gc_sections=yes
33273     fi
33274   fi
33275   if test "$glibcxx_have_gc_sections" = "yes"; then
33276     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
33277     # NB: This flag only works reliably after 2.16.1. Configure tests
33278     # for this are difficult, so hard wire a value that should work.
33279
33280     ac_test_CFLAGS="${CFLAGS+set}"
33281     ac_save_CFLAGS="$CFLAGS"
33282     CFLAGS='-Wl,--gc-sections'
33283
33284     # Check for -Wl,--gc-sections
33285     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33286 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33287     if test x$gcc_no_link = xyes; then
33288   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33289 fi
33290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33291 /* end confdefs.h.  */
33292  int one(void) { return 1; }
33293      int two(void) { return 2; }
33294
33295 int
33296 main ()
33297 {
33298  two();
33299   ;
33300   return 0;
33301 }
33302 _ACEOF
33303 if ac_fn_c_try_link "$LINENO"; then :
33304   ac_gcsections=yes
33305 else
33306   ac_gcsections=no
33307 fi
33308 rm -f core conftest.err conftest.$ac_objext \
33309     conftest$ac_exeext conftest.$ac_ext
33310     if test "$ac_gcsections" = "yes"; then
33311       rm -f conftest.c
33312       touch conftest.c
33313       if $CC -c conftest.c; then
33314         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33315            grep "Warning: gc-sections option ignored" > /dev/null; then
33316           ac_gcsections=no
33317         fi
33318       fi
33319       rm -f conftest.c conftest.o conftest
33320     fi
33321     if test "$ac_gcsections" = "yes"; then
33322       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33323     fi
33324     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33325 $as_echo "$ac_gcsections" >&6; }
33326
33327     if test "$ac_test_CFLAGS" = set; then
33328       CFLAGS="$ac_save_CFLAGS"
33329     else
33330       # this is the suspicious part
33331       CFLAGS=''
33332     fi
33333   fi
33334
33335   # Set -z,relro.
33336   # Note this is only for shared objects.
33337   ac_ld_relro=no
33338   if test x"$with_gnu_ld" = x"yes"; then
33339     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33340 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33341     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33342     if test -n "$cxx_z_relo"; then
33343       OPT_LDFLAGS="-Wl,-z,relro"
33344       ac_ld_relro=yes
33345     fi
33346     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33347 $as_echo "$ac_ld_relro" >&6; }
33348   fi
33349
33350   # Set linker optimization flags.
33351   if test x"$with_gnu_ld" = x"yes"; then
33352     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33353   fi
33354
33355
33356
33357
33358
33359   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33360   ac_save_CXXFLAGS="$CXXFLAGS"
33361   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33362
33363     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33364 $as_echo_n "checking for sin in -lm... " >&6; }
33365 if test "${ac_cv_lib_m_sin+set}" = set; then :
33366   $as_echo_n "(cached) " >&6
33367 else
33368   ac_check_lib_save_LIBS=$LIBS
33369 LIBS="-lm  $LIBS"
33370 if test x$gcc_no_link = xyes; then
33371   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33372 fi
33373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33374 /* end confdefs.h.  */
33375
33376 /* Override any GCC internal prototype to avoid an error.
33377    Use char because int might match the return type of a GCC
33378    builtin and then its argument prototype would still apply.  */
33379 #ifdef __cplusplus
33380 extern "C"
33381 #endif
33382 char sin ();
33383 int
33384 main ()
33385 {
33386 return sin ();
33387   ;
33388   return 0;
33389 }
33390 _ACEOF
33391 if ac_fn_c_try_link "$LINENO"; then :
33392   ac_cv_lib_m_sin=yes
33393 else
33394   ac_cv_lib_m_sin=no
33395 fi
33396 rm -f core conftest.err conftest.$ac_objext \
33397     conftest$ac_exeext conftest.$ac_ext
33398 LIBS=$ac_check_lib_save_LIBS
33399 fi
33400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33401 $as_echo "$ac_cv_lib_m_sin" >&6; }
33402 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33403   libm="-lm"
33404 fi
33405
33406   ac_save_LIBS="$LIBS"
33407   LIBS="$LIBS $libm"
33408
33409
33410
33411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33412 $as_echo_n "checking for isinf declaration... " >&6; }
33413   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33414     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33415   $as_echo_n "(cached) " >&6
33416 else
33417
33418
33419       ac_ext=cpp
33420 ac_cpp='$CXXCPP $CPPFLAGS'
33421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33424
33425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33426 /* end confdefs.h.  */
33427 #include <math.h>
33428                       #ifdef HAVE_IEEEFP_H
33429                       #include <ieeefp.h>
33430                       #endif
33431
33432 int
33433 main ()
33434 {
33435  isinf(0);
33436   ;
33437   return 0;
33438 }
33439 _ACEOF
33440 if ac_fn_cxx_try_compile "$LINENO"; then :
33441   glibcxx_cv_func_isinf_use=yes
33442 else
33443   glibcxx_cv_func_isinf_use=no
33444 fi
33445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33446       ac_ext=c
33447 ac_cpp='$CPP $CPPFLAGS'
33448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33451
33452
33453 fi
33454
33455   fi
33456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33457 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33458
33459   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33460     for ac_func in isinf
33461 do :
33462   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33463 if test "x$ac_cv_func_isinf" = x""yes; then :
33464   cat >>confdefs.h <<_ACEOF
33465 #define HAVE_ISINF 1
33466 _ACEOF
33467
33468 fi
33469 done
33470
33471   else
33472
33473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33474 $as_echo_n "checking for _isinf declaration... " >&6; }
33475   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33476     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33477   $as_echo_n "(cached) " >&6
33478 else
33479
33480
33481       ac_ext=cpp
33482 ac_cpp='$CXXCPP $CPPFLAGS'
33483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33486
33487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33488 /* end confdefs.h.  */
33489 #include <math.h>
33490                       #ifdef HAVE_IEEEFP_H
33491                       #include <ieeefp.h>
33492                       #endif
33493
33494 int
33495 main ()
33496 {
33497  _isinf(0);
33498   ;
33499   return 0;
33500 }
33501 _ACEOF
33502 if ac_fn_cxx_try_compile "$LINENO"; then :
33503   glibcxx_cv_func__isinf_use=yes
33504 else
33505   glibcxx_cv_func__isinf_use=no
33506 fi
33507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33508       ac_ext=c
33509 ac_cpp='$CPP $CPPFLAGS'
33510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33513
33514
33515 fi
33516
33517   fi
33518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33519 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33520
33521     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33522       for ac_func in _isinf
33523 do :
33524   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33525 if test "x$ac_cv_func__isinf" = x""yes; then :
33526   cat >>confdefs.h <<_ACEOF
33527 #define HAVE__ISINF 1
33528 _ACEOF
33529
33530 fi
33531 done
33532
33533     fi
33534   fi
33535
33536
33537
33538
33539
33540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33541 $as_echo_n "checking for isnan declaration... " >&6; }
33542   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33543     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33544   $as_echo_n "(cached) " >&6
33545 else
33546
33547
33548       ac_ext=cpp
33549 ac_cpp='$CXXCPP $CPPFLAGS'
33550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33553
33554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33555 /* end confdefs.h.  */
33556 #include <math.h>
33557                       #ifdef HAVE_IEEEFP_H
33558                       #include <ieeefp.h>
33559                       #endif
33560
33561 int
33562 main ()
33563 {
33564  isnan(0);
33565   ;
33566   return 0;
33567 }
33568 _ACEOF
33569 if ac_fn_cxx_try_compile "$LINENO"; then :
33570   glibcxx_cv_func_isnan_use=yes
33571 else
33572   glibcxx_cv_func_isnan_use=no
33573 fi
33574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33575       ac_ext=c
33576 ac_cpp='$CPP $CPPFLAGS'
33577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33580
33581
33582 fi
33583
33584   fi
33585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33586 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33587
33588   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33589     for ac_func in isnan
33590 do :
33591   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33592 if test "x$ac_cv_func_isnan" = x""yes; then :
33593   cat >>confdefs.h <<_ACEOF
33594 #define HAVE_ISNAN 1
33595 _ACEOF
33596
33597 fi
33598 done
33599
33600   else
33601
33602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33603 $as_echo_n "checking for _isnan declaration... " >&6; }
33604   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33605     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33606   $as_echo_n "(cached) " >&6
33607 else
33608
33609
33610       ac_ext=cpp
33611 ac_cpp='$CXXCPP $CPPFLAGS'
33612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33615
33616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33617 /* end confdefs.h.  */
33618 #include <math.h>
33619                       #ifdef HAVE_IEEEFP_H
33620                       #include <ieeefp.h>
33621                       #endif
33622
33623 int
33624 main ()
33625 {
33626  _isnan(0);
33627   ;
33628   return 0;
33629 }
33630 _ACEOF
33631 if ac_fn_cxx_try_compile "$LINENO"; then :
33632   glibcxx_cv_func__isnan_use=yes
33633 else
33634   glibcxx_cv_func__isnan_use=no
33635 fi
33636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33637       ac_ext=c
33638 ac_cpp='$CPP $CPPFLAGS'
33639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33642
33643
33644 fi
33645
33646   fi
33647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33648 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33649
33650     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33651       for ac_func in _isnan
33652 do :
33653   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33654 if test "x$ac_cv_func__isnan" = x""yes; then :
33655   cat >>confdefs.h <<_ACEOF
33656 #define HAVE__ISNAN 1
33657 _ACEOF
33658
33659 fi
33660 done
33661
33662     fi
33663   fi
33664
33665
33666
33667
33668
33669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33670 $as_echo_n "checking for finite declaration... " >&6; }
33671   if test x${glibcxx_cv_func_finite_use+set} != xset; then
33672     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33673   $as_echo_n "(cached) " >&6
33674 else
33675
33676
33677       ac_ext=cpp
33678 ac_cpp='$CXXCPP $CPPFLAGS'
33679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33682
33683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33684 /* end confdefs.h.  */
33685 #include <math.h>
33686                       #ifdef HAVE_IEEEFP_H
33687                       #include <ieeefp.h>
33688                       #endif
33689
33690 int
33691 main ()
33692 {
33693  finite(0);
33694   ;
33695   return 0;
33696 }
33697 _ACEOF
33698 if ac_fn_cxx_try_compile "$LINENO"; then :
33699   glibcxx_cv_func_finite_use=yes
33700 else
33701   glibcxx_cv_func_finite_use=no
33702 fi
33703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33704       ac_ext=c
33705 ac_cpp='$CPP $CPPFLAGS'
33706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33709
33710
33711 fi
33712
33713   fi
33714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33715 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33716
33717   if test x$glibcxx_cv_func_finite_use = x"yes"; then
33718     for ac_func in finite
33719 do :
33720   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33721 if test "x$ac_cv_func_finite" = x""yes; then :
33722   cat >>confdefs.h <<_ACEOF
33723 #define HAVE_FINITE 1
33724 _ACEOF
33725
33726 fi
33727 done
33728
33729   else
33730
33731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33732 $as_echo_n "checking for _finite declaration... " >&6; }
33733   if test x${glibcxx_cv_func__finite_use+set} != xset; then
33734     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33735   $as_echo_n "(cached) " >&6
33736 else
33737
33738
33739       ac_ext=cpp
33740 ac_cpp='$CXXCPP $CPPFLAGS'
33741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33744
33745       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33746 /* end confdefs.h.  */
33747 #include <math.h>
33748                       #ifdef HAVE_IEEEFP_H
33749                       #include <ieeefp.h>
33750                       #endif
33751
33752 int
33753 main ()
33754 {
33755  _finite(0);
33756   ;
33757   return 0;
33758 }
33759 _ACEOF
33760 if ac_fn_cxx_try_compile "$LINENO"; then :
33761   glibcxx_cv_func__finite_use=yes
33762 else
33763   glibcxx_cv_func__finite_use=no
33764 fi
33765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33766       ac_ext=c
33767 ac_cpp='$CPP $CPPFLAGS'
33768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33771
33772
33773 fi
33774
33775   fi
33776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33777 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33778
33779     if test x$glibcxx_cv_func__finite_use = x"yes"; then
33780       for ac_func in _finite
33781 do :
33782   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33783 if test "x$ac_cv_func__finite" = x""yes; then :
33784   cat >>confdefs.h <<_ACEOF
33785 #define HAVE__FINITE 1
33786 _ACEOF
33787
33788 fi
33789 done
33790
33791     fi
33792   fi
33793
33794
33795
33796
33797
33798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33799 $as_echo_n "checking for sincos declaration... " >&6; }
33800   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33801     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33802   $as_echo_n "(cached) " >&6
33803 else
33804
33805
33806       ac_ext=cpp
33807 ac_cpp='$CXXCPP $CPPFLAGS'
33808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33811
33812       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33813 /* end confdefs.h.  */
33814 #include <math.h>
33815 int
33816 main ()
33817 {
33818  sincos(0, 0, 0);
33819   ;
33820   return 0;
33821 }
33822 _ACEOF
33823 if ac_fn_cxx_try_compile "$LINENO"; then :
33824   glibcxx_cv_func_sincos_use=yes
33825 else
33826   glibcxx_cv_func_sincos_use=no
33827 fi
33828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33829       ac_ext=c
33830 ac_cpp='$CPP $CPPFLAGS'
33831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33834
33835
33836 fi
33837
33838   fi
33839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33840 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33841
33842   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33843     for ac_func in sincos
33844 do :
33845   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33846 if test "x$ac_cv_func_sincos" = x""yes; then :
33847   cat >>confdefs.h <<_ACEOF
33848 #define HAVE_SINCOS 1
33849 _ACEOF
33850
33851 fi
33852 done
33853
33854   else
33855
33856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33857 $as_echo_n "checking for _sincos declaration... " >&6; }
33858   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33859     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33860   $as_echo_n "(cached) " >&6
33861 else
33862
33863
33864       ac_ext=cpp
33865 ac_cpp='$CXXCPP $CPPFLAGS'
33866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33869
33870       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33871 /* end confdefs.h.  */
33872 #include <math.h>
33873 int
33874 main ()
33875 {
33876  _sincos(0, 0, 0);
33877   ;
33878   return 0;
33879 }
33880 _ACEOF
33881 if ac_fn_cxx_try_compile "$LINENO"; then :
33882   glibcxx_cv_func__sincos_use=yes
33883 else
33884   glibcxx_cv_func__sincos_use=no
33885 fi
33886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33887       ac_ext=c
33888 ac_cpp='$CPP $CPPFLAGS'
33889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33892
33893
33894 fi
33895
33896   fi
33897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33898 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33899
33900     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33901       for ac_func in _sincos
33902 do :
33903   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33904 if test "x$ac_cv_func__sincos" = x""yes; then :
33905   cat >>confdefs.h <<_ACEOF
33906 #define HAVE__SINCOS 1
33907 _ACEOF
33908
33909 fi
33910 done
33911
33912     fi
33913   fi
33914
33915
33916
33917
33918
33919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33920 $as_echo_n "checking for fpclass declaration... " >&6; }
33921   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33922     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33923   $as_echo_n "(cached) " >&6
33924 else
33925
33926
33927       ac_ext=cpp
33928 ac_cpp='$CXXCPP $CPPFLAGS'
33929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33932
33933       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33934 /* end confdefs.h.  */
33935 #include <math.h>
33936                       #ifdef HAVE_IEEEFP_H
33937                       #include <ieeefp.h>
33938                       #endif
33939
33940 int
33941 main ()
33942 {
33943  fpclass(0);
33944   ;
33945   return 0;
33946 }
33947 _ACEOF
33948 if ac_fn_cxx_try_compile "$LINENO"; then :
33949   glibcxx_cv_func_fpclass_use=yes
33950 else
33951   glibcxx_cv_func_fpclass_use=no
33952 fi
33953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33954       ac_ext=c
33955 ac_cpp='$CPP $CPPFLAGS'
33956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33959
33960
33961 fi
33962
33963   fi
33964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33965 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33966
33967   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33968     for ac_func in fpclass
33969 do :
33970   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33971 if test "x$ac_cv_func_fpclass" = x""yes; then :
33972   cat >>confdefs.h <<_ACEOF
33973 #define HAVE_FPCLASS 1
33974 _ACEOF
33975
33976 fi
33977 done
33978
33979   else
33980
33981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33982 $as_echo_n "checking for _fpclass declaration... " >&6; }
33983   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33984     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33985   $as_echo_n "(cached) " >&6
33986 else
33987
33988
33989       ac_ext=cpp
33990 ac_cpp='$CXXCPP $CPPFLAGS'
33991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33994
33995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33996 /* end confdefs.h.  */
33997 #include <math.h>
33998                       #ifdef HAVE_IEEEFP_H
33999                       #include <ieeefp.h>
34000                       #endif
34001
34002 int
34003 main ()
34004 {
34005  _fpclass(0);
34006   ;
34007   return 0;
34008 }
34009 _ACEOF
34010 if ac_fn_cxx_try_compile "$LINENO"; then :
34011   glibcxx_cv_func__fpclass_use=yes
34012 else
34013   glibcxx_cv_func__fpclass_use=no
34014 fi
34015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34016       ac_ext=c
34017 ac_cpp='$CPP $CPPFLAGS'
34018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34021
34022
34023 fi
34024
34025   fi
34026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34027 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34028
34029     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34030       for ac_func in _fpclass
34031 do :
34032   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34033 if test "x$ac_cv_func__fpclass" = x""yes; then :
34034   cat >>confdefs.h <<_ACEOF
34035 #define HAVE__FPCLASS 1
34036 _ACEOF
34037
34038 fi
34039 done
34040
34041     fi
34042   fi
34043
34044
34045
34046
34047
34048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34049 $as_echo_n "checking for qfpclass declaration... " >&6; }
34050   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34051     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34052   $as_echo_n "(cached) " >&6
34053 else
34054
34055
34056       ac_ext=cpp
34057 ac_cpp='$CXXCPP $CPPFLAGS'
34058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34061
34062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34063 /* end confdefs.h.  */
34064 #include <math.h>
34065                       #ifdef HAVE_IEEEFP_H
34066                       #include <ieeefp.h>
34067                       #endif
34068
34069 int
34070 main ()
34071 {
34072  qfpclass(0);
34073   ;
34074   return 0;
34075 }
34076 _ACEOF
34077 if ac_fn_cxx_try_compile "$LINENO"; then :
34078   glibcxx_cv_func_qfpclass_use=yes
34079 else
34080   glibcxx_cv_func_qfpclass_use=no
34081 fi
34082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34083       ac_ext=c
34084 ac_cpp='$CPP $CPPFLAGS'
34085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34088
34089
34090 fi
34091
34092   fi
34093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34094 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34095
34096   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34097     for ac_func in qfpclass
34098 do :
34099   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34100 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34101   cat >>confdefs.h <<_ACEOF
34102 #define HAVE_QFPCLASS 1
34103 _ACEOF
34104
34105 fi
34106 done
34107
34108   else
34109
34110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34111 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34112   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34113     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34114   $as_echo_n "(cached) " >&6
34115 else
34116
34117
34118       ac_ext=cpp
34119 ac_cpp='$CXXCPP $CPPFLAGS'
34120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34123
34124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34125 /* end confdefs.h.  */
34126 #include <math.h>
34127                       #ifdef HAVE_IEEEFP_H
34128                       #include <ieeefp.h>
34129                       #endif
34130
34131 int
34132 main ()
34133 {
34134  _qfpclass(0);
34135   ;
34136   return 0;
34137 }
34138 _ACEOF
34139 if ac_fn_cxx_try_compile "$LINENO"; then :
34140   glibcxx_cv_func__qfpclass_use=yes
34141 else
34142   glibcxx_cv_func__qfpclass_use=no
34143 fi
34144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34145       ac_ext=c
34146 ac_cpp='$CPP $CPPFLAGS'
34147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34150
34151
34152 fi
34153
34154   fi
34155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34156 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34157
34158     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34159       for ac_func in _qfpclass
34160 do :
34161   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34162 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34163   cat >>confdefs.h <<_ACEOF
34164 #define HAVE__QFPCLASS 1
34165 _ACEOF
34166
34167 fi
34168 done
34169
34170     fi
34171   fi
34172
34173
34174
34175
34176
34177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34178 $as_echo_n "checking for hypot declaration... " >&6; }
34179   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34180     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34181   $as_echo_n "(cached) " >&6
34182 else
34183
34184
34185       ac_ext=cpp
34186 ac_cpp='$CXXCPP $CPPFLAGS'
34187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34190
34191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34192 /* end confdefs.h.  */
34193 #include <math.h>
34194 int
34195 main ()
34196 {
34197  hypot(0, 0);
34198   ;
34199   return 0;
34200 }
34201 _ACEOF
34202 if ac_fn_cxx_try_compile "$LINENO"; then :
34203   glibcxx_cv_func_hypot_use=yes
34204 else
34205   glibcxx_cv_func_hypot_use=no
34206 fi
34207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34208       ac_ext=c
34209 ac_cpp='$CPP $CPPFLAGS'
34210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34213
34214
34215 fi
34216
34217   fi
34218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34219 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34220
34221   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34222     for ac_func in hypot
34223 do :
34224   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34225 if test "x$ac_cv_func_hypot" = x""yes; then :
34226   cat >>confdefs.h <<_ACEOF
34227 #define HAVE_HYPOT 1
34228 _ACEOF
34229
34230 fi
34231 done
34232
34233   else
34234
34235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34236 $as_echo_n "checking for _hypot declaration... " >&6; }
34237   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34238     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34239   $as_echo_n "(cached) " >&6
34240 else
34241
34242
34243       ac_ext=cpp
34244 ac_cpp='$CXXCPP $CPPFLAGS'
34245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34248
34249       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34250 /* end confdefs.h.  */
34251 #include <math.h>
34252 int
34253 main ()
34254 {
34255  _hypot(0, 0);
34256   ;
34257   return 0;
34258 }
34259 _ACEOF
34260 if ac_fn_cxx_try_compile "$LINENO"; then :
34261   glibcxx_cv_func__hypot_use=yes
34262 else
34263   glibcxx_cv_func__hypot_use=no
34264 fi
34265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34266       ac_ext=c
34267 ac_cpp='$CPP $CPPFLAGS'
34268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34271
34272
34273 fi
34274
34275   fi
34276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34277 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34278
34279     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34280       for ac_func in _hypot
34281 do :
34282   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34283 if test "x$ac_cv_func__hypot" = x""yes; then :
34284   cat >>confdefs.h <<_ACEOF
34285 #define HAVE__HYPOT 1
34286 _ACEOF
34287
34288 fi
34289 done
34290
34291     fi
34292   fi
34293
34294
34295
34296
34297
34298     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34299 $as_echo_n "checking for float trig functions... " >&6; }
34300   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34301   $as_echo_n "(cached) " >&6
34302 else
34303
34304
34305     ac_ext=cpp
34306 ac_cpp='$CXXCPP $CPPFLAGS'
34307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34310
34311     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34312 /* end confdefs.h.  */
34313 #include <math.h>
34314 int
34315 main ()
34316 {
34317 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34318   ;
34319   return 0;
34320 }
34321 _ACEOF
34322 if ac_fn_cxx_try_compile "$LINENO"; then :
34323   glibcxx_cv_func_float_trig_use=yes
34324 else
34325   glibcxx_cv_func_float_trig_use=no
34326 fi
34327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34328     ac_ext=c
34329 ac_cpp='$CPP $CPPFLAGS'
34330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34333
34334 fi
34335
34336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34337 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34338   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34339     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34340 do :
34341   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34343 eval as_val=\$$as_ac_var
34344    if test "x$as_val" = x""yes; then :
34345   cat >>confdefs.h <<_ACEOF
34346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34347 _ACEOF
34348
34349 fi
34350 done
34351
34352   else
34353     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34354 $as_echo_n "checking for _float trig functions... " >&6; }
34355     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34356   $as_echo_n "(cached) " >&6
34357 else
34358
34359
34360       ac_ext=cpp
34361 ac_cpp='$CXXCPP $CPPFLAGS'
34362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34365
34366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34367 /* end confdefs.h.  */
34368 #include <math.h>
34369 int
34370 main ()
34371 {
34372 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34373   ;
34374   return 0;
34375 }
34376 _ACEOF
34377 if ac_fn_cxx_try_compile "$LINENO"; then :
34378   glibcxx_cv_func__float_trig_use=yes
34379 else
34380   glibcxx_cv_func__float_trig_use=no
34381 fi
34382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34383       ac_ext=c
34384 ac_cpp='$CPP $CPPFLAGS'
34385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34388
34389 fi
34390
34391     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34392 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34393     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34394       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34395 do :
34396   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34398 eval as_val=\$$as_ac_var
34399    if test "x$as_val" = x""yes; then :
34400   cat >>confdefs.h <<_ACEOF
34401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34402 _ACEOF
34403
34404 fi
34405 done
34406
34407     fi
34408   fi
34409
34410
34411
34412
34413
34414     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34415 $as_echo_n "checking for float round functions... " >&6; }
34416   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34417   $as_echo_n "(cached) " >&6
34418 else
34419
34420
34421     ac_ext=cpp
34422 ac_cpp='$CXXCPP $CPPFLAGS'
34423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34426
34427     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34428 /* end confdefs.h.  */
34429 #include <math.h>
34430 int
34431 main ()
34432 {
34433 ceilf (0); floorf (0);
34434   ;
34435   return 0;
34436 }
34437 _ACEOF
34438 if ac_fn_cxx_try_compile "$LINENO"; then :
34439   glibcxx_cv_func_float_round_use=yes
34440 else
34441   glibcxx_cv_func_float_round_use=no
34442 fi
34443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34444     ac_ext=c
34445 ac_cpp='$CPP $CPPFLAGS'
34446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34449
34450 fi
34451
34452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34453 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34454   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34455     for ac_func in ceilf floorf
34456 do :
34457   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34459 eval as_val=\$$as_ac_var
34460    if test "x$as_val" = x""yes; then :
34461   cat >>confdefs.h <<_ACEOF
34462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34463 _ACEOF
34464
34465 fi
34466 done
34467
34468   else
34469     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34470 $as_echo_n "checking for _float round functions... " >&6; }
34471     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34472   $as_echo_n "(cached) " >&6
34473 else
34474
34475
34476       ac_ext=cpp
34477 ac_cpp='$CXXCPP $CPPFLAGS'
34478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34481
34482       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34483 /* end confdefs.h.  */
34484 #include <math.h>
34485 int
34486 main ()
34487 {
34488 _ceilf (0); _floorf (0);
34489   ;
34490   return 0;
34491 }
34492 _ACEOF
34493 if ac_fn_cxx_try_compile "$LINENO"; then :
34494   glibcxx_cv_func__float_round_use=yes
34495 else
34496   glibcxx_cv_func__float_round_use=no
34497 fi
34498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34499       ac_ext=c
34500 ac_cpp='$CPP $CPPFLAGS'
34501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34504
34505 fi
34506
34507     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34508 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34509     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34510       for ac_func in _ceilf _floorf
34511 do :
34512   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34514 eval as_val=\$$as_ac_var
34515    if test "x$as_val" = x""yes; then :
34516   cat >>confdefs.h <<_ACEOF
34517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34518 _ACEOF
34519
34520 fi
34521 done
34522
34523     fi
34524   fi
34525
34526
34527
34528
34529
34530
34531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34532 $as_echo_n "checking for expf declaration... " >&6; }
34533   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34534     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34535   $as_echo_n "(cached) " >&6
34536 else
34537
34538
34539       ac_ext=cpp
34540 ac_cpp='$CXXCPP $CPPFLAGS'
34541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34544
34545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34546 /* end confdefs.h.  */
34547 #include <math.h>
34548                       #ifdef HAVE_IEEEFP_H
34549                       #include <ieeefp.h>
34550                       #endif
34551
34552 int
34553 main ()
34554 {
34555  expf(0);
34556   ;
34557   return 0;
34558 }
34559 _ACEOF
34560 if ac_fn_cxx_try_compile "$LINENO"; then :
34561   glibcxx_cv_func_expf_use=yes
34562 else
34563   glibcxx_cv_func_expf_use=no
34564 fi
34565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34566       ac_ext=c
34567 ac_cpp='$CPP $CPPFLAGS'
34568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34571
34572
34573 fi
34574
34575   fi
34576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34577 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34578
34579   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34580     for ac_func in expf
34581 do :
34582   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34583 if test "x$ac_cv_func_expf" = x""yes; then :
34584   cat >>confdefs.h <<_ACEOF
34585 #define HAVE_EXPF 1
34586 _ACEOF
34587
34588 fi
34589 done
34590
34591   else
34592
34593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34594 $as_echo_n "checking for _expf declaration... " >&6; }
34595   if test x${glibcxx_cv_func__expf_use+set} != xset; then
34596     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34597   $as_echo_n "(cached) " >&6
34598 else
34599
34600
34601       ac_ext=cpp
34602 ac_cpp='$CXXCPP $CPPFLAGS'
34603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34606
34607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34608 /* end confdefs.h.  */
34609 #include <math.h>
34610                       #ifdef HAVE_IEEEFP_H
34611                       #include <ieeefp.h>
34612                       #endif
34613
34614 int
34615 main ()
34616 {
34617  _expf(0);
34618   ;
34619   return 0;
34620 }
34621 _ACEOF
34622 if ac_fn_cxx_try_compile "$LINENO"; then :
34623   glibcxx_cv_func__expf_use=yes
34624 else
34625   glibcxx_cv_func__expf_use=no
34626 fi
34627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34628       ac_ext=c
34629 ac_cpp='$CPP $CPPFLAGS'
34630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34633
34634
34635 fi
34636
34637   fi
34638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34639 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34640
34641     if test x$glibcxx_cv_func__expf_use = x"yes"; then
34642       for ac_func in _expf
34643 do :
34644   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34645 if test "x$ac_cv_func__expf" = x""yes; then :
34646   cat >>confdefs.h <<_ACEOF
34647 #define HAVE__EXPF 1
34648 _ACEOF
34649
34650 fi
34651 done
34652
34653     fi
34654   fi
34655
34656
34657
34658
34659
34660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34661 $as_echo_n "checking for isnanf declaration... " >&6; }
34662   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34663     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34664   $as_echo_n "(cached) " >&6
34665 else
34666
34667
34668       ac_ext=cpp
34669 ac_cpp='$CXXCPP $CPPFLAGS'
34670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34673
34674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34675 /* end confdefs.h.  */
34676 #include <math.h>
34677                       #ifdef HAVE_IEEEFP_H
34678                       #include <ieeefp.h>
34679                       #endif
34680
34681 int
34682 main ()
34683 {
34684  isnanf(0);
34685   ;
34686   return 0;
34687 }
34688 _ACEOF
34689 if ac_fn_cxx_try_compile "$LINENO"; then :
34690   glibcxx_cv_func_isnanf_use=yes
34691 else
34692   glibcxx_cv_func_isnanf_use=no
34693 fi
34694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34695       ac_ext=c
34696 ac_cpp='$CPP $CPPFLAGS'
34697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34700
34701
34702 fi
34703
34704   fi
34705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34706 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34707
34708   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34709     for ac_func in isnanf
34710 do :
34711   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34712 if test "x$ac_cv_func_isnanf" = x""yes; then :
34713   cat >>confdefs.h <<_ACEOF
34714 #define HAVE_ISNANF 1
34715 _ACEOF
34716
34717 fi
34718 done
34719
34720   else
34721
34722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34723 $as_echo_n "checking for _isnanf declaration... " >&6; }
34724   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34725     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34726   $as_echo_n "(cached) " >&6
34727 else
34728
34729
34730       ac_ext=cpp
34731 ac_cpp='$CXXCPP $CPPFLAGS'
34732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34735
34736       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34737 /* end confdefs.h.  */
34738 #include <math.h>
34739                       #ifdef HAVE_IEEEFP_H
34740                       #include <ieeefp.h>
34741                       #endif
34742
34743 int
34744 main ()
34745 {
34746  _isnanf(0);
34747   ;
34748   return 0;
34749 }
34750 _ACEOF
34751 if ac_fn_cxx_try_compile "$LINENO"; then :
34752   glibcxx_cv_func__isnanf_use=yes
34753 else
34754   glibcxx_cv_func__isnanf_use=no
34755 fi
34756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34757       ac_ext=c
34758 ac_cpp='$CPP $CPPFLAGS'
34759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34762
34763
34764 fi
34765
34766   fi
34767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34768 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34769
34770     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34771       for ac_func in _isnanf
34772 do :
34773   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34774 if test "x$ac_cv_func__isnanf" = x""yes; then :
34775   cat >>confdefs.h <<_ACEOF
34776 #define HAVE__ISNANF 1
34777 _ACEOF
34778
34779 fi
34780 done
34781
34782     fi
34783   fi
34784
34785
34786
34787
34788
34789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34790 $as_echo_n "checking for isinff declaration... " >&6; }
34791   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34792     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34793   $as_echo_n "(cached) " >&6
34794 else
34795
34796
34797       ac_ext=cpp
34798 ac_cpp='$CXXCPP $CPPFLAGS'
34799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34802
34803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34804 /* end confdefs.h.  */
34805 #include <math.h>
34806                       #ifdef HAVE_IEEEFP_H
34807                       #include <ieeefp.h>
34808                       #endif
34809
34810 int
34811 main ()
34812 {
34813  isinff(0);
34814   ;
34815   return 0;
34816 }
34817 _ACEOF
34818 if ac_fn_cxx_try_compile "$LINENO"; then :
34819   glibcxx_cv_func_isinff_use=yes
34820 else
34821   glibcxx_cv_func_isinff_use=no
34822 fi
34823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34824       ac_ext=c
34825 ac_cpp='$CPP $CPPFLAGS'
34826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34829
34830
34831 fi
34832
34833   fi
34834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34835 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34836
34837   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34838     for ac_func in isinff
34839 do :
34840   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34841 if test "x$ac_cv_func_isinff" = x""yes; then :
34842   cat >>confdefs.h <<_ACEOF
34843 #define HAVE_ISINFF 1
34844 _ACEOF
34845
34846 fi
34847 done
34848
34849   else
34850
34851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34852 $as_echo_n "checking for _isinff declaration... " >&6; }
34853   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34854     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34855   $as_echo_n "(cached) " >&6
34856 else
34857
34858
34859       ac_ext=cpp
34860 ac_cpp='$CXXCPP $CPPFLAGS'
34861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34864
34865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34866 /* end confdefs.h.  */
34867 #include <math.h>
34868                       #ifdef HAVE_IEEEFP_H
34869                       #include <ieeefp.h>
34870                       #endif
34871
34872 int
34873 main ()
34874 {
34875  _isinff(0);
34876   ;
34877   return 0;
34878 }
34879 _ACEOF
34880 if ac_fn_cxx_try_compile "$LINENO"; then :
34881   glibcxx_cv_func__isinff_use=yes
34882 else
34883   glibcxx_cv_func__isinff_use=no
34884 fi
34885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34886       ac_ext=c
34887 ac_cpp='$CPP $CPPFLAGS'
34888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34891
34892
34893 fi
34894
34895   fi
34896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34897 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34898
34899     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34900       for ac_func in _isinff
34901 do :
34902   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34903 if test "x$ac_cv_func__isinff" = x""yes; then :
34904   cat >>confdefs.h <<_ACEOF
34905 #define HAVE__ISINFF 1
34906 _ACEOF
34907
34908 fi
34909 done
34910
34911     fi
34912   fi
34913
34914
34915
34916
34917
34918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34919 $as_echo_n "checking for atan2f declaration... " >&6; }
34920   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34921     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34922   $as_echo_n "(cached) " >&6
34923 else
34924
34925
34926       ac_ext=cpp
34927 ac_cpp='$CXXCPP $CPPFLAGS'
34928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34931
34932       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34933 /* end confdefs.h.  */
34934 #include <math.h>
34935 int
34936 main ()
34937 {
34938  atan2f(0, 0);
34939   ;
34940   return 0;
34941 }
34942 _ACEOF
34943 if ac_fn_cxx_try_compile "$LINENO"; then :
34944   glibcxx_cv_func_atan2f_use=yes
34945 else
34946   glibcxx_cv_func_atan2f_use=no
34947 fi
34948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34949       ac_ext=c
34950 ac_cpp='$CPP $CPPFLAGS'
34951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34954
34955
34956 fi
34957
34958   fi
34959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34960 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34961
34962   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34963     for ac_func in atan2f
34964 do :
34965   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34966 if test "x$ac_cv_func_atan2f" = x""yes; then :
34967   cat >>confdefs.h <<_ACEOF
34968 #define HAVE_ATAN2F 1
34969 _ACEOF
34970
34971 fi
34972 done
34973
34974   else
34975
34976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34977 $as_echo_n "checking for _atan2f declaration... " >&6; }
34978   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34979     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34980   $as_echo_n "(cached) " >&6
34981 else
34982
34983
34984       ac_ext=cpp
34985 ac_cpp='$CXXCPP $CPPFLAGS'
34986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34989
34990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34991 /* end confdefs.h.  */
34992 #include <math.h>
34993 int
34994 main ()
34995 {
34996  _atan2f(0, 0);
34997   ;
34998   return 0;
34999 }
35000 _ACEOF
35001 if ac_fn_cxx_try_compile "$LINENO"; then :
35002   glibcxx_cv_func__atan2f_use=yes
35003 else
35004   glibcxx_cv_func__atan2f_use=no
35005 fi
35006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35007       ac_ext=c
35008 ac_cpp='$CPP $CPPFLAGS'
35009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35012
35013
35014 fi
35015
35016   fi
35017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35018 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35019
35020     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35021       for ac_func in _atan2f
35022 do :
35023   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35024 if test "x$ac_cv_func__atan2f" = x""yes; then :
35025   cat >>confdefs.h <<_ACEOF
35026 #define HAVE__ATAN2F 1
35027 _ACEOF
35028
35029 fi
35030 done
35031
35032     fi
35033   fi
35034
35035
35036
35037
35038
35039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35040 $as_echo_n "checking for fabsf declaration... " >&6; }
35041   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35042     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35043   $as_echo_n "(cached) " >&6
35044 else
35045
35046
35047       ac_ext=cpp
35048 ac_cpp='$CXXCPP $CPPFLAGS'
35049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35052
35053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35054 /* end confdefs.h.  */
35055 #include <math.h>
35056                       #ifdef HAVE_IEEEFP_H
35057                       #include <ieeefp.h>
35058                       #endif
35059
35060 int
35061 main ()
35062 {
35063  fabsf(0);
35064   ;
35065   return 0;
35066 }
35067 _ACEOF
35068 if ac_fn_cxx_try_compile "$LINENO"; then :
35069   glibcxx_cv_func_fabsf_use=yes
35070 else
35071   glibcxx_cv_func_fabsf_use=no
35072 fi
35073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35074       ac_ext=c
35075 ac_cpp='$CPP $CPPFLAGS'
35076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35079
35080
35081 fi
35082
35083   fi
35084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35085 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35086
35087   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35088     for ac_func in fabsf
35089 do :
35090   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35091 if test "x$ac_cv_func_fabsf" = x""yes; then :
35092   cat >>confdefs.h <<_ACEOF
35093 #define HAVE_FABSF 1
35094 _ACEOF
35095
35096 fi
35097 done
35098
35099   else
35100
35101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35102 $as_echo_n "checking for _fabsf declaration... " >&6; }
35103   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35104     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35105   $as_echo_n "(cached) " >&6
35106 else
35107
35108
35109       ac_ext=cpp
35110 ac_cpp='$CXXCPP $CPPFLAGS'
35111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35114
35115       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35116 /* end confdefs.h.  */
35117 #include <math.h>
35118                       #ifdef HAVE_IEEEFP_H
35119                       #include <ieeefp.h>
35120                       #endif
35121
35122 int
35123 main ()
35124 {
35125  _fabsf(0);
35126   ;
35127   return 0;
35128 }
35129 _ACEOF
35130 if ac_fn_cxx_try_compile "$LINENO"; then :
35131   glibcxx_cv_func__fabsf_use=yes
35132 else
35133   glibcxx_cv_func__fabsf_use=no
35134 fi
35135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35136       ac_ext=c
35137 ac_cpp='$CPP $CPPFLAGS'
35138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35141
35142
35143 fi
35144
35145   fi
35146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35147 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35148
35149     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35150       for ac_func in _fabsf
35151 do :
35152   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35153 if test "x$ac_cv_func__fabsf" = x""yes; then :
35154   cat >>confdefs.h <<_ACEOF
35155 #define HAVE__FABSF 1
35156 _ACEOF
35157
35158 fi
35159 done
35160
35161     fi
35162   fi
35163
35164
35165
35166
35167
35168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35169 $as_echo_n "checking for fmodf declaration... " >&6; }
35170   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35171     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35172   $as_echo_n "(cached) " >&6
35173 else
35174
35175
35176       ac_ext=cpp
35177 ac_cpp='$CXXCPP $CPPFLAGS'
35178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35181
35182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35183 /* end confdefs.h.  */
35184 #include <math.h>
35185 int
35186 main ()
35187 {
35188  fmodf(0, 0);
35189   ;
35190   return 0;
35191 }
35192 _ACEOF
35193 if ac_fn_cxx_try_compile "$LINENO"; then :
35194   glibcxx_cv_func_fmodf_use=yes
35195 else
35196   glibcxx_cv_func_fmodf_use=no
35197 fi
35198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35199       ac_ext=c
35200 ac_cpp='$CPP $CPPFLAGS'
35201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35204
35205
35206 fi
35207
35208   fi
35209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35210 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35211
35212   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35213     for ac_func in fmodf
35214 do :
35215   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35216 if test "x$ac_cv_func_fmodf" = x""yes; then :
35217   cat >>confdefs.h <<_ACEOF
35218 #define HAVE_FMODF 1
35219 _ACEOF
35220
35221 fi
35222 done
35223
35224   else
35225
35226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35227 $as_echo_n "checking for _fmodf declaration... " >&6; }
35228   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35229     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35230   $as_echo_n "(cached) " >&6
35231 else
35232
35233
35234       ac_ext=cpp
35235 ac_cpp='$CXXCPP $CPPFLAGS'
35236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35239
35240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35241 /* end confdefs.h.  */
35242 #include <math.h>
35243 int
35244 main ()
35245 {
35246  _fmodf(0, 0);
35247   ;
35248   return 0;
35249 }
35250 _ACEOF
35251 if ac_fn_cxx_try_compile "$LINENO"; then :
35252   glibcxx_cv_func__fmodf_use=yes
35253 else
35254   glibcxx_cv_func__fmodf_use=no
35255 fi
35256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35257       ac_ext=c
35258 ac_cpp='$CPP $CPPFLAGS'
35259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35262
35263
35264 fi
35265
35266   fi
35267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35268 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35269
35270     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35271       for ac_func in _fmodf
35272 do :
35273   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35274 if test "x$ac_cv_func__fmodf" = x""yes; then :
35275   cat >>confdefs.h <<_ACEOF
35276 #define HAVE__FMODF 1
35277 _ACEOF
35278
35279 fi
35280 done
35281
35282     fi
35283   fi
35284
35285
35286
35287
35288
35289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35290 $as_echo_n "checking for frexpf declaration... " >&6; }
35291   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35292     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35293   $as_echo_n "(cached) " >&6
35294 else
35295
35296
35297       ac_ext=cpp
35298 ac_cpp='$CXXCPP $CPPFLAGS'
35299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35302
35303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35304 /* end confdefs.h.  */
35305 #include <math.h>
35306 int
35307 main ()
35308 {
35309  frexpf(0, 0);
35310   ;
35311   return 0;
35312 }
35313 _ACEOF
35314 if ac_fn_cxx_try_compile "$LINENO"; then :
35315   glibcxx_cv_func_frexpf_use=yes
35316 else
35317   glibcxx_cv_func_frexpf_use=no
35318 fi
35319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35320       ac_ext=c
35321 ac_cpp='$CPP $CPPFLAGS'
35322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35325
35326
35327 fi
35328
35329   fi
35330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35331 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35332
35333   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35334     for ac_func in frexpf
35335 do :
35336   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35337 if test "x$ac_cv_func_frexpf" = x""yes; then :
35338   cat >>confdefs.h <<_ACEOF
35339 #define HAVE_FREXPF 1
35340 _ACEOF
35341
35342 fi
35343 done
35344
35345   else
35346
35347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35348 $as_echo_n "checking for _frexpf declaration... " >&6; }
35349   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35350     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35351   $as_echo_n "(cached) " >&6
35352 else
35353
35354
35355       ac_ext=cpp
35356 ac_cpp='$CXXCPP $CPPFLAGS'
35357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35360
35361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35362 /* end confdefs.h.  */
35363 #include <math.h>
35364 int
35365 main ()
35366 {
35367  _frexpf(0, 0);
35368   ;
35369   return 0;
35370 }
35371 _ACEOF
35372 if ac_fn_cxx_try_compile "$LINENO"; then :
35373   glibcxx_cv_func__frexpf_use=yes
35374 else
35375   glibcxx_cv_func__frexpf_use=no
35376 fi
35377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35378       ac_ext=c
35379 ac_cpp='$CPP $CPPFLAGS'
35380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35383
35384
35385 fi
35386
35387   fi
35388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35389 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35390
35391     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35392       for ac_func in _frexpf
35393 do :
35394   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35395 if test "x$ac_cv_func__frexpf" = x""yes; then :
35396   cat >>confdefs.h <<_ACEOF
35397 #define HAVE__FREXPF 1
35398 _ACEOF
35399
35400 fi
35401 done
35402
35403     fi
35404   fi
35405
35406
35407
35408
35409
35410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35411 $as_echo_n "checking for hypotf declaration... " >&6; }
35412   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35413     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35414   $as_echo_n "(cached) " >&6
35415 else
35416
35417
35418       ac_ext=cpp
35419 ac_cpp='$CXXCPP $CPPFLAGS'
35420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35423
35424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35425 /* end confdefs.h.  */
35426 #include <math.h>
35427 int
35428 main ()
35429 {
35430  hypotf(0, 0);
35431   ;
35432   return 0;
35433 }
35434 _ACEOF
35435 if ac_fn_cxx_try_compile "$LINENO"; then :
35436   glibcxx_cv_func_hypotf_use=yes
35437 else
35438   glibcxx_cv_func_hypotf_use=no
35439 fi
35440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35441       ac_ext=c
35442 ac_cpp='$CPP $CPPFLAGS'
35443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35446
35447
35448 fi
35449
35450   fi
35451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35452 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35453
35454   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35455     for ac_func in hypotf
35456 do :
35457   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35458 if test "x$ac_cv_func_hypotf" = x""yes; then :
35459   cat >>confdefs.h <<_ACEOF
35460 #define HAVE_HYPOTF 1
35461 _ACEOF
35462
35463 fi
35464 done
35465
35466   else
35467
35468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35469 $as_echo_n "checking for _hypotf declaration... " >&6; }
35470   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35471     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35472   $as_echo_n "(cached) " >&6
35473 else
35474
35475
35476       ac_ext=cpp
35477 ac_cpp='$CXXCPP $CPPFLAGS'
35478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35481
35482       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35483 /* end confdefs.h.  */
35484 #include <math.h>
35485 int
35486 main ()
35487 {
35488  _hypotf(0, 0);
35489   ;
35490   return 0;
35491 }
35492 _ACEOF
35493 if ac_fn_cxx_try_compile "$LINENO"; then :
35494   glibcxx_cv_func__hypotf_use=yes
35495 else
35496   glibcxx_cv_func__hypotf_use=no
35497 fi
35498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35499       ac_ext=c
35500 ac_cpp='$CPP $CPPFLAGS'
35501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35504
35505
35506 fi
35507
35508   fi
35509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35510 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35511
35512     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35513       for ac_func in _hypotf
35514 do :
35515   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35516 if test "x$ac_cv_func__hypotf" = x""yes; then :
35517   cat >>confdefs.h <<_ACEOF
35518 #define HAVE__HYPOTF 1
35519 _ACEOF
35520
35521 fi
35522 done
35523
35524     fi
35525   fi
35526
35527
35528
35529
35530
35531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35532 $as_echo_n "checking for ldexpf declaration... " >&6; }
35533   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35534     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35535   $as_echo_n "(cached) " >&6
35536 else
35537
35538
35539       ac_ext=cpp
35540 ac_cpp='$CXXCPP $CPPFLAGS'
35541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35544
35545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35546 /* end confdefs.h.  */
35547 #include <math.h>
35548 int
35549 main ()
35550 {
35551  ldexpf(0, 0);
35552   ;
35553   return 0;
35554 }
35555 _ACEOF
35556 if ac_fn_cxx_try_compile "$LINENO"; then :
35557   glibcxx_cv_func_ldexpf_use=yes
35558 else
35559   glibcxx_cv_func_ldexpf_use=no
35560 fi
35561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35562       ac_ext=c
35563 ac_cpp='$CPP $CPPFLAGS'
35564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35567
35568
35569 fi
35570
35571   fi
35572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35573 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35574
35575   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35576     for ac_func in ldexpf
35577 do :
35578   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35579 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35580   cat >>confdefs.h <<_ACEOF
35581 #define HAVE_LDEXPF 1
35582 _ACEOF
35583
35584 fi
35585 done
35586
35587   else
35588
35589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35590 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35591   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35592     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35593   $as_echo_n "(cached) " >&6
35594 else
35595
35596
35597       ac_ext=cpp
35598 ac_cpp='$CXXCPP $CPPFLAGS'
35599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35602
35603       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35604 /* end confdefs.h.  */
35605 #include <math.h>
35606 int
35607 main ()
35608 {
35609  _ldexpf(0, 0);
35610   ;
35611   return 0;
35612 }
35613 _ACEOF
35614 if ac_fn_cxx_try_compile "$LINENO"; then :
35615   glibcxx_cv_func__ldexpf_use=yes
35616 else
35617   glibcxx_cv_func__ldexpf_use=no
35618 fi
35619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35620       ac_ext=c
35621 ac_cpp='$CPP $CPPFLAGS'
35622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35625
35626
35627 fi
35628
35629   fi
35630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35631 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35632
35633     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35634       for ac_func in _ldexpf
35635 do :
35636   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35637 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35638   cat >>confdefs.h <<_ACEOF
35639 #define HAVE__LDEXPF 1
35640 _ACEOF
35641
35642 fi
35643 done
35644
35645     fi
35646   fi
35647
35648
35649
35650
35651
35652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35653 $as_echo_n "checking for logf declaration... " >&6; }
35654   if test x${glibcxx_cv_func_logf_use+set} != xset; then
35655     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35656   $as_echo_n "(cached) " >&6
35657 else
35658
35659
35660       ac_ext=cpp
35661 ac_cpp='$CXXCPP $CPPFLAGS'
35662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35665
35666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35667 /* end confdefs.h.  */
35668 #include <math.h>
35669                       #ifdef HAVE_IEEEFP_H
35670                       #include <ieeefp.h>
35671                       #endif
35672
35673 int
35674 main ()
35675 {
35676  logf(0);
35677   ;
35678   return 0;
35679 }
35680 _ACEOF
35681 if ac_fn_cxx_try_compile "$LINENO"; then :
35682   glibcxx_cv_func_logf_use=yes
35683 else
35684   glibcxx_cv_func_logf_use=no
35685 fi
35686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35687       ac_ext=c
35688 ac_cpp='$CPP $CPPFLAGS'
35689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35692
35693
35694 fi
35695
35696   fi
35697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35698 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35699
35700   if test x$glibcxx_cv_func_logf_use = x"yes"; then
35701     for ac_func in logf
35702 do :
35703   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35704 if test "x$ac_cv_func_logf" = x""yes; then :
35705   cat >>confdefs.h <<_ACEOF
35706 #define HAVE_LOGF 1
35707 _ACEOF
35708
35709 fi
35710 done
35711
35712   else
35713
35714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35715 $as_echo_n "checking for _logf declaration... " >&6; }
35716   if test x${glibcxx_cv_func__logf_use+set} != xset; then
35717     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35718   $as_echo_n "(cached) " >&6
35719 else
35720
35721
35722       ac_ext=cpp
35723 ac_cpp='$CXXCPP $CPPFLAGS'
35724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35727
35728       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35729 /* end confdefs.h.  */
35730 #include <math.h>
35731                       #ifdef HAVE_IEEEFP_H
35732                       #include <ieeefp.h>
35733                       #endif
35734
35735 int
35736 main ()
35737 {
35738  _logf(0);
35739   ;
35740   return 0;
35741 }
35742 _ACEOF
35743 if ac_fn_cxx_try_compile "$LINENO"; then :
35744   glibcxx_cv_func__logf_use=yes
35745 else
35746   glibcxx_cv_func__logf_use=no
35747 fi
35748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35749       ac_ext=c
35750 ac_cpp='$CPP $CPPFLAGS'
35751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35754
35755
35756 fi
35757
35758   fi
35759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35760 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35761
35762     if test x$glibcxx_cv_func__logf_use = x"yes"; then
35763       for ac_func in _logf
35764 do :
35765   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35766 if test "x$ac_cv_func__logf" = x""yes; then :
35767   cat >>confdefs.h <<_ACEOF
35768 #define HAVE__LOGF 1
35769 _ACEOF
35770
35771 fi
35772 done
35773
35774     fi
35775   fi
35776
35777
35778
35779
35780
35781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35782 $as_echo_n "checking for log10f declaration... " >&6; }
35783   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35784     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35785   $as_echo_n "(cached) " >&6
35786 else
35787
35788
35789       ac_ext=cpp
35790 ac_cpp='$CXXCPP $CPPFLAGS'
35791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35794
35795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35796 /* end confdefs.h.  */
35797 #include <math.h>
35798                       #ifdef HAVE_IEEEFP_H
35799                       #include <ieeefp.h>
35800                       #endif
35801
35802 int
35803 main ()
35804 {
35805  log10f(0);
35806   ;
35807   return 0;
35808 }
35809 _ACEOF
35810 if ac_fn_cxx_try_compile "$LINENO"; then :
35811   glibcxx_cv_func_log10f_use=yes
35812 else
35813   glibcxx_cv_func_log10f_use=no
35814 fi
35815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35816       ac_ext=c
35817 ac_cpp='$CPP $CPPFLAGS'
35818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35821
35822
35823 fi
35824
35825   fi
35826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35827 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35828
35829   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35830     for ac_func in log10f
35831 do :
35832   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35833 if test "x$ac_cv_func_log10f" = x""yes; then :
35834   cat >>confdefs.h <<_ACEOF
35835 #define HAVE_LOG10F 1
35836 _ACEOF
35837
35838 fi
35839 done
35840
35841   else
35842
35843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35844 $as_echo_n "checking for _log10f declaration... " >&6; }
35845   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35846     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35847   $as_echo_n "(cached) " >&6
35848 else
35849
35850
35851       ac_ext=cpp
35852 ac_cpp='$CXXCPP $CPPFLAGS'
35853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35856
35857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35858 /* end confdefs.h.  */
35859 #include <math.h>
35860                       #ifdef HAVE_IEEEFP_H
35861                       #include <ieeefp.h>
35862                       #endif
35863
35864 int
35865 main ()
35866 {
35867  _log10f(0);
35868   ;
35869   return 0;
35870 }
35871 _ACEOF
35872 if ac_fn_cxx_try_compile "$LINENO"; then :
35873   glibcxx_cv_func__log10f_use=yes
35874 else
35875   glibcxx_cv_func__log10f_use=no
35876 fi
35877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35878       ac_ext=c
35879 ac_cpp='$CPP $CPPFLAGS'
35880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35883
35884
35885 fi
35886
35887   fi
35888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35889 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35890
35891     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35892       for ac_func in _log10f
35893 do :
35894   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35895 if test "x$ac_cv_func__log10f" = x""yes; then :
35896   cat >>confdefs.h <<_ACEOF
35897 #define HAVE__LOG10F 1
35898 _ACEOF
35899
35900 fi
35901 done
35902
35903     fi
35904   fi
35905
35906
35907
35908
35909
35910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35911 $as_echo_n "checking for modff declaration... " >&6; }
35912   if test x${glibcxx_cv_func_modff_use+set} != xset; then
35913     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35914   $as_echo_n "(cached) " >&6
35915 else
35916
35917
35918       ac_ext=cpp
35919 ac_cpp='$CXXCPP $CPPFLAGS'
35920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35923
35924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35925 /* end confdefs.h.  */
35926 #include <math.h>
35927 int
35928 main ()
35929 {
35930  modff(0, 0);
35931   ;
35932   return 0;
35933 }
35934 _ACEOF
35935 if ac_fn_cxx_try_compile "$LINENO"; then :
35936   glibcxx_cv_func_modff_use=yes
35937 else
35938   glibcxx_cv_func_modff_use=no
35939 fi
35940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35941       ac_ext=c
35942 ac_cpp='$CPP $CPPFLAGS'
35943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35946
35947
35948 fi
35949
35950   fi
35951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35952 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35953
35954   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35955     for ac_func in modff
35956 do :
35957   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35958 if test "x$ac_cv_func_modff" = x""yes; then :
35959   cat >>confdefs.h <<_ACEOF
35960 #define HAVE_MODFF 1
35961 _ACEOF
35962
35963 fi
35964 done
35965
35966   else
35967
35968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35969 $as_echo_n "checking for _modff declaration... " >&6; }
35970   if test x${glibcxx_cv_func__modff_use+set} != xset; then
35971     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35972   $as_echo_n "(cached) " >&6
35973 else
35974
35975
35976       ac_ext=cpp
35977 ac_cpp='$CXXCPP $CPPFLAGS'
35978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35981
35982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35983 /* end confdefs.h.  */
35984 #include <math.h>
35985 int
35986 main ()
35987 {
35988  _modff(0, 0);
35989   ;
35990   return 0;
35991 }
35992 _ACEOF
35993 if ac_fn_cxx_try_compile "$LINENO"; then :
35994   glibcxx_cv_func__modff_use=yes
35995 else
35996   glibcxx_cv_func__modff_use=no
35997 fi
35998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35999       ac_ext=c
36000 ac_cpp='$CPP $CPPFLAGS'
36001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36004
36005
36006 fi
36007
36008   fi
36009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36010 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36011
36012     if test x$glibcxx_cv_func__modff_use = x"yes"; then
36013       for ac_func in _modff
36014 do :
36015   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36016 if test "x$ac_cv_func__modff" = x""yes; then :
36017   cat >>confdefs.h <<_ACEOF
36018 #define HAVE__MODFF 1
36019 _ACEOF
36020
36021 fi
36022 done
36023
36024     fi
36025   fi
36026
36027
36028
36029
36030
36031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36032 $as_echo_n "checking for modf declaration... " >&6; }
36033   if test x${glibcxx_cv_func_modf_use+set} != xset; then
36034     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36035   $as_echo_n "(cached) " >&6
36036 else
36037
36038
36039       ac_ext=cpp
36040 ac_cpp='$CXXCPP $CPPFLAGS'
36041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36044
36045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36046 /* end confdefs.h.  */
36047 #include <math.h>
36048 int
36049 main ()
36050 {
36051  modf(0, 0);
36052   ;
36053   return 0;
36054 }
36055 _ACEOF
36056 if ac_fn_cxx_try_compile "$LINENO"; then :
36057   glibcxx_cv_func_modf_use=yes
36058 else
36059   glibcxx_cv_func_modf_use=no
36060 fi
36061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36062       ac_ext=c
36063 ac_cpp='$CPP $CPPFLAGS'
36064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36067
36068
36069 fi
36070
36071   fi
36072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36073 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36074
36075   if test x$glibcxx_cv_func_modf_use = x"yes"; then
36076     for ac_func in modf
36077 do :
36078   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36079 if test "x$ac_cv_func_modf" = x""yes; then :
36080   cat >>confdefs.h <<_ACEOF
36081 #define HAVE_MODF 1
36082 _ACEOF
36083
36084 fi
36085 done
36086
36087   else
36088
36089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36090 $as_echo_n "checking for _modf declaration... " >&6; }
36091   if test x${glibcxx_cv_func__modf_use+set} != xset; then
36092     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36093   $as_echo_n "(cached) " >&6
36094 else
36095
36096
36097       ac_ext=cpp
36098 ac_cpp='$CXXCPP $CPPFLAGS'
36099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36102
36103       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36104 /* end confdefs.h.  */
36105 #include <math.h>
36106 int
36107 main ()
36108 {
36109  _modf(0, 0);
36110   ;
36111   return 0;
36112 }
36113 _ACEOF
36114 if ac_fn_cxx_try_compile "$LINENO"; then :
36115   glibcxx_cv_func__modf_use=yes
36116 else
36117   glibcxx_cv_func__modf_use=no
36118 fi
36119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36120       ac_ext=c
36121 ac_cpp='$CPP $CPPFLAGS'
36122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36125
36126
36127 fi
36128
36129   fi
36130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36131 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36132
36133     if test x$glibcxx_cv_func__modf_use = x"yes"; then
36134       for ac_func in _modf
36135 do :
36136   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36137 if test "x$ac_cv_func__modf" = x""yes; then :
36138   cat >>confdefs.h <<_ACEOF
36139 #define HAVE__MODF 1
36140 _ACEOF
36141
36142 fi
36143 done
36144
36145     fi
36146   fi
36147
36148
36149
36150
36151
36152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36153 $as_echo_n "checking for powf declaration... " >&6; }
36154   if test x${glibcxx_cv_func_powf_use+set} != xset; then
36155     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36156   $as_echo_n "(cached) " >&6
36157 else
36158
36159
36160       ac_ext=cpp
36161 ac_cpp='$CXXCPP $CPPFLAGS'
36162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36165
36166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36167 /* end confdefs.h.  */
36168 #include <math.h>
36169 int
36170 main ()
36171 {
36172  powf(0, 0);
36173   ;
36174   return 0;
36175 }
36176 _ACEOF
36177 if ac_fn_cxx_try_compile "$LINENO"; then :
36178   glibcxx_cv_func_powf_use=yes
36179 else
36180   glibcxx_cv_func_powf_use=no
36181 fi
36182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36183       ac_ext=c
36184 ac_cpp='$CPP $CPPFLAGS'
36185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36188
36189
36190 fi
36191
36192   fi
36193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36194 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36195
36196   if test x$glibcxx_cv_func_powf_use = x"yes"; then
36197     for ac_func in powf
36198 do :
36199   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36200 if test "x$ac_cv_func_powf" = x""yes; then :
36201   cat >>confdefs.h <<_ACEOF
36202 #define HAVE_POWF 1
36203 _ACEOF
36204
36205 fi
36206 done
36207
36208   else
36209
36210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36211 $as_echo_n "checking for _powf declaration... " >&6; }
36212   if test x${glibcxx_cv_func__powf_use+set} != xset; then
36213     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36214   $as_echo_n "(cached) " >&6
36215 else
36216
36217
36218       ac_ext=cpp
36219 ac_cpp='$CXXCPP $CPPFLAGS'
36220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36223
36224       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36225 /* end confdefs.h.  */
36226 #include <math.h>
36227 int
36228 main ()
36229 {
36230  _powf(0, 0);
36231   ;
36232   return 0;
36233 }
36234 _ACEOF
36235 if ac_fn_cxx_try_compile "$LINENO"; then :
36236   glibcxx_cv_func__powf_use=yes
36237 else
36238   glibcxx_cv_func__powf_use=no
36239 fi
36240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36241       ac_ext=c
36242 ac_cpp='$CPP $CPPFLAGS'
36243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36246
36247
36248 fi
36249
36250   fi
36251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36252 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36253
36254     if test x$glibcxx_cv_func__powf_use = x"yes"; then
36255       for ac_func in _powf
36256 do :
36257   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36258 if test "x$ac_cv_func__powf" = x""yes; then :
36259   cat >>confdefs.h <<_ACEOF
36260 #define HAVE__POWF 1
36261 _ACEOF
36262
36263 fi
36264 done
36265
36266     fi
36267   fi
36268
36269
36270
36271
36272
36273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36274 $as_echo_n "checking for sqrtf declaration... " >&6; }
36275   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36276     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36277   $as_echo_n "(cached) " >&6
36278 else
36279
36280
36281       ac_ext=cpp
36282 ac_cpp='$CXXCPP $CPPFLAGS'
36283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36286
36287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36288 /* end confdefs.h.  */
36289 #include <math.h>
36290                       #ifdef HAVE_IEEEFP_H
36291                       #include <ieeefp.h>
36292                       #endif
36293
36294 int
36295 main ()
36296 {
36297  sqrtf(0);
36298   ;
36299   return 0;
36300 }
36301 _ACEOF
36302 if ac_fn_cxx_try_compile "$LINENO"; then :
36303   glibcxx_cv_func_sqrtf_use=yes
36304 else
36305   glibcxx_cv_func_sqrtf_use=no
36306 fi
36307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36308       ac_ext=c
36309 ac_cpp='$CPP $CPPFLAGS'
36310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36313
36314
36315 fi
36316
36317   fi
36318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36319 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36320
36321   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36322     for ac_func in sqrtf
36323 do :
36324   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36325 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36326   cat >>confdefs.h <<_ACEOF
36327 #define HAVE_SQRTF 1
36328 _ACEOF
36329
36330 fi
36331 done
36332
36333   else
36334
36335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36336 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36337   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36338     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36339   $as_echo_n "(cached) " >&6
36340 else
36341
36342
36343       ac_ext=cpp
36344 ac_cpp='$CXXCPP $CPPFLAGS'
36345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36348
36349       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36350 /* end confdefs.h.  */
36351 #include <math.h>
36352                       #ifdef HAVE_IEEEFP_H
36353                       #include <ieeefp.h>
36354                       #endif
36355
36356 int
36357 main ()
36358 {
36359  _sqrtf(0);
36360   ;
36361   return 0;
36362 }
36363 _ACEOF
36364 if ac_fn_cxx_try_compile "$LINENO"; then :
36365   glibcxx_cv_func__sqrtf_use=yes
36366 else
36367   glibcxx_cv_func__sqrtf_use=no
36368 fi
36369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36370       ac_ext=c
36371 ac_cpp='$CPP $CPPFLAGS'
36372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36375
36376
36377 fi
36378
36379   fi
36380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36381 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36382
36383     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36384       for ac_func in _sqrtf
36385 do :
36386   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36387 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36388   cat >>confdefs.h <<_ACEOF
36389 #define HAVE__SQRTF 1
36390 _ACEOF
36391
36392 fi
36393 done
36394
36395     fi
36396   fi
36397
36398
36399
36400
36401
36402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36403 $as_echo_n "checking for sincosf declaration... " >&6; }
36404   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36405     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36406   $as_echo_n "(cached) " >&6
36407 else
36408
36409
36410       ac_ext=cpp
36411 ac_cpp='$CXXCPP $CPPFLAGS'
36412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36415
36416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36417 /* end confdefs.h.  */
36418 #include <math.h>
36419 int
36420 main ()
36421 {
36422  sincosf(0, 0, 0);
36423   ;
36424   return 0;
36425 }
36426 _ACEOF
36427 if ac_fn_cxx_try_compile "$LINENO"; then :
36428   glibcxx_cv_func_sincosf_use=yes
36429 else
36430   glibcxx_cv_func_sincosf_use=no
36431 fi
36432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36433       ac_ext=c
36434 ac_cpp='$CPP $CPPFLAGS'
36435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36438
36439
36440 fi
36441
36442   fi
36443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36444 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36445
36446   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36447     for ac_func in sincosf
36448 do :
36449   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36450 if test "x$ac_cv_func_sincosf" = x""yes; then :
36451   cat >>confdefs.h <<_ACEOF
36452 #define HAVE_SINCOSF 1
36453 _ACEOF
36454
36455 fi
36456 done
36457
36458   else
36459
36460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36461 $as_echo_n "checking for _sincosf declaration... " >&6; }
36462   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36463     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36464   $as_echo_n "(cached) " >&6
36465 else
36466
36467
36468       ac_ext=cpp
36469 ac_cpp='$CXXCPP $CPPFLAGS'
36470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36473
36474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36475 /* end confdefs.h.  */
36476 #include <math.h>
36477 int
36478 main ()
36479 {
36480  _sincosf(0, 0, 0);
36481   ;
36482   return 0;
36483 }
36484 _ACEOF
36485 if ac_fn_cxx_try_compile "$LINENO"; then :
36486   glibcxx_cv_func__sincosf_use=yes
36487 else
36488   glibcxx_cv_func__sincosf_use=no
36489 fi
36490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36491       ac_ext=c
36492 ac_cpp='$CPP $CPPFLAGS'
36493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36496
36497
36498 fi
36499
36500   fi
36501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36502 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36503
36504     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36505       for ac_func in _sincosf
36506 do :
36507   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36508 if test "x$ac_cv_func__sincosf" = x""yes; then :
36509   cat >>confdefs.h <<_ACEOF
36510 #define HAVE__SINCOSF 1
36511 _ACEOF
36512
36513 fi
36514 done
36515
36516     fi
36517   fi
36518
36519
36520
36521
36522
36523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36524 $as_echo_n "checking for finitef declaration... " >&6; }
36525   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36526     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36527   $as_echo_n "(cached) " >&6
36528 else
36529
36530
36531       ac_ext=cpp
36532 ac_cpp='$CXXCPP $CPPFLAGS'
36533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36536
36537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36538 /* end confdefs.h.  */
36539 #include <math.h>
36540                       #ifdef HAVE_IEEEFP_H
36541                       #include <ieeefp.h>
36542                       #endif
36543
36544 int
36545 main ()
36546 {
36547  finitef(0);
36548   ;
36549   return 0;
36550 }
36551 _ACEOF
36552 if ac_fn_cxx_try_compile "$LINENO"; then :
36553   glibcxx_cv_func_finitef_use=yes
36554 else
36555   glibcxx_cv_func_finitef_use=no
36556 fi
36557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36558       ac_ext=c
36559 ac_cpp='$CPP $CPPFLAGS'
36560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36563
36564
36565 fi
36566
36567   fi
36568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36569 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36570
36571   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36572     for ac_func in finitef
36573 do :
36574   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36575 if test "x$ac_cv_func_finitef" = x""yes; then :
36576   cat >>confdefs.h <<_ACEOF
36577 #define HAVE_FINITEF 1
36578 _ACEOF
36579
36580 fi
36581 done
36582
36583   else
36584
36585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36586 $as_echo_n "checking for _finitef declaration... " >&6; }
36587   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36588     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36589   $as_echo_n "(cached) " >&6
36590 else
36591
36592
36593       ac_ext=cpp
36594 ac_cpp='$CXXCPP $CPPFLAGS'
36595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36598
36599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36600 /* end confdefs.h.  */
36601 #include <math.h>
36602                       #ifdef HAVE_IEEEFP_H
36603                       #include <ieeefp.h>
36604                       #endif
36605
36606 int
36607 main ()
36608 {
36609  _finitef(0);
36610   ;
36611   return 0;
36612 }
36613 _ACEOF
36614 if ac_fn_cxx_try_compile "$LINENO"; then :
36615   glibcxx_cv_func__finitef_use=yes
36616 else
36617   glibcxx_cv_func__finitef_use=no
36618 fi
36619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36620       ac_ext=c
36621 ac_cpp='$CPP $CPPFLAGS'
36622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36625
36626
36627 fi
36628
36629   fi
36630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36631 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36632
36633     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36634       for ac_func in _finitef
36635 do :
36636   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36637 if test "x$ac_cv_func__finitef" = x""yes; then :
36638   cat >>confdefs.h <<_ACEOF
36639 #define HAVE__FINITEF 1
36640 _ACEOF
36641
36642 fi
36643 done
36644
36645     fi
36646   fi
36647
36648
36649
36650
36651
36652     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36653 $as_echo_n "checking for long double trig functions... " >&6; }
36654   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36655   $as_echo_n "(cached) " >&6
36656 else
36657
36658
36659     ac_ext=cpp
36660 ac_cpp='$CXXCPP $CPPFLAGS'
36661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36664
36665     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36666 /* end confdefs.h.  */
36667 #include <math.h>
36668 int
36669 main ()
36670 {
36671 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36672   ;
36673   return 0;
36674 }
36675 _ACEOF
36676 if ac_fn_cxx_try_compile "$LINENO"; then :
36677   glibcxx_cv_func_long_double_trig_use=yes
36678 else
36679   glibcxx_cv_func_long_double_trig_use=no
36680 fi
36681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36682     ac_ext=c
36683 ac_cpp='$CPP $CPPFLAGS'
36684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36687
36688 fi
36689
36690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36691 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36692   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36693     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36694 do :
36695   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36696 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36697 eval as_val=\$$as_ac_var
36698    if test "x$as_val" = x""yes; then :
36699   cat >>confdefs.h <<_ACEOF
36700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36701 _ACEOF
36702
36703 fi
36704 done
36705
36706   else
36707     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36708 $as_echo_n "checking for _long double trig functions... " >&6; }
36709     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36710   $as_echo_n "(cached) " >&6
36711 else
36712
36713
36714       ac_ext=cpp
36715 ac_cpp='$CXXCPP $CPPFLAGS'
36716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36719
36720       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36721 /* end confdefs.h.  */
36722 #include <math.h>
36723 int
36724 main ()
36725 {
36726 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36727   ;
36728   return 0;
36729 }
36730 _ACEOF
36731 if ac_fn_cxx_try_compile "$LINENO"; then :
36732   glibcxx_cv_func__long_double_trig_use=yes
36733 else
36734   glibcxx_cv_func__long_double_trig_use=no
36735 fi
36736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36737       ac_ext=c
36738 ac_cpp='$CPP $CPPFLAGS'
36739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36742
36743 fi
36744
36745     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36746 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36747     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36748       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36749 do :
36750   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36751 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36752 eval as_val=\$$as_ac_var
36753    if test "x$as_val" = x""yes; then :
36754   cat >>confdefs.h <<_ACEOF
36755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36756 _ACEOF
36757
36758 fi
36759 done
36760
36761     fi
36762   fi
36763
36764
36765
36766
36767
36768     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36769 $as_echo_n "checking for long double round functions... " >&6; }
36770   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36771   $as_echo_n "(cached) " >&6
36772 else
36773
36774
36775     ac_ext=cpp
36776 ac_cpp='$CXXCPP $CPPFLAGS'
36777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36780
36781     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36782 /* end confdefs.h.  */
36783 #include <math.h>
36784 int
36785 main ()
36786 {
36787 ceill (0); floorl (0);
36788   ;
36789   return 0;
36790 }
36791 _ACEOF
36792 if ac_fn_cxx_try_compile "$LINENO"; then :
36793   glibcxx_cv_func_long_double_round_use=yes
36794 else
36795   glibcxx_cv_func_long_double_round_use=no
36796 fi
36797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36798     ac_ext=c
36799 ac_cpp='$CPP $CPPFLAGS'
36800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36803
36804 fi
36805
36806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36807 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36808   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36809     for ac_func in ceill floorl
36810 do :
36811   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36813 eval as_val=\$$as_ac_var
36814    if test "x$as_val" = x""yes; then :
36815   cat >>confdefs.h <<_ACEOF
36816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36817 _ACEOF
36818
36819 fi
36820 done
36821
36822   else
36823     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36824 $as_echo_n "checking for _long double round functions... " >&6; }
36825     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36826   $as_echo_n "(cached) " >&6
36827 else
36828
36829
36830       ac_ext=cpp
36831 ac_cpp='$CXXCPP $CPPFLAGS'
36832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36835
36836       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36837 /* end confdefs.h.  */
36838 #include <math.h>
36839 int
36840 main ()
36841 {
36842 _ceill (0); _floorl (0);
36843   ;
36844   return 0;
36845 }
36846 _ACEOF
36847 if ac_fn_cxx_try_compile "$LINENO"; then :
36848   glibcxx_cv_func__long_double_round_use=yes
36849 else
36850   glibcxx_cv_func__long_double_round_use=no
36851 fi
36852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36853       ac_ext=c
36854 ac_cpp='$CPP $CPPFLAGS'
36855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36858
36859 fi
36860
36861     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36862 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36863     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36864       for ac_func in _ceill _floorl
36865 do :
36866   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36868 eval as_val=\$$as_ac_var
36869    if test "x$as_val" = x""yes; then :
36870   cat >>confdefs.h <<_ACEOF
36871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36872 _ACEOF
36873
36874 fi
36875 done
36876
36877     fi
36878   fi
36879
36880
36881
36882
36883
36884
36885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36886 $as_echo_n "checking for isnanl declaration... " >&6; }
36887   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36888     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36889   $as_echo_n "(cached) " >&6
36890 else
36891
36892
36893       ac_ext=cpp
36894 ac_cpp='$CXXCPP $CPPFLAGS'
36895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36898
36899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36900 /* end confdefs.h.  */
36901 #include <math.h>
36902                       #ifdef HAVE_IEEEFP_H
36903                       #include <ieeefp.h>
36904                       #endif
36905
36906 int
36907 main ()
36908 {
36909  isnanl(0);
36910   ;
36911   return 0;
36912 }
36913 _ACEOF
36914 if ac_fn_cxx_try_compile "$LINENO"; then :
36915   glibcxx_cv_func_isnanl_use=yes
36916 else
36917   glibcxx_cv_func_isnanl_use=no
36918 fi
36919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36920       ac_ext=c
36921 ac_cpp='$CPP $CPPFLAGS'
36922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36925
36926
36927 fi
36928
36929   fi
36930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36931 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36932
36933   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36934     for ac_func in isnanl
36935 do :
36936   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36937 if test "x$ac_cv_func_isnanl" = x""yes; then :
36938   cat >>confdefs.h <<_ACEOF
36939 #define HAVE_ISNANL 1
36940 _ACEOF
36941
36942 fi
36943 done
36944
36945   else
36946
36947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36948 $as_echo_n "checking for _isnanl declaration... " >&6; }
36949   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36950     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36951   $as_echo_n "(cached) " >&6
36952 else
36953
36954
36955       ac_ext=cpp
36956 ac_cpp='$CXXCPP $CPPFLAGS'
36957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36960
36961       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36962 /* end confdefs.h.  */
36963 #include <math.h>
36964                       #ifdef HAVE_IEEEFP_H
36965                       #include <ieeefp.h>
36966                       #endif
36967
36968 int
36969 main ()
36970 {
36971  _isnanl(0);
36972   ;
36973   return 0;
36974 }
36975 _ACEOF
36976 if ac_fn_cxx_try_compile "$LINENO"; then :
36977   glibcxx_cv_func__isnanl_use=yes
36978 else
36979   glibcxx_cv_func__isnanl_use=no
36980 fi
36981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36982       ac_ext=c
36983 ac_cpp='$CPP $CPPFLAGS'
36984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36987
36988
36989 fi
36990
36991   fi
36992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36993 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36994
36995     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36996       for ac_func in _isnanl
36997 do :
36998   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36999 if test "x$ac_cv_func__isnanl" = x""yes; then :
37000   cat >>confdefs.h <<_ACEOF
37001 #define HAVE__ISNANL 1
37002 _ACEOF
37003
37004 fi
37005 done
37006
37007     fi
37008   fi
37009
37010
37011
37012
37013
37014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37015 $as_echo_n "checking for isinfl declaration... " >&6; }
37016   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37017     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37018   $as_echo_n "(cached) " >&6
37019 else
37020
37021
37022       ac_ext=cpp
37023 ac_cpp='$CXXCPP $CPPFLAGS'
37024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37027
37028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37029 /* end confdefs.h.  */
37030 #include <math.h>
37031                       #ifdef HAVE_IEEEFP_H
37032                       #include <ieeefp.h>
37033                       #endif
37034
37035 int
37036 main ()
37037 {
37038  isinfl(0);
37039   ;
37040   return 0;
37041 }
37042 _ACEOF
37043 if ac_fn_cxx_try_compile "$LINENO"; then :
37044   glibcxx_cv_func_isinfl_use=yes
37045 else
37046   glibcxx_cv_func_isinfl_use=no
37047 fi
37048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37049       ac_ext=c
37050 ac_cpp='$CPP $CPPFLAGS'
37051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37054
37055
37056 fi
37057
37058   fi
37059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37060 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37061
37062   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37063     for ac_func in isinfl
37064 do :
37065   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37066 if test "x$ac_cv_func_isinfl" = x""yes; then :
37067   cat >>confdefs.h <<_ACEOF
37068 #define HAVE_ISINFL 1
37069 _ACEOF
37070
37071 fi
37072 done
37073
37074   else
37075
37076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37077 $as_echo_n "checking for _isinfl declaration... " >&6; }
37078   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37079     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37080   $as_echo_n "(cached) " >&6
37081 else
37082
37083
37084       ac_ext=cpp
37085 ac_cpp='$CXXCPP $CPPFLAGS'
37086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37089
37090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37091 /* end confdefs.h.  */
37092 #include <math.h>
37093                       #ifdef HAVE_IEEEFP_H
37094                       #include <ieeefp.h>
37095                       #endif
37096
37097 int
37098 main ()
37099 {
37100  _isinfl(0);
37101   ;
37102   return 0;
37103 }
37104 _ACEOF
37105 if ac_fn_cxx_try_compile "$LINENO"; then :
37106   glibcxx_cv_func__isinfl_use=yes
37107 else
37108   glibcxx_cv_func__isinfl_use=no
37109 fi
37110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37111       ac_ext=c
37112 ac_cpp='$CPP $CPPFLAGS'
37113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37116
37117
37118 fi
37119
37120   fi
37121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37122 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37123
37124     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37125       for ac_func in _isinfl
37126 do :
37127   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37128 if test "x$ac_cv_func__isinfl" = x""yes; then :
37129   cat >>confdefs.h <<_ACEOF
37130 #define HAVE__ISINFL 1
37131 _ACEOF
37132
37133 fi
37134 done
37135
37136     fi
37137   fi
37138
37139
37140
37141
37142
37143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37144 $as_echo_n "checking for atan2l declaration... " >&6; }
37145   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37146     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37147   $as_echo_n "(cached) " >&6
37148 else
37149
37150
37151       ac_ext=cpp
37152 ac_cpp='$CXXCPP $CPPFLAGS'
37153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37156
37157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37158 /* end confdefs.h.  */
37159 #include <math.h>
37160 int
37161 main ()
37162 {
37163  atan2l(0, 0);
37164   ;
37165   return 0;
37166 }
37167 _ACEOF
37168 if ac_fn_cxx_try_compile "$LINENO"; then :
37169   glibcxx_cv_func_atan2l_use=yes
37170 else
37171   glibcxx_cv_func_atan2l_use=no
37172 fi
37173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37174       ac_ext=c
37175 ac_cpp='$CPP $CPPFLAGS'
37176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37179
37180
37181 fi
37182
37183   fi
37184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37185 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37186
37187   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37188     for ac_func in atan2l
37189 do :
37190   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37191 if test "x$ac_cv_func_atan2l" = x""yes; then :
37192   cat >>confdefs.h <<_ACEOF
37193 #define HAVE_ATAN2L 1
37194 _ACEOF
37195
37196 fi
37197 done
37198
37199   else
37200
37201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37202 $as_echo_n "checking for _atan2l declaration... " >&6; }
37203   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37204     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37205   $as_echo_n "(cached) " >&6
37206 else
37207
37208
37209       ac_ext=cpp
37210 ac_cpp='$CXXCPP $CPPFLAGS'
37211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37214
37215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37216 /* end confdefs.h.  */
37217 #include <math.h>
37218 int
37219 main ()
37220 {
37221  _atan2l(0, 0);
37222   ;
37223   return 0;
37224 }
37225 _ACEOF
37226 if ac_fn_cxx_try_compile "$LINENO"; then :
37227   glibcxx_cv_func__atan2l_use=yes
37228 else
37229   glibcxx_cv_func__atan2l_use=no
37230 fi
37231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37232       ac_ext=c
37233 ac_cpp='$CPP $CPPFLAGS'
37234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37237
37238
37239 fi
37240
37241   fi
37242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37243 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37244
37245     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37246       for ac_func in _atan2l
37247 do :
37248   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37249 if test "x$ac_cv_func__atan2l" = x""yes; then :
37250   cat >>confdefs.h <<_ACEOF
37251 #define HAVE__ATAN2L 1
37252 _ACEOF
37253
37254 fi
37255 done
37256
37257     fi
37258   fi
37259
37260
37261
37262
37263
37264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37265 $as_echo_n "checking for expl declaration... " >&6; }
37266   if test x${glibcxx_cv_func_expl_use+set} != xset; then
37267     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37268   $as_echo_n "(cached) " >&6
37269 else
37270
37271
37272       ac_ext=cpp
37273 ac_cpp='$CXXCPP $CPPFLAGS'
37274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37277
37278       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37279 /* end confdefs.h.  */
37280 #include <math.h>
37281                       #ifdef HAVE_IEEEFP_H
37282                       #include <ieeefp.h>
37283                       #endif
37284
37285 int
37286 main ()
37287 {
37288  expl(0);
37289   ;
37290   return 0;
37291 }
37292 _ACEOF
37293 if ac_fn_cxx_try_compile "$LINENO"; then :
37294   glibcxx_cv_func_expl_use=yes
37295 else
37296   glibcxx_cv_func_expl_use=no
37297 fi
37298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37299       ac_ext=c
37300 ac_cpp='$CPP $CPPFLAGS'
37301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37304
37305
37306 fi
37307
37308   fi
37309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37310 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37311
37312   if test x$glibcxx_cv_func_expl_use = x"yes"; then
37313     for ac_func in expl
37314 do :
37315   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37316 if test "x$ac_cv_func_expl" = x""yes; then :
37317   cat >>confdefs.h <<_ACEOF
37318 #define HAVE_EXPL 1
37319 _ACEOF
37320
37321 fi
37322 done
37323
37324   else
37325
37326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37327 $as_echo_n "checking for _expl declaration... " >&6; }
37328   if test x${glibcxx_cv_func__expl_use+set} != xset; then
37329     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37330   $as_echo_n "(cached) " >&6
37331 else
37332
37333
37334       ac_ext=cpp
37335 ac_cpp='$CXXCPP $CPPFLAGS'
37336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37339
37340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37341 /* end confdefs.h.  */
37342 #include <math.h>
37343                       #ifdef HAVE_IEEEFP_H
37344                       #include <ieeefp.h>
37345                       #endif
37346
37347 int
37348 main ()
37349 {
37350  _expl(0);
37351   ;
37352   return 0;
37353 }
37354 _ACEOF
37355 if ac_fn_cxx_try_compile "$LINENO"; then :
37356   glibcxx_cv_func__expl_use=yes
37357 else
37358   glibcxx_cv_func__expl_use=no
37359 fi
37360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37361       ac_ext=c
37362 ac_cpp='$CPP $CPPFLAGS'
37363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37366
37367
37368 fi
37369
37370   fi
37371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37372 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37373
37374     if test x$glibcxx_cv_func__expl_use = x"yes"; then
37375       for ac_func in _expl
37376 do :
37377   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37378 if test "x$ac_cv_func__expl" = x""yes; then :
37379   cat >>confdefs.h <<_ACEOF
37380 #define HAVE__EXPL 1
37381 _ACEOF
37382
37383 fi
37384 done
37385
37386     fi
37387   fi
37388
37389
37390
37391
37392
37393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37394 $as_echo_n "checking for fabsl declaration... " >&6; }
37395   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37396     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37397   $as_echo_n "(cached) " >&6
37398 else
37399
37400
37401       ac_ext=cpp
37402 ac_cpp='$CXXCPP $CPPFLAGS'
37403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37406
37407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37408 /* end confdefs.h.  */
37409 #include <math.h>
37410                       #ifdef HAVE_IEEEFP_H
37411                       #include <ieeefp.h>
37412                       #endif
37413
37414 int
37415 main ()
37416 {
37417  fabsl(0);
37418   ;
37419   return 0;
37420 }
37421 _ACEOF
37422 if ac_fn_cxx_try_compile "$LINENO"; then :
37423   glibcxx_cv_func_fabsl_use=yes
37424 else
37425   glibcxx_cv_func_fabsl_use=no
37426 fi
37427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37428       ac_ext=c
37429 ac_cpp='$CPP $CPPFLAGS'
37430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37433
37434
37435 fi
37436
37437   fi
37438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37439 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37440
37441   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37442     for ac_func in fabsl
37443 do :
37444   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37445 if test "x$ac_cv_func_fabsl" = x""yes; then :
37446   cat >>confdefs.h <<_ACEOF
37447 #define HAVE_FABSL 1
37448 _ACEOF
37449
37450 fi
37451 done
37452
37453   else
37454
37455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37456 $as_echo_n "checking for _fabsl declaration... " >&6; }
37457   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37458     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37459   $as_echo_n "(cached) " >&6
37460 else
37461
37462
37463       ac_ext=cpp
37464 ac_cpp='$CXXCPP $CPPFLAGS'
37465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37468
37469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37470 /* end confdefs.h.  */
37471 #include <math.h>
37472                       #ifdef HAVE_IEEEFP_H
37473                       #include <ieeefp.h>
37474                       #endif
37475
37476 int
37477 main ()
37478 {
37479  _fabsl(0);
37480   ;
37481   return 0;
37482 }
37483 _ACEOF
37484 if ac_fn_cxx_try_compile "$LINENO"; then :
37485   glibcxx_cv_func__fabsl_use=yes
37486 else
37487   glibcxx_cv_func__fabsl_use=no
37488 fi
37489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37490       ac_ext=c
37491 ac_cpp='$CPP $CPPFLAGS'
37492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37495
37496
37497 fi
37498
37499   fi
37500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37501 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37502
37503     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37504       for ac_func in _fabsl
37505 do :
37506   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37507 if test "x$ac_cv_func__fabsl" = x""yes; then :
37508   cat >>confdefs.h <<_ACEOF
37509 #define HAVE__FABSL 1
37510 _ACEOF
37511
37512 fi
37513 done
37514
37515     fi
37516   fi
37517
37518
37519
37520
37521
37522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37523 $as_echo_n "checking for fmodl declaration... " >&6; }
37524   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37525     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37526   $as_echo_n "(cached) " >&6
37527 else
37528
37529
37530       ac_ext=cpp
37531 ac_cpp='$CXXCPP $CPPFLAGS'
37532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37535
37536       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37537 /* end confdefs.h.  */
37538 #include <math.h>
37539 int
37540 main ()
37541 {
37542  fmodl(0, 0);
37543   ;
37544   return 0;
37545 }
37546 _ACEOF
37547 if ac_fn_cxx_try_compile "$LINENO"; then :
37548   glibcxx_cv_func_fmodl_use=yes
37549 else
37550   glibcxx_cv_func_fmodl_use=no
37551 fi
37552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37553       ac_ext=c
37554 ac_cpp='$CPP $CPPFLAGS'
37555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37558
37559
37560 fi
37561
37562   fi
37563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37564 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37565
37566   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37567     for ac_func in fmodl
37568 do :
37569   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37570 if test "x$ac_cv_func_fmodl" = x""yes; then :
37571   cat >>confdefs.h <<_ACEOF
37572 #define HAVE_FMODL 1
37573 _ACEOF
37574
37575 fi
37576 done
37577
37578   else
37579
37580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37581 $as_echo_n "checking for _fmodl declaration... " >&6; }
37582   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37583     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37584   $as_echo_n "(cached) " >&6
37585 else
37586
37587
37588       ac_ext=cpp
37589 ac_cpp='$CXXCPP $CPPFLAGS'
37590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37593
37594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37595 /* end confdefs.h.  */
37596 #include <math.h>
37597 int
37598 main ()
37599 {
37600  _fmodl(0, 0);
37601   ;
37602   return 0;
37603 }
37604 _ACEOF
37605 if ac_fn_cxx_try_compile "$LINENO"; then :
37606   glibcxx_cv_func__fmodl_use=yes
37607 else
37608   glibcxx_cv_func__fmodl_use=no
37609 fi
37610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37611       ac_ext=c
37612 ac_cpp='$CPP $CPPFLAGS'
37613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37616
37617
37618 fi
37619
37620   fi
37621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37622 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37623
37624     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37625       for ac_func in _fmodl
37626 do :
37627   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37628 if test "x$ac_cv_func__fmodl" = x""yes; then :
37629   cat >>confdefs.h <<_ACEOF
37630 #define HAVE__FMODL 1
37631 _ACEOF
37632
37633 fi
37634 done
37635
37636     fi
37637   fi
37638
37639
37640
37641
37642
37643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37644 $as_echo_n "checking for frexpl declaration... " >&6; }
37645   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37646     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37647   $as_echo_n "(cached) " >&6
37648 else
37649
37650
37651       ac_ext=cpp
37652 ac_cpp='$CXXCPP $CPPFLAGS'
37653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37656
37657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37658 /* end confdefs.h.  */
37659 #include <math.h>
37660 int
37661 main ()
37662 {
37663  frexpl(0, 0);
37664   ;
37665   return 0;
37666 }
37667 _ACEOF
37668 if ac_fn_cxx_try_compile "$LINENO"; then :
37669   glibcxx_cv_func_frexpl_use=yes
37670 else
37671   glibcxx_cv_func_frexpl_use=no
37672 fi
37673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37674       ac_ext=c
37675 ac_cpp='$CPP $CPPFLAGS'
37676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37679
37680
37681 fi
37682
37683   fi
37684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37685 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37686
37687   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37688     for ac_func in frexpl
37689 do :
37690   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37691 if test "x$ac_cv_func_frexpl" = x""yes; then :
37692   cat >>confdefs.h <<_ACEOF
37693 #define HAVE_FREXPL 1
37694 _ACEOF
37695
37696 fi
37697 done
37698
37699   else
37700
37701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37702 $as_echo_n "checking for _frexpl declaration... " >&6; }
37703   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37704     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37705   $as_echo_n "(cached) " >&6
37706 else
37707
37708
37709       ac_ext=cpp
37710 ac_cpp='$CXXCPP $CPPFLAGS'
37711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37714
37715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37716 /* end confdefs.h.  */
37717 #include <math.h>
37718 int
37719 main ()
37720 {
37721  _frexpl(0, 0);
37722   ;
37723   return 0;
37724 }
37725 _ACEOF
37726 if ac_fn_cxx_try_compile "$LINENO"; then :
37727   glibcxx_cv_func__frexpl_use=yes
37728 else
37729   glibcxx_cv_func__frexpl_use=no
37730 fi
37731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37732       ac_ext=c
37733 ac_cpp='$CPP $CPPFLAGS'
37734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37737
37738
37739 fi
37740
37741   fi
37742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37743 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37744
37745     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37746       for ac_func in _frexpl
37747 do :
37748   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37749 if test "x$ac_cv_func__frexpl" = x""yes; then :
37750   cat >>confdefs.h <<_ACEOF
37751 #define HAVE__FREXPL 1
37752 _ACEOF
37753
37754 fi
37755 done
37756
37757     fi
37758   fi
37759
37760
37761
37762
37763
37764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37765 $as_echo_n "checking for hypotl declaration... " >&6; }
37766   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37767     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37768   $as_echo_n "(cached) " >&6
37769 else
37770
37771
37772       ac_ext=cpp
37773 ac_cpp='$CXXCPP $CPPFLAGS'
37774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37777
37778       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37779 /* end confdefs.h.  */
37780 #include <math.h>
37781 int
37782 main ()
37783 {
37784  hypotl(0, 0);
37785   ;
37786   return 0;
37787 }
37788 _ACEOF
37789 if ac_fn_cxx_try_compile "$LINENO"; then :
37790   glibcxx_cv_func_hypotl_use=yes
37791 else
37792   glibcxx_cv_func_hypotl_use=no
37793 fi
37794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37795       ac_ext=c
37796 ac_cpp='$CPP $CPPFLAGS'
37797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37800
37801
37802 fi
37803
37804   fi
37805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37806 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37807
37808   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37809     for ac_func in hypotl
37810 do :
37811   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37812 if test "x$ac_cv_func_hypotl" = x""yes; then :
37813   cat >>confdefs.h <<_ACEOF
37814 #define HAVE_HYPOTL 1
37815 _ACEOF
37816
37817 fi
37818 done
37819
37820   else
37821
37822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37823 $as_echo_n "checking for _hypotl declaration... " >&6; }
37824   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37825     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37826   $as_echo_n "(cached) " >&6
37827 else
37828
37829
37830       ac_ext=cpp
37831 ac_cpp='$CXXCPP $CPPFLAGS'
37832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37835
37836       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37837 /* end confdefs.h.  */
37838 #include <math.h>
37839 int
37840 main ()
37841 {
37842  _hypotl(0, 0);
37843   ;
37844   return 0;
37845 }
37846 _ACEOF
37847 if ac_fn_cxx_try_compile "$LINENO"; then :
37848   glibcxx_cv_func__hypotl_use=yes
37849 else
37850   glibcxx_cv_func__hypotl_use=no
37851 fi
37852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37853       ac_ext=c
37854 ac_cpp='$CPP $CPPFLAGS'
37855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37858
37859
37860 fi
37861
37862   fi
37863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37864 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37865
37866     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37867       for ac_func in _hypotl
37868 do :
37869   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37870 if test "x$ac_cv_func__hypotl" = x""yes; then :
37871   cat >>confdefs.h <<_ACEOF
37872 #define HAVE__HYPOTL 1
37873 _ACEOF
37874
37875 fi
37876 done
37877
37878     fi
37879   fi
37880
37881
37882
37883
37884
37885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37886 $as_echo_n "checking for ldexpl declaration... " >&6; }
37887   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37888     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37889   $as_echo_n "(cached) " >&6
37890 else
37891
37892
37893       ac_ext=cpp
37894 ac_cpp='$CXXCPP $CPPFLAGS'
37895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37898
37899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37900 /* end confdefs.h.  */
37901 #include <math.h>
37902 int
37903 main ()
37904 {
37905  ldexpl(0, 0);
37906   ;
37907   return 0;
37908 }
37909 _ACEOF
37910 if ac_fn_cxx_try_compile "$LINENO"; then :
37911   glibcxx_cv_func_ldexpl_use=yes
37912 else
37913   glibcxx_cv_func_ldexpl_use=no
37914 fi
37915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37916       ac_ext=c
37917 ac_cpp='$CPP $CPPFLAGS'
37918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37921
37922
37923 fi
37924
37925   fi
37926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37927 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37928
37929   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37930     for ac_func in ldexpl
37931 do :
37932   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37933 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37934   cat >>confdefs.h <<_ACEOF
37935 #define HAVE_LDEXPL 1
37936 _ACEOF
37937
37938 fi
37939 done
37940
37941   else
37942
37943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37944 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37945   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37946     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37947   $as_echo_n "(cached) " >&6
37948 else
37949
37950
37951       ac_ext=cpp
37952 ac_cpp='$CXXCPP $CPPFLAGS'
37953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37956
37957       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37958 /* end confdefs.h.  */
37959 #include <math.h>
37960 int
37961 main ()
37962 {
37963  _ldexpl(0, 0);
37964   ;
37965   return 0;
37966 }
37967 _ACEOF
37968 if ac_fn_cxx_try_compile "$LINENO"; then :
37969   glibcxx_cv_func__ldexpl_use=yes
37970 else
37971   glibcxx_cv_func__ldexpl_use=no
37972 fi
37973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37974       ac_ext=c
37975 ac_cpp='$CPP $CPPFLAGS'
37976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37979
37980
37981 fi
37982
37983   fi
37984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37985 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37986
37987     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37988       for ac_func in _ldexpl
37989 do :
37990   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37991 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37992   cat >>confdefs.h <<_ACEOF
37993 #define HAVE__LDEXPL 1
37994 _ACEOF
37995
37996 fi
37997 done
37998
37999     fi
38000   fi
38001
38002
38003
38004
38005
38006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38007 $as_echo_n "checking for logl declaration... " >&6; }
38008   if test x${glibcxx_cv_func_logl_use+set} != xset; then
38009     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38010   $as_echo_n "(cached) " >&6
38011 else
38012
38013
38014       ac_ext=cpp
38015 ac_cpp='$CXXCPP $CPPFLAGS'
38016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38019
38020       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38021 /* end confdefs.h.  */
38022 #include <math.h>
38023                       #ifdef HAVE_IEEEFP_H
38024                       #include <ieeefp.h>
38025                       #endif
38026
38027 int
38028 main ()
38029 {
38030  logl(0);
38031   ;
38032   return 0;
38033 }
38034 _ACEOF
38035 if ac_fn_cxx_try_compile "$LINENO"; then :
38036   glibcxx_cv_func_logl_use=yes
38037 else
38038   glibcxx_cv_func_logl_use=no
38039 fi
38040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38041       ac_ext=c
38042 ac_cpp='$CPP $CPPFLAGS'
38043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38046
38047
38048 fi
38049
38050   fi
38051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38052 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38053
38054   if test x$glibcxx_cv_func_logl_use = x"yes"; then
38055     for ac_func in logl
38056 do :
38057   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38058 if test "x$ac_cv_func_logl" = x""yes; then :
38059   cat >>confdefs.h <<_ACEOF
38060 #define HAVE_LOGL 1
38061 _ACEOF
38062
38063 fi
38064 done
38065
38066   else
38067
38068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38069 $as_echo_n "checking for _logl declaration... " >&6; }
38070   if test x${glibcxx_cv_func__logl_use+set} != xset; then
38071     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38072   $as_echo_n "(cached) " >&6
38073 else
38074
38075
38076       ac_ext=cpp
38077 ac_cpp='$CXXCPP $CPPFLAGS'
38078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38081
38082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38083 /* end confdefs.h.  */
38084 #include <math.h>
38085                       #ifdef HAVE_IEEEFP_H
38086                       #include <ieeefp.h>
38087                       #endif
38088
38089 int
38090 main ()
38091 {
38092  _logl(0);
38093   ;
38094   return 0;
38095 }
38096 _ACEOF
38097 if ac_fn_cxx_try_compile "$LINENO"; then :
38098   glibcxx_cv_func__logl_use=yes
38099 else
38100   glibcxx_cv_func__logl_use=no
38101 fi
38102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38103       ac_ext=c
38104 ac_cpp='$CPP $CPPFLAGS'
38105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38108
38109
38110 fi
38111
38112   fi
38113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38114 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38115
38116     if test x$glibcxx_cv_func__logl_use = x"yes"; then
38117       for ac_func in _logl
38118 do :
38119   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38120 if test "x$ac_cv_func__logl" = x""yes; then :
38121   cat >>confdefs.h <<_ACEOF
38122 #define HAVE__LOGL 1
38123 _ACEOF
38124
38125 fi
38126 done
38127
38128     fi
38129   fi
38130
38131
38132
38133
38134
38135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38136 $as_echo_n "checking for log10l declaration... " >&6; }
38137   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38138     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38139   $as_echo_n "(cached) " >&6
38140 else
38141
38142
38143       ac_ext=cpp
38144 ac_cpp='$CXXCPP $CPPFLAGS'
38145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38148
38149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38150 /* end confdefs.h.  */
38151 #include <math.h>
38152                       #ifdef HAVE_IEEEFP_H
38153                       #include <ieeefp.h>
38154                       #endif
38155
38156 int
38157 main ()
38158 {
38159  log10l(0);
38160   ;
38161   return 0;
38162 }
38163 _ACEOF
38164 if ac_fn_cxx_try_compile "$LINENO"; then :
38165   glibcxx_cv_func_log10l_use=yes
38166 else
38167   glibcxx_cv_func_log10l_use=no
38168 fi
38169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38170       ac_ext=c
38171 ac_cpp='$CPP $CPPFLAGS'
38172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38175
38176
38177 fi
38178
38179   fi
38180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38181 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38182
38183   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38184     for ac_func in log10l
38185 do :
38186   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38187 if test "x$ac_cv_func_log10l" = x""yes; then :
38188   cat >>confdefs.h <<_ACEOF
38189 #define HAVE_LOG10L 1
38190 _ACEOF
38191
38192 fi
38193 done
38194
38195   else
38196
38197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38198 $as_echo_n "checking for _log10l declaration... " >&6; }
38199   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38200     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38201   $as_echo_n "(cached) " >&6
38202 else
38203
38204
38205       ac_ext=cpp
38206 ac_cpp='$CXXCPP $CPPFLAGS'
38207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38210
38211       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38212 /* end confdefs.h.  */
38213 #include <math.h>
38214                       #ifdef HAVE_IEEEFP_H
38215                       #include <ieeefp.h>
38216                       #endif
38217
38218 int
38219 main ()
38220 {
38221  _log10l(0);
38222   ;
38223   return 0;
38224 }
38225 _ACEOF
38226 if ac_fn_cxx_try_compile "$LINENO"; then :
38227   glibcxx_cv_func__log10l_use=yes
38228 else
38229   glibcxx_cv_func__log10l_use=no
38230 fi
38231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38232       ac_ext=c
38233 ac_cpp='$CPP $CPPFLAGS'
38234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38237
38238
38239 fi
38240
38241   fi
38242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38243 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38244
38245     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38246       for ac_func in _log10l
38247 do :
38248   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38249 if test "x$ac_cv_func__log10l" = x""yes; then :
38250   cat >>confdefs.h <<_ACEOF
38251 #define HAVE__LOG10L 1
38252 _ACEOF
38253
38254 fi
38255 done
38256
38257     fi
38258   fi
38259
38260
38261
38262
38263
38264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38265 $as_echo_n "checking for modfl declaration... " >&6; }
38266   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38267     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38268   $as_echo_n "(cached) " >&6
38269 else
38270
38271
38272       ac_ext=cpp
38273 ac_cpp='$CXXCPP $CPPFLAGS'
38274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38277
38278       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38279 /* end confdefs.h.  */
38280 #include <math.h>
38281 int
38282 main ()
38283 {
38284  modfl(0, 0);
38285   ;
38286   return 0;
38287 }
38288 _ACEOF
38289 if ac_fn_cxx_try_compile "$LINENO"; then :
38290   glibcxx_cv_func_modfl_use=yes
38291 else
38292   glibcxx_cv_func_modfl_use=no
38293 fi
38294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38295       ac_ext=c
38296 ac_cpp='$CPP $CPPFLAGS'
38297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38300
38301
38302 fi
38303
38304   fi
38305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38306 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38307
38308   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38309     for ac_func in modfl
38310 do :
38311   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38312 if test "x$ac_cv_func_modfl" = x""yes; then :
38313   cat >>confdefs.h <<_ACEOF
38314 #define HAVE_MODFL 1
38315 _ACEOF
38316
38317 fi
38318 done
38319
38320   else
38321
38322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38323 $as_echo_n "checking for _modfl declaration... " >&6; }
38324   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38325     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38326   $as_echo_n "(cached) " >&6
38327 else
38328
38329
38330       ac_ext=cpp
38331 ac_cpp='$CXXCPP $CPPFLAGS'
38332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38335
38336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38337 /* end confdefs.h.  */
38338 #include <math.h>
38339 int
38340 main ()
38341 {
38342  _modfl(0, 0);
38343   ;
38344   return 0;
38345 }
38346 _ACEOF
38347 if ac_fn_cxx_try_compile "$LINENO"; then :
38348   glibcxx_cv_func__modfl_use=yes
38349 else
38350   glibcxx_cv_func__modfl_use=no
38351 fi
38352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38353       ac_ext=c
38354 ac_cpp='$CPP $CPPFLAGS'
38355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38358
38359
38360 fi
38361
38362   fi
38363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38364 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38365
38366     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38367       for ac_func in _modfl
38368 do :
38369   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38370 if test "x$ac_cv_func__modfl" = x""yes; then :
38371   cat >>confdefs.h <<_ACEOF
38372 #define HAVE__MODFL 1
38373 _ACEOF
38374
38375 fi
38376 done
38377
38378     fi
38379   fi
38380
38381
38382
38383
38384
38385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38386 $as_echo_n "checking for powl declaration... " >&6; }
38387   if test x${glibcxx_cv_func_powl_use+set} != xset; then
38388     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38389   $as_echo_n "(cached) " >&6
38390 else
38391
38392
38393       ac_ext=cpp
38394 ac_cpp='$CXXCPP $CPPFLAGS'
38395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38398
38399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38400 /* end confdefs.h.  */
38401 #include <math.h>
38402 int
38403 main ()
38404 {
38405  powl(0, 0);
38406   ;
38407   return 0;
38408 }
38409 _ACEOF
38410 if ac_fn_cxx_try_compile "$LINENO"; then :
38411   glibcxx_cv_func_powl_use=yes
38412 else
38413   glibcxx_cv_func_powl_use=no
38414 fi
38415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38416       ac_ext=c
38417 ac_cpp='$CPP $CPPFLAGS'
38418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38421
38422
38423 fi
38424
38425   fi
38426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38427 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38428
38429   if test x$glibcxx_cv_func_powl_use = x"yes"; then
38430     for ac_func in powl
38431 do :
38432   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38433 if test "x$ac_cv_func_powl" = x""yes; then :
38434   cat >>confdefs.h <<_ACEOF
38435 #define HAVE_POWL 1
38436 _ACEOF
38437
38438 fi
38439 done
38440
38441   else
38442
38443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38444 $as_echo_n "checking for _powl declaration... " >&6; }
38445   if test x${glibcxx_cv_func__powl_use+set} != xset; then
38446     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38447   $as_echo_n "(cached) " >&6
38448 else
38449
38450
38451       ac_ext=cpp
38452 ac_cpp='$CXXCPP $CPPFLAGS'
38453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38456
38457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38458 /* end confdefs.h.  */
38459 #include <math.h>
38460 int
38461 main ()
38462 {
38463  _powl(0, 0);
38464   ;
38465   return 0;
38466 }
38467 _ACEOF
38468 if ac_fn_cxx_try_compile "$LINENO"; then :
38469   glibcxx_cv_func__powl_use=yes
38470 else
38471   glibcxx_cv_func__powl_use=no
38472 fi
38473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38474       ac_ext=c
38475 ac_cpp='$CPP $CPPFLAGS'
38476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38479
38480
38481 fi
38482
38483   fi
38484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38485 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38486
38487     if test x$glibcxx_cv_func__powl_use = x"yes"; then
38488       for ac_func in _powl
38489 do :
38490   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38491 if test "x$ac_cv_func__powl" = x""yes; then :
38492   cat >>confdefs.h <<_ACEOF
38493 #define HAVE__POWL 1
38494 _ACEOF
38495
38496 fi
38497 done
38498
38499     fi
38500   fi
38501
38502
38503
38504
38505
38506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38507 $as_echo_n "checking for sqrtl declaration... " >&6; }
38508   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38509     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38510   $as_echo_n "(cached) " >&6
38511 else
38512
38513
38514       ac_ext=cpp
38515 ac_cpp='$CXXCPP $CPPFLAGS'
38516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38519
38520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38521 /* end confdefs.h.  */
38522 #include <math.h>
38523                       #ifdef HAVE_IEEEFP_H
38524                       #include <ieeefp.h>
38525                       #endif
38526
38527 int
38528 main ()
38529 {
38530  sqrtl(0);
38531   ;
38532   return 0;
38533 }
38534 _ACEOF
38535 if ac_fn_cxx_try_compile "$LINENO"; then :
38536   glibcxx_cv_func_sqrtl_use=yes
38537 else
38538   glibcxx_cv_func_sqrtl_use=no
38539 fi
38540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38541       ac_ext=c
38542 ac_cpp='$CPP $CPPFLAGS'
38543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38546
38547
38548 fi
38549
38550   fi
38551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38552 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38553
38554   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38555     for ac_func in sqrtl
38556 do :
38557   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38558 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38559   cat >>confdefs.h <<_ACEOF
38560 #define HAVE_SQRTL 1
38561 _ACEOF
38562
38563 fi
38564 done
38565
38566   else
38567
38568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38569 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38570   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38571     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38572   $as_echo_n "(cached) " >&6
38573 else
38574
38575
38576       ac_ext=cpp
38577 ac_cpp='$CXXCPP $CPPFLAGS'
38578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38581
38582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38583 /* end confdefs.h.  */
38584 #include <math.h>
38585                       #ifdef HAVE_IEEEFP_H
38586                       #include <ieeefp.h>
38587                       #endif
38588
38589 int
38590 main ()
38591 {
38592  _sqrtl(0);
38593   ;
38594   return 0;
38595 }
38596 _ACEOF
38597 if ac_fn_cxx_try_compile "$LINENO"; then :
38598   glibcxx_cv_func__sqrtl_use=yes
38599 else
38600   glibcxx_cv_func__sqrtl_use=no
38601 fi
38602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38603       ac_ext=c
38604 ac_cpp='$CPP $CPPFLAGS'
38605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38608
38609
38610 fi
38611
38612   fi
38613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38614 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38615
38616     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38617       for ac_func in _sqrtl
38618 do :
38619   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38620 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38621   cat >>confdefs.h <<_ACEOF
38622 #define HAVE__SQRTL 1
38623 _ACEOF
38624
38625 fi
38626 done
38627
38628     fi
38629   fi
38630
38631
38632
38633
38634
38635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38636 $as_echo_n "checking for sincosl declaration... " >&6; }
38637   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38638     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38639   $as_echo_n "(cached) " >&6
38640 else
38641
38642
38643       ac_ext=cpp
38644 ac_cpp='$CXXCPP $CPPFLAGS'
38645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38648
38649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38650 /* end confdefs.h.  */
38651 #include <math.h>
38652 int
38653 main ()
38654 {
38655  sincosl(0, 0, 0);
38656   ;
38657   return 0;
38658 }
38659 _ACEOF
38660 if ac_fn_cxx_try_compile "$LINENO"; then :
38661   glibcxx_cv_func_sincosl_use=yes
38662 else
38663   glibcxx_cv_func_sincosl_use=no
38664 fi
38665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38666       ac_ext=c
38667 ac_cpp='$CPP $CPPFLAGS'
38668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38671
38672
38673 fi
38674
38675   fi
38676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38677 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38678
38679   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38680     for ac_func in sincosl
38681 do :
38682   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38683 if test "x$ac_cv_func_sincosl" = x""yes; then :
38684   cat >>confdefs.h <<_ACEOF
38685 #define HAVE_SINCOSL 1
38686 _ACEOF
38687
38688 fi
38689 done
38690
38691   else
38692
38693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38694 $as_echo_n "checking for _sincosl declaration... " >&6; }
38695   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38696     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38697   $as_echo_n "(cached) " >&6
38698 else
38699
38700
38701       ac_ext=cpp
38702 ac_cpp='$CXXCPP $CPPFLAGS'
38703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38706
38707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38708 /* end confdefs.h.  */
38709 #include <math.h>
38710 int
38711 main ()
38712 {
38713  _sincosl(0, 0, 0);
38714   ;
38715   return 0;
38716 }
38717 _ACEOF
38718 if ac_fn_cxx_try_compile "$LINENO"; then :
38719   glibcxx_cv_func__sincosl_use=yes
38720 else
38721   glibcxx_cv_func__sincosl_use=no
38722 fi
38723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38724       ac_ext=c
38725 ac_cpp='$CPP $CPPFLAGS'
38726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38729
38730
38731 fi
38732
38733   fi
38734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38735 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38736
38737     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38738       for ac_func in _sincosl
38739 do :
38740   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38741 if test "x$ac_cv_func__sincosl" = x""yes; then :
38742   cat >>confdefs.h <<_ACEOF
38743 #define HAVE__SINCOSL 1
38744 _ACEOF
38745
38746 fi
38747 done
38748
38749     fi
38750   fi
38751
38752
38753
38754
38755
38756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38757 $as_echo_n "checking for finitel declaration... " >&6; }
38758   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38759     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38760   $as_echo_n "(cached) " >&6
38761 else
38762
38763
38764       ac_ext=cpp
38765 ac_cpp='$CXXCPP $CPPFLAGS'
38766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38769
38770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38771 /* end confdefs.h.  */
38772 #include <math.h>
38773                       #ifdef HAVE_IEEEFP_H
38774                       #include <ieeefp.h>
38775                       #endif
38776
38777 int
38778 main ()
38779 {
38780  finitel(0);
38781   ;
38782   return 0;
38783 }
38784 _ACEOF
38785 if ac_fn_cxx_try_compile "$LINENO"; then :
38786   glibcxx_cv_func_finitel_use=yes
38787 else
38788   glibcxx_cv_func_finitel_use=no
38789 fi
38790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38791       ac_ext=c
38792 ac_cpp='$CPP $CPPFLAGS'
38793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38796
38797
38798 fi
38799
38800   fi
38801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38802 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38803
38804   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38805     for ac_func in finitel
38806 do :
38807   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38808 if test "x$ac_cv_func_finitel" = x""yes; then :
38809   cat >>confdefs.h <<_ACEOF
38810 #define HAVE_FINITEL 1
38811 _ACEOF
38812
38813 fi
38814 done
38815
38816   else
38817
38818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38819 $as_echo_n "checking for _finitel declaration... " >&6; }
38820   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38821     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38822   $as_echo_n "(cached) " >&6
38823 else
38824
38825
38826       ac_ext=cpp
38827 ac_cpp='$CXXCPP $CPPFLAGS'
38828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38831
38832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38833 /* end confdefs.h.  */
38834 #include <math.h>
38835                       #ifdef HAVE_IEEEFP_H
38836                       #include <ieeefp.h>
38837                       #endif
38838
38839 int
38840 main ()
38841 {
38842  _finitel(0);
38843   ;
38844   return 0;
38845 }
38846 _ACEOF
38847 if ac_fn_cxx_try_compile "$LINENO"; then :
38848   glibcxx_cv_func__finitel_use=yes
38849 else
38850   glibcxx_cv_func__finitel_use=no
38851 fi
38852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38853       ac_ext=c
38854 ac_cpp='$CPP $CPPFLAGS'
38855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38858
38859
38860 fi
38861
38862   fi
38863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38864 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38865
38866     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38867       for ac_func in _finitel
38868 do :
38869   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38870 if test "x$ac_cv_func__finitel" = x""yes; then :
38871   cat >>confdefs.h <<_ACEOF
38872 #define HAVE__FINITEL 1
38873 _ACEOF
38874
38875 fi
38876 done
38877
38878     fi
38879   fi
38880
38881
38882
38883
38884   LIBS="$ac_save_LIBS"
38885   CXXFLAGS="$ac_save_CXXFLAGS"
38886
38887
38888   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38889   ac_save_CXXFLAGS="$CXXFLAGS"
38890   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38891
38892
38893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38894 $as_echo_n "checking for strtold declaration... " >&6; }
38895   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38896     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38897   $as_echo_n "(cached) " >&6
38898 else
38899
38900
38901       ac_ext=cpp
38902 ac_cpp='$CXXCPP $CPPFLAGS'
38903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38906
38907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38908 /* end confdefs.h.  */
38909 #include <stdlib.h>
38910 int
38911 main ()
38912 {
38913  strtold(0, 0);
38914   ;
38915   return 0;
38916 }
38917 _ACEOF
38918 if ac_fn_cxx_try_compile "$LINENO"; then :
38919   glibcxx_cv_func_strtold_use=yes
38920 else
38921   glibcxx_cv_func_strtold_use=no
38922 fi
38923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38924       ac_ext=c
38925 ac_cpp='$CPP $CPPFLAGS'
38926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38929
38930
38931 fi
38932
38933   fi
38934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38935 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38936   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38937     for ac_func in strtold
38938 do :
38939   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38940 if test "x$ac_cv_func_strtold" = x""yes; then :
38941   cat >>confdefs.h <<_ACEOF
38942 #define HAVE_STRTOLD 1
38943 _ACEOF
38944
38945 fi
38946 done
38947
38948   fi
38949
38950
38951
38952
38953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38954 $as_echo_n "checking for strtof declaration... " >&6; }
38955   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38956     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38957   $as_echo_n "(cached) " >&6
38958 else
38959
38960
38961       ac_ext=cpp
38962 ac_cpp='$CXXCPP $CPPFLAGS'
38963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38966
38967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38968 /* end confdefs.h.  */
38969 #include <stdlib.h>
38970 int
38971 main ()
38972 {
38973  strtof(0, 0);
38974   ;
38975   return 0;
38976 }
38977 _ACEOF
38978 if ac_fn_cxx_try_compile "$LINENO"; then :
38979   glibcxx_cv_func_strtof_use=yes
38980 else
38981   glibcxx_cv_func_strtof_use=no
38982 fi
38983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38984       ac_ext=c
38985 ac_cpp='$CPP $CPPFLAGS'
38986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38989
38990
38991 fi
38992
38993   fi
38994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38995 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38996   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38997     for ac_func in strtof
38998 do :
38999   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39000 if test "x$ac_cv_func_strtof" = x""yes; then :
39001   cat >>confdefs.h <<_ACEOF
39002 #define HAVE_STRTOF 1
39003 _ACEOF
39004
39005 fi
39006 done
39007
39008   fi
39009
39010
39011
39012
39013   CXXFLAGS="$ac_save_CXXFLAGS"
39014
39015     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39016
39017     # We don't yet support AIX's TLS ABI.
39018     #GCC_CHECK_TLS
39019
39020
39021
39022
39023
39024           am_save_CPPFLAGS="$CPPFLAGS"
39025
39026   for element in $INCICONV; do
39027     haveit=
39028     for x in $CPPFLAGS; do
39029
39030   acl_save_prefix="$prefix"
39031   prefix="$acl_final_prefix"
39032   acl_save_exec_prefix="$exec_prefix"
39033   exec_prefix="$acl_final_exec_prefix"
39034   eval x=\"$x\"
39035   exec_prefix="$acl_save_exec_prefix"
39036   prefix="$acl_save_prefix"
39037
39038       if test "X$x" = "X$element"; then
39039         haveit=yes
39040         break
39041       fi
39042     done
39043     if test -z "$haveit"; then
39044       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39045     fi
39046   done
39047
39048
39049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39050 $as_echo_n "checking for iconv... " >&6; }
39051 if test "${am_cv_func_iconv+set}" = set; then :
39052   $as_echo_n "(cached) " >&6
39053 else
39054
39055     am_cv_func_iconv="no, consider installing GNU libiconv"
39056     am_cv_lib_iconv=no
39057     if test x$gcc_no_link = xyes; then
39058   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39059 fi
39060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39061 /* end confdefs.h.  */
39062 #include <stdlib.h>
39063 #include <iconv.h>
39064 int
39065 main ()
39066 {
39067 iconv_t cd = iconv_open("","");
39068        iconv(cd,NULL,NULL,NULL,NULL);
39069        iconv_close(cd);
39070   ;
39071   return 0;
39072 }
39073 _ACEOF
39074 if ac_fn_c_try_link "$LINENO"; then :
39075   am_cv_func_iconv=yes
39076 fi
39077 rm -f core conftest.err conftest.$ac_objext \
39078     conftest$ac_exeext conftest.$ac_ext
39079     if test "$am_cv_func_iconv" != yes; then
39080       am_save_LIBS="$LIBS"
39081       LIBS="$LIBS $LIBICONV"
39082       if test x$gcc_no_link = xyes; then
39083   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39084 fi
39085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39086 /* end confdefs.h.  */
39087 #include <stdlib.h>
39088 #include <iconv.h>
39089 int
39090 main ()
39091 {
39092 iconv_t cd = iconv_open("","");
39093          iconv(cd,NULL,NULL,NULL,NULL);
39094          iconv_close(cd);
39095   ;
39096   return 0;
39097 }
39098 _ACEOF
39099 if ac_fn_c_try_link "$LINENO"; then :
39100   am_cv_lib_iconv=yes
39101         am_cv_func_iconv=yes
39102 fi
39103 rm -f core conftest.err conftest.$ac_objext \
39104     conftest$ac_exeext conftest.$ac_ext
39105       LIBS="$am_save_LIBS"
39106     fi
39107
39108 fi
39109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39110 $as_echo "$am_cv_func_iconv" >&6; }
39111   if test "$am_cv_func_iconv" = yes; then
39112
39113 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39114
39115   fi
39116   if test "$am_cv_lib_iconv" = yes; then
39117     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39118 $as_echo_n "checking how to link with libiconv... " >&6; }
39119     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39120 $as_echo "$LIBICONV" >&6; }
39121   else
39122             CPPFLAGS="$am_save_CPPFLAGS"
39123     LIBICONV=
39124     LTLIBICONV=
39125   fi
39126
39127
39128
39129   if test "$am_cv_func_iconv" = yes; then
39130     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39131 $as_echo_n "checking for iconv declaration... " >&6; }
39132     if test "${am_cv_proto_iconv+set}" = set; then :
39133   $as_echo_n "(cached) " >&6
39134 else
39135
39136       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39137 /* end confdefs.h.  */
39138
39139 #include <stdlib.h>
39140 #include <iconv.h>
39141 extern
39142 #ifdef __cplusplus
39143 "C"
39144 #endif
39145 #if defined(__STDC__) || defined(__cplusplus)
39146 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39147 #else
39148 size_t iconv();
39149 #endif
39150
39151 int
39152 main ()
39153 {
39154
39155   ;
39156   return 0;
39157 }
39158 _ACEOF
39159 if ac_fn_c_try_compile "$LINENO"; then :
39160   am_cv_proto_iconv_arg1=""
39161 else
39162   am_cv_proto_iconv_arg1="const"
39163 fi
39164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39165       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);"
39166 fi
39167
39168     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39169     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39170          }$am_cv_proto_iconv" >&5
39171 $as_echo "${ac_t:-
39172          }$am_cv_proto_iconv" >&6; }
39173
39174 cat >>confdefs.h <<_ACEOF
39175 #define ICONV_CONST $am_cv_proto_iconv_arg1
39176 _ACEOF
39177
39178   fi
39179
39180     ;;
39181
39182   *-darwin*)
39183     # Darwin versions vary, but the linker should work in a cross environment,
39184     # so we just check for all the features here.
39185     # Check for available headers.
39186
39187     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39188
39189   ac_test_CXXFLAGS="${CXXFLAGS+set}"
39190   ac_save_CXXFLAGS="$CXXFLAGS"
39191   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39192
39193     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39194 $as_echo_n "checking for sin in -lm... " >&6; }
39195 if test "${ac_cv_lib_m_sin+set}" = set; then :
39196   $as_echo_n "(cached) " >&6
39197 else
39198   ac_check_lib_save_LIBS=$LIBS
39199 LIBS="-lm  $LIBS"
39200 if test x$gcc_no_link = xyes; then
39201   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39202 fi
39203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39204 /* end confdefs.h.  */
39205
39206 /* Override any GCC internal prototype to avoid an error.
39207    Use char because int might match the return type of a GCC
39208    builtin and then its argument prototype would still apply.  */
39209 #ifdef __cplusplus
39210 extern "C"
39211 #endif
39212 char sin ();
39213 int
39214 main ()
39215 {
39216 return sin ();
39217   ;
39218   return 0;
39219 }
39220 _ACEOF
39221 if ac_fn_c_try_link "$LINENO"; then :
39222   ac_cv_lib_m_sin=yes
39223 else
39224   ac_cv_lib_m_sin=no
39225 fi
39226 rm -f core conftest.err conftest.$ac_objext \
39227     conftest$ac_exeext conftest.$ac_ext
39228 LIBS=$ac_check_lib_save_LIBS
39229 fi
39230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39231 $as_echo "$ac_cv_lib_m_sin" >&6; }
39232 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39233   libm="-lm"
39234 fi
39235
39236   ac_save_LIBS="$LIBS"
39237   LIBS="$LIBS $libm"
39238
39239
39240
39241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39242 $as_echo_n "checking for isinf declaration... " >&6; }
39243   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39244     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39245   $as_echo_n "(cached) " >&6
39246 else
39247
39248
39249       ac_ext=cpp
39250 ac_cpp='$CXXCPP $CPPFLAGS'
39251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39254
39255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39256 /* end confdefs.h.  */
39257 #include <math.h>
39258                       #ifdef HAVE_IEEEFP_H
39259                       #include <ieeefp.h>
39260                       #endif
39261
39262 int
39263 main ()
39264 {
39265  isinf(0);
39266   ;
39267   return 0;
39268 }
39269 _ACEOF
39270 if ac_fn_cxx_try_compile "$LINENO"; then :
39271   glibcxx_cv_func_isinf_use=yes
39272 else
39273   glibcxx_cv_func_isinf_use=no
39274 fi
39275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39276       ac_ext=c
39277 ac_cpp='$CPP $CPPFLAGS'
39278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39281
39282
39283 fi
39284
39285   fi
39286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39287 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39288
39289   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39290     for ac_func in isinf
39291 do :
39292   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39293 if test "x$ac_cv_func_isinf" = x""yes; then :
39294   cat >>confdefs.h <<_ACEOF
39295 #define HAVE_ISINF 1
39296 _ACEOF
39297
39298 fi
39299 done
39300
39301   else
39302
39303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39304 $as_echo_n "checking for _isinf declaration... " >&6; }
39305   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39306     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39307   $as_echo_n "(cached) " >&6
39308 else
39309
39310
39311       ac_ext=cpp
39312 ac_cpp='$CXXCPP $CPPFLAGS'
39313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39316
39317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39318 /* end confdefs.h.  */
39319 #include <math.h>
39320                       #ifdef HAVE_IEEEFP_H
39321                       #include <ieeefp.h>
39322                       #endif
39323
39324 int
39325 main ()
39326 {
39327  _isinf(0);
39328   ;
39329   return 0;
39330 }
39331 _ACEOF
39332 if ac_fn_cxx_try_compile "$LINENO"; then :
39333   glibcxx_cv_func__isinf_use=yes
39334 else
39335   glibcxx_cv_func__isinf_use=no
39336 fi
39337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39338       ac_ext=c
39339 ac_cpp='$CPP $CPPFLAGS'
39340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39343
39344
39345 fi
39346
39347   fi
39348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39349 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39350
39351     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39352       for ac_func in _isinf
39353 do :
39354   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39355 if test "x$ac_cv_func__isinf" = x""yes; then :
39356   cat >>confdefs.h <<_ACEOF
39357 #define HAVE__ISINF 1
39358 _ACEOF
39359
39360 fi
39361 done
39362
39363     fi
39364   fi
39365
39366
39367
39368
39369
39370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39371 $as_echo_n "checking for isnan declaration... " >&6; }
39372   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39373     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39374   $as_echo_n "(cached) " >&6
39375 else
39376
39377
39378       ac_ext=cpp
39379 ac_cpp='$CXXCPP $CPPFLAGS'
39380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39383
39384       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39385 /* end confdefs.h.  */
39386 #include <math.h>
39387                       #ifdef HAVE_IEEEFP_H
39388                       #include <ieeefp.h>
39389                       #endif
39390
39391 int
39392 main ()
39393 {
39394  isnan(0);
39395   ;
39396   return 0;
39397 }
39398 _ACEOF
39399 if ac_fn_cxx_try_compile "$LINENO"; then :
39400   glibcxx_cv_func_isnan_use=yes
39401 else
39402   glibcxx_cv_func_isnan_use=no
39403 fi
39404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39405       ac_ext=c
39406 ac_cpp='$CPP $CPPFLAGS'
39407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39410
39411
39412 fi
39413
39414   fi
39415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39416 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39417
39418   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39419     for ac_func in isnan
39420 do :
39421   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39422 if test "x$ac_cv_func_isnan" = x""yes; then :
39423   cat >>confdefs.h <<_ACEOF
39424 #define HAVE_ISNAN 1
39425 _ACEOF
39426
39427 fi
39428 done
39429
39430   else
39431
39432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39433 $as_echo_n "checking for _isnan declaration... " >&6; }
39434   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39435     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39436   $as_echo_n "(cached) " >&6
39437 else
39438
39439
39440       ac_ext=cpp
39441 ac_cpp='$CXXCPP $CPPFLAGS'
39442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39445
39446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39447 /* end confdefs.h.  */
39448 #include <math.h>
39449                       #ifdef HAVE_IEEEFP_H
39450                       #include <ieeefp.h>
39451                       #endif
39452
39453 int
39454 main ()
39455 {
39456  _isnan(0);
39457   ;
39458   return 0;
39459 }
39460 _ACEOF
39461 if ac_fn_cxx_try_compile "$LINENO"; then :
39462   glibcxx_cv_func__isnan_use=yes
39463 else
39464   glibcxx_cv_func__isnan_use=no
39465 fi
39466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39467       ac_ext=c
39468 ac_cpp='$CPP $CPPFLAGS'
39469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39472
39473
39474 fi
39475
39476   fi
39477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39478 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39479
39480     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39481       for ac_func in _isnan
39482 do :
39483   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39484 if test "x$ac_cv_func__isnan" = x""yes; then :
39485   cat >>confdefs.h <<_ACEOF
39486 #define HAVE__ISNAN 1
39487 _ACEOF
39488
39489 fi
39490 done
39491
39492     fi
39493   fi
39494
39495
39496
39497
39498
39499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39500 $as_echo_n "checking for finite declaration... " >&6; }
39501   if test x${glibcxx_cv_func_finite_use+set} != xset; then
39502     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39503   $as_echo_n "(cached) " >&6
39504 else
39505
39506
39507       ac_ext=cpp
39508 ac_cpp='$CXXCPP $CPPFLAGS'
39509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39512
39513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39514 /* end confdefs.h.  */
39515 #include <math.h>
39516                       #ifdef HAVE_IEEEFP_H
39517                       #include <ieeefp.h>
39518                       #endif
39519
39520 int
39521 main ()
39522 {
39523  finite(0);
39524   ;
39525   return 0;
39526 }
39527 _ACEOF
39528 if ac_fn_cxx_try_compile "$LINENO"; then :
39529   glibcxx_cv_func_finite_use=yes
39530 else
39531   glibcxx_cv_func_finite_use=no
39532 fi
39533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39534       ac_ext=c
39535 ac_cpp='$CPP $CPPFLAGS'
39536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39539
39540
39541 fi
39542
39543   fi
39544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39545 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39546
39547   if test x$glibcxx_cv_func_finite_use = x"yes"; then
39548     for ac_func in finite
39549 do :
39550   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39551 if test "x$ac_cv_func_finite" = x""yes; then :
39552   cat >>confdefs.h <<_ACEOF
39553 #define HAVE_FINITE 1
39554 _ACEOF
39555
39556 fi
39557 done
39558
39559   else
39560
39561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39562 $as_echo_n "checking for _finite declaration... " >&6; }
39563   if test x${glibcxx_cv_func__finite_use+set} != xset; then
39564     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39565   $as_echo_n "(cached) " >&6
39566 else
39567
39568
39569       ac_ext=cpp
39570 ac_cpp='$CXXCPP $CPPFLAGS'
39571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39574
39575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39576 /* end confdefs.h.  */
39577 #include <math.h>
39578                       #ifdef HAVE_IEEEFP_H
39579                       #include <ieeefp.h>
39580                       #endif
39581
39582 int
39583 main ()
39584 {
39585  _finite(0);
39586   ;
39587   return 0;
39588 }
39589 _ACEOF
39590 if ac_fn_cxx_try_compile "$LINENO"; then :
39591   glibcxx_cv_func__finite_use=yes
39592 else
39593   glibcxx_cv_func__finite_use=no
39594 fi
39595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39596       ac_ext=c
39597 ac_cpp='$CPP $CPPFLAGS'
39598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39601
39602
39603 fi
39604
39605   fi
39606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39607 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39608
39609     if test x$glibcxx_cv_func__finite_use = x"yes"; then
39610       for ac_func in _finite
39611 do :
39612   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39613 if test "x$ac_cv_func__finite" = x""yes; then :
39614   cat >>confdefs.h <<_ACEOF
39615 #define HAVE__FINITE 1
39616 _ACEOF
39617
39618 fi
39619 done
39620
39621     fi
39622   fi
39623
39624
39625
39626
39627
39628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39629 $as_echo_n "checking for sincos declaration... " >&6; }
39630   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39631     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39632   $as_echo_n "(cached) " >&6
39633 else
39634
39635
39636       ac_ext=cpp
39637 ac_cpp='$CXXCPP $CPPFLAGS'
39638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39641
39642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39643 /* end confdefs.h.  */
39644 #include <math.h>
39645 int
39646 main ()
39647 {
39648  sincos(0, 0, 0);
39649   ;
39650   return 0;
39651 }
39652 _ACEOF
39653 if ac_fn_cxx_try_compile "$LINENO"; then :
39654   glibcxx_cv_func_sincos_use=yes
39655 else
39656   glibcxx_cv_func_sincos_use=no
39657 fi
39658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39659       ac_ext=c
39660 ac_cpp='$CPP $CPPFLAGS'
39661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39664
39665
39666 fi
39667
39668   fi
39669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39670 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39671
39672   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39673     for ac_func in sincos
39674 do :
39675   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39676 if test "x$ac_cv_func_sincos" = x""yes; then :
39677   cat >>confdefs.h <<_ACEOF
39678 #define HAVE_SINCOS 1
39679 _ACEOF
39680
39681 fi
39682 done
39683
39684   else
39685
39686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39687 $as_echo_n "checking for _sincos declaration... " >&6; }
39688   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39689     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39690   $as_echo_n "(cached) " >&6
39691 else
39692
39693
39694       ac_ext=cpp
39695 ac_cpp='$CXXCPP $CPPFLAGS'
39696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39699
39700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39701 /* end confdefs.h.  */
39702 #include <math.h>
39703 int
39704 main ()
39705 {
39706  _sincos(0, 0, 0);
39707   ;
39708   return 0;
39709 }
39710 _ACEOF
39711 if ac_fn_cxx_try_compile "$LINENO"; then :
39712   glibcxx_cv_func__sincos_use=yes
39713 else
39714   glibcxx_cv_func__sincos_use=no
39715 fi
39716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39717       ac_ext=c
39718 ac_cpp='$CPP $CPPFLAGS'
39719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39722
39723
39724 fi
39725
39726   fi
39727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39728 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39729
39730     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39731       for ac_func in _sincos
39732 do :
39733   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39734 if test "x$ac_cv_func__sincos" = x""yes; then :
39735   cat >>confdefs.h <<_ACEOF
39736 #define HAVE__SINCOS 1
39737 _ACEOF
39738
39739 fi
39740 done
39741
39742     fi
39743   fi
39744
39745
39746
39747
39748
39749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39750 $as_echo_n "checking for fpclass declaration... " >&6; }
39751   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39752     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39753   $as_echo_n "(cached) " >&6
39754 else
39755
39756
39757       ac_ext=cpp
39758 ac_cpp='$CXXCPP $CPPFLAGS'
39759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39762
39763       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39764 /* end confdefs.h.  */
39765 #include <math.h>
39766                       #ifdef HAVE_IEEEFP_H
39767                       #include <ieeefp.h>
39768                       #endif
39769
39770 int
39771 main ()
39772 {
39773  fpclass(0);
39774   ;
39775   return 0;
39776 }
39777 _ACEOF
39778 if ac_fn_cxx_try_compile "$LINENO"; then :
39779   glibcxx_cv_func_fpclass_use=yes
39780 else
39781   glibcxx_cv_func_fpclass_use=no
39782 fi
39783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39784       ac_ext=c
39785 ac_cpp='$CPP $CPPFLAGS'
39786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39789
39790
39791 fi
39792
39793   fi
39794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39795 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39796
39797   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39798     for ac_func in fpclass
39799 do :
39800   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39801 if test "x$ac_cv_func_fpclass" = x""yes; then :
39802   cat >>confdefs.h <<_ACEOF
39803 #define HAVE_FPCLASS 1
39804 _ACEOF
39805
39806 fi
39807 done
39808
39809   else
39810
39811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39812 $as_echo_n "checking for _fpclass declaration... " >&6; }
39813   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39814     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39815   $as_echo_n "(cached) " >&6
39816 else
39817
39818
39819       ac_ext=cpp
39820 ac_cpp='$CXXCPP $CPPFLAGS'
39821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39824
39825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39826 /* end confdefs.h.  */
39827 #include <math.h>
39828                       #ifdef HAVE_IEEEFP_H
39829                       #include <ieeefp.h>
39830                       #endif
39831
39832 int
39833 main ()
39834 {
39835  _fpclass(0);
39836   ;
39837   return 0;
39838 }
39839 _ACEOF
39840 if ac_fn_cxx_try_compile "$LINENO"; then :
39841   glibcxx_cv_func__fpclass_use=yes
39842 else
39843   glibcxx_cv_func__fpclass_use=no
39844 fi
39845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39846       ac_ext=c
39847 ac_cpp='$CPP $CPPFLAGS'
39848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39851
39852
39853 fi
39854
39855   fi
39856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39857 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39858
39859     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39860       for ac_func in _fpclass
39861 do :
39862   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39863 if test "x$ac_cv_func__fpclass" = x""yes; then :
39864   cat >>confdefs.h <<_ACEOF
39865 #define HAVE__FPCLASS 1
39866 _ACEOF
39867
39868 fi
39869 done
39870
39871     fi
39872   fi
39873
39874
39875
39876
39877
39878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39879 $as_echo_n "checking for qfpclass declaration... " >&6; }
39880   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39881     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39882   $as_echo_n "(cached) " >&6
39883 else
39884
39885
39886       ac_ext=cpp
39887 ac_cpp='$CXXCPP $CPPFLAGS'
39888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39891
39892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39893 /* end confdefs.h.  */
39894 #include <math.h>
39895                       #ifdef HAVE_IEEEFP_H
39896                       #include <ieeefp.h>
39897                       #endif
39898
39899 int
39900 main ()
39901 {
39902  qfpclass(0);
39903   ;
39904   return 0;
39905 }
39906 _ACEOF
39907 if ac_fn_cxx_try_compile "$LINENO"; then :
39908   glibcxx_cv_func_qfpclass_use=yes
39909 else
39910   glibcxx_cv_func_qfpclass_use=no
39911 fi
39912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39913       ac_ext=c
39914 ac_cpp='$CPP $CPPFLAGS'
39915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39918
39919
39920 fi
39921
39922   fi
39923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39924 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39925
39926   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39927     for ac_func in qfpclass
39928 do :
39929   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39930 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39931   cat >>confdefs.h <<_ACEOF
39932 #define HAVE_QFPCLASS 1
39933 _ACEOF
39934
39935 fi
39936 done
39937
39938   else
39939
39940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39941 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39942   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39943     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39944   $as_echo_n "(cached) " >&6
39945 else
39946
39947
39948       ac_ext=cpp
39949 ac_cpp='$CXXCPP $CPPFLAGS'
39950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39953
39954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39955 /* end confdefs.h.  */
39956 #include <math.h>
39957                       #ifdef HAVE_IEEEFP_H
39958                       #include <ieeefp.h>
39959                       #endif
39960
39961 int
39962 main ()
39963 {
39964  _qfpclass(0);
39965   ;
39966   return 0;
39967 }
39968 _ACEOF
39969 if ac_fn_cxx_try_compile "$LINENO"; then :
39970   glibcxx_cv_func__qfpclass_use=yes
39971 else
39972   glibcxx_cv_func__qfpclass_use=no
39973 fi
39974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39975       ac_ext=c
39976 ac_cpp='$CPP $CPPFLAGS'
39977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39980
39981
39982 fi
39983
39984   fi
39985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39986 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39987
39988     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39989       for ac_func in _qfpclass
39990 do :
39991   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39992 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39993   cat >>confdefs.h <<_ACEOF
39994 #define HAVE__QFPCLASS 1
39995 _ACEOF
39996
39997 fi
39998 done
39999
40000     fi
40001   fi
40002
40003
40004
40005
40006
40007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40008 $as_echo_n "checking for hypot declaration... " >&6; }
40009   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40010     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40011   $as_echo_n "(cached) " >&6
40012 else
40013
40014
40015       ac_ext=cpp
40016 ac_cpp='$CXXCPP $CPPFLAGS'
40017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40020
40021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40022 /* end confdefs.h.  */
40023 #include <math.h>
40024 int
40025 main ()
40026 {
40027  hypot(0, 0);
40028   ;
40029   return 0;
40030 }
40031 _ACEOF
40032 if ac_fn_cxx_try_compile "$LINENO"; then :
40033   glibcxx_cv_func_hypot_use=yes
40034 else
40035   glibcxx_cv_func_hypot_use=no
40036 fi
40037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40038       ac_ext=c
40039 ac_cpp='$CPP $CPPFLAGS'
40040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40043
40044
40045 fi
40046
40047   fi
40048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40049 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40050
40051   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40052     for ac_func in hypot
40053 do :
40054   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40055 if test "x$ac_cv_func_hypot" = x""yes; then :
40056   cat >>confdefs.h <<_ACEOF
40057 #define HAVE_HYPOT 1
40058 _ACEOF
40059
40060 fi
40061 done
40062
40063   else
40064
40065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40066 $as_echo_n "checking for _hypot declaration... " >&6; }
40067   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40068     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40069   $as_echo_n "(cached) " >&6
40070 else
40071
40072
40073       ac_ext=cpp
40074 ac_cpp='$CXXCPP $CPPFLAGS'
40075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40078
40079       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40080 /* end confdefs.h.  */
40081 #include <math.h>
40082 int
40083 main ()
40084 {
40085  _hypot(0, 0);
40086   ;
40087   return 0;
40088 }
40089 _ACEOF
40090 if ac_fn_cxx_try_compile "$LINENO"; then :
40091   glibcxx_cv_func__hypot_use=yes
40092 else
40093   glibcxx_cv_func__hypot_use=no
40094 fi
40095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40096       ac_ext=c
40097 ac_cpp='$CPP $CPPFLAGS'
40098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40101
40102
40103 fi
40104
40105   fi
40106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40107 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40108
40109     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40110       for ac_func in _hypot
40111 do :
40112   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40113 if test "x$ac_cv_func__hypot" = x""yes; then :
40114   cat >>confdefs.h <<_ACEOF
40115 #define HAVE__HYPOT 1
40116 _ACEOF
40117
40118 fi
40119 done
40120
40121     fi
40122   fi
40123
40124
40125
40126
40127
40128     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40129 $as_echo_n "checking for float trig functions... " >&6; }
40130   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40131   $as_echo_n "(cached) " >&6
40132 else
40133
40134
40135     ac_ext=cpp
40136 ac_cpp='$CXXCPP $CPPFLAGS'
40137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40140
40141     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40142 /* end confdefs.h.  */
40143 #include <math.h>
40144 int
40145 main ()
40146 {
40147 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40148   ;
40149   return 0;
40150 }
40151 _ACEOF
40152 if ac_fn_cxx_try_compile "$LINENO"; then :
40153   glibcxx_cv_func_float_trig_use=yes
40154 else
40155   glibcxx_cv_func_float_trig_use=no
40156 fi
40157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40158     ac_ext=c
40159 ac_cpp='$CPP $CPPFLAGS'
40160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40163
40164 fi
40165
40166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40167 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40168   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40169     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40170 do :
40171   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40172 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40173 eval as_val=\$$as_ac_var
40174    if test "x$as_val" = x""yes; then :
40175   cat >>confdefs.h <<_ACEOF
40176 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40177 _ACEOF
40178
40179 fi
40180 done
40181
40182   else
40183     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40184 $as_echo_n "checking for _float trig functions... " >&6; }
40185     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40186   $as_echo_n "(cached) " >&6
40187 else
40188
40189
40190       ac_ext=cpp
40191 ac_cpp='$CXXCPP $CPPFLAGS'
40192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40195
40196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40197 /* end confdefs.h.  */
40198 #include <math.h>
40199 int
40200 main ()
40201 {
40202 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40203   ;
40204   return 0;
40205 }
40206 _ACEOF
40207 if ac_fn_cxx_try_compile "$LINENO"; then :
40208   glibcxx_cv_func__float_trig_use=yes
40209 else
40210   glibcxx_cv_func__float_trig_use=no
40211 fi
40212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40213       ac_ext=c
40214 ac_cpp='$CPP $CPPFLAGS'
40215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40218
40219 fi
40220
40221     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40222 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40223     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40224       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40225 do :
40226   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40228 eval as_val=\$$as_ac_var
40229    if test "x$as_val" = x""yes; then :
40230   cat >>confdefs.h <<_ACEOF
40231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40232 _ACEOF
40233
40234 fi
40235 done
40236
40237     fi
40238   fi
40239
40240
40241
40242
40243
40244     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40245 $as_echo_n "checking for float round functions... " >&6; }
40246   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40247   $as_echo_n "(cached) " >&6
40248 else
40249
40250
40251     ac_ext=cpp
40252 ac_cpp='$CXXCPP $CPPFLAGS'
40253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40256
40257     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40258 /* end confdefs.h.  */
40259 #include <math.h>
40260 int
40261 main ()
40262 {
40263 ceilf (0); floorf (0);
40264   ;
40265   return 0;
40266 }
40267 _ACEOF
40268 if ac_fn_cxx_try_compile "$LINENO"; then :
40269   glibcxx_cv_func_float_round_use=yes
40270 else
40271   glibcxx_cv_func_float_round_use=no
40272 fi
40273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40274     ac_ext=c
40275 ac_cpp='$CPP $CPPFLAGS'
40276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40279
40280 fi
40281
40282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40283 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40284   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40285     for ac_func in ceilf floorf
40286 do :
40287   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40288 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40289 eval as_val=\$$as_ac_var
40290    if test "x$as_val" = x""yes; then :
40291   cat >>confdefs.h <<_ACEOF
40292 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40293 _ACEOF
40294
40295 fi
40296 done
40297
40298   else
40299     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40300 $as_echo_n "checking for _float round functions... " >&6; }
40301     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40302   $as_echo_n "(cached) " >&6
40303 else
40304
40305
40306       ac_ext=cpp
40307 ac_cpp='$CXXCPP $CPPFLAGS'
40308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40311
40312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40313 /* end confdefs.h.  */
40314 #include <math.h>
40315 int
40316 main ()
40317 {
40318 _ceilf (0); _floorf (0);
40319   ;
40320   return 0;
40321 }
40322 _ACEOF
40323 if ac_fn_cxx_try_compile "$LINENO"; then :
40324   glibcxx_cv_func__float_round_use=yes
40325 else
40326   glibcxx_cv_func__float_round_use=no
40327 fi
40328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40329       ac_ext=c
40330 ac_cpp='$CPP $CPPFLAGS'
40331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40334
40335 fi
40336
40337     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40338 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40339     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40340       for ac_func in _ceilf _floorf
40341 do :
40342   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40343 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40344 eval as_val=\$$as_ac_var
40345    if test "x$as_val" = x""yes; then :
40346   cat >>confdefs.h <<_ACEOF
40347 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40348 _ACEOF
40349
40350 fi
40351 done
40352
40353     fi
40354   fi
40355
40356
40357
40358
40359
40360
40361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40362 $as_echo_n "checking for expf declaration... " >&6; }
40363   if test x${glibcxx_cv_func_expf_use+set} != xset; then
40364     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40365   $as_echo_n "(cached) " >&6
40366 else
40367
40368
40369       ac_ext=cpp
40370 ac_cpp='$CXXCPP $CPPFLAGS'
40371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40374
40375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40376 /* end confdefs.h.  */
40377 #include <math.h>
40378                       #ifdef HAVE_IEEEFP_H
40379                       #include <ieeefp.h>
40380                       #endif
40381
40382 int
40383 main ()
40384 {
40385  expf(0);
40386   ;
40387   return 0;
40388 }
40389 _ACEOF
40390 if ac_fn_cxx_try_compile "$LINENO"; then :
40391   glibcxx_cv_func_expf_use=yes
40392 else
40393   glibcxx_cv_func_expf_use=no
40394 fi
40395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40396       ac_ext=c
40397 ac_cpp='$CPP $CPPFLAGS'
40398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40401
40402
40403 fi
40404
40405   fi
40406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40407 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40408
40409   if test x$glibcxx_cv_func_expf_use = x"yes"; then
40410     for ac_func in expf
40411 do :
40412   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40413 if test "x$ac_cv_func_expf" = x""yes; then :
40414   cat >>confdefs.h <<_ACEOF
40415 #define HAVE_EXPF 1
40416 _ACEOF
40417
40418 fi
40419 done
40420
40421   else
40422
40423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40424 $as_echo_n "checking for _expf declaration... " >&6; }
40425   if test x${glibcxx_cv_func__expf_use+set} != xset; then
40426     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40427   $as_echo_n "(cached) " >&6
40428 else
40429
40430
40431       ac_ext=cpp
40432 ac_cpp='$CXXCPP $CPPFLAGS'
40433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40436
40437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40438 /* end confdefs.h.  */
40439 #include <math.h>
40440                       #ifdef HAVE_IEEEFP_H
40441                       #include <ieeefp.h>
40442                       #endif
40443
40444 int
40445 main ()
40446 {
40447  _expf(0);
40448   ;
40449   return 0;
40450 }
40451 _ACEOF
40452 if ac_fn_cxx_try_compile "$LINENO"; then :
40453   glibcxx_cv_func__expf_use=yes
40454 else
40455   glibcxx_cv_func__expf_use=no
40456 fi
40457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40458       ac_ext=c
40459 ac_cpp='$CPP $CPPFLAGS'
40460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40463
40464
40465 fi
40466
40467   fi
40468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40469 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40470
40471     if test x$glibcxx_cv_func__expf_use = x"yes"; then
40472       for ac_func in _expf
40473 do :
40474   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40475 if test "x$ac_cv_func__expf" = x""yes; then :
40476   cat >>confdefs.h <<_ACEOF
40477 #define HAVE__EXPF 1
40478 _ACEOF
40479
40480 fi
40481 done
40482
40483     fi
40484   fi
40485
40486
40487
40488
40489
40490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40491 $as_echo_n "checking for isnanf declaration... " >&6; }
40492   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40493     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40494   $as_echo_n "(cached) " >&6
40495 else
40496
40497
40498       ac_ext=cpp
40499 ac_cpp='$CXXCPP $CPPFLAGS'
40500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40503
40504       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40505 /* end confdefs.h.  */
40506 #include <math.h>
40507                       #ifdef HAVE_IEEEFP_H
40508                       #include <ieeefp.h>
40509                       #endif
40510
40511 int
40512 main ()
40513 {
40514  isnanf(0);
40515   ;
40516   return 0;
40517 }
40518 _ACEOF
40519 if ac_fn_cxx_try_compile "$LINENO"; then :
40520   glibcxx_cv_func_isnanf_use=yes
40521 else
40522   glibcxx_cv_func_isnanf_use=no
40523 fi
40524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40525       ac_ext=c
40526 ac_cpp='$CPP $CPPFLAGS'
40527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40530
40531
40532 fi
40533
40534   fi
40535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40536 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40537
40538   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40539     for ac_func in isnanf
40540 do :
40541   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40542 if test "x$ac_cv_func_isnanf" = x""yes; then :
40543   cat >>confdefs.h <<_ACEOF
40544 #define HAVE_ISNANF 1
40545 _ACEOF
40546
40547 fi
40548 done
40549
40550   else
40551
40552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40553 $as_echo_n "checking for _isnanf declaration... " >&6; }
40554   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40555     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40556   $as_echo_n "(cached) " >&6
40557 else
40558
40559
40560       ac_ext=cpp
40561 ac_cpp='$CXXCPP $CPPFLAGS'
40562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40565
40566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40567 /* end confdefs.h.  */
40568 #include <math.h>
40569                       #ifdef HAVE_IEEEFP_H
40570                       #include <ieeefp.h>
40571                       #endif
40572
40573 int
40574 main ()
40575 {
40576  _isnanf(0);
40577   ;
40578   return 0;
40579 }
40580 _ACEOF
40581 if ac_fn_cxx_try_compile "$LINENO"; then :
40582   glibcxx_cv_func__isnanf_use=yes
40583 else
40584   glibcxx_cv_func__isnanf_use=no
40585 fi
40586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40587       ac_ext=c
40588 ac_cpp='$CPP $CPPFLAGS'
40589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40592
40593
40594 fi
40595
40596   fi
40597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40598 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40599
40600     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40601       for ac_func in _isnanf
40602 do :
40603   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40604 if test "x$ac_cv_func__isnanf" = x""yes; then :
40605   cat >>confdefs.h <<_ACEOF
40606 #define HAVE__ISNANF 1
40607 _ACEOF
40608
40609 fi
40610 done
40611
40612     fi
40613   fi
40614
40615
40616
40617
40618
40619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40620 $as_echo_n "checking for isinff declaration... " >&6; }
40621   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40622     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40623   $as_echo_n "(cached) " >&6
40624 else
40625
40626
40627       ac_ext=cpp
40628 ac_cpp='$CXXCPP $CPPFLAGS'
40629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40632
40633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40634 /* end confdefs.h.  */
40635 #include <math.h>
40636                       #ifdef HAVE_IEEEFP_H
40637                       #include <ieeefp.h>
40638                       #endif
40639
40640 int
40641 main ()
40642 {
40643  isinff(0);
40644   ;
40645   return 0;
40646 }
40647 _ACEOF
40648 if ac_fn_cxx_try_compile "$LINENO"; then :
40649   glibcxx_cv_func_isinff_use=yes
40650 else
40651   glibcxx_cv_func_isinff_use=no
40652 fi
40653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40654       ac_ext=c
40655 ac_cpp='$CPP $CPPFLAGS'
40656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40659
40660
40661 fi
40662
40663   fi
40664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40665 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40666
40667   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40668     for ac_func in isinff
40669 do :
40670   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40671 if test "x$ac_cv_func_isinff" = x""yes; then :
40672   cat >>confdefs.h <<_ACEOF
40673 #define HAVE_ISINFF 1
40674 _ACEOF
40675
40676 fi
40677 done
40678
40679   else
40680
40681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40682 $as_echo_n "checking for _isinff declaration... " >&6; }
40683   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40684     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40685   $as_echo_n "(cached) " >&6
40686 else
40687
40688
40689       ac_ext=cpp
40690 ac_cpp='$CXXCPP $CPPFLAGS'
40691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40694
40695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40696 /* end confdefs.h.  */
40697 #include <math.h>
40698                       #ifdef HAVE_IEEEFP_H
40699                       #include <ieeefp.h>
40700                       #endif
40701
40702 int
40703 main ()
40704 {
40705  _isinff(0);
40706   ;
40707   return 0;
40708 }
40709 _ACEOF
40710 if ac_fn_cxx_try_compile "$LINENO"; then :
40711   glibcxx_cv_func__isinff_use=yes
40712 else
40713   glibcxx_cv_func__isinff_use=no
40714 fi
40715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40716       ac_ext=c
40717 ac_cpp='$CPP $CPPFLAGS'
40718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40721
40722
40723 fi
40724
40725   fi
40726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40727 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40728
40729     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40730       for ac_func in _isinff
40731 do :
40732   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40733 if test "x$ac_cv_func__isinff" = x""yes; then :
40734   cat >>confdefs.h <<_ACEOF
40735 #define HAVE__ISINFF 1
40736 _ACEOF
40737
40738 fi
40739 done
40740
40741     fi
40742   fi
40743
40744
40745
40746
40747
40748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40749 $as_echo_n "checking for atan2f declaration... " >&6; }
40750   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40751     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40752   $as_echo_n "(cached) " >&6
40753 else
40754
40755
40756       ac_ext=cpp
40757 ac_cpp='$CXXCPP $CPPFLAGS'
40758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40761
40762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40763 /* end confdefs.h.  */
40764 #include <math.h>
40765 int
40766 main ()
40767 {
40768  atan2f(0, 0);
40769   ;
40770   return 0;
40771 }
40772 _ACEOF
40773 if ac_fn_cxx_try_compile "$LINENO"; then :
40774   glibcxx_cv_func_atan2f_use=yes
40775 else
40776   glibcxx_cv_func_atan2f_use=no
40777 fi
40778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40779       ac_ext=c
40780 ac_cpp='$CPP $CPPFLAGS'
40781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40784
40785
40786 fi
40787
40788   fi
40789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40790 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40791
40792   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40793     for ac_func in atan2f
40794 do :
40795   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40796 if test "x$ac_cv_func_atan2f" = x""yes; then :
40797   cat >>confdefs.h <<_ACEOF
40798 #define HAVE_ATAN2F 1
40799 _ACEOF
40800
40801 fi
40802 done
40803
40804   else
40805
40806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40807 $as_echo_n "checking for _atan2f declaration... " >&6; }
40808   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40809     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40810   $as_echo_n "(cached) " >&6
40811 else
40812
40813
40814       ac_ext=cpp
40815 ac_cpp='$CXXCPP $CPPFLAGS'
40816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40819
40820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40821 /* end confdefs.h.  */
40822 #include <math.h>
40823 int
40824 main ()
40825 {
40826  _atan2f(0, 0);
40827   ;
40828   return 0;
40829 }
40830 _ACEOF
40831 if ac_fn_cxx_try_compile "$LINENO"; then :
40832   glibcxx_cv_func__atan2f_use=yes
40833 else
40834   glibcxx_cv_func__atan2f_use=no
40835 fi
40836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40837       ac_ext=c
40838 ac_cpp='$CPP $CPPFLAGS'
40839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40842
40843
40844 fi
40845
40846   fi
40847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40848 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40849
40850     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40851       for ac_func in _atan2f
40852 do :
40853   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40854 if test "x$ac_cv_func__atan2f" = x""yes; then :
40855   cat >>confdefs.h <<_ACEOF
40856 #define HAVE__ATAN2F 1
40857 _ACEOF
40858
40859 fi
40860 done
40861
40862     fi
40863   fi
40864
40865
40866
40867
40868
40869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40870 $as_echo_n "checking for fabsf declaration... " >&6; }
40871   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40872     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40873   $as_echo_n "(cached) " >&6
40874 else
40875
40876
40877       ac_ext=cpp
40878 ac_cpp='$CXXCPP $CPPFLAGS'
40879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40882
40883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40884 /* end confdefs.h.  */
40885 #include <math.h>
40886                       #ifdef HAVE_IEEEFP_H
40887                       #include <ieeefp.h>
40888                       #endif
40889
40890 int
40891 main ()
40892 {
40893  fabsf(0);
40894   ;
40895   return 0;
40896 }
40897 _ACEOF
40898 if ac_fn_cxx_try_compile "$LINENO"; then :
40899   glibcxx_cv_func_fabsf_use=yes
40900 else
40901   glibcxx_cv_func_fabsf_use=no
40902 fi
40903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40904       ac_ext=c
40905 ac_cpp='$CPP $CPPFLAGS'
40906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40909
40910
40911 fi
40912
40913   fi
40914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40915 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40916
40917   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40918     for ac_func in fabsf
40919 do :
40920   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40921 if test "x$ac_cv_func_fabsf" = x""yes; then :
40922   cat >>confdefs.h <<_ACEOF
40923 #define HAVE_FABSF 1
40924 _ACEOF
40925
40926 fi
40927 done
40928
40929   else
40930
40931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40932 $as_echo_n "checking for _fabsf declaration... " >&6; }
40933   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40934     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40935   $as_echo_n "(cached) " >&6
40936 else
40937
40938
40939       ac_ext=cpp
40940 ac_cpp='$CXXCPP $CPPFLAGS'
40941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40944
40945       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40946 /* end confdefs.h.  */
40947 #include <math.h>
40948                       #ifdef HAVE_IEEEFP_H
40949                       #include <ieeefp.h>
40950                       #endif
40951
40952 int
40953 main ()
40954 {
40955  _fabsf(0);
40956   ;
40957   return 0;
40958 }
40959 _ACEOF
40960 if ac_fn_cxx_try_compile "$LINENO"; then :
40961   glibcxx_cv_func__fabsf_use=yes
40962 else
40963   glibcxx_cv_func__fabsf_use=no
40964 fi
40965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40966       ac_ext=c
40967 ac_cpp='$CPP $CPPFLAGS'
40968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40971
40972
40973 fi
40974
40975   fi
40976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40977 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40978
40979     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40980       for ac_func in _fabsf
40981 do :
40982   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40983 if test "x$ac_cv_func__fabsf" = x""yes; then :
40984   cat >>confdefs.h <<_ACEOF
40985 #define HAVE__FABSF 1
40986 _ACEOF
40987
40988 fi
40989 done
40990
40991     fi
40992   fi
40993
40994
40995
40996
40997
40998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40999 $as_echo_n "checking for fmodf declaration... " >&6; }
41000   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41001     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41002   $as_echo_n "(cached) " >&6
41003 else
41004
41005
41006       ac_ext=cpp
41007 ac_cpp='$CXXCPP $CPPFLAGS'
41008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41011
41012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41013 /* end confdefs.h.  */
41014 #include <math.h>
41015 int
41016 main ()
41017 {
41018  fmodf(0, 0);
41019   ;
41020   return 0;
41021 }
41022 _ACEOF
41023 if ac_fn_cxx_try_compile "$LINENO"; then :
41024   glibcxx_cv_func_fmodf_use=yes
41025 else
41026   glibcxx_cv_func_fmodf_use=no
41027 fi
41028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41029       ac_ext=c
41030 ac_cpp='$CPP $CPPFLAGS'
41031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41034
41035
41036 fi
41037
41038   fi
41039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41040 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41041
41042   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41043     for ac_func in fmodf
41044 do :
41045   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41046 if test "x$ac_cv_func_fmodf" = x""yes; then :
41047   cat >>confdefs.h <<_ACEOF
41048 #define HAVE_FMODF 1
41049 _ACEOF
41050
41051 fi
41052 done
41053
41054   else
41055
41056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41057 $as_echo_n "checking for _fmodf declaration... " >&6; }
41058   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41059     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41060   $as_echo_n "(cached) " >&6
41061 else
41062
41063
41064       ac_ext=cpp
41065 ac_cpp='$CXXCPP $CPPFLAGS'
41066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41069
41070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41071 /* end confdefs.h.  */
41072 #include <math.h>
41073 int
41074 main ()
41075 {
41076  _fmodf(0, 0);
41077   ;
41078   return 0;
41079 }
41080 _ACEOF
41081 if ac_fn_cxx_try_compile "$LINENO"; then :
41082   glibcxx_cv_func__fmodf_use=yes
41083 else
41084   glibcxx_cv_func__fmodf_use=no
41085 fi
41086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41087       ac_ext=c
41088 ac_cpp='$CPP $CPPFLAGS'
41089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41092
41093
41094 fi
41095
41096   fi
41097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41098 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41099
41100     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41101       for ac_func in _fmodf
41102 do :
41103   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41104 if test "x$ac_cv_func__fmodf" = x""yes; then :
41105   cat >>confdefs.h <<_ACEOF
41106 #define HAVE__FMODF 1
41107 _ACEOF
41108
41109 fi
41110 done
41111
41112     fi
41113   fi
41114
41115
41116
41117
41118
41119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41120 $as_echo_n "checking for frexpf declaration... " >&6; }
41121   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41122     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41123   $as_echo_n "(cached) " >&6
41124 else
41125
41126
41127       ac_ext=cpp
41128 ac_cpp='$CXXCPP $CPPFLAGS'
41129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41132
41133       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41134 /* end confdefs.h.  */
41135 #include <math.h>
41136 int
41137 main ()
41138 {
41139  frexpf(0, 0);
41140   ;
41141   return 0;
41142 }
41143 _ACEOF
41144 if ac_fn_cxx_try_compile "$LINENO"; then :
41145   glibcxx_cv_func_frexpf_use=yes
41146 else
41147   glibcxx_cv_func_frexpf_use=no
41148 fi
41149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41150       ac_ext=c
41151 ac_cpp='$CPP $CPPFLAGS'
41152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41155
41156
41157 fi
41158
41159   fi
41160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41161 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41162
41163   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41164     for ac_func in frexpf
41165 do :
41166   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41167 if test "x$ac_cv_func_frexpf" = x""yes; then :
41168   cat >>confdefs.h <<_ACEOF
41169 #define HAVE_FREXPF 1
41170 _ACEOF
41171
41172 fi
41173 done
41174
41175   else
41176
41177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41178 $as_echo_n "checking for _frexpf declaration... " >&6; }
41179   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41180     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41181   $as_echo_n "(cached) " >&6
41182 else
41183
41184
41185       ac_ext=cpp
41186 ac_cpp='$CXXCPP $CPPFLAGS'
41187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41190
41191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41192 /* end confdefs.h.  */
41193 #include <math.h>
41194 int
41195 main ()
41196 {
41197  _frexpf(0, 0);
41198   ;
41199   return 0;
41200 }
41201 _ACEOF
41202 if ac_fn_cxx_try_compile "$LINENO"; then :
41203   glibcxx_cv_func__frexpf_use=yes
41204 else
41205   glibcxx_cv_func__frexpf_use=no
41206 fi
41207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41208       ac_ext=c
41209 ac_cpp='$CPP $CPPFLAGS'
41210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41213
41214
41215 fi
41216
41217   fi
41218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41219 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41220
41221     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41222       for ac_func in _frexpf
41223 do :
41224   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41225 if test "x$ac_cv_func__frexpf" = x""yes; then :
41226   cat >>confdefs.h <<_ACEOF
41227 #define HAVE__FREXPF 1
41228 _ACEOF
41229
41230 fi
41231 done
41232
41233     fi
41234   fi
41235
41236
41237
41238
41239
41240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41241 $as_echo_n "checking for hypotf declaration... " >&6; }
41242   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41243     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41244   $as_echo_n "(cached) " >&6
41245 else
41246
41247
41248       ac_ext=cpp
41249 ac_cpp='$CXXCPP $CPPFLAGS'
41250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41253
41254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41255 /* end confdefs.h.  */
41256 #include <math.h>
41257 int
41258 main ()
41259 {
41260  hypotf(0, 0);
41261   ;
41262   return 0;
41263 }
41264 _ACEOF
41265 if ac_fn_cxx_try_compile "$LINENO"; then :
41266   glibcxx_cv_func_hypotf_use=yes
41267 else
41268   glibcxx_cv_func_hypotf_use=no
41269 fi
41270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41271       ac_ext=c
41272 ac_cpp='$CPP $CPPFLAGS'
41273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41276
41277
41278 fi
41279
41280   fi
41281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41282 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41283
41284   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41285     for ac_func in hypotf
41286 do :
41287   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41288 if test "x$ac_cv_func_hypotf" = x""yes; then :
41289   cat >>confdefs.h <<_ACEOF
41290 #define HAVE_HYPOTF 1
41291 _ACEOF
41292
41293 fi
41294 done
41295
41296   else
41297
41298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41299 $as_echo_n "checking for _hypotf declaration... " >&6; }
41300   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41301     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41302   $as_echo_n "(cached) " >&6
41303 else
41304
41305
41306       ac_ext=cpp
41307 ac_cpp='$CXXCPP $CPPFLAGS'
41308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41311
41312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41313 /* end confdefs.h.  */
41314 #include <math.h>
41315 int
41316 main ()
41317 {
41318  _hypotf(0, 0);
41319   ;
41320   return 0;
41321 }
41322 _ACEOF
41323 if ac_fn_cxx_try_compile "$LINENO"; then :
41324   glibcxx_cv_func__hypotf_use=yes
41325 else
41326   glibcxx_cv_func__hypotf_use=no
41327 fi
41328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41329       ac_ext=c
41330 ac_cpp='$CPP $CPPFLAGS'
41331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41334
41335
41336 fi
41337
41338   fi
41339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41340 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41341
41342     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41343       for ac_func in _hypotf
41344 do :
41345   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41346 if test "x$ac_cv_func__hypotf" = x""yes; then :
41347   cat >>confdefs.h <<_ACEOF
41348 #define HAVE__HYPOTF 1
41349 _ACEOF
41350
41351 fi
41352 done
41353
41354     fi
41355   fi
41356
41357
41358
41359
41360
41361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41362 $as_echo_n "checking for ldexpf declaration... " >&6; }
41363   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41364     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41365   $as_echo_n "(cached) " >&6
41366 else
41367
41368
41369       ac_ext=cpp
41370 ac_cpp='$CXXCPP $CPPFLAGS'
41371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41374
41375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41376 /* end confdefs.h.  */
41377 #include <math.h>
41378 int
41379 main ()
41380 {
41381  ldexpf(0, 0);
41382   ;
41383   return 0;
41384 }
41385 _ACEOF
41386 if ac_fn_cxx_try_compile "$LINENO"; then :
41387   glibcxx_cv_func_ldexpf_use=yes
41388 else
41389   glibcxx_cv_func_ldexpf_use=no
41390 fi
41391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41392       ac_ext=c
41393 ac_cpp='$CPP $CPPFLAGS'
41394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41397
41398
41399 fi
41400
41401   fi
41402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41403 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41404
41405   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41406     for ac_func in ldexpf
41407 do :
41408   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41409 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41410   cat >>confdefs.h <<_ACEOF
41411 #define HAVE_LDEXPF 1
41412 _ACEOF
41413
41414 fi
41415 done
41416
41417   else
41418
41419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41420 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41421   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41422     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41423   $as_echo_n "(cached) " >&6
41424 else
41425
41426
41427       ac_ext=cpp
41428 ac_cpp='$CXXCPP $CPPFLAGS'
41429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41432
41433       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41434 /* end confdefs.h.  */
41435 #include <math.h>
41436 int
41437 main ()
41438 {
41439  _ldexpf(0, 0);
41440   ;
41441   return 0;
41442 }
41443 _ACEOF
41444 if ac_fn_cxx_try_compile "$LINENO"; then :
41445   glibcxx_cv_func__ldexpf_use=yes
41446 else
41447   glibcxx_cv_func__ldexpf_use=no
41448 fi
41449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41450       ac_ext=c
41451 ac_cpp='$CPP $CPPFLAGS'
41452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41455
41456
41457 fi
41458
41459   fi
41460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41461 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41462
41463     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41464       for ac_func in _ldexpf
41465 do :
41466   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41467 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41468   cat >>confdefs.h <<_ACEOF
41469 #define HAVE__LDEXPF 1
41470 _ACEOF
41471
41472 fi
41473 done
41474
41475     fi
41476   fi
41477
41478
41479
41480
41481
41482   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41483 $as_echo_n "checking for logf declaration... " >&6; }
41484   if test x${glibcxx_cv_func_logf_use+set} != xset; then
41485     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41486   $as_echo_n "(cached) " >&6
41487 else
41488
41489
41490       ac_ext=cpp
41491 ac_cpp='$CXXCPP $CPPFLAGS'
41492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41495
41496       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41497 /* end confdefs.h.  */
41498 #include <math.h>
41499                       #ifdef HAVE_IEEEFP_H
41500                       #include <ieeefp.h>
41501                       #endif
41502
41503 int
41504 main ()
41505 {
41506  logf(0);
41507   ;
41508   return 0;
41509 }
41510 _ACEOF
41511 if ac_fn_cxx_try_compile "$LINENO"; then :
41512   glibcxx_cv_func_logf_use=yes
41513 else
41514   glibcxx_cv_func_logf_use=no
41515 fi
41516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41517       ac_ext=c
41518 ac_cpp='$CPP $CPPFLAGS'
41519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41522
41523
41524 fi
41525
41526   fi
41527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41528 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41529
41530   if test x$glibcxx_cv_func_logf_use = x"yes"; then
41531     for ac_func in logf
41532 do :
41533   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41534 if test "x$ac_cv_func_logf" = x""yes; then :
41535   cat >>confdefs.h <<_ACEOF
41536 #define HAVE_LOGF 1
41537 _ACEOF
41538
41539 fi
41540 done
41541
41542   else
41543
41544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41545 $as_echo_n "checking for _logf declaration... " >&6; }
41546   if test x${glibcxx_cv_func__logf_use+set} != xset; then
41547     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41548   $as_echo_n "(cached) " >&6
41549 else
41550
41551
41552       ac_ext=cpp
41553 ac_cpp='$CXXCPP $CPPFLAGS'
41554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41557
41558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41559 /* end confdefs.h.  */
41560 #include <math.h>
41561                       #ifdef HAVE_IEEEFP_H
41562                       #include <ieeefp.h>
41563                       #endif
41564
41565 int
41566 main ()
41567 {
41568  _logf(0);
41569   ;
41570   return 0;
41571 }
41572 _ACEOF
41573 if ac_fn_cxx_try_compile "$LINENO"; then :
41574   glibcxx_cv_func__logf_use=yes
41575 else
41576   glibcxx_cv_func__logf_use=no
41577 fi
41578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41579       ac_ext=c
41580 ac_cpp='$CPP $CPPFLAGS'
41581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41584
41585
41586 fi
41587
41588   fi
41589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41590 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41591
41592     if test x$glibcxx_cv_func__logf_use = x"yes"; then
41593       for ac_func in _logf
41594 do :
41595   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41596 if test "x$ac_cv_func__logf" = x""yes; then :
41597   cat >>confdefs.h <<_ACEOF
41598 #define HAVE__LOGF 1
41599 _ACEOF
41600
41601 fi
41602 done
41603
41604     fi
41605   fi
41606
41607
41608
41609
41610
41611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41612 $as_echo_n "checking for log10f declaration... " >&6; }
41613   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41614     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41615   $as_echo_n "(cached) " >&6
41616 else
41617
41618
41619       ac_ext=cpp
41620 ac_cpp='$CXXCPP $CPPFLAGS'
41621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41624
41625       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41626 /* end confdefs.h.  */
41627 #include <math.h>
41628                       #ifdef HAVE_IEEEFP_H
41629                       #include <ieeefp.h>
41630                       #endif
41631
41632 int
41633 main ()
41634 {
41635  log10f(0);
41636   ;
41637   return 0;
41638 }
41639 _ACEOF
41640 if ac_fn_cxx_try_compile "$LINENO"; then :
41641   glibcxx_cv_func_log10f_use=yes
41642 else
41643   glibcxx_cv_func_log10f_use=no
41644 fi
41645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41646       ac_ext=c
41647 ac_cpp='$CPP $CPPFLAGS'
41648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41651
41652
41653 fi
41654
41655   fi
41656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41657 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41658
41659   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41660     for ac_func in log10f
41661 do :
41662   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41663 if test "x$ac_cv_func_log10f" = x""yes; then :
41664   cat >>confdefs.h <<_ACEOF
41665 #define HAVE_LOG10F 1
41666 _ACEOF
41667
41668 fi
41669 done
41670
41671   else
41672
41673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41674 $as_echo_n "checking for _log10f declaration... " >&6; }
41675   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41676     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41677   $as_echo_n "(cached) " >&6
41678 else
41679
41680
41681       ac_ext=cpp
41682 ac_cpp='$CXXCPP $CPPFLAGS'
41683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41686
41687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41688 /* end confdefs.h.  */
41689 #include <math.h>
41690                       #ifdef HAVE_IEEEFP_H
41691                       #include <ieeefp.h>
41692                       #endif
41693
41694 int
41695 main ()
41696 {
41697  _log10f(0);
41698   ;
41699   return 0;
41700 }
41701 _ACEOF
41702 if ac_fn_cxx_try_compile "$LINENO"; then :
41703   glibcxx_cv_func__log10f_use=yes
41704 else
41705   glibcxx_cv_func__log10f_use=no
41706 fi
41707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41708       ac_ext=c
41709 ac_cpp='$CPP $CPPFLAGS'
41710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41713
41714
41715 fi
41716
41717   fi
41718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41719 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41720
41721     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41722       for ac_func in _log10f
41723 do :
41724   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41725 if test "x$ac_cv_func__log10f" = x""yes; then :
41726   cat >>confdefs.h <<_ACEOF
41727 #define HAVE__LOG10F 1
41728 _ACEOF
41729
41730 fi
41731 done
41732
41733     fi
41734   fi
41735
41736
41737
41738
41739
41740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41741 $as_echo_n "checking for modff declaration... " >&6; }
41742   if test x${glibcxx_cv_func_modff_use+set} != xset; then
41743     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41744   $as_echo_n "(cached) " >&6
41745 else
41746
41747
41748       ac_ext=cpp
41749 ac_cpp='$CXXCPP $CPPFLAGS'
41750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41753
41754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41755 /* end confdefs.h.  */
41756 #include <math.h>
41757 int
41758 main ()
41759 {
41760  modff(0, 0);
41761   ;
41762   return 0;
41763 }
41764 _ACEOF
41765 if ac_fn_cxx_try_compile "$LINENO"; then :
41766   glibcxx_cv_func_modff_use=yes
41767 else
41768   glibcxx_cv_func_modff_use=no
41769 fi
41770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41771       ac_ext=c
41772 ac_cpp='$CPP $CPPFLAGS'
41773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41776
41777
41778 fi
41779
41780   fi
41781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41782 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41783
41784   if test x$glibcxx_cv_func_modff_use = x"yes"; then
41785     for ac_func in modff
41786 do :
41787   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41788 if test "x$ac_cv_func_modff" = x""yes; then :
41789   cat >>confdefs.h <<_ACEOF
41790 #define HAVE_MODFF 1
41791 _ACEOF
41792
41793 fi
41794 done
41795
41796   else
41797
41798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41799 $as_echo_n "checking for _modff declaration... " >&6; }
41800   if test x${glibcxx_cv_func__modff_use+set} != xset; then
41801     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41802   $as_echo_n "(cached) " >&6
41803 else
41804
41805
41806       ac_ext=cpp
41807 ac_cpp='$CXXCPP $CPPFLAGS'
41808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41811
41812       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41813 /* end confdefs.h.  */
41814 #include <math.h>
41815 int
41816 main ()
41817 {
41818  _modff(0, 0);
41819   ;
41820   return 0;
41821 }
41822 _ACEOF
41823 if ac_fn_cxx_try_compile "$LINENO"; then :
41824   glibcxx_cv_func__modff_use=yes
41825 else
41826   glibcxx_cv_func__modff_use=no
41827 fi
41828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41829       ac_ext=c
41830 ac_cpp='$CPP $CPPFLAGS'
41831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41834
41835
41836 fi
41837
41838   fi
41839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41840 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41841
41842     if test x$glibcxx_cv_func__modff_use = x"yes"; then
41843       for ac_func in _modff
41844 do :
41845   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41846 if test "x$ac_cv_func__modff" = x""yes; then :
41847   cat >>confdefs.h <<_ACEOF
41848 #define HAVE__MODFF 1
41849 _ACEOF
41850
41851 fi
41852 done
41853
41854     fi
41855   fi
41856
41857
41858
41859
41860
41861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41862 $as_echo_n "checking for modf declaration... " >&6; }
41863   if test x${glibcxx_cv_func_modf_use+set} != xset; then
41864     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41865   $as_echo_n "(cached) " >&6
41866 else
41867
41868
41869       ac_ext=cpp
41870 ac_cpp='$CXXCPP $CPPFLAGS'
41871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41874
41875       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41876 /* end confdefs.h.  */
41877 #include <math.h>
41878 int
41879 main ()
41880 {
41881  modf(0, 0);
41882   ;
41883   return 0;
41884 }
41885 _ACEOF
41886 if ac_fn_cxx_try_compile "$LINENO"; then :
41887   glibcxx_cv_func_modf_use=yes
41888 else
41889   glibcxx_cv_func_modf_use=no
41890 fi
41891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41892       ac_ext=c
41893 ac_cpp='$CPP $CPPFLAGS'
41894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41897
41898
41899 fi
41900
41901   fi
41902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41903 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41904
41905   if test x$glibcxx_cv_func_modf_use = x"yes"; then
41906     for ac_func in modf
41907 do :
41908   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41909 if test "x$ac_cv_func_modf" = x""yes; then :
41910   cat >>confdefs.h <<_ACEOF
41911 #define HAVE_MODF 1
41912 _ACEOF
41913
41914 fi
41915 done
41916
41917   else
41918
41919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41920 $as_echo_n "checking for _modf declaration... " >&6; }
41921   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41922     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41923   $as_echo_n "(cached) " >&6
41924 else
41925
41926
41927       ac_ext=cpp
41928 ac_cpp='$CXXCPP $CPPFLAGS'
41929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41932
41933       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41934 /* end confdefs.h.  */
41935 #include <math.h>
41936 int
41937 main ()
41938 {
41939  _modf(0, 0);
41940   ;
41941   return 0;
41942 }
41943 _ACEOF
41944 if ac_fn_cxx_try_compile "$LINENO"; then :
41945   glibcxx_cv_func__modf_use=yes
41946 else
41947   glibcxx_cv_func__modf_use=no
41948 fi
41949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41950       ac_ext=c
41951 ac_cpp='$CPP $CPPFLAGS'
41952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41955
41956
41957 fi
41958
41959   fi
41960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41961 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41962
41963     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41964       for ac_func in _modf
41965 do :
41966   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41967 if test "x$ac_cv_func__modf" = x""yes; then :
41968   cat >>confdefs.h <<_ACEOF
41969 #define HAVE__MODF 1
41970 _ACEOF
41971
41972 fi
41973 done
41974
41975     fi
41976   fi
41977
41978
41979
41980
41981
41982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41983 $as_echo_n "checking for powf declaration... " >&6; }
41984   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41985     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41986   $as_echo_n "(cached) " >&6
41987 else
41988
41989
41990       ac_ext=cpp
41991 ac_cpp='$CXXCPP $CPPFLAGS'
41992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41995
41996       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41997 /* end confdefs.h.  */
41998 #include <math.h>
41999 int
42000 main ()
42001 {
42002  powf(0, 0);
42003   ;
42004   return 0;
42005 }
42006 _ACEOF
42007 if ac_fn_cxx_try_compile "$LINENO"; then :
42008   glibcxx_cv_func_powf_use=yes
42009 else
42010   glibcxx_cv_func_powf_use=no
42011 fi
42012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42013       ac_ext=c
42014 ac_cpp='$CPP $CPPFLAGS'
42015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42018
42019
42020 fi
42021
42022   fi
42023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42024 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42025
42026   if test x$glibcxx_cv_func_powf_use = x"yes"; then
42027     for ac_func in powf
42028 do :
42029   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42030 if test "x$ac_cv_func_powf" = x""yes; then :
42031   cat >>confdefs.h <<_ACEOF
42032 #define HAVE_POWF 1
42033 _ACEOF
42034
42035 fi
42036 done
42037
42038   else
42039
42040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42041 $as_echo_n "checking for _powf declaration... " >&6; }
42042   if test x${glibcxx_cv_func__powf_use+set} != xset; then
42043     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42044   $as_echo_n "(cached) " >&6
42045 else
42046
42047
42048       ac_ext=cpp
42049 ac_cpp='$CXXCPP $CPPFLAGS'
42050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42053
42054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42055 /* end confdefs.h.  */
42056 #include <math.h>
42057 int
42058 main ()
42059 {
42060  _powf(0, 0);
42061   ;
42062   return 0;
42063 }
42064 _ACEOF
42065 if ac_fn_cxx_try_compile "$LINENO"; then :
42066   glibcxx_cv_func__powf_use=yes
42067 else
42068   glibcxx_cv_func__powf_use=no
42069 fi
42070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42071       ac_ext=c
42072 ac_cpp='$CPP $CPPFLAGS'
42073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42076
42077
42078 fi
42079
42080   fi
42081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42082 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42083
42084     if test x$glibcxx_cv_func__powf_use = x"yes"; then
42085       for ac_func in _powf
42086 do :
42087   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42088 if test "x$ac_cv_func__powf" = x""yes; then :
42089   cat >>confdefs.h <<_ACEOF
42090 #define HAVE__POWF 1
42091 _ACEOF
42092
42093 fi
42094 done
42095
42096     fi
42097   fi
42098
42099
42100
42101
42102
42103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42104 $as_echo_n "checking for sqrtf declaration... " >&6; }
42105   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42106     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42107   $as_echo_n "(cached) " >&6
42108 else
42109
42110
42111       ac_ext=cpp
42112 ac_cpp='$CXXCPP $CPPFLAGS'
42113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42116
42117       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42118 /* end confdefs.h.  */
42119 #include <math.h>
42120                       #ifdef HAVE_IEEEFP_H
42121                       #include <ieeefp.h>
42122                       #endif
42123
42124 int
42125 main ()
42126 {
42127  sqrtf(0);
42128   ;
42129   return 0;
42130 }
42131 _ACEOF
42132 if ac_fn_cxx_try_compile "$LINENO"; then :
42133   glibcxx_cv_func_sqrtf_use=yes
42134 else
42135   glibcxx_cv_func_sqrtf_use=no
42136 fi
42137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42138       ac_ext=c
42139 ac_cpp='$CPP $CPPFLAGS'
42140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42143
42144
42145 fi
42146
42147   fi
42148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42149 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42150
42151   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42152     for ac_func in sqrtf
42153 do :
42154   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42155 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42156   cat >>confdefs.h <<_ACEOF
42157 #define HAVE_SQRTF 1
42158 _ACEOF
42159
42160 fi
42161 done
42162
42163   else
42164
42165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42166 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42167   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42168     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42169   $as_echo_n "(cached) " >&6
42170 else
42171
42172
42173       ac_ext=cpp
42174 ac_cpp='$CXXCPP $CPPFLAGS'
42175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42178
42179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42180 /* end confdefs.h.  */
42181 #include <math.h>
42182                       #ifdef HAVE_IEEEFP_H
42183                       #include <ieeefp.h>
42184                       #endif
42185
42186 int
42187 main ()
42188 {
42189  _sqrtf(0);
42190   ;
42191   return 0;
42192 }
42193 _ACEOF
42194 if ac_fn_cxx_try_compile "$LINENO"; then :
42195   glibcxx_cv_func__sqrtf_use=yes
42196 else
42197   glibcxx_cv_func__sqrtf_use=no
42198 fi
42199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42200       ac_ext=c
42201 ac_cpp='$CPP $CPPFLAGS'
42202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42205
42206
42207 fi
42208
42209   fi
42210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42211 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42212
42213     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42214       for ac_func in _sqrtf
42215 do :
42216   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42217 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42218   cat >>confdefs.h <<_ACEOF
42219 #define HAVE__SQRTF 1
42220 _ACEOF
42221
42222 fi
42223 done
42224
42225     fi
42226   fi
42227
42228
42229
42230
42231
42232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42233 $as_echo_n "checking for sincosf declaration... " >&6; }
42234   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42235     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42236   $as_echo_n "(cached) " >&6
42237 else
42238
42239
42240       ac_ext=cpp
42241 ac_cpp='$CXXCPP $CPPFLAGS'
42242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42245
42246       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42247 /* end confdefs.h.  */
42248 #include <math.h>
42249 int
42250 main ()
42251 {
42252  sincosf(0, 0, 0);
42253   ;
42254   return 0;
42255 }
42256 _ACEOF
42257 if ac_fn_cxx_try_compile "$LINENO"; then :
42258   glibcxx_cv_func_sincosf_use=yes
42259 else
42260   glibcxx_cv_func_sincosf_use=no
42261 fi
42262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42263       ac_ext=c
42264 ac_cpp='$CPP $CPPFLAGS'
42265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42268
42269
42270 fi
42271
42272   fi
42273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42274 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42275
42276   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42277     for ac_func in sincosf
42278 do :
42279   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42280 if test "x$ac_cv_func_sincosf" = x""yes; then :
42281   cat >>confdefs.h <<_ACEOF
42282 #define HAVE_SINCOSF 1
42283 _ACEOF
42284
42285 fi
42286 done
42287
42288   else
42289
42290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42291 $as_echo_n "checking for _sincosf declaration... " >&6; }
42292   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42293     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42294   $as_echo_n "(cached) " >&6
42295 else
42296
42297
42298       ac_ext=cpp
42299 ac_cpp='$CXXCPP $CPPFLAGS'
42300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42303
42304       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42305 /* end confdefs.h.  */
42306 #include <math.h>
42307 int
42308 main ()
42309 {
42310  _sincosf(0, 0, 0);
42311   ;
42312   return 0;
42313 }
42314 _ACEOF
42315 if ac_fn_cxx_try_compile "$LINENO"; then :
42316   glibcxx_cv_func__sincosf_use=yes
42317 else
42318   glibcxx_cv_func__sincosf_use=no
42319 fi
42320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42321       ac_ext=c
42322 ac_cpp='$CPP $CPPFLAGS'
42323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42326
42327
42328 fi
42329
42330   fi
42331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42332 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42333
42334     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42335       for ac_func in _sincosf
42336 do :
42337   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42338 if test "x$ac_cv_func__sincosf" = x""yes; then :
42339   cat >>confdefs.h <<_ACEOF
42340 #define HAVE__SINCOSF 1
42341 _ACEOF
42342
42343 fi
42344 done
42345
42346     fi
42347   fi
42348
42349
42350
42351
42352
42353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42354 $as_echo_n "checking for finitef declaration... " >&6; }
42355   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42356     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42357   $as_echo_n "(cached) " >&6
42358 else
42359
42360
42361       ac_ext=cpp
42362 ac_cpp='$CXXCPP $CPPFLAGS'
42363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42366
42367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42368 /* end confdefs.h.  */
42369 #include <math.h>
42370                       #ifdef HAVE_IEEEFP_H
42371                       #include <ieeefp.h>
42372                       #endif
42373
42374 int
42375 main ()
42376 {
42377  finitef(0);
42378   ;
42379   return 0;
42380 }
42381 _ACEOF
42382 if ac_fn_cxx_try_compile "$LINENO"; then :
42383   glibcxx_cv_func_finitef_use=yes
42384 else
42385   glibcxx_cv_func_finitef_use=no
42386 fi
42387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42388       ac_ext=c
42389 ac_cpp='$CPP $CPPFLAGS'
42390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42393
42394
42395 fi
42396
42397   fi
42398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42399 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42400
42401   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42402     for ac_func in finitef
42403 do :
42404   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42405 if test "x$ac_cv_func_finitef" = x""yes; then :
42406   cat >>confdefs.h <<_ACEOF
42407 #define HAVE_FINITEF 1
42408 _ACEOF
42409
42410 fi
42411 done
42412
42413   else
42414
42415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42416 $as_echo_n "checking for _finitef declaration... " >&6; }
42417   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42418     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42419   $as_echo_n "(cached) " >&6
42420 else
42421
42422
42423       ac_ext=cpp
42424 ac_cpp='$CXXCPP $CPPFLAGS'
42425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42428
42429       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42430 /* end confdefs.h.  */
42431 #include <math.h>
42432                       #ifdef HAVE_IEEEFP_H
42433                       #include <ieeefp.h>
42434                       #endif
42435
42436 int
42437 main ()
42438 {
42439  _finitef(0);
42440   ;
42441   return 0;
42442 }
42443 _ACEOF
42444 if ac_fn_cxx_try_compile "$LINENO"; then :
42445   glibcxx_cv_func__finitef_use=yes
42446 else
42447   glibcxx_cv_func__finitef_use=no
42448 fi
42449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42450       ac_ext=c
42451 ac_cpp='$CPP $CPPFLAGS'
42452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42455
42456
42457 fi
42458
42459   fi
42460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42461 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42462
42463     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42464       for ac_func in _finitef
42465 do :
42466   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42467 if test "x$ac_cv_func__finitef" = x""yes; then :
42468   cat >>confdefs.h <<_ACEOF
42469 #define HAVE__FINITEF 1
42470 _ACEOF
42471
42472 fi
42473 done
42474
42475     fi
42476   fi
42477
42478
42479
42480
42481
42482     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42483 $as_echo_n "checking for long double trig functions... " >&6; }
42484   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42485   $as_echo_n "(cached) " >&6
42486 else
42487
42488
42489     ac_ext=cpp
42490 ac_cpp='$CXXCPP $CPPFLAGS'
42491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42494
42495     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42496 /* end confdefs.h.  */
42497 #include <math.h>
42498 int
42499 main ()
42500 {
42501 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42502   ;
42503   return 0;
42504 }
42505 _ACEOF
42506 if ac_fn_cxx_try_compile "$LINENO"; then :
42507   glibcxx_cv_func_long_double_trig_use=yes
42508 else
42509   glibcxx_cv_func_long_double_trig_use=no
42510 fi
42511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42512     ac_ext=c
42513 ac_cpp='$CPP $CPPFLAGS'
42514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42517
42518 fi
42519
42520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42521 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42522   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42523     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42524 do :
42525   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42527 eval as_val=\$$as_ac_var
42528    if test "x$as_val" = x""yes; then :
42529   cat >>confdefs.h <<_ACEOF
42530 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42531 _ACEOF
42532
42533 fi
42534 done
42535
42536   else
42537     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42538 $as_echo_n "checking for _long double trig functions... " >&6; }
42539     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42540   $as_echo_n "(cached) " >&6
42541 else
42542
42543
42544       ac_ext=cpp
42545 ac_cpp='$CXXCPP $CPPFLAGS'
42546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42549
42550       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42551 /* end confdefs.h.  */
42552 #include <math.h>
42553 int
42554 main ()
42555 {
42556 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42557   ;
42558   return 0;
42559 }
42560 _ACEOF
42561 if ac_fn_cxx_try_compile "$LINENO"; then :
42562   glibcxx_cv_func__long_double_trig_use=yes
42563 else
42564   glibcxx_cv_func__long_double_trig_use=no
42565 fi
42566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42567       ac_ext=c
42568 ac_cpp='$CPP $CPPFLAGS'
42569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42572
42573 fi
42574
42575     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42576 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42577     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42578       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42579 do :
42580   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42582 eval as_val=\$$as_ac_var
42583    if test "x$as_val" = x""yes; then :
42584   cat >>confdefs.h <<_ACEOF
42585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42586 _ACEOF
42587
42588 fi
42589 done
42590
42591     fi
42592   fi
42593
42594
42595
42596
42597
42598     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42599 $as_echo_n "checking for long double round functions... " >&6; }
42600   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42601   $as_echo_n "(cached) " >&6
42602 else
42603
42604
42605     ac_ext=cpp
42606 ac_cpp='$CXXCPP $CPPFLAGS'
42607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42610
42611     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42612 /* end confdefs.h.  */
42613 #include <math.h>
42614 int
42615 main ()
42616 {
42617 ceill (0); floorl (0);
42618   ;
42619   return 0;
42620 }
42621 _ACEOF
42622 if ac_fn_cxx_try_compile "$LINENO"; then :
42623   glibcxx_cv_func_long_double_round_use=yes
42624 else
42625   glibcxx_cv_func_long_double_round_use=no
42626 fi
42627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42628     ac_ext=c
42629 ac_cpp='$CPP $CPPFLAGS'
42630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42633
42634 fi
42635
42636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42637 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42638   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42639     for ac_func in ceill floorl
42640 do :
42641   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42642 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42643 eval as_val=\$$as_ac_var
42644    if test "x$as_val" = x""yes; then :
42645   cat >>confdefs.h <<_ACEOF
42646 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42647 _ACEOF
42648
42649 fi
42650 done
42651
42652   else
42653     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42654 $as_echo_n "checking for _long double round functions... " >&6; }
42655     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42656   $as_echo_n "(cached) " >&6
42657 else
42658
42659
42660       ac_ext=cpp
42661 ac_cpp='$CXXCPP $CPPFLAGS'
42662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42665
42666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42667 /* end confdefs.h.  */
42668 #include <math.h>
42669 int
42670 main ()
42671 {
42672 _ceill (0); _floorl (0);
42673   ;
42674   return 0;
42675 }
42676 _ACEOF
42677 if ac_fn_cxx_try_compile "$LINENO"; then :
42678   glibcxx_cv_func__long_double_round_use=yes
42679 else
42680   glibcxx_cv_func__long_double_round_use=no
42681 fi
42682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42683       ac_ext=c
42684 ac_cpp='$CPP $CPPFLAGS'
42685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42688
42689 fi
42690
42691     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42692 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42693     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42694       for ac_func in _ceill _floorl
42695 do :
42696   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42697 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42698 eval as_val=\$$as_ac_var
42699    if test "x$as_val" = x""yes; then :
42700   cat >>confdefs.h <<_ACEOF
42701 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42702 _ACEOF
42703
42704 fi
42705 done
42706
42707     fi
42708   fi
42709
42710
42711
42712
42713
42714
42715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42716 $as_echo_n "checking for isnanl declaration... " >&6; }
42717   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42718     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42719   $as_echo_n "(cached) " >&6
42720 else
42721
42722
42723       ac_ext=cpp
42724 ac_cpp='$CXXCPP $CPPFLAGS'
42725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42728
42729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42730 /* end confdefs.h.  */
42731 #include <math.h>
42732                       #ifdef HAVE_IEEEFP_H
42733                       #include <ieeefp.h>
42734                       #endif
42735
42736 int
42737 main ()
42738 {
42739  isnanl(0);
42740   ;
42741   return 0;
42742 }
42743 _ACEOF
42744 if ac_fn_cxx_try_compile "$LINENO"; then :
42745   glibcxx_cv_func_isnanl_use=yes
42746 else
42747   glibcxx_cv_func_isnanl_use=no
42748 fi
42749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42750       ac_ext=c
42751 ac_cpp='$CPP $CPPFLAGS'
42752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42755
42756
42757 fi
42758
42759   fi
42760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42761 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42762
42763   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42764     for ac_func in isnanl
42765 do :
42766   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42767 if test "x$ac_cv_func_isnanl" = x""yes; then :
42768   cat >>confdefs.h <<_ACEOF
42769 #define HAVE_ISNANL 1
42770 _ACEOF
42771
42772 fi
42773 done
42774
42775   else
42776
42777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42778 $as_echo_n "checking for _isnanl declaration... " >&6; }
42779   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42780     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42781   $as_echo_n "(cached) " >&6
42782 else
42783
42784
42785       ac_ext=cpp
42786 ac_cpp='$CXXCPP $CPPFLAGS'
42787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42790
42791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42792 /* end confdefs.h.  */
42793 #include <math.h>
42794                       #ifdef HAVE_IEEEFP_H
42795                       #include <ieeefp.h>
42796                       #endif
42797
42798 int
42799 main ()
42800 {
42801  _isnanl(0);
42802   ;
42803   return 0;
42804 }
42805 _ACEOF
42806 if ac_fn_cxx_try_compile "$LINENO"; then :
42807   glibcxx_cv_func__isnanl_use=yes
42808 else
42809   glibcxx_cv_func__isnanl_use=no
42810 fi
42811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42812       ac_ext=c
42813 ac_cpp='$CPP $CPPFLAGS'
42814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42817
42818
42819 fi
42820
42821   fi
42822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42823 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42824
42825     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42826       for ac_func in _isnanl
42827 do :
42828   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42829 if test "x$ac_cv_func__isnanl" = x""yes; then :
42830   cat >>confdefs.h <<_ACEOF
42831 #define HAVE__ISNANL 1
42832 _ACEOF
42833
42834 fi
42835 done
42836
42837     fi
42838   fi
42839
42840
42841
42842
42843
42844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42845 $as_echo_n "checking for isinfl declaration... " >&6; }
42846   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42847     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42848   $as_echo_n "(cached) " >&6
42849 else
42850
42851
42852       ac_ext=cpp
42853 ac_cpp='$CXXCPP $CPPFLAGS'
42854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42857
42858       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42859 /* end confdefs.h.  */
42860 #include <math.h>
42861                       #ifdef HAVE_IEEEFP_H
42862                       #include <ieeefp.h>
42863                       #endif
42864
42865 int
42866 main ()
42867 {
42868  isinfl(0);
42869   ;
42870   return 0;
42871 }
42872 _ACEOF
42873 if ac_fn_cxx_try_compile "$LINENO"; then :
42874   glibcxx_cv_func_isinfl_use=yes
42875 else
42876   glibcxx_cv_func_isinfl_use=no
42877 fi
42878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42879       ac_ext=c
42880 ac_cpp='$CPP $CPPFLAGS'
42881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42884
42885
42886 fi
42887
42888   fi
42889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42890 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42891
42892   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42893     for ac_func in isinfl
42894 do :
42895   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42896 if test "x$ac_cv_func_isinfl" = x""yes; then :
42897   cat >>confdefs.h <<_ACEOF
42898 #define HAVE_ISINFL 1
42899 _ACEOF
42900
42901 fi
42902 done
42903
42904   else
42905
42906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42907 $as_echo_n "checking for _isinfl declaration... " >&6; }
42908   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42909     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42910   $as_echo_n "(cached) " >&6
42911 else
42912
42913
42914       ac_ext=cpp
42915 ac_cpp='$CXXCPP $CPPFLAGS'
42916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42919
42920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42921 /* end confdefs.h.  */
42922 #include <math.h>
42923                       #ifdef HAVE_IEEEFP_H
42924                       #include <ieeefp.h>
42925                       #endif
42926
42927 int
42928 main ()
42929 {
42930  _isinfl(0);
42931   ;
42932   return 0;
42933 }
42934 _ACEOF
42935 if ac_fn_cxx_try_compile "$LINENO"; then :
42936   glibcxx_cv_func__isinfl_use=yes
42937 else
42938   glibcxx_cv_func__isinfl_use=no
42939 fi
42940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42941       ac_ext=c
42942 ac_cpp='$CPP $CPPFLAGS'
42943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42946
42947
42948 fi
42949
42950   fi
42951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42952 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42953
42954     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42955       for ac_func in _isinfl
42956 do :
42957   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42958 if test "x$ac_cv_func__isinfl" = x""yes; then :
42959   cat >>confdefs.h <<_ACEOF
42960 #define HAVE__ISINFL 1
42961 _ACEOF
42962
42963 fi
42964 done
42965
42966     fi
42967   fi
42968
42969
42970
42971
42972
42973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42974 $as_echo_n "checking for atan2l declaration... " >&6; }
42975   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42976     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42977   $as_echo_n "(cached) " >&6
42978 else
42979
42980
42981       ac_ext=cpp
42982 ac_cpp='$CXXCPP $CPPFLAGS'
42983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42986
42987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42988 /* end confdefs.h.  */
42989 #include <math.h>
42990 int
42991 main ()
42992 {
42993  atan2l(0, 0);
42994   ;
42995   return 0;
42996 }
42997 _ACEOF
42998 if ac_fn_cxx_try_compile "$LINENO"; then :
42999   glibcxx_cv_func_atan2l_use=yes
43000 else
43001   glibcxx_cv_func_atan2l_use=no
43002 fi
43003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43004       ac_ext=c
43005 ac_cpp='$CPP $CPPFLAGS'
43006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43009
43010
43011 fi
43012
43013   fi
43014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43015 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43016
43017   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43018     for ac_func in atan2l
43019 do :
43020   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43021 if test "x$ac_cv_func_atan2l" = x""yes; then :
43022   cat >>confdefs.h <<_ACEOF
43023 #define HAVE_ATAN2L 1
43024 _ACEOF
43025
43026 fi
43027 done
43028
43029   else
43030
43031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43032 $as_echo_n "checking for _atan2l declaration... " >&6; }
43033   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43034     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43035   $as_echo_n "(cached) " >&6
43036 else
43037
43038
43039       ac_ext=cpp
43040 ac_cpp='$CXXCPP $CPPFLAGS'
43041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43044
43045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43046 /* end confdefs.h.  */
43047 #include <math.h>
43048 int
43049 main ()
43050 {
43051  _atan2l(0, 0);
43052   ;
43053   return 0;
43054 }
43055 _ACEOF
43056 if ac_fn_cxx_try_compile "$LINENO"; then :
43057   glibcxx_cv_func__atan2l_use=yes
43058 else
43059   glibcxx_cv_func__atan2l_use=no
43060 fi
43061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43062       ac_ext=c
43063 ac_cpp='$CPP $CPPFLAGS'
43064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43067
43068
43069 fi
43070
43071   fi
43072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43073 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43074
43075     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43076       for ac_func in _atan2l
43077 do :
43078   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43079 if test "x$ac_cv_func__atan2l" = x""yes; then :
43080   cat >>confdefs.h <<_ACEOF
43081 #define HAVE__ATAN2L 1
43082 _ACEOF
43083
43084 fi
43085 done
43086
43087     fi
43088   fi
43089
43090
43091
43092
43093
43094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43095 $as_echo_n "checking for expl declaration... " >&6; }
43096   if test x${glibcxx_cv_func_expl_use+set} != xset; then
43097     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43098   $as_echo_n "(cached) " >&6
43099 else
43100
43101
43102       ac_ext=cpp
43103 ac_cpp='$CXXCPP $CPPFLAGS'
43104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43107
43108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43109 /* end confdefs.h.  */
43110 #include <math.h>
43111                       #ifdef HAVE_IEEEFP_H
43112                       #include <ieeefp.h>
43113                       #endif
43114
43115 int
43116 main ()
43117 {
43118  expl(0);
43119   ;
43120   return 0;
43121 }
43122 _ACEOF
43123 if ac_fn_cxx_try_compile "$LINENO"; then :
43124   glibcxx_cv_func_expl_use=yes
43125 else
43126   glibcxx_cv_func_expl_use=no
43127 fi
43128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43129       ac_ext=c
43130 ac_cpp='$CPP $CPPFLAGS'
43131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43134
43135
43136 fi
43137
43138   fi
43139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43140 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43141
43142   if test x$glibcxx_cv_func_expl_use = x"yes"; then
43143     for ac_func in expl
43144 do :
43145   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43146 if test "x$ac_cv_func_expl" = x""yes; then :
43147   cat >>confdefs.h <<_ACEOF
43148 #define HAVE_EXPL 1
43149 _ACEOF
43150
43151 fi
43152 done
43153
43154   else
43155
43156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43157 $as_echo_n "checking for _expl declaration... " >&6; }
43158   if test x${glibcxx_cv_func__expl_use+set} != xset; then
43159     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43160   $as_echo_n "(cached) " >&6
43161 else
43162
43163
43164       ac_ext=cpp
43165 ac_cpp='$CXXCPP $CPPFLAGS'
43166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43169
43170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43171 /* end confdefs.h.  */
43172 #include <math.h>
43173                       #ifdef HAVE_IEEEFP_H
43174                       #include <ieeefp.h>
43175                       #endif
43176
43177 int
43178 main ()
43179 {
43180  _expl(0);
43181   ;
43182   return 0;
43183 }
43184 _ACEOF
43185 if ac_fn_cxx_try_compile "$LINENO"; then :
43186   glibcxx_cv_func__expl_use=yes
43187 else
43188   glibcxx_cv_func__expl_use=no
43189 fi
43190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43191       ac_ext=c
43192 ac_cpp='$CPP $CPPFLAGS'
43193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43196
43197
43198 fi
43199
43200   fi
43201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43202 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43203
43204     if test x$glibcxx_cv_func__expl_use = x"yes"; then
43205       for ac_func in _expl
43206 do :
43207   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43208 if test "x$ac_cv_func__expl" = x""yes; then :
43209   cat >>confdefs.h <<_ACEOF
43210 #define HAVE__EXPL 1
43211 _ACEOF
43212
43213 fi
43214 done
43215
43216     fi
43217   fi
43218
43219
43220
43221
43222
43223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43224 $as_echo_n "checking for fabsl declaration... " >&6; }
43225   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43226     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43227   $as_echo_n "(cached) " >&6
43228 else
43229
43230
43231       ac_ext=cpp
43232 ac_cpp='$CXXCPP $CPPFLAGS'
43233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43236
43237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43238 /* end confdefs.h.  */
43239 #include <math.h>
43240                       #ifdef HAVE_IEEEFP_H
43241                       #include <ieeefp.h>
43242                       #endif
43243
43244 int
43245 main ()
43246 {
43247  fabsl(0);
43248   ;
43249   return 0;
43250 }
43251 _ACEOF
43252 if ac_fn_cxx_try_compile "$LINENO"; then :
43253   glibcxx_cv_func_fabsl_use=yes
43254 else
43255   glibcxx_cv_func_fabsl_use=no
43256 fi
43257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43258       ac_ext=c
43259 ac_cpp='$CPP $CPPFLAGS'
43260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43263
43264
43265 fi
43266
43267   fi
43268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43269 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43270
43271   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43272     for ac_func in fabsl
43273 do :
43274   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43275 if test "x$ac_cv_func_fabsl" = x""yes; then :
43276   cat >>confdefs.h <<_ACEOF
43277 #define HAVE_FABSL 1
43278 _ACEOF
43279
43280 fi
43281 done
43282
43283   else
43284
43285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43286 $as_echo_n "checking for _fabsl declaration... " >&6; }
43287   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43288     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43289   $as_echo_n "(cached) " >&6
43290 else
43291
43292
43293       ac_ext=cpp
43294 ac_cpp='$CXXCPP $CPPFLAGS'
43295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43298
43299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43300 /* end confdefs.h.  */
43301 #include <math.h>
43302                       #ifdef HAVE_IEEEFP_H
43303                       #include <ieeefp.h>
43304                       #endif
43305
43306 int
43307 main ()
43308 {
43309  _fabsl(0);
43310   ;
43311   return 0;
43312 }
43313 _ACEOF
43314 if ac_fn_cxx_try_compile "$LINENO"; then :
43315   glibcxx_cv_func__fabsl_use=yes
43316 else
43317   glibcxx_cv_func__fabsl_use=no
43318 fi
43319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43320       ac_ext=c
43321 ac_cpp='$CPP $CPPFLAGS'
43322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43325
43326
43327 fi
43328
43329   fi
43330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43331 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43332
43333     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43334       for ac_func in _fabsl
43335 do :
43336   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43337 if test "x$ac_cv_func__fabsl" = x""yes; then :
43338   cat >>confdefs.h <<_ACEOF
43339 #define HAVE__FABSL 1
43340 _ACEOF
43341
43342 fi
43343 done
43344
43345     fi
43346   fi
43347
43348
43349
43350
43351
43352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43353 $as_echo_n "checking for fmodl declaration... " >&6; }
43354   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43355     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43356   $as_echo_n "(cached) " >&6
43357 else
43358
43359
43360       ac_ext=cpp
43361 ac_cpp='$CXXCPP $CPPFLAGS'
43362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43365
43366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43367 /* end confdefs.h.  */
43368 #include <math.h>
43369 int
43370 main ()
43371 {
43372  fmodl(0, 0);
43373   ;
43374   return 0;
43375 }
43376 _ACEOF
43377 if ac_fn_cxx_try_compile "$LINENO"; then :
43378   glibcxx_cv_func_fmodl_use=yes
43379 else
43380   glibcxx_cv_func_fmodl_use=no
43381 fi
43382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43383       ac_ext=c
43384 ac_cpp='$CPP $CPPFLAGS'
43385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43388
43389
43390 fi
43391
43392   fi
43393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43394 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43395
43396   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43397     for ac_func in fmodl
43398 do :
43399   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43400 if test "x$ac_cv_func_fmodl" = x""yes; then :
43401   cat >>confdefs.h <<_ACEOF
43402 #define HAVE_FMODL 1
43403 _ACEOF
43404
43405 fi
43406 done
43407
43408   else
43409
43410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43411 $as_echo_n "checking for _fmodl declaration... " >&6; }
43412   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43413     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43414   $as_echo_n "(cached) " >&6
43415 else
43416
43417
43418       ac_ext=cpp
43419 ac_cpp='$CXXCPP $CPPFLAGS'
43420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43423
43424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43425 /* end confdefs.h.  */
43426 #include <math.h>
43427 int
43428 main ()
43429 {
43430  _fmodl(0, 0);
43431   ;
43432   return 0;
43433 }
43434 _ACEOF
43435 if ac_fn_cxx_try_compile "$LINENO"; then :
43436   glibcxx_cv_func__fmodl_use=yes
43437 else
43438   glibcxx_cv_func__fmodl_use=no
43439 fi
43440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43441       ac_ext=c
43442 ac_cpp='$CPP $CPPFLAGS'
43443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43446
43447
43448 fi
43449
43450   fi
43451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43452 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43453
43454     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43455       for ac_func in _fmodl
43456 do :
43457   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43458 if test "x$ac_cv_func__fmodl" = x""yes; then :
43459   cat >>confdefs.h <<_ACEOF
43460 #define HAVE__FMODL 1
43461 _ACEOF
43462
43463 fi
43464 done
43465
43466     fi
43467   fi
43468
43469
43470
43471
43472
43473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43474 $as_echo_n "checking for frexpl declaration... " >&6; }
43475   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43476     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43477   $as_echo_n "(cached) " >&6
43478 else
43479
43480
43481       ac_ext=cpp
43482 ac_cpp='$CXXCPP $CPPFLAGS'
43483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43486
43487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43488 /* end confdefs.h.  */
43489 #include <math.h>
43490 int
43491 main ()
43492 {
43493  frexpl(0, 0);
43494   ;
43495   return 0;
43496 }
43497 _ACEOF
43498 if ac_fn_cxx_try_compile "$LINENO"; then :
43499   glibcxx_cv_func_frexpl_use=yes
43500 else
43501   glibcxx_cv_func_frexpl_use=no
43502 fi
43503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43504       ac_ext=c
43505 ac_cpp='$CPP $CPPFLAGS'
43506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43509
43510
43511 fi
43512
43513   fi
43514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43515 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43516
43517   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43518     for ac_func in frexpl
43519 do :
43520   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43521 if test "x$ac_cv_func_frexpl" = x""yes; then :
43522   cat >>confdefs.h <<_ACEOF
43523 #define HAVE_FREXPL 1
43524 _ACEOF
43525
43526 fi
43527 done
43528
43529   else
43530
43531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43532 $as_echo_n "checking for _frexpl declaration... " >&6; }
43533   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43534     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43535   $as_echo_n "(cached) " >&6
43536 else
43537
43538
43539       ac_ext=cpp
43540 ac_cpp='$CXXCPP $CPPFLAGS'
43541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43544
43545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43546 /* end confdefs.h.  */
43547 #include <math.h>
43548 int
43549 main ()
43550 {
43551  _frexpl(0, 0);
43552   ;
43553   return 0;
43554 }
43555 _ACEOF
43556 if ac_fn_cxx_try_compile "$LINENO"; then :
43557   glibcxx_cv_func__frexpl_use=yes
43558 else
43559   glibcxx_cv_func__frexpl_use=no
43560 fi
43561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43562       ac_ext=c
43563 ac_cpp='$CPP $CPPFLAGS'
43564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43567
43568
43569 fi
43570
43571   fi
43572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43573 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43574
43575     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43576       for ac_func in _frexpl
43577 do :
43578   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43579 if test "x$ac_cv_func__frexpl" = x""yes; then :
43580   cat >>confdefs.h <<_ACEOF
43581 #define HAVE__FREXPL 1
43582 _ACEOF
43583
43584 fi
43585 done
43586
43587     fi
43588   fi
43589
43590
43591
43592
43593
43594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43595 $as_echo_n "checking for hypotl declaration... " >&6; }
43596   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43597     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43598   $as_echo_n "(cached) " >&6
43599 else
43600
43601
43602       ac_ext=cpp
43603 ac_cpp='$CXXCPP $CPPFLAGS'
43604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43607
43608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43609 /* end confdefs.h.  */
43610 #include <math.h>
43611 int
43612 main ()
43613 {
43614  hypotl(0, 0);
43615   ;
43616   return 0;
43617 }
43618 _ACEOF
43619 if ac_fn_cxx_try_compile "$LINENO"; then :
43620   glibcxx_cv_func_hypotl_use=yes
43621 else
43622   glibcxx_cv_func_hypotl_use=no
43623 fi
43624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43625       ac_ext=c
43626 ac_cpp='$CPP $CPPFLAGS'
43627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43630
43631
43632 fi
43633
43634   fi
43635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43636 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43637
43638   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43639     for ac_func in hypotl
43640 do :
43641   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43642 if test "x$ac_cv_func_hypotl" = x""yes; then :
43643   cat >>confdefs.h <<_ACEOF
43644 #define HAVE_HYPOTL 1
43645 _ACEOF
43646
43647 fi
43648 done
43649
43650   else
43651
43652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43653 $as_echo_n "checking for _hypotl declaration... " >&6; }
43654   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43655     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43656   $as_echo_n "(cached) " >&6
43657 else
43658
43659
43660       ac_ext=cpp
43661 ac_cpp='$CXXCPP $CPPFLAGS'
43662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43665
43666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43667 /* end confdefs.h.  */
43668 #include <math.h>
43669 int
43670 main ()
43671 {
43672  _hypotl(0, 0);
43673   ;
43674   return 0;
43675 }
43676 _ACEOF
43677 if ac_fn_cxx_try_compile "$LINENO"; then :
43678   glibcxx_cv_func__hypotl_use=yes
43679 else
43680   glibcxx_cv_func__hypotl_use=no
43681 fi
43682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43683       ac_ext=c
43684 ac_cpp='$CPP $CPPFLAGS'
43685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43688
43689
43690 fi
43691
43692   fi
43693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43694 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43695
43696     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43697       for ac_func in _hypotl
43698 do :
43699   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43700 if test "x$ac_cv_func__hypotl" = x""yes; then :
43701   cat >>confdefs.h <<_ACEOF
43702 #define HAVE__HYPOTL 1
43703 _ACEOF
43704
43705 fi
43706 done
43707
43708     fi
43709   fi
43710
43711
43712
43713
43714
43715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43716 $as_echo_n "checking for ldexpl declaration... " >&6; }
43717   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43718     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43719   $as_echo_n "(cached) " >&6
43720 else
43721
43722
43723       ac_ext=cpp
43724 ac_cpp='$CXXCPP $CPPFLAGS'
43725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43728
43729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43730 /* end confdefs.h.  */
43731 #include <math.h>
43732 int
43733 main ()
43734 {
43735  ldexpl(0, 0);
43736   ;
43737   return 0;
43738 }
43739 _ACEOF
43740 if ac_fn_cxx_try_compile "$LINENO"; then :
43741   glibcxx_cv_func_ldexpl_use=yes
43742 else
43743   glibcxx_cv_func_ldexpl_use=no
43744 fi
43745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43746       ac_ext=c
43747 ac_cpp='$CPP $CPPFLAGS'
43748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43751
43752
43753 fi
43754
43755   fi
43756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43757 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43758
43759   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43760     for ac_func in ldexpl
43761 do :
43762   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43763 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43764   cat >>confdefs.h <<_ACEOF
43765 #define HAVE_LDEXPL 1
43766 _ACEOF
43767
43768 fi
43769 done
43770
43771   else
43772
43773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43774 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43775   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43776     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43777   $as_echo_n "(cached) " >&6
43778 else
43779
43780
43781       ac_ext=cpp
43782 ac_cpp='$CXXCPP $CPPFLAGS'
43783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43786
43787       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43788 /* end confdefs.h.  */
43789 #include <math.h>
43790 int
43791 main ()
43792 {
43793  _ldexpl(0, 0);
43794   ;
43795   return 0;
43796 }
43797 _ACEOF
43798 if ac_fn_cxx_try_compile "$LINENO"; then :
43799   glibcxx_cv_func__ldexpl_use=yes
43800 else
43801   glibcxx_cv_func__ldexpl_use=no
43802 fi
43803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43804       ac_ext=c
43805 ac_cpp='$CPP $CPPFLAGS'
43806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43809
43810
43811 fi
43812
43813   fi
43814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43815 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43816
43817     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43818       for ac_func in _ldexpl
43819 do :
43820   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43821 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43822   cat >>confdefs.h <<_ACEOF
43823 #define HAVE__LDEXPL 1
43824 _ACEOF
43825
43826 fi
43827 done
43828
43829     fi
43830   fi
43831
43832
43833
43834
43835
43836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43837 $as_echo_n "checking for logl declaration... " >&6; }
43838   if test x${glibcxx_cv_func_logl_use+set} != xset; then
43839     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43840   $as_echo_n "(cached) " >&6
43841 else
43842
43843
43844       ac_ext=cpp
43845 ac_cpp='$CXXCPP $CPPFLAGS'
43846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43849
43850       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43851 /* end confdefs.h.  */
43852 #include <math.h>
43853                       #ifdef HAVE_IEEEFP_H
43854                       #include <ieeefp.h>
43855                       #endif
43856
43857 int
43858 main ()
43859 {
43860  logl(0);
43861   ;
43862   return 0;
43863 }
43864 _ACEOF
43865 if ac_fn_cxx_try_compile "$LINENO"; then :
43866   glibcxx_cv_func_logl_use=yes
43867 else
43868   glibcxx_cv_func_logl_use=no
43869 fi
43870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43871       ac_ext=c
43872 ac_cpp='$CPP $CPPFLAGS'
43873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43876
43877
43878 fi
43879
43880   fi
43881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43882 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43883
43884   if test x$glibcxx_cv_func_logl_use = x"yes"; then
43885     for ac_func in logl
43886 do :
43887   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43888 if test "x$ac_cv_func_logl" = x""yes; then :
43889   cat >>confdefs.h <<_ACEOF
43890 #define HAVE_LOGL 1
43891 _ACEOF
43892
43893 fi
43894 done
43895
43896   else
43897
43898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43899 $as_echo_n "checking for _logl declaration... " >&6; }
43900   if test x${glibcxx_cv_func__logl_use+set} != xset; then
43901     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43902   $as_echo_n "(cached) " >&6
43903 else
43904
43905
43906       ac_ext=cpp
43907 ac_cpp='$CXXCPP $CPPFLAGS'
43908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43911
43912       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43913 /* end confdefs.h.  */
43914 #include <math.h>
43915                       #ifdef HAVE_IEEEFP_H
43916                       #include <ieeefp.h>
43917                       #endif
43918
43919 int
43920 main ()
43921 {
43922  _logl(0);
43923   ;
43924   return 0;
43925 }
43926 _ACEOF
43927 if ac_fn_cxx_try_compile "$LINENO"; then :
43928   glibcxx_cv_func__logl_use=yes
43929 else
43930   glibcxx_cv_func__logl_use=no
43931 fi
43932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43933       ac_ext=c
43934 ac_cpp='$CPP $CPPFLAGS'
43935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43938
43939
43940 fi
43941
43942   fi
43943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43944 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43945
43946     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43947       for ac_func in _logl
43948 do :
43949   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43950 if test "x$ac_cv_func__logl" = x""yes; then :
43951   cat >>confdefs.h <<_ACEOF
43952 #define HAVE__LOGL 1
43953 _ACEOF
43954
43955 fi
43956 done
43957
43958     fi
43959   fi
43960
43961
43962
43963
43964
43965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43966 $as_echo_n "checking for log10l declaration... " >&6; }
43967   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43968     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43969   $as_echo_n "(cached) " >&6
43970 else
43971
43972
43973       ac_ext=cpp
43974 ac_cpp='$CXXCPP $CPPFLAGS'
43975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43978
43979       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43980 /* end confdefs.h.  */
43981 #include <math.h>
43982                       #ifdef HAVE_IEEEFP_H
43983                       #include <ieeefp.h>
43984                       #endif
43985
43986 int
43987 main ()
43988 {
43989  log10l(0);
43990   ;
43991   return 0;
43992 }
43993 _ACEOF
43994 if ac_fn_cxx_try_compile "$LINENO"; then :
43995   glibcxx_cv_func_log10l_use=yes
43996 else
43997   glibcxx_cv_func_log10l_use=no
43998 fi
43999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44000       ac_ext=c
44001 ac_cpp='$CPP $CPPFLAGS'
44002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44005
44006
44007 fi
44008
44009   fi
44010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44011 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44012
44013   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44014     for ac_func in log10l
44015 do :
44016   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44017 if test "x$ac_cv_func_log10l" = x""yes; then :
44018   cat >>confdefs.h <<_ACEOF
44019 #define HAVE_LOG10L 1
44020 _ACEOF
44021
44022 fi
44023 done
44024
44025   else
44026
44027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44028 $as_echo_n "checking for _log10l declaration... " >&6; }
44029   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44030     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44031   $as_echo_n "(cached) " >&6
44032 else
44033
44034
44035       ac_ext=cpp
44036 ac_cpp='$CXXCPP $CPPFLAGS'
44037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44040
44041       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44042 /* end confdefs.h.  */
44043 #include <math.h>
44044                       #ifdef HAVE_IEEEFP_H
44045                       #include <ieeefp.h>
44046                       #endif
44047
44048 int
44049 main ()
44050 {
44051  _log10l(0);
44052   ;
44053   return 0;
44054 }
44055 _ACEOF
44056 if ac_fn_cxx_try_compile "$LINENO"; then :
44057   glibcxx_cv_func__log10l_use=yes
44058 else
44059   glibcxx_cv_func__log10l_use=no
44060 fi
44061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44062       ac_ext=c
44063 ac_cpp='$CPP $CPPFLAGS'
44064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44067
44068
44069 fi
44070
44071   fi
44072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44073 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44074
44075     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44076       for ac_func in _log10l
44077 do :
44078   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44079 if test "x$ac_cv_func__log10l" = x""yes; then :
44080   cat >>confdefs.h <<_ACEOF
44081 #define HAVE__LOG10L 1
44082 _ACEOF
44083
44084 fi
44085 done
44086
44087     fi
44088   fi
44089
44090
44091
44092
44093
44094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44095 $as_echo_n "checking for modfl declaration... " >&6; }
44096   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44097     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44098   $as_echo_n "(cached) " >&6
44099 else
44100
44101
44102       ac_ext=cpp
44103 ac_cpp='$CXXCPP $CPPFLAGS'
44104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44107
44108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44109 /* end confdefs.h.  */
44110 #include <math.h>
44111 int
44112 main ()
44113 {
44114  modfl(0, 0);
44115   ;
44116   return 0;
44117 }
44118 _ACEOF
44119 if ac_fn_cxx_try_compile "$LINENO"; then :
44120   glibcxx_cv_func_modfl_use=yes
44121 else
44122   glibcxx_cv_func_modfl_use=no
44123 fi
44124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44125       ac_ext=c
44126 ac_cpp='$CPP $CPPFLAGS'
44127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44130
44131
44132 fi
44133
44134   fi
44135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44136 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44137
44138   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44139     for ac_func in modfl
44140 do :
44141   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44142 if test "x$ac_cv_func_modfl" = x""yes; then :
44143   cat >>confdefs.h <<_ACEOF
44144 #define HAVE_MODFL 1
44145 _ACEOF
44146
44147 fi
44148 done
44149
44150   else
44151
44152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44153 $as_echo_n "checking for _modfl declaration... " >&6; }
44154   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44155     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44156   $as_echo_n "(cached) " >&6
44157 else
44158
44159
44160       ac_ext=cpp
44161 ac_cpp='$CXXCPP $CPPFLAGS'
44162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44165
44166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44167 /* end confdefs.h.  */
44168 #include <math.h>
44169 int
44170 main ()
44171 {
44172  _modfl(0, 0);
44173   ;
44174   return 0;
44175 }
44176 _ACEOF
44177 if ac_fn_cxx_try_compile "$LINENO"; then :
44178   glibcxx_cv_func__modfl_use=yes
44179 else
44180   glibcxx_cv_func__modfl_use=no
44181 fi
44182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44183       ac_ext=c
44184 ac_cpp='$CPP $CPPFLAGS'
44185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44188
44189
44190 fi
44191
44192   fi
44193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44194 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44195
44196     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44197       for ac_func in _modfl
44198 do :
44199   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44200 if test "x$ac_cv_func__modfl" = x""yes; then :
44201   cat >>confdefs.h <<_ACEOF
44202 #define HAVE__MODFL 1
44203 _ACEOF
44204
44205 fi
44206 done
44207
44208     fi
44209   fi
44210
44211
44212
44213
44214
44215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44216 $as_echo_n "checking for powl declaration... " >&6; }
44217   if test x${glibcxx_cv_func_powl_use+set} != xset; then
44218     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44219   $as_echo_n "(cached) " >&6
44220 else
44221
44222
44223       ac_ext=cpp
44224 ac_cpp='$CXXCPP $CPPFLAGS'
44225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44228
44229       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44230 /* end confdefs.h.  */
44231 #include <math.h>
44232 int
44233 main ()
44234 {
44235  powl(0, 0);
44236   ;
44237   return 0;
44238 }
44239 _ACEOF
44240 if ac_fn_cxx_try_compile "$LINENO"; then :
44241   glibcxx_cv_func_powl_use=yes
44242 else
44243   glibcxx_cv_func_powl_use=no
44244 fi
44245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44246       ac_ext=c
44247 ac_cpp='$CPP $CPPFLAGS'
44248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44251
44252
44253 fi
44254
44255   fi
44256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44257 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44258
44259   if test x$glibcxx_cv_func_powl_use = x"yes"; then
44260     for ac_func in powl
44261 do :
44262   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44263 if test "x$ac_cv_func_powl" = x""yes; then :
44264   cat >>confdefs.h <<_ACEOF
44265 #define HAVE_POWL 1
44266 _ACEOF
44267
44268 fi
44269 done
44270
44271   else
44272
44273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44274 $as_echo_n "checking for _powl declaration... " >&6; }
44275   if test x${glibcxx_cv_func__powl_use+set} != xset; then
44276     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44277   $as_echo_n "(cached) " >&6
44278 else
44279
44280
44281       ac_ext=cpp
44282 ac_cpp='$CXXCPP $CPPFLAGS'
44283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44286
44287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44288 /* end confdefs.h.  */
44289 #include <math.h>
44290 int
44291 main ()
44292 {
44293  _powl(0, 0);
44294   ;
44295   return 0;
44296 }
44297 _ACEOF
44298 if ac_fn_cxx_try_compile "$LINENO"; then :
44299   glibcxx_cv_func__powl_use=yes
44300 else
44301   glibcxx_cv_func__powl_use=no
44302 fi
44303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44304       ac_ext=c
44305 ac_cpp='$CPP $CPPFLAGS'
44306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44309
44310
44311 fi
44312
44313   fi
44314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44315 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44316
44317     if test x$glibcxx_cv_func__powl_use = x"yes"; then
44318       for ac_func in _powl
44319 do :
44320   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44321 if test "x$ac_cv_func__powl" = x""yes; then :
44322   cat >>confdefs.h <<_ACEOF
44323 #define HAVE__POWL 1
44324 _ACEOF
44325
44326 fi
44327 done
44328
44329     fi
44330   fi
44331
44332
44333
44334
44335
44336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44337 $as_echo_n "checking for sqrtl declaration... " >&6; }
44338   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44339     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44340   $as_echo_n "(cached) " >&6
44341 else
44342
44343
44344       ac_ext=cpp
44345 ac_cpp='$CXXCPP $CPPFLAGS'
44346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44349
44350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44351 /* end confdefs.h.  */
44352 #include <math.h>
44353                       #ifdef HAVE_IEEEFP_H
44354                       #include <ieeefp.h>
44355                       #endif
44356
44357 int
44358 main ()
44359 {
44360  sqrtl(0);
44361   ;
44362   return 0;
44363 }
44364 _ACEOF
44365 if ac_fn_cxx_try_compile "$LINENO"; then :
44366   glibcxx_cv_func_sqrtl_use=yes
44367 else
44368   glibcxx_cv_func_sqrtl_use=no
44369 fi
44370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44371       ac_ext=c
44372 ac_cpp='$CPP $CPPFLAGS'
44373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44376
44377
44378 fi
44379
44380   fi
44381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44382 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44383
44384   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44385     for ac_func in sqrtl
44386 do :
44387   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44388 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44389   cat >>confdefs.h <<_ACEOF
44390 #define HAVE_SQRTL 1
44391 _ACEOF
44392
44393 fi
44394 done
44395
44396   else
44397
44398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44399 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44400   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44401     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44402   $as_echo_n "(cached) " >&6
44403 else
44404
44405
44406       ac_ext=cpp
44407 ac_cpp='$CXXCPP $CPPFLAGS'
44408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44411
44412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44413 /* end confdefs.h.  */
44414 #include <math.h>
44415                       #ifdef HAVE_IEEEFP_H
44416                       #include <ieeefp.h>
44417                       #endif
44418
44419 int
44420 main ()
44421 {
44422  _sqrtl(0);
44423   ;
44424   return 0;
44425 }
44426 _ACEOF
44427 if ac_fn_cxx_try_compile "$LINENO"; then :
44428   glibcxx_cv_func__sqrtl_use=yes
44429 else
44430   glibcxx_cv_func__sqrtl_use=no
44431 fi
44432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44433       ac_ext=c
44434 ac_cpp='$CPP $CPPFLAGS'
44435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44438
44439
44440 fi
44441
44442   fi
44443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44444 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44445
44446     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44447       for ac_func in _sqrtl
44448 do :
44449   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44450 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44451   cat >>confdefs.h <<_ACEOF
44452 #define HAVE__SQRTL 1
44453 _ACEOF
44454
44455 fi
44456 done
44457
44458     fi
44459   fi
44460
44461
44462
44463
44464
44465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44466 $as_echo_n "checking for sincosl declaration... " >&6; }
44467   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44468     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44469   $as_echo_n "(cached) " >&6
44470 else
44471
44472
44473       ac_ext=cpp
44474 ac_cpp='$CXXCPP $CPPFLAGS'
44475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44478
44479       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44480 /* end confdefs.h.  */
44481 #include <math.h>
44482 int
44483 main ()
44484 {
44485  sincosl(0, 0, 0);
44486   ;
44487   return 0;
44488 }
44489 _ACEOF
44490 if ac_fn_cxx_try_compile "$LINENO"; then :
44491   glibcxx_cv_func_sincosl_use=yes
44492 else
44493   glibcxx_cv_func_sincosl_use=no
44494 fi
44495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44496       ac_ext=c
44497 ac_cpp='$CPP $CPPFLAGS'
44498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44501
44502
44503 fi
44504
44505   fi
44506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44507 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44508
44509   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44510     for ac_func in sincosl
44511 do :
44512   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44513 if test "x$ac_cv_func_sincosl" = x""yes; then :
44514   cat >>confdefs.h <<_ACEOF
44515 #define HAVE_SINCOSL 1
44516 _ACEOF
44517
44518 fi
44519 done
44520
44521   else
44522
44523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44524 $as_echo_n "checking for _sincosl declaration... " >&6; }
44525   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44526     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44527   $as_echo_n "(cached) " >&6
44528 else
44529
44530
44531       ac_ext=cpp
44532 ac_cpp='$CXXCPP $CPPFLAGS'
44533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44536
44537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44538 /* end confdefs.h.  */
44539 #include <math.h>
44540 int
44541 main ()
44542 {
44543  _sincosl(0, 0, 0);
44544   ;
44545   return 0;
44546 }
44547 _ACEOF
44548 if ac_fn_cxx_try_compile "$LINENO"; then :
44549   glibcxx_cv_func__sincosl_use=yes
44550 else
44551   glibcxx_cv_func__sincosl_use=no
44552 fi
44553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44554       ac_ext=c
44555 ac_cpp='$CPP $CPPFLAGS'
44556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44559
44560
44561 fi
44562
44563   fi
44564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44565 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44566
44567     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44568       for ac_func in _sincosl
44569 do :
44570   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44571 if test "x$ac_cv_func__sincosl" = x""yes; then :
44572   cat >>confdefs.h <<_ACEOF
44573 #define HAVE__SINCOSL 1
44574 _ACEOF
44575
44576 fi
44577 done
44578
44579     fi
44580   fi
44581
44582
44583
44584
44585
44586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44587 $as_echo_n "checking for finitel declaration... " >&6; }
44588   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44589     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44590   $as_echo_n "(cached) " >&6
44591 else
44592
44593
44594       ac_ext=cpp
44595 ac_cpp='$CXXCPP $CPPFLAGS'
44596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44599
44600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44601 /* end confdefs.h.  */
44602 #include <math.h>
44603                       #ifdef HAVE_IEEEFP_H
44604                       #include <ieeefp.h>
44605                       #endif
44606
44607 int
44608 main ()
44609 {
44610  finitel(0);
44611   ;
44612   return 0;
44613 }
44614 _ACEOF
44615 if ac_fn_cxx_try_compile "$LINENO"; then :
44616   glibcxx_cv_func_finitel_use=yes
44617 else
44618   glibcxx_cv_func_finitel_use=no
44619 fi
44620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44621       ac_ext=c
44622 ac_cpp='$CPP $CPPFLAGS'
44623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44626
44627
44628 fi
44629
44630   fi
44631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44632 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44633
44634   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44635     for ac_func in finitel
44636 do :
44637   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44638 if test "x$ac_cv_func_finitel" = x""yes; then :
44639   cat >>confdefs.h <<_ACEOF
44640 #define HAVE_FINITEL 1
44641 _ACEOF
44642
44643 fi
44644 done
44645
44646   else
44647
44648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44649 $as_echo_n "checking for _finitel declaration... " >&6; }
44650   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44651     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44652   $as_echo_n "(cached) " >&6
44653 else
44654
44655
44656       ac_ext=cpp
44657 ac_cpp='$CXXCPP $CPPFLAGS'
44658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44661
44662       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44663 /* end confdefs.h.  */
44664 #include <math.h>
44665                       #ifdef HAVE_IEEEFP_H
44666                       #include <ieeefp.h>
44667                       #endif
44668
44669 int
44670 main ()
44671 {
44672  _finitel(0);
44673   ;
44674   return 0;
44675 }
44676 _ACEOF
44677 if ac_fn_cxx_try_compile "$LINENO"; then :
44678   glibcxx_cv_func__finitel_use=yes
44679 else
44680   glibcxx_cv_func__finitel_use=no
44681 fi
44682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44683       ac_ext=c
44684 ac_cpp='$CPP $CPPFLAGS'
44685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44688
44689
44690 fi
44691
44692   fi
44693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44694 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44695
44696     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44697       for ac_func in _finitel
44698 do :
44699   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44700 if test "x$ac_cv_func__finitel" = x""yes; then :
44701   cat >>confdefs.h <<_ACEOF
44702 #define HAVE__FINITEL 1
44703 _ACEOF
44704
44705 fi
44706 done
44707
44708     fi
44709   fi
44710
44711
44712
44713
44714   LIBS="$ac_save_LIBS"
44715   CXXFLAGS="$ac_save_CXXFLAGS"
44716
44717
44718   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44719   ac_save_CXXFLAGS="$CXXFLAGS"
44720   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44721
44722
44723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44724 $as_echo_n "checking for strtold declaration... " >&6; }
44725   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44726     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44727   $as_echo_n "(cached) " >&6
44728 else
44729
44730
44731       ac_ext=cpp
44732 ac_cpp='$CXXCPP $CPPFLAGS'
44733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44736
44737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44738 /* end confdefs.h.  */
44739 #include <stdlib.h>
44740 int
44741 main ()
44742 {
44743  strtold(0, 0);
44744   ;
44745   return 0;
44746 }
44747 _ACEOF
44748 if ac_fn_cxx_try_compile "$LINENO"; then :
44749   glibcxx_cv_func_strtold_use=yes
44750 else
44751   glibcxx_cv_func_strtold_use=no
44752 fi
44753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44754       ac_ext=c
44755 ac_cpp='$CPP $CPPFLAGS'
44756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44759
44760
44761 fi
44762
44763   fi
44764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44765 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44766   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44767     for ac_func in strtold
44768 do :
44769   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44770 if test "x$ac_cv_func_strtold" = x""yes; then :
44771   cat >>confdefs.h <<_ACEOF
44772 #define HAVE_STRTOLD 1
44773 _ACEOF
44774
44775 fi
44776 done
44777
44778   fi
44779
44780
44781
44782
44783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44784 $as_echo_n "checking for strtof declaration... " >&6; }
44785   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44786     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44787   $as_echo_n "(cached) " >&6
44788 else
44789
44790
44791       ac_ext=cpp
44792 ac_cpp='$CXXCPP $CPPFLAGS'
44793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44796
44797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44798 /* end confdefs.h.  */
44799 #include <stdlib.h>
44800 int
44801 main ()
44802 {
44803  strtof(0, 0);
44804   ;
44805   return 0;
44806 }
44807 _ACEOF
44808 if ac_fn_cxx_try_compile "$LINENO"; then :
44809   glibcxx_cv_func_strtof_use=yes
44810 else
44811   glibcxx_cv_func_strtof_use=no
44812 fi
44813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44814       ac_ext=c
44815 ac_cpp='$CPP $CPPFLAGS'
44816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44819
44820
44821 fi
44822
44823   fi
44824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44825 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44826   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44827     for ac_func in strtof
44828 do :
44829   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44830 if test "x$ac_cv_func_strtof" = x""yes; then :
44831   cat >>confdefs.h <<_ACEOF
44832 #define HAVE_STRTOF 1
44833 _ACEOF
44834
44835 fi
44836 done
44837
44838   fi
44839
44840
44841
44842
44843   CXXFLAGS="$ac_save_CXXFLAGS"
44844
44845     ;;
44846
44847   *djgpp)
44848     # GLIBCXX_CHECK_MATH_SUPPORT
44849     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44850
44851     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44852
44853     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44854
44855     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44856
44857     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44858
44859     ;;
44860
44861   *-freebsd*)
44862     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44863
44864
44865   # If we're not using GNU ld, then there's no point in even trying these
44866   # tests.  Check for that first.  We should have already tested for gld
44867   # by now (in libtool), but require it now just to be safe...
44868   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44869   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44870
44871
44872
44873   # The name set by libtool depends on the version of libtool.  Shame on us
44874   # for depending on an impl detail, but c'est la vie.  Older versions used
44875   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44876   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44877   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44878   # set (hence we're using an older libtool), then set it.
44879   if test x${with_gnu_ld+set} != xset; then
44880     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44881       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44882       with_gnu_ld=no
44883     else
44884       with_gnu_ld=$ac_cv_prog_gnu_ld
44885     fi
44886   fi
44887
44888   # Start by getting the version number.  I think the libtool test already
44889   # does some of this, but throws away the result.
44890   glibcxx_ld_is_gold=no
44891   if test x"$with_gnu_ld" = x"yes"; then
44892     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44893 $as_echo_n "checking for ld version... " >&6; }
44894
44895     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44896       glibcxx_ld_is_gold=yes
44897     fi
44898     ldver=`$LD --version 2>/dev/null |
44899            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'`
44900
44901     glibcxx_gnu_ld_version=`echo $ldver | \
44902            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44903     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44904 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44905   fi
44906
44907   # Set --gc-sections.
44908   glibcxx_have_gc_sections=no
44909   if test "$glibcxx_ld_is_gold" = "yes"; then
44910     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44911       glibcxx_have_gc_sections=yes
44912     fi
44913   else
44914     glibcxx_gcsections_min_ld=21602
44915     if test x"$with_gnu_ld" = x"yes" &&
44916         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44917       glibcxx_have_gc_sections=yes
44918     fi
44919   fi
44920   if test "$glibcxx_have_gc_sections" = "yes"; then
44921     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44922     # NB: This flag only works reliably after 2.16.1. Configure tests
44923     # for this are difficult, so hard wire a value that should work.
44924
44925     ac_test_CFLAGS="${CFLAGS+set}"
44926     ac_save_CFLAGS="$CFLAGS"
44927     CFLAGS='-Wl,--gc-sections'
44928
44929     # Check for -Wl,--gc-sections
44930     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44931 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44932     if test x$gcc_no_link = xyes; then
44933   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44934 fi
44935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44936 /* end confdefs.h.  */
44937  int one(void) { return 1; }
44938      int two(void) { return 2; }
44939
44940 int
44941 main ()
44942 {
44943  two();
44944   ;
44945   return 0;
44946 }
44947 _ACEOF
44948 if ac_fn_c_try_link "$LINENO"; then :
44949   ac_gcsections=yes
44950 else
44951   ac_gcsections=no
44952 fi
44953 rm -f core conftest.err conftest.$ac_objext \
44954     conftest$ac_exeext conftest.$ac_ext
44955     if test "$ac_gcsections" = "yes"; then
44956       rm -f conftest.c
44957       touch conftest.c
44958       if $CC -c conftest.c; then
44959         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44960            grep "Warning: gc-sections option ignored" > /dev/null; then
44961           ac_gcsections=no
44962         fi
44963       fi
44964       rm -f conftest.c conftest.o conftest
44965     fi
44966     if test "$ac_gcsections" = "yes"; then
44967       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44968     fi
44969     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44970 $as_echo "$ac_gcsections" >&6; }
44971
44972     if test "$ac_test_CFLAGS" = set; then
44973       CFLAGS="$ac_save_CFLAGS"
44974     else
44975       # this is the suspicious part
44976       CFLAGS=''
44977     fi
44978   fi
44979
44980   # Set -z,relro.
44981   # Note this is only for shared objects.
44982   ac_ld_relro=no
44983   if test x"$with_gnu_ld" = x"yes"; then
44984     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44985 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44986     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44987     if test -n "$cxx_z_relo"; then
44988       OPT_LDFLAGS="-Wl,-z,relro"
44989       ac_ld_relro=yes
44990     fi
44991     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44992 $as_echo "$ac_ld_relro" >&6; }
44993   fi
44994
44995   # Set linker optimization flags.
44996   if test x"$with_gnu_ld" = x"yes"; then
44997     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44998   fi
44999
45000
45001
45002
45003     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45004
45005     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45006
45007     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45008
45009     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45010
45011     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45012
45013     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45014
45015     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45016
45017     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45018
45019     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45020
45021
45022     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45023
45024     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45025
45026     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45027
45028     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45029
45030     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45031
45032     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45033
45034     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45035
45036     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45037
45038     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45039
45040     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45041
45042     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45043
45044     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45045
45046     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45047
45048     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45049
45050     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45051
45052     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45053
45054     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45055
45056     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45057
45058     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45059
45060     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45061
45062     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45063
45064     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45065
45066     if test x"long_double_math_on_this_cpu" = x"yes"; then
45067       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45068
45069       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45070
45071       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45072
45073     fi
45074     ;;
45075   *-hpux*)
45076     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45077
45078
45079   # If we're not using GNU ld, then there's no point in even trying these
45080   # tests.  Check for that first.  We should have already tested for gld
45081   # by now (in libtool), but require it now just to be safe...
45082   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45083   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45084
45085
45086
45087   # The name set by libtool depends on the version of libtool.  Shame on us
45088   # for depending on an impl detail, but c'est la vie.  Older versions used
45089   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45090   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45091   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45092   # set (hence we're using an older libtool), then set it.
45093   if test x${with_gnu_ld+set} != xset; then
45094     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45095       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45096       with_gnu_ld=no
45097     else
45098       with_gnu_ld=$ac_cv_prog_gnu_ld
45099     fi
45100   fi
45101
45102   # Start by getting the version number.  I think the libtool test already
45103   # does some of this, but throws away the result.
45104   glibcxx_ld_is_gold=no
45105   if test x"$with_gnu_ld" = x"yes"; then
45106     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45107 $as_echo_n "checking for ld version... " >&6; }
45108
45109     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45110       glibcxx_ld_is_gold=yes
45111     fi
45112     ldver=`$LD --version 2>/dev/null |
45113            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'`
45114
45115     glibcxx_gnu_ld_version=`echo $ldver | \
45116            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45117     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45118 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45119   fi
45120
45121   # Set --gc-sections.
45122   glibcxx_have_gc_sections=no
45123   if test "$glibcxx_ld_is_gold" = "yes"; then
45124     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45125       glibcxx_have_gc_sections=yes
45126     fi
45127   else
45128     glibcxx_gcsections_min_ld=21602
45129     if test x"$with_gnu_ld" = x"yes" &&
45130         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45131       glibcxx_have_gc_sections=yes
45132     fi
45133   fi
45134   if test "$glibcxx_have_gc_sections" = "yes"; then
45135     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45136     # NB: This flag only works reliably after 2.16.1. Configure tests
45137     # for this are difficult, so hard wire a value that should work.
45138
45139     ac_test_CFLAGS="${CFLAGS+set}"
45140     ac_save_CFLAGS="$CFLAGS"
45141     CFLAGS='-Wl,--gc-sections'
45142
45143     # Check for -Wl,--gc-sections
45144     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45145 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45146     if test x$gcc_no_link = xyes; then
45147   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45148 fi
45149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45150 /* end confdefs.h.  */
45151  int one(void) { return 1; }
45152      int two(void) { return 2; }
45153
45154 int
45155 main ()
45156 {
45157  two();
45158   ;
45159   return 0;
45160 }
45161 _ACEOF
45162 if ac_fn_c_try_link "$LINENO"; then :
45163   ac_gcsections=yes
45164 else
45165   ac_gcsections=no
45166 fi
45167 rm -f core conftest.err conftest.$ac_objext \
45168     conftest$ac_exeext conftest.$ac_ext
45169     if test "$ac_gcsections" = "yes"; then
45170       rm -f conftest.c
45171       touch conftest.c
45172       if $CC -c conftest.c; then
45173         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45174            grep "Warning: gc-sections option ignored" > /dev/null; then
45175           ac_gcsections=no
45176         fi
45177       fi
45178       rm -f conftest.c conftest.o conftest
45179     fi
45180     if test "$ac_gcsections" = "yes"; then
45181       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45182     fi
45183     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45184 $as_echo "$ac_gcsections" >&6; }
45185
45186     if test "$ac_test_CFLAGS" = set; then
45187       CFLAGS="$ac_save_CFLAGS"
45188     else
45189       # this is the suspicious part
45190       CFLAGS=''
45191     fi
45192   fi
45193
45194   # Set -z,relro.
45195   # Note this is only for shared objects.
45196   ac_ld_relro=no
45197   if test x"$with_gnu_ld" = x"yes"; then
45198     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45199 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45200     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45201     if test -n "$cxx_z_relo"; then
45202       OPT_LDFLAGS="-Wl,-z,relro"
45203       ac_ld_relro=yes
45204     fi
45205     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45206 $as_echo "$ac_ld_relro" >&6; }
45207   fi
45208
45209   # Set linker optimization flags.
45210   if test x"$with_gnu_ld" = x"yes"; then
45211     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45212   fi
45213
45214
45215
45216
45217
45218     # GLIBCXX_CHECK_MATH_SUPPORT
45219     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45220
45221     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45222
45223     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45224
45225     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45226
45227     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45228
45229     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45230
45231     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45232
45233     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45234
45235     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45236
45237     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45238
45239     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45240
45241     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45242
45243     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45244
45245     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45246
45247     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45248
45249     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45250
45251     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45252
45253     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45254
45255     $as_echo "#define HAVE_MODF 1" >>confdefs.h
45256
45257     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45258
45259     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45260
45261
45262     # GLIBCXX_CHECK_STDLIB_SUPPORT
45263     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45264
45265
45266
45267
45268    # Check whether --enable-tls was given.
45269 if test "${enable_tls+set}" = set; then :
45270   enableval=$enable_tls;
45271       case "$enableval" in
45272        yes|no) ;;
45273        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45274       esac
45275
45276 else
45277   enable_tls=yes
45278 fi
45279
45280
45281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45282 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45283 if test "${gcc_cv_have_tls+set}" = set; then :
45284   $as_echo_n "(cached) " >&6
45285 else
45286
45287     if test "$cross_compiling" = yes; then :
45288                 if test x$gcc_no_link = xyes; then
45289   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45290 fi
45291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45292 /* end confdefs.h.  */
45293 __thread int a; int b; int main() { return a = b; }
45294 _ACEOF
45295 if ac_fn_c_try_link "$LINENO"; then :
45296   chktls_save_LDFLAGS="$LDFLAGS"
45297                           case $host in
45298             *-*-linux*)
45299               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45300               ;;
45301           esac
45302           chktls_save_CFLAGS="$CFLAGS"
45303           CFLAGS="-fPIC $CFLAGS"
45304                   if test x$gcc_no_link = xyes; then
45305   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45306 fi
45307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45308 /* end confdefs.h.  */
45309 int f() { return 0; }
45310 _ACEOF
45311 if ac_fn_c_try_link "$LINENO"; then :
45312   if test x$gcc_no_link = xyes; then
45313   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45314 fi
45315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45316 /* end confdefs.h.  */
45317 __thread int a; int b; int f() { return a = b; }
45318 _ACEOF
45319 if ac_fn_c_try_link "$LINENO"; then :
45320   gcc_cv_have_tls=yes
45321 else
45322   gcc_cv_have_tls=no
45323 fi
45324 rm -f core conftest.err conftest.$ac_objext \
45325     conftest$ac_exeext conftest.$ac_ext
45326 else
45327   gcc_cv_have_tls=yes
45328 fi
45329 rm -f core conftest.err conftest.$ac_objext \
45330     conftest$ac_exeext conftest.$ac_ext
45331           CFLAGS="$chktls_save_CFLAGS"
45332           LDFLAGS="$chktls_save_LDFLAGS"
45333 else
45334   gcc_cv_have_tls=no
45335 fi
45336 rm -f core conftest.err conftest.$ac_objext \
45337     conftest$ac_exeext conftest.$ac_ext
45338
45339
45340 else
45341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45342 /* end confdefs.h.  */
45343 __thread int a; int b; int main() { return a = b; }
45344 _ACEOF
45345 if ac_fn_c_try_run "$LINENO"; then :
45346                       chktls_save_LDFLAGS="$LDFLAGS"
45347       LDFLAGS="-static $LDFLAGS"
45348       if test x$gcc_no_link = xyes; then
45349   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45350 fi
45351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45352 /* end confdefs.h.  */
45353 int main() { return 0; }
45354 _ACEOF
45355 if ac_fn_c_try_link "$LINENO"; then :
45356   if test "$cross_compiling" = yes; then :
45357   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45359 as_fn_error "cannot run test program while cross compiling
45360 See \`config.log' for more details." "$LINENO" 5; }
45361 else
45362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45363 /* end confdefs.h.  */
45364 __thread int a; int b; int main() { return a = b; }
45365 _ACEOF
45366 if ac_fn_c_try_run "$LINENO"; then :
45367   gcc_cv_have_tls=yes
45368 else
45369   gcc_cv_have_tls=no
45370 fi
45371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45372   conftest.$ac_objext conftest.beam conftest.$ac_ext
45373 fi
45374
45375 else
45376   gcc_cv_have_tls=yes
45377 fi
45378 rm -f core conftest.err conftest.$ac_objext \
45379     conftest$ac_exeext conftest.$ac_ext
45380       LDFLAGS="$chktls_save_LDFLAGS"
45381       if test $gcc_cv_have_tls = yes; then
45382                                                 chktls_save_CFLAGS="$CFLAGS"
45383         thread_CFLAGS=failed
45384         for flag in '' '-pthread' '-lpthread'; do
45385           CFLAGS="$flag $chktls_save_CFLAGS"
45386           if test x$gcc_no_link = xyes; then
45387   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45388 fi
45389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45390 /* end confdefs.h.  */
45391 #include <pthread.h>
45392                 void *g(void *d) { return NULL; }
45393 int
45394 main ()
45395 {
45396 pthread_t t; pthread_create(&t,NULL,g,NULL);
45397   ;
45398   return 0;
45399 }
45400 _ACEOF
45401 if ac_fn_c_try_link "$LINENO"; then :
45402   thread_CFLAGS="$flag"
45403 fi
45404 rm -f core conftest.err conftest.$ac_objext \
45405     conftest$ac_exeext conftest.$ac_ext
45406           if test "X$thread_CFLAGS" != Xfailed; then
45407             break
45408           fi
45409         done
45410         CFLAGS="$chktls_save_CFLAGS"
45411         if test "X$thread_CFLAGS" != Xfailed; then
45412           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45413                                                   if test "$cross_compiling" = yes; then :
45414   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45416 as_fn_error "cannot run test program while cross compiling
45417 See \`config.log' for more details." "$LINENO" 5; }
45418 else
45419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45420 /* end confdefs.h.  */
45421 #include <pthread.h>
45422                 __thread int a;
45423                 static int *volatile a_in_other_thread;
45424                 static void *
45425                 thread_func (void *arg)
45426                 {
45427                   a_in_other_thread = &a;
45428                   return (void *)0;
45429                 }
45430 int
45431 main ()
45432 {
45433 pthread_t thread;
45434                 void *thread_retval;
45435                 int *volatile a_in_main_thread;
45436                 a_in_main_thread = &a;
45437                 if (pthread_create (&thread, (pthread_attr_t *)0,
45438                                     thread_func, (void *)0))
45439                   return 0;
45440                 if (pthread_join (thread, &thread_retval))
45441                   return 0;
45442                 return (a_in_other_thread == a_in_main_thread);
45443   ;
45444   return 0;
45445 }
45446 _ACEOF
45447 if ac_fn_c_try_run "$LINENO"; then :
45448   gcc_cv_have_tls=yes
45449 else
45450   gcc_cv_have_tls=no
45451 fi
45452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45453   conftest.$ac_objext conftest.beam conftest.$ac_ext
45454 fi
45455
45456           CFLAGS="$chktls_save_CFLAGS"
45457         fi
45458       fi
45459 else
45460   gcc_cv_have_tls=no
45461 fi
45462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45463   conftest.$ac_objext conftest.beam conftest.$ac_ext
45464 fi
45465
45466 fi
45467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45468 $as_echo "$gcc_cv_have_tls" >&6; }
45469   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45470
45471 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45472
45473   fi
45474     case "$target" in
45475       *-hpux10*)
45476         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45477
45478         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45479
45480         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45481
45482         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45483
45484         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45485
45486         ;;
45487     esac
45488     ;;
45489   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45490
45491   # All these tests are for C++; save the language and the compiler flags.
45492   # The CXXFLAGS thing is suspicious, but based on similar bits previously
45493   # found in GLIBCXX_CONFIGURE.
45494
45495   ac_ext=cpp
45496 ac_cpp='$CXXCPP $CPPFLAGS'
45497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45500
45501   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45502   ac_save_CXXFLAGS="$CXXFLAGS"
45503
45504   # Check for maintainer-mode bits.
45505   if test x"$USE_MAINTAINER_MODE" = xno; then
45506     WERROR=''
45507   else
45508     WERROR='-Werror'
45509   fi
45510
45511   # Check for -ffunction-sections -fdata-sections
45512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45513 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45514   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45516 /* end confdefs.h.  */
45517 int foo; void bar() { };
45518 int
45519 main ()
45520 {
45521
45522   ;
45523   return 0;
45524 }
45525 _ACEOF
45526 if ac_fn_cxx_try_compile "$LINENO"; then :
45527   ac_fdsections=yes
45528 else
45529   ac_fdsections=no
45530 fi
45531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45532   if test "$ac_test_CXXFLAGS" = set; then
45533     CXXFLAGS="$ac_save_CXXFLAGS"
45534   else
45535     # this is the suspicious part
45536     CXXFLAGS=''
45537   fi
45538   if test x"$ac_fdsections" = x"yes"; then
45539     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45540   fi
45541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45542 $as_echo "$ac_fdsections" >&6; }
45543
45544   ac_ext=c
45545 ac_cpp='$CPP $CPPFLAGS'
45546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45549
45550
45551
45552
45553
45554   # If we're not using GNU ld, then there's no point in even trying these
45555   # tests.  Check for that first.  We should have already tested for gld
45556   # by now (in libtool), but require it now just to be safe...
45557   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45558   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45559
45560
45561
45562   # The name set by libtool depends on the version of libtool.  Shame on us
45563   # for depending on an impl detail, but c'est la vie.  Older versions used
45564   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45565   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45566   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45567   # set (hence we're using an older libtool), then set it.
45568   if test x${with_gnu_ld+set} != xset; then
45569     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45570       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45571       with_gnu_ld=no
45572     else
45573       with_gnu_ld=$ac_cv_prog_gnu_ld
45574     fi
45575   fi
45576
45577   # Start by getting the version number.  I think the libtool test already
45578   # does some of this, but throws away the result.
45579   glibcxx_ld_is_gold=no
45580   if test x"$with_gnu_ld" = x"yes"; then
45581     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45582 $as_echo_n "checking for ld version... " >&6; }
45583
45584     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45585       glibcxx_ld_is_gold=yes
45586     fi
45587     ldver=`$LD --version 2>/dev/null |
45588            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'`
45589
45590     glibcxx_gnu_ld_version=`echo $ldver | \
45591            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45592     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45593 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45594   fi
45595
45596   # Set --gc-sections.
45597   glibcxx_have_gc_sections=no
45598   if test "$glibcxx_ld_is_gold" = "yes"; then
45599     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45600       glibcxx_have_gc_sections=yes
45601     fi
45602   else
45603     glibcxx_gcsections_min_ld=21602
45604     if test x"$with_gnu_ld" = x"yes" &&
45605         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45606       glibcxx_have_gc_sections=yes
45607     fi
45608   fi
45609   if test "$glibcxx_have_gc_sections" = "yes"; then
45610     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45611     # NB: This flag only works reliably after 2.16.1. Configure tests
45612     # for this are difficult, so hard wire a value that should work.
45613
45614     ac_test_CFLAGS="${CFLAGS+set}"
45615     ac_save_CFLAGS="$CFLAGS"
45616     CFLAGS='-Wl,--gc-sections'
45617
45618     # Check for -Wl,--gc-sections
45619     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45620 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45621     if test x$gcc_no_link = xyes; then
45622   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45623 fi
45624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45625 /* end confdefs.h.  */
45626  int one(void) { return 1; }
45627      int two(void) { return 2; }
45628
45629 int
45630 main ()
45631 {
45632  two();
45633   ;
45634   return 0;
45635 }
45636 _ACEOF
45637 if ac_fn_c_try_link "$LINENO"; then :
45638   ac_gcsections=yes
45639 else
45640   ac_gcsections=no
45641 fi
45642 rm -f core conftest.err conftest.$ac_objext \
45643     conftest$ac_exeext conftest.$ac_ext
45644     if test "$ac_gcsections" = "yes"; then
45645       rm -f conftest.c
45646       touch conftest.c
45647       if $CC -c conftest.c; then
45648         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45649            grep "Warning: gc-sections option ignored" > /dev/null; then
45650           ac_gcsections=no
45651         fi
45652       fi
45653       rm -f conftest.c conftest.o conftest
45654     fi
45655     if test "$ac_gcsections" = "yes"; then
45656       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45657     fi
45658     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45659 $as_echo "$ac_gcsections" >&6; }
45660
45661     if test "$ac_test_CFLAGS" = set; then
45662       CFLAGS="$ac_save_CFLAGS"
45663     else
45664       # this is the suspicious part
45665       CFLAGS=''
45666     fi
45667   fi
45668
45669   # Set -z,relro.
45670   # Note this is only for shared objects.
45671   ac_ld_relro=no
45672   if test x"$with_gnu_ld" = x"yes"; then
45673     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45674 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45675     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45676     if test -n "$cxx_z_relo"; then
45677       OPT_LDFLAGS="-Wl,-z,relro"
45678       ac_ld_relro=yes
45679     fi
45680     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45681 $as_echo "$ac_ld_relro" >&6; }
45682   fi
45683
45684   # Set linker optimization flags.
45685   if test x"$with_gnu_ld" = x"yes"; then
45686     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45687   fi
45688
45689
45690
45691
45692
45693   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45694   ac_save_CXXFLAGS="$CXXFLAGS"
45695   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45696
45697     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45698 $as_echo_n "checking for sin in -lm... " >&6; }
45699 if test "${ac_cv_lib_m_sin+set}" = set; then :
45700   $as_echo_n "(cached) " >&6
45701 else
45702   ac_check_lib_save_LIBS=$LIBS
45703 LIBS="-lm  $LIBS"
45704 if test x$gcc_no_link = xyes; then
45705   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45706 fi
45707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45708 /* end confdefs.h.  */
45709
45710 /* Override any GCC internal prototype to avoid an error.
45711    Use char because int might match the return type of a GCC
45712    builtin and then its argument prototype would still apply.  */
45713 #ifdef __cplusplus
45714 extern "C"
45715 #endif
45716 char sin ();
45717 int
45718 main ()
45719 {
45720 return sin ();
45721   ;
45722   return 0;
45723 }
45724 _ACEOF
45725 if ac_fn_c_try_link "$LINENO"; then :
45726   ac_cv_lib_m_sin=yes
45727 else
45728   ac_cv_lib_m_sin=no
45729 fi
45730 rm -f core conftest.err conftest.$ac_objext \
45731     conftest$ac_exeext conftest.$ac_ext
45732 LIBS=$ac_check_lib_save_LIBS
45733 fi
45734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45735 $as_echo "$ac_cv_lib_m_sin" >&6; }
45736 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45737   libm="-lm"
45738 fi
45739
45740   ac_save_LIBS="$LIBS"
45741   LIBS="$LIBS $libm"
45742
45743
45744
45745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45746 $as_echo_n "checking for isinf declaration... " >&6; }
45747   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45748     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45749   $as_echo_n "(cached) " >&6
45750 else
45751
45752
45753       ac_ext=cpp
45754 ac_cpp='$CXXCPP $CPPFLAGS'
45755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45758
45759       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45760 /* end confdefs.h.  */
45761 #include <math.h>
45762                       #ifdef HAVE_IEEEFP_H
45763                       #include <ieeefp.h>
45764                       #endif
45765
45766 int
45767 main ()
45768 {
45769  isinf(0);
45770   ;
45771   return 0;
45772 }
45773 _ACEOF
45774 if ac_fn_cxx_try_compile "$LINENO"; then :
45775   glibcxx_cv_func_isinf_use=yes
45776 else
45777   glibcxx_cv_func_isinf_use=no
45778 fi
45779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45780       ac_ext=c
45781 ac_cpp='$CPP $CPPFLAGS'
45782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45785
45786
45787 fi
45788
45789   fi
45790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45791 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45792
45793   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45794     for ac_func in isinf
45795 do :
45796   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45797 if test "x$ac_cv_func_isinf" = x""yes; then :
45798   cat >>confdefs.h <<_ACEOF
45799 #define HAVE_ISINF 1
45800 _ACEOF
45801
45802 fi
45803 done
45804
45805   else
45806
45807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45808 $as_echo_n "checking for _isinf declaration... " >&6; }
45809   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45810     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45811   $as_echo_n "(cached) " >&6
45812 else
45813
45814
45815       ac_ext=cpp
45816 ac_cpp='$CXXCPP $CPPFLAGS'
45817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45820
45821       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45822 /* end confdefs.h.  */
45823 #include <math.h>
45824                       #ifdef HAVE_IEEEFP_H
45825                       #include <ieeefp.h>
45826                       #endif
45827
45828 int
45829 main ()
45830 {
45831  _isinf(0);
45832   ;
45833   return 0;
45834 }
45835 _ACEOF
45836 if ac_fn_cxx_try_compile "$LINENO"; then :
45837   glibcxx_cv_func__isinf_use=yes
45838 else
45839   glibcxx_cv_func__isinf_use=no
45840 fi
45841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45842       ac_ext=c
45843 ac_cpp='$CPP $CPPFLAGS'
45844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45847
45848
45849 fi
45850
45851   fi
45852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45853 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45854
45855     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45856       for ac_func in _isinf
45857 do :
45858   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45859 if test "x$ac_cv_func__isinf" = x""yes; then :
45860   cat >>confdefs.h <<_ACEOF
45861 #define HAVE__ISINF 1
45862 _ACEOF
45863
45864 fi
45865 done
45866
45867     fi
45868   fi
45869
45870
45871
45872
45873
45874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45875 $as_echo_n "checking for isnan declaration... " >&6; }
45876   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45877     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45878   $as_echo_n "(cached) " >&6
45879 else
45880
45881
45882       ac_ext=cpp
45883 ac_cpp='$CXXCPP $CPPFLAGS'
45884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45887
45888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45889 /* end confdefs.h.  */
45890 #include <math.h>
45891                       #ifdef HAVE_IEEEFP_H
45892                       #include <ieeefp.h>
45893                       #endif
45894
45895 int
45896 main ()
45897 {
45898  isnan(0);
45899   ;
45900   return 0;
45901 }
45902 _ACEOF
45903 if ac_fn_cxx_try_compile "$LINENO"; then :
45904   glibcxx_cv_func_isnan_use=yes
45905 else
45906   glibcxx_cv_func_isnan_use=no
45907 fi
45908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45909       ac_ext=c
45910 ac_cpp='$CPP $CPPFLAGS'
45911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45914
45915
45916 fi
45917
45918   fi
45919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45920 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45921
45922   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45923     for ac_func in isnan
45924 do :
45925   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45926 if test "x$ac_cv_func_isnan" = x""yes; then :
45927   cat >>confdefs.h <<_ACEOF
45928 #define HAVE_ISNAN 1
45929 _ACEOF
45930
45931 fi
45932 done
45933
45934   else
45935
45936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45937 $as_echo_n "checking for _isnan declaration... " >&6; }
45938   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45939     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45940   $as_echo_n "(cached) " >&6
45941 else
45942
45943
45944       ac_ext=cpp
45945 ac_cpp='$CXXCPP $CPPFLAGS'
45946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45949
45950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45951 /* end confdefs.h.  */
45952 #include <math.h>
45953                       #ifdef HAVE_IEEEFP_H
45954                       #include <ieeefp.h>
45955                       #endif
45956
45957 int
45958 main ()
45959 {
45960  _isnan(0);
45961   ;
45962   return 0;
45963 }
45964 _ACEOF
45965 if ac_fn_cxx_try_compile "$LINENO"; then :
45966   glibcxx_cv_func__isnan_use=yes
45967 else
45968   glibcxx_cv_func__isnan_use=no
45969 fi
45970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45971       ac_ext=c
45972 ac_cpp='$CPP $CPPFLAGS'
45973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45976
45977
45978 fi
45979
45980   fi
45981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45982 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45983
45984     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45985       for ac_func in _isnan
45986 do :
45987   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45988 if test "x$ac_cv_func__isnan" = x""yes; then :
45989   cat >>confdefs.h <<_ACEOF
45990 #define HAVE__ISNAN 1
45991 _ACEOF
45992
45993 fi
45994 done
45995
45996     fi
45997   fi
45998
45999
46000
46001
46002
46003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46004 $as_echo_n "checking for finite declaration... " >&6; }
46005   if test x${glibcxx_cv_func_finite_use+set} != xset; then
46006     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46007   $as_echo_n "(cached) " >&6
46008 else
46009
46010
46011       ac_ext=cpp
46012 ac_cpp='$CXXCPP $CPPFLAGS'
46013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46016
46017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46018 /* end confdefs.h.  */
46019 #include <math.h>
46020                       #ifdef HAVE_IEEEFP_H
46021                       #include <ieeefp.h>
46022                       #endif
46023
46024 int
46025 main ()
46026 {
46027  finite(0);
46028   ;
46029   return 0;
46030 }
46031 _ACEOF
46032 if ac_fn_cxx_try_compile "$LINENO"; then :
46033   glibcxx_cv_func_finite_use=yes
46034 else
46035   glibcxx_cv_func_finite_use=no
46036 fi
46037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46038       ac_ext=c
46039 ac_cpp='$CPP $CPPFLAGS'
46040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46043
46044
46045 fi
46046
46047   fi
46048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46049 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46050
46051   if test x$glibcxx_cv_func_finite_use = x"yes"; then
46052     for ac_func in finite
46053 do :
46054   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46055 if test "x$ac_cv_func_finite" = x""yes; then :
46056   cat >>confdefs.h <<_ACEOF
46057 #define HAVE_FINITE 1
46058 _ACEOF
46059
46060 fi
46061 done
46062
46063   else
46064
46065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46066 $as_echo_n "checking for _finite declaration... " >&6; }
46067   if test x${glibcxx_cv_func__finite_use+set} != xset; then
46068     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46069   $as_echo_n "(cached) " >&6
46070 else
46071
46072
46073       ac_ext=cpp
46074 ac_cpp='$CXXCPP $CPPFLAGS'
46075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46078
46079       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46080 /* end confdefs.h.  */
46081 #include <math.h>
46082                       #ifdef HAVE_IEEEFP_H
46083                       #include <ieeefp.h>
46084                       #endif
46085
46086 int
46087 main ()
46088 {
46089  _finite(0);
46090   ;
46091   return 0;
46092 }
46093 _ACEOF
46094 if ac_fn_cxx_try_compile "$LINENO"; then :
46095   glibcxx_cv_func__finite_use=yes
46096 else
46097   glibcxx_cv_func__finite_use=no
46098 fi
46099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46100       ac_ext=c
46101 ac_cpp='$CPP $CPPFLAGS'
46102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46105
46106
46107 fi
46108
46109   fi
46110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46111 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46112
46113     if test x$glibcxx_cv_func__finite_use = x"yes"; then
46114       for ac_func in _finite
46115 do :
46116   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46117 if test "x$ac_cv_func__finite" = x""yes; then :
46118   cat >>confdefs.h <<_ACEOF
46119 #define HAVE__FINITE 1
46120 _ACEOF
46121
46122 fi
46123 done
46124
46125     fi
46126   fi
46127
46128
46129
46130
46131
46132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46133 $as_echo_n "checking for sincos declaration... " >&6; }
46134   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46135     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46136   $as_echo_n "(cached) " >&6
46137 else
46138
46139
46140       ac_ext=cpp
46141 ac_cpp='$CXXCPP $CPPFLAGS'
46142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46145
46146       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46147 /* end confdefs.h.  */
46148 #include <math.h>
46149 int
46150 main ()
46151 {
46152  sincos(0, 0, 0);
46153   ;
46154   return 0;
46155 }
46156 _ACEOF
46157 if ac_fn_cxx_try_compile "$LINENO"; then :
46158   glibcxx_cv_func_sincos_use=yes
46159 else
46160   glibcxx_cv_func_sincos_use=no
46161 fi
46162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46163       ac_ext=c
46164 ac_cpp='$CPP $CPPFLAGS'
46165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46168
46169
46170 fi
46171
46172   fi
46173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46174 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46175
46176   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46177     for ac_func in sincos
46178 do :
46179   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46180 if test "x$ac_cv_func_sincos" = x""yes; then :
46181   cat >>confdefs.h <<_ACEOF
46182 #define HAVE_SINCOS 1
46183 _ACEOF
46184
46185 fi
46186 done
46187
46188   else
46189
46190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46191 $as_echo_n "checking for _sincos declaration... " >&6; }
46192   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46193     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46194   $as_echo_n "(cached) " >&6
46195 else
46196
46197
46198       ac_ext=cpp
46199 ac_cpp='$CXXCPP $CPPFLAGS'
46200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46203
46204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46205 /* end confdefs.h.  */
46206 #include <math.h>
46207 int
46208 main ()
46209 {
46210  _sincos(0, 0, 0);
46211   ;
46212   return 0;
46213 }
46214 _ACEOF
46215 if ac_fn_cxx_try_compile "$LINENO"; then :
46216   glibcxx_cv_func__sincos_use=yes
46217 else
46218   glibcxx_cv_func__sincos_use=no
46219 fi
46220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46221       ac_ext=c
46222 ac_cpp='$CPP $CPPFLAGS'
46223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46226
46227
46228 fi
46229
46230   fi
46231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46232 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46233
46234     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46235       for ac_func in _sincos
46236 do :
46237   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46238 if test "x$ac_cv_func__sincos" = x""yes; then :
46239   cat >>confdefs.h <<_ACEOF
46240 #define HAVE__SINCOS 1
46241 _ACEOF
46242
46243 fi
46244 done
46245
46246     fi
46247   fi
46248
46249
46250
46251
46252
46253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46254 $as_echo_n "checking for fpclass declaration... " >&6; }
46255   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46256     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46257   $as_echo_n "(cached) " >&6
46258 else
46259
46260
46261       ac_ext=cpp
46262 ac_cpp='$CXXCPP $CPPFLAGS'
46263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46266
46267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46268 /* end confdefs.h.  */
46269 #include <math.h>
46270                       #ifdef HAVE_IEEEFP_H
46271                       #include <ieeefp.h>
46272                       #endif
46273
46274 int
46275 main ()
46276 {
46277  fpclass(0);
46278   ;
46279   return 0;
46280 }
46281 _ACEOF
46282 if ac_fn_cxx_try_compile "$LINENO"; then :
46283   glibcxx_cv_func_fpclass_use=yes
46284 else
46285   glibcxx_cv_func_fpclass_use=no
46286 fi
46287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46288       ac_ext=c
46289 ac_cpp='$CPP $CPPFLAGS'
46290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46293
46294
46295 fi
46296
46297   fi
46298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46299 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46300
46301   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46302     for ac_func in fpclass
46303 do :
46304   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46305 if test "x$ac_cv_func_fpclass" = x""yes; then :
46306   cat >>confdefs.h <<_ACEOF
46307 #define HAVE_FPCLASS 1
46308 _ACEOF
46309
46310 fi
46311 done
46312
46313   else
46314
46315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46316 $as_echo_n "checking for _fpclass declaration... " >&6; }
46317   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46318     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46319   $as_echo_n "(cached) " >&6
46320 else
46321
46322
46323       ac_ext=cpp
46324 ac_cpp='$CXXCPP $CPPFLAGS'
46325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46328
46329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46330 /* end confdefs.h.  */
46331 #include <math.h>
46332                       #ifdef HAVE_IEEEFP_H
46333                       #include <ieeefp.h>
46334                       #endif
46335
46336 int
46337 main ()
46338 {
46339  _fpclass(0);
46340   ;
46341   return 0;
46342 }
46343 _ACEOF
46344 if ac_fn_cxx_try_compile "$LINENO"; then :
46345   glibcxx_cv_func__fpclass_use=yes
46346 else
46347   glibcxx_cv_func__fpclass_use=no
46348 fi
46349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46350       ac_ext=c
46351 ac_cpp='$CPP $CPPFLAGS'
46352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46355
46356
46357 fi
46358
46359   fi
46360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46361 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46362
46363     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46364       for ac_func in _fpclass
46365 do :
46366   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46367 if test "x$ac_cv_func__fpclass" = x""yes; then :
46368   cat >>confdefs.h <<_ACEOF
46369 #define HAVE__FPCLASS 1
46370 _ACEOF
46371
46372 fi
46373 done
46374
46375     fi
46376   fi
46377
46378
46379
46380
46381
46382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46383 $as_echo_n "checking for qfpclass declaration... " >&6; }
46384   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46385     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46386   $as_echo_n "(cached) " >&6
46387 else
46388
46389
46390       ac_ext=cpp
46391 ac_cpp='$CXXCPP $CPPFLAGS'
46392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46395
46396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46397 /* end confdefs.h.  */
46398 #include <math.h>
46399                       #ifdef HAVE_IEEEFP_H
46400                       #include <ieeefp.h>
46401                       #endif
46402
46403 int
46404 main ()
46405 {
46406  qfpclass(0);
46407   ;
46408   return 0;
46409 }
46410 _ACEOF
46411 if ac_fn_cxx_try_compile "$LINENO"; then :
46412   glibcxx_cv_func_qfpclass_use=yes
46413 else
46414   glibcxx_cv_func_qfpclass_use=no
46415 fi
46416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46417       ac_ext=c
46418 ac_cpp='$CPP $CPPFLAGS'
46419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46422
46423
46424 fi
46425
46426   fi
46427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46428 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46429
46430   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46431     for ac_func in qfpclass
46432 do :
46433   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46434 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46435   cat >>confdefs.h <<_ACEOF
46436 #define HAVE_QFPCLASS 1
46437 _ACEOF
46438
46439 fi
46440 done
46441
46442   else
46443
46444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46445 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46446   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46447     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46448   $as_echo_n "(cached) " >&6
46449 else
46450
46451
46452       ac_ext=cpp
46453 ac_cpp='$CXXCPP $CPPFLAGS'
46454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46457
46458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46459 /* end confdefs.h.  */
46460 #include <math.h>
46461                       #ifdef HAVE_IEEEFP_H
46462                       #include <ieeefp.h>
46463                       #endif
46464
46465 int
46466 main ()
46467 {
46468  _qfpclass(0);
46469   ;
46470   return 0;
46471 }
46472 _ACEOF
46473 if ac_fn_cxx_try_compile "$LINENO"; then :
46474   glibcxx_cv_func__qfpclass_use=yes
46475 else
46476   glibcxx_cv_func__qfpclass_use=no
46477 fi
46478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46479       ac_ext=c
46480 ac_cpp='$CPP $CPPFLAGS'
46481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46484
46485
46486 fi
46487
46488   fi
46489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46490 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46491
46492     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46493       for ac_func in _qfpclass
46494 do :
46495   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46496 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46497   cat >>confdefs.h <<_ACEOF
46498 #define HAVE__QFPCLASS 1
46499 _ACEOF
46500
46501 fi
46502 done
46503
46504     fi
46505   fi
46506
46507
46508
46509
46510
46511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46512 $as_echo_n "checking for hypot declaration... " >&6; }
46513   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46514     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46515   $as_echo_n "(cached) " >&6
46516 else
46517
46518
46519       ac_ext=cpp
46520 ac_cpp='$CXXCPP $CPPFLAGS'
46521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46524
46525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46526 /* end confdefs.h.  */
46527 #include <math.h>
46528 int
46529 main ()
46530 {
46531  hypot(0, 0);
46532   ;
46533   return 0;
46534 }
46535 _ACEOF
46536 if ac_fn_cxx_try_compile "$LINENO"; then :
46537   glibcxx_cv_func_hypot_use=yes
46538 else
46539   glibcxx_cv_func_hypot_use=no
46540 fi
46541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46542       ac_ext=c
46543 ac_cpp='$CPP $CPPFLAGS'
46544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46547
46548
46549 fi
46550
46551   fi
46552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46553 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46554
46555   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46556     for ac_func in hypot
46557 do :
46558   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46559 if test "x$ac_cv_func_hypot" = x""yes; then :
46560   cat >>confdefs.h <<_ACEOF
46561 #define HAVE_HYPOT 1
46562 _ACEOF
46563
46564 fi
46565 done
46566
46567   else
46568
46569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46570 $as_echo_n "checking for _hypot declaration... " >&6; }
46571   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46572     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46573   $as_echo_n "(cached) " >&6
46574 else
46575
46576
46577       ac_ext=cpp
46578 ac_cpp='$CXXCPP $CPPFLAGS'
46579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46582
46583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46584 /* end confdefs.h.  */
46585 #include <math.h>
46586 int
46587 main ()
46588 {
46589  _hypot(0, 0);
46590   ;
46591   return 0;
46592 }
46593 _ACEOF
46594 if ac_fn_cxx_try_compile "$LINENO"; then :
46595   glibcxx_cv_func__hypot_use=yes
46596 else
46597   glibcxx_cv_func__hypot_use=no
46598 fi
46599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46600       ac_ext=c
46601 ac_cpp='$CPP $CPPFLAGS'
46602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46605
46606
46607 fi
46608
46609   fi
46610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46611 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46612
46613     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46614       for ac_func in _hypot
46615 do :
46616   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46617 if test "x$ac_cv_func__hypot" = x""yes; then :
46618   cat >>confdefs.h <<_ACEOF
46619 #define HAVE__HYPOT 1
46620 _ACEOF
46621
46622 fi
46623 done
46624
46625     fi
46626   fi
46627
46628
46629
46630
46631
46632     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46633 $as_echo_n "checking for float trig functions... " >&6; }
46634   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46635   $as_echo_n "(cached) " >&6
46636 else
46637
46638
46639     ac_ext=cpp
46640 ac_cpp='$CXXCPP $CPPFLAGS'
46641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46644
46645     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46646 /* end confdefs.h.  */
46647 #include <math.h>
46648 int
46649 main ()
46650 {
46651 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46652   ;
46653   return 0;
46654 }
46655 _ACEOF
46656 if ac_fn_cxx_try_compile "$LINENO"; then :
46657   glibcxx_cv_func_float_trig_use=yes
46658 else
46659   glibcxx_cv_func_float_trig_use=no
46660 fi
46661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46662     ac_ext=c
46663 ac_cpp='$CPP $CPPFLAGS'
46664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46667
46668 fi
46669
46670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46671 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46672   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46673     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46674 do :
46675   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46676 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46677 eval as_val=\$$as_ac_var
46678    if test "x$as_val" = x""yes; then :
46679   cat >>confdefs.h <<_ACEOF
46680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46681 _ACEOF
46682
46683 fi
46684 done
46685
46686   else
46687     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46688 $as_echo_n "checking for _float trig functions... " >&6; }
46689     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46690   $as_echo_n "(cached) " >&6
46691 else
46692
46693
46694       ac_ext=cpp
46695 ac_cpp='$CXXCPP $CPPFLAGS'
46696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46699
46700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46701 /* end confdefs.h.  */
46702 #include <math.h>
46703 int
46704 main ()
46705 {
46706 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46707   ;
46708   return 0;
46709 }
46710 _ACEOF
46711 if ac_fn_cxx_try_compile "$LINENO"; then :
46712   glibcxx_cv_func__float_trig_use=yes
46713 else
46714   glibcxx_cv_func__float_trig_use=no
46715 fi
46716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46717       ac_ext=c
46718 ac_cpp='$CPP $CPPFLAGS'
46719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46722
46723 fi
46724
46725     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46726 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46727     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46728       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46729 do :
46730   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46731 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46732 eval as_val=\$$as_ac_var
46733    if test "x$as_val" = x""yes; then :
46734   cat >>confdefs.h <<_ACEOF
46735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46736 _ACEOF
46737
46738 fi
46739 done
46740
46741     fi
46742   fi
46743
46744
46745
46746
46747
46748     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46749 $as_echo_n "checking for float round functions... " >&6; }
46750   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46751   $as_echo_n "(cached) " >&6
46752 else
46753
46754
46755     ac_ext=cpp
46756 ac_cpp='$CXXCPP $CPPFLAGS'
46757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46760
46761     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46762 /* end confdefs.h.  */
46763 #include <math.h>
46764 int
46765 main ()
46766 {
46767 ceilf (0); floorf (0);
46768   ;
46769   return 0;
46770 }
46771 _ACEOF
46772 if ac_fn_cxx_try_compile "$LINENO"; then :
46773   glibcxx_cv_func_float_round_use=yes
46774 else
46775   glibcxx_cv_func_float_round_use=no
46776 fi
46777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46778     ac_ext=c
46779 ac_cpp='$CPP $CPPFLAGS'
46780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46783
46784 fi
46785
46786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46787 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46788   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46789     for ac_func in ceilf floorf
46790 do :
46791   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46793 eval as_val=\$$as_ac_var
46794    if test "x$as_val" = x""yes; then :
46795   cat >>confdefs.h <<_ACEOF
46796 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46797 _ACEOF
46798
46799 fi
46800 done
46801
46802   else
46803     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46804 $as_echo_n "checking for _float round functions... " >&6; }
46805     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46806   $as_echo_n "(cached) " >&6
46807 else
46808
46809
46810       ac_ext=cpp
46811 ac_cpp='$CXXCPP $CPPFLAGS'
46812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46815
46816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46817 /* end confdefs.h.  */
46818 #include <math.h>
46819 int
46820 main ()
46821 {
46822 _ceilf (0); _floorf (0);
46823   ;
46824   return 0;
46825 }
46826 _ACEOF
46827 if ac_fn_cxx_try_compile "$LINENO"; then :
46828   glibcxx_cv_func__float_round_use=yes
46829 else
46830   glibcxx_cv_func__float_round_use=no
46831 fi
46832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46833       ac_ext=c
46834 ac_cpp='$CPP $CPPFLAGS'
46835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46838
46839 fi
46840
46841     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46842 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46843     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46844       for ac_func in _ceilf _floorf
46845 do :
46846   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46847 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46848 eval as_val=\$$as_ac_var
46849    if test "x$as_val" = x""yes; then :
46850   cat >>confdefs.h <<_ACEOF
46851 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46852 _ACEOF
46853
46854 fi
46855 done
46856
46857     fi
46858   fi
46859
46860
46861
46862
46863
46864
46865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46866 $as_echo_n "checking for expf declaration... " >&6; }
46867   if test x${glibcxx_cv_func_expf_use+set} != xset; then
46868     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46869   $as_echo_n "(cached) " >&6
46870 else
46871
46872
46873       ac_ext=cpp
46874 ac_cpp='$CXXCPP $CPPFLAGS'
46875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46878
46879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46880 /* end confdefs.h.  */
46881 #include <math.h>
46882                       #ifdef HAVE_IEEEFP_H
46883                       #include <ieeefp.h>
46884                       #endif
46885
46886 int
46887 main ()
46888 {
46889  expf(0);
46890   ;
46891   return 0;
46892 }
46893 _ACEOF
46894 if ac_fn_cxx_try_compile "$LINENO"; then :
46895   glibcxx_cv_func_expf_use=yes
46896 else
46897   glibcxx_cv_func_expf_use=no
46898 fi
46899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46900       ac_ext=c
46901 ac_cpp='$CPP $CPPFLAGS'
46902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46905
46906
46907 fi
46908
46909   fi
46910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46911 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46912
46913   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46914     for ac_func in expf
46915 do :
46916   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46917 if test "x$ac_cv_func_expf" = x""yes; then :
46918   cat >>confdefs.h <<_ACEOF
46919 #define HAVE_EXPF 1
46920 _ACEOF
46921
46922 fi
46923 done
46924
46925   else
46926
46927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46928 $as_echo_n "checking for _expf declaration... " >&6; }
46929   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46930     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46931   $as_echo_n "(cached) " >&6
46932 else
46933
46934
46935       ac_ext=cpp
46936 ac_cpp='$CXXCPP $CPPFLAGS'
46937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46940
46941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46942 /* end confdefs.h.  */
46943 #include <math.h>
46944                       #ifdef HAVE_IEEEFP_H
46945                       #include <ieeefp.h>
46946                       #endif
46947
46948 int
46949 main ()
46950 {
46951  _expf(0);
46952   ;
46953   return 0;
46954 }
46955 _ACEOF
46956 if ac_fn_cxx_try_compile "$LINENO"; then :
46957   glibcxx_cv_func__expf_use=yes
46958 else
46959   glibcxx_cv_func__expf_use=no
46960 fi
46961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46962       ac_ext=c
46963 ac_cpp='$CPP $CPPFLAGS'
46964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46967
46968
46969 fi
46970
46971   fi
46972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46973 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46974
46975     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46976       for ac_func in _expf
46977 do :
46978   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46979 if test "x$ac_cv_func__expf" = x""yes; then :
46980   cat >>confdefs.h <<_ACEOF
46981 #define HAVE__EXPF 1
46982 _ACEOF
46983
46984 fi
46985 done
46986
46987     fi
46988   fi
46989
46990
46991
46992
46993
46994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46995 $as_echo_n "checking for isnanf declaration... " >&6; }
46996   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46997     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46998   $as_echo_n "(cached) " >&6
46999 else
47000
47001
47002       ac_ext=cpp
47003 ac_cpp='$CXXCPP $CPPFLAGS'
47004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47007
47008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47009 /* end confdefs.h.  */
47010 #include <math.h>
47011                       #ifdef HAVE_IEEEFP_H
47012                       #include <ieeefp.h>
47013                       #endif
47014
47015 int
47016 main ()
47017 {
47018  isnanf(0);
47019   ;
47020   return 0;
47021 }
47022 _ACEOF
47023 if ac_fn_cxx_try_compile "$LINENO"; then :
47024   glibcxx_cv_func_isnanf_use=yes
47025 else
47026   glibcxx_cv_func_isnanf_use=no
47027 fi
47028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47029       ac_ext=c
47030 ac_cpp='$CPP $CPPFLAGS'
47031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47034
47035
47036 fi
47037
47038   fi
47039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47040 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47041
47042   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47043     for ac_func in isnanf
47044 do :
47045   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47046 if test "x$ac_cv_func_isnanf" = x""yes; then :
47047   cat >>confdefs.h <<_ACEOF
47048 #define HAVE_ISNANF 1
47049 _ACEOF
47050
47051 fi
47052 done
47053
47054   else
47055
47056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47057 $as_echo_n "checking for _isnanf declaration... " >&6; }
47058   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47059     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47060   $as_echo_n "(cached) " >&6
47061 else
47062
47063
47064       ac_ext=cpp
47065 ac_cpp='$CXXCPP $CPPFLAGS'
47066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47069
47070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47071 /* end confdefs.h.  */
47072 #include <math.h>
47073                       #ifdef HAVE_IEEEFP_H
47074                       #include <ieeefp.h>
47075                       #endif
47076
47077 int
47078 main ()
47079 {
47080  _isnanf(0);
47081   ;
47082   return 0;
47083 }
47084 _ACEOF
47085 if ac_fn_cxx_try_compile "$LINENO"; then :
47086   glibcxx_cv_func__isnanf_use=yes
47087 else
47088   glibcxx_cv_func__isnanf_use=no
47089 fi
47090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47091       ac_ext=c
47092 ac_cpp='$CPP $CPPFLAGS'
47093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47096
47097
47098 fi
47099
47100   fi
47101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47102 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47103
47104     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47105       for ac_func in _isnanf
47106 do :
47107   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47108 if test "x$ac_cv_func__isnanf" = x""yes; then :
47109   cat >>confdefs.h <<_ACEOF
47110 #define HAVE__ISNANF 1
47111 _ACEOF
47112
47113 fi
47114 done
47115
47116     fi
47117   fi
47118
47119
47120
47121
47122
47123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47124 $as_echo_n "checking for isinff declaration... " >&6; }
47125   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47126     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47127   $as_echo_n "(cached) " >&6
47128 else
47129
47130
47131       ac_ext=cpp
47132 ac_cpp='$CXXCPP $CPPFLAGS'
47133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47136
47137       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47138 /* end confdefs.h.  */
47139 #include <math.h>
47140                       #ifdef HAVE_IEEEFP_H
47141                       #include <ieeefp.h>
47142                       #endif
47143
47144 int
47145 main ()
47146 {
47147  isinff(0);
47148   ;
47149   return 0;
47150 }
47151 _ACEOF
47152 if ac_fn_cxx_try_compile "$LINENO"; then :
47153   glibcxx_cv_func_isinff_use=yes
47154 else
47155   glibcxx_cv_func_isinff_use=no
47156 fi
47157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47158       ac_ext=c
47159 ac_cpp='$CPP $CPPFLAGS'
47160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47163
47164
47165 fi
47166
47167   fi
47168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47169 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47170
47171   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47172     for ac_func in isinff
47173 do :
47174   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47175 if test "x$ac_cv_func_isinff" = x""yes; then :
47176   cat >>confdefs.h <<_ACEOF
47177 #define HAVE_ISINFF 1
47178 _ACEOF
47179
47180 fi
47181 done
47182
47183   else
47184
47185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47186 $as_echo_n "checking for _isinff declaration... " >&6; }
47187   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47188     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47189   $as_echo_n "(cached) " >&6
47190 else
47191
47192
47193       ac_ext=cpp
47194 ac_cpp='$CXXCPP $CPPFLAGS'
47195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47198
47199       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47200 /* end confdefs.h.  */
47201 #include <math.h>
47202                       #ifdef HAVE_IEEEFP_H
47203                       #include <ieeefp.h>
47204                       #endif
47205
47206 int
47207 main ()
47208 {
47209  _isinff(0);
47210   ;
47211   return 0;
47212 }
47213 _ACEOF
47214 if ac_fn_cxx_try_compile "$LINENO"; then :
47215   glibcxx_cv_func__isinff_use=yes
47216 else
47217   glibcxx_cv_func__isinff_use=no
47218 fi
47219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47220       ac_ext=c
47221 ac_cpp='$CPP $CPPFLAGS'
47222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47225
47226
47227 fi
47228
47229   fi
47230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47231 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47232
47233     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47234       for ac_func in _isinff
47235 do :
47236   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47237 if test "x$ac_cv_func__isinff" = x""yes; then :
47238   cat >>confdefs.h <<_ACEOF
47239 #define HAVE__ISINFF 1
47240 _ACEOF
47241
47242 fi
47243 done
47244
47245     fi
47246   fi
47247
47248
47249
47250
47251
47252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47253 $as_echo_n "checking for atan2f declaration... " >&6; }
47254   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47255     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47256   $as_echo_n "(cached) " >&6
47257 else
47258
47259
47260       ac_ext=cpp
47261 ac_cpp='$CXXCPP $CPPFLAGS'
47262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47265
47266       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47267 /* end confdefs.h.  */
47268 #include <math.h>
47269 int
47270 main ()
47271 {
47272  atan2f(0, 0);
47273   ;
47274   return 0;
47275 }
47276 _ACEOF
47277 if ac_fn_cxx_try_compile "$LINENO"; then :
47278   glibcxx_cv_func_atan2f_use=yes
47279 else
47280   glibcxx_cv_func_atan2f_use=no
47281 fi
47282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47283       ac_ext=c
47284 ac_cpp='$CPP $CPPFLAGS'
47285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47288
47289
47290 fi
47291
47292   fi
47293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47294 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47295
47296   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47297     for ac_func in atan2f
47298 do :
47299   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47300 if test "x$ac_cv_func_atan2f" = x""yes; then :
47301   cat >>confdefs.h <<_ACEOF
47302 #define HAVE_ATAN2F 1
47303 _ACEOF
47304
47305 fi
47306 done
47307
47308   else
47309
47310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47311 $as_echo_n "checking for _atan2f declaration... " >&6; }
47312   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47313     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47314   $as_echo_n "(cached) " >&6
47315 else
47316
47317
47318       ac_ext=cpp
47319 ac_cpp='$CXXCPP $CPPFLAGS'
47320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47323
47324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47325 /* end confdefs.h.  */
47326 #include <math.h>
47327 int
47328 main ()
47329 {
47330  _atan2f(0, 0);
47331   ;
47332   return 0;
47333 }
47334 _ACEOF
47335 if ac_fn_cxx_try_compile "$LINENO"; then :
47336   glibcxx_cv_func__atan2f_use=yes
47337 else
47338   glibcxx_cv_func__atan2f_use=no
47339 fi
47340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47341       ac_ext=c
47342 ac_cpp='$CPP $CPPFLAGS'
47343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47346
47347
47348 fi
47349
47350   fi
47351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47352 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47353
47354     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47355       for ac_func in _atan2f
47356 do :
47357   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47358 if test "x$ac_cv_func__atan2f" = x""yes; then :
47359   cat >>confdefs.h <<_ACEOF
47360 #define HAVE__ATAN2F 1
47361 _ACEOF
47362
47363 fi
47364 done
47365
47366     fi
47367   fi
47368
47369
47370
47371
47372
47373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47374 $as_echo_n "checking for fabsf declaration... " >&6; }
47375   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47376     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47377   $as_echo_n "(cached) " >&6
47378 else
47379
47380
47381       ac_ext=cpp
47382 ac_cpp='$CXXCPP $CPPFLAGS'
47383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47386
47387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47388 /* end confdefs.h.  */
47389 #include <math.h>
47390                       #ifdef HAVE_IEEEFP_H
47391                       #include <ieeefp.h>
47392                       #endif
47393
47394 int
47395 main ()
47396 {
47397  fabsf(0);
47398   ;
47399   return 0;
47400 }
47401 _ACEOF
47402 if ac_fn_cxx_try_compile "$LINENO"; then :
47403   glibcxx_cv_func_fabsf_use=yes
47404 else
47405   glibcxx_cv_func_fabsf_use=no
47406 fi
47407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47408       ac_ext=c
47409 ac_cpp='$CPP $CPPFLAGS'
47410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47413
47414
47415 fi
47416
47417   fi
47418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47419 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47420
47421   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47422     for ac_func in fabsf
47423 do :
47424   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47425 if test "x$ac_cv_func_fabsf" = x""yes; then :
47426   cat >>confdefs.h <<_ACEOF
47427 #define HAVE_FABSF 1
47428 _ACEOF
47429
47430 fi
47431 done
47432
47433   else
47434
47435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47436 $as_echo_n "checking for _fabsf declaration... " >&6; }
47437   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47438     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47439   $as_echo_n "(cached) " >&6
47440 else
47441
47442
47443       ac_ext=cpp
47444 ac_cpp='$CXXCPP $CPPFLAGS'
47445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47448
47449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47450 /* end confdefs.h.  */
47451 #include <math.h>
47452                       #ifdef HAVE_IEEEFP_H
47453                       #include <ieeefp.h>
47454                       #endif
47455
47456 int
47457 main ()
47458 {
47459  _fabsf(0);
47460   ;
47461   return 0;
47462 }
47463 _ACEOF
47464 if ac_fn_cxx_try_compile "$LINENO"; then :
47465   glibcxx_cv_func__fabsf_use=yes
47466 else
47467   glibcxx_cv_func__fabsf_use=no
47468 fi
47469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47470       ac_ext=c
47471 ac_cpp='$CPP $CPPFLAGS'
47472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47475
47476
47477 fi
47478
47479   fi
47480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47481 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47482
47483     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47484       for ac_func in _fabsf
47485 do :
47486   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47487 if test "x$ac_cv_func__fabsf" = x""yes; then :
47488   cat >>confdefs.h <<_ACEOF
47489 #define HAVE__FABSF 1
47490 _ACEOF
47491
47492 fi
47493 done
47494
47495     fi
47496   fi
47497
47498
47499
47500
47501
47502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47503 $as_echo_n "checking for fmodf declaration... " >&6; }
47504   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47505     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47506   $as_echo_n "(cached) " >&6
47507 else
47508
47509
47510       ac_ext=cpp
47511 ac_cpp='$CXXCPP $CPPFLAGS'
47512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47515
47516       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47517 /* end confdefs.h.  */
47518 #include <math.h>
47519 int
47520 main ()
47521 {
47522  fmodf(0, 0);
47523   ;
47524   return 0;
47525 }
47526 _ACEOF
47527 if ac_fn_cxx_try_compile "$LINENO"; then :
47528   glibcxx_cv_func_fmodf_use=yes
47529 else
47530   glibcxx_cv_func_fmodf_use=no
47531 fi
47532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47533       ac_ext=c
47534 ac_cpp='$CPP $CPPFLAGS'
47535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47538
47539
47540 fi
47541
47542   fi
47543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47544 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47545
47546   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47547     for ac_func in fmodf
47548 do :
47549   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47550 if test "x$ac_cv_func_fmodf" = x""yes; then :
47551   cat >>confdefs.h <<_ACEOF
47552 #define HAVE_FMODF 1
47553 _ACEOF
47554
47555 fi
47556 done
47557
47558   else
47559
47560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47561 $as_echo_n "checking for _fmodf declaration... " >&6; }
47562   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47563     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47564   $as_echo_n "(cached) " >&6
47565 else
47566
47567
47568       ac_ext=cpp
47569 ac_cpp='$CXXCPP $CPPFLAGS'
47570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47573
47574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47575 /* end confdefs.h.  */
47576 #include <math.h>
47577 int
47578 main ()
47579 {
47580  _fmodf(0, 0);
47581   ;
47582   return 0;
47583 }
47584 _ACEOF
47585 if ac_fn_cxx_try_compile "$LINENO"; then :
47586   glibcxx_cv_func__fmodf_use=yes
47587 else
47588   glibcxx_cv_func__fmodf_use=no
47589 fi
47590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47591       ac_ext=c
47592 ac_cpp='$CPP $CPPFLAGS'
47593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47596
47597
47598 fi
47599
47600   fi
47601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47602 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47603
47604     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47605       for ac_func in _fmodf
47606 do :
47607   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47608 if test "x$ac_cv_func__fmodf" = x""yes; then :
47609   cat >>confdefs.h <<_ACEOF
47610 #define HAVE__FMODF 1
47611 _ACEOF
47612
47613 fi
47614 done
47615
47616     fi
47617   fi
47618
47619
47620
47621
47622
47623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47624 $as_echo_n "checking for frexpf declaration... " >&6; }
47625   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47626     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47627   $as_echo_n "(cached) " >&6
47628 else
47629
47630
47631       ac_ext=cpp
47632 ac_cpp='$CXXCPP $CPPFLAGS'
47633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47636
47637       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47638 /* end confdefs.h.  */
47639 #include <math.h>
47640 int
47641 main ()
47642 {
47643  frexpf(0, 0);
47644   ;
47645   return 0;
47646 }
47647 _ACEOF
47648 if ac_fn_cxx_try_compile "$LINENO"; then :
47649   glibcxx_cv_func_frexpf_use=yes
47650 else
47651   glibcxx_cv_func_frexpf_use=no
47652 fi
47653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47654       ac_ext=c
47655 ac_cpp='$CPP $CPPFLAGS'
47656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47659
47660
47661 fi
47662
47663   fi
47664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47665 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47666
47667   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47668     for ac_func in frexpf
47669 do :
47670   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47671 if test "x$ac_cv_func_frexpf" = x""yes; then :
47672   cat >>confdefs.h <<_ACEOF
47673 #define HAVE_FREXPF 1
47674 _ACEOF
47675
47676 fi
47677 done
47678
47679   else
47680
47681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47682 $as_echo_n "checking for _frexpf declaration... " >&6; }
47683   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47684     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47685   $as_echo_n "(cached) " >&6
47686 else
47687
47688
47689       ac_ext=cpp
47690 ac_cpp='$CXXCPP $CPPFLAGS'
47691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47694
47695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47696 /* end confdefs.h.  */
47697 #include <math.h>
47698 int
47699 main ()
47700 {
47701  _frexpf(0, 0);
47702   ;
47703   return 0;
47704 }
47705 _ACEOF
47706 if ac_fn_cxx_try_compile "$LINENO"; then :
47707   glibcxx_cv_func__frexpf_use=yes
47708 else
47709   glibcxx_cv_func__frexpf_use=no
47710 fi
47711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47712       ac_ext=c
47713 ac_cpp='$CPP $CPPFLAGS'
47714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47717
47718
47719 fi
47720
47721   fi
47722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47723 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47724
47725     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47726       for ac_func in _frexpf
47727 do :
47728   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47729 if test "x$ac_cv_func__frexpf" = x""yes; then :
47730   cat >>confdefs.h <<_ACEOF
47731 #define HAVE__FREXPF 1
47732 _ACEOF
47733
47734 fi
47735 done
47736
47737     fi
47738   fi
47739
47740
47741
47742
47743
47744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47745 $as_echo_n "checking for hypotf declaration... " >&6; }
47746   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47747     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47748   $as_echo_n "(cached) " >&6
47749 else
47750
47751
47752       ac_ext=cpp
47753 ac_cpp='$CXXCPP $CPPFLAGS'
47754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47757
47758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47759 /* end confdefs.h.  */
47760 #include <math.h>
47761 int
47762 main ()
47763 {
47764  hypotf(0, 0);
47765   ;
47766   return 0;
47767 }
47768 _ACEOF
47769 if ac_fn_cxx_try_compile "$LINENO"; then :
47770   glibcxx_cv_func_hypotf_use=yes
47771 else
47772   glibcxx_cv_func_hypotf_use=no
47773 fi
47774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47775       ac_ext=c
47776 ac_cpp='$CPP $CPPFLAGS'
47777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47780
47781
47782 fi
47783
47784   fi
47785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47786 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47787
47788   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47789     for ac_func in hypotf
47790 do :
47791   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47792 if test "x$ac_cv_func_hypotf" = x""yes; then :
47793   cat >>confdefs.h <<_ACEOF
47794 #define HAVE_HYPOTF 1
47795 _ACEOF
47796
47797 fi
47798 done
47799
47800   else
47801
47802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47803 $as_echo_n "checking for _hypotf declaration... " >&6; }
47804   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47805     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47806   $as_echo_n "(cached) " >&6
47807 else
47808
47809
47810       ac_ext=cpp
47811 ac_cpp='$CXXCPP $CPPFLAGS'
47812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47815
47816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47817 /* end confdefs.h.  */
47818 #include <math.h>
47819 int
47820 main ()
47821 {
47822  _hypotf(0, 0);
47823   ;
47824   return 0;
47825 }
47826 _ACEOF
47827 if ac_fn_cxx_try_compile "$LINENO"; then :
47828   glibcxx_cv_func__hypotf_use=yes
47829 else
47830   glibcxx_cv_func__hypotf_use=no
47831 fi
47832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47833       ac_ext=c
47834 ac_cpp='$CPP $CPPFLAGS'
47835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47838
47839
47840 fi
47841
47842   fi
47843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47844 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47845
47846     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47847       for ac_func in _hypotf
47848 do :
47849   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47850 if test "x$ac_cv_func__hypotf" = x""yes; then :
47851   cat >>confdefs.h <<_ACEOF
47852 #define HAVE__HYPOTF 1
47853 _ACEOF
47854
47855 fi
47856 done
47857
47858     fi
47859   fi
47860
47861
47862
47863
47864
47865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47866 $as_echo_n "checking for ldexpf declaration... " >&6; }
47867   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47868     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47869   $as_echo_n "(cached) " >&6
47870 else
47871
47872
47873       ac_ext=cpp
47874 ac_cpp='$CXXCPP $CPPFLAGS'
47875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47878
47879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47880 /* end confdefs.h.  */
47881 #include <math.h>
47882 int
47883 main ()
47884 {
47885  ldexpf(0, 0);
47886   ;
47887   return 0;
47888 }
47889 _ACEOF
47890 if ac_fn_cxx_try_compile "$LINENO"; then :
47891   glibcxx_cv_func_ldexpf_use=yes
47892 else
47893   glibcxx_cv_func_ldexpf_use=no
47894 fi
47895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47896       ac_ext=c
47897 ac_cpp='$CPP $CPPFLAGS'
47898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47901
47902
47903 fi
47904
47905   fi
47906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47907 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47908
47909   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47910     for ac_func in ldexpf
47911 do :
47912   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47913 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47914   cat >>confdefs.h <<_ACEOF
47915 #define HAVE_LDEXPF 1
47916 _ACEOF
47917
47918 fi
47919 done
47920
47921   else
47922
47923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47924 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47925   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47926     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47927   $as_echo_n "(cached) " >&6
47928 else
47929
47930
47931       ac_ext=cpp
47932 ac_cpp='$CXXCPP $CPPFLAGS'
47933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47936
47937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47938 /* end confdefs.h.  */
47939 #include <math.h>
47940 int
47941 main ()
47942 {
47943  _ldexpf(0, 0);
47944   ;
47945   return 0;
47946 }
47947 _ACEOF
47948 if ac_fn_cxx_try_compile "$LINENO"; then :
47949   glibcxx_cv_func__ldexpf_use=yes
47950 else
47951   glibcxx_cv_func__ldexpf_use=no
47952 fi
47953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47954       ac_ext=c
47955 ac_cpp='$CPP $CPPFLAGS'
47956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47959
47960
47961 fi
47962
47963   fi
47964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47965 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47966
47967     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47968       for ac_func in _ldexpf
47969 do :
47970   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47971 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47972   cat >>confdefs.h <<_ACEOF
47973 #define HAVE__LDEXPF 1
47974 _ACEOF
47975
47976 fi
47977 done
47978
47979     fi
47980   fi
47981
47982
47983
47984
47985
47986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47987 $as_echo_n "checking for logf declaration... " >&6; }
47988   if test x${glibcxx_cv_func_logf_use+set} != xset; then
47989     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47990   $as_echo_n "(cached) " >&6
47991 else
47992
47993
47994       ac_ext=cpp
47995 ac_cpp='$CXXCPP $CPPFLAGS'
47996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47999
48000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48001 /* end confdefs.h.  */
48002 #include <math.h>
48003                       #ifdef HAVE_IEEEFP_H
48004                       #include <ieeefp.h>
48005                       #endif
48006
48007 int
48008 main ()
48009 {
48010  logf(0);
48011   ;
48012   return 0;
48013 }
48014 _ACEOF
48015 if ac_fn_cxx_try_compile "$LINENO"; then :
48016   glibcxx_cv_func_logf_use=yes
48017 else
48018   glibcxx_cv_func_logf_use=no
48019 fi
48020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48021       ac_ext=c
48022 ac_cpp='$CPP $CPPFLAGS'
48023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48026
48027
48028 fi
48029
48030   fi
48031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48032 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48033
48034   if test x$glibcxx_cv_func_logf_use = x"yes"; then
48035     for ac_func in logf
48036 do :
48037   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48038 if test "x$ac_cv_func_logf" = x""yes; then :
48039   cat >>confdefs.h <<_ACEOF
48040 #define HAVE_LOGF 1
48041 _ACEOF
48042
48043 fi
48044 done
48045
48046   else
48047
48048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48049 $as_echo_n "checking for _logf declaration... " >&6; }
48050   if test x${glibcxx_cv_func__logf_use+set} != xset; then
48051     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48052   $as_echo_n "(cached) " >&6
48053 else
48054
48055
48056       ac_ext=cpp
48057 ac_cpp='$CXXCPP $CPPFLAGS'
48058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48061
48062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48063 /* end confdefs.h.  */
48064 #include <math.h>
48065                       #ifdef HAVE_IEEEFP_H
48066                       #include <ieeefp.h>
48067                       #endif
48068
48069 int
48070 main ()
48071 {
48072  _logf(0);
48073   ;
48074   return 0;
48075 }
48076 _ACEOF
48077 if ac_fn_cxx_try_compile "$LINENO"; then :
48078   glibcxx_cv_func__logf_use=yes
48079 else
48080   glibcxx_cv_func__logf_use=no
48081 fi
48082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48083       ac_ext=c
48084 ac_cpp='$CPP $CPPFLAGS'
48085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48088
48089
48090 fi
48091
48092   fi
48093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48094 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48095
48096     if test x$glibcxx_cv_func__logf_use = x"yes"; then
48097       for ac_func in _logf
48098 do :
48099   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48100 if test "x$ac_cv_func__logf" = x""yes; then :
48101   cat >>confdefs.h <<_ACEOF
48102 #define HAVE__LOGF 1
48103 _ACEOF
48104
48105 fi
48106 done
48107
48108     fi
48109   fi
48110
48111
48112
48113
48114
48115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48116 $as_echo_n "checking for log10f declaration... " >&6; }
48117   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48118     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48119   $as_echo_n "(cached) " >&6
48120 else
48121
48122
48123       ac_ext=cpp
48124 ac_cpp='$CXXCPP $CPPFLAGS'
48125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48128
48129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48130 /* end confdefs.h.  */
48131 #include <math.h>
48132                       #ifdef HAVE_IEEEFP_H
48133                       #include <ieeefp.h>
48134                       #endif
48135
48136 int
48137 main ()
48138 {
48139  log10f(0);
48140   ;
48141   return 0;
48142 }
48143 _ACEOF
48144 if ac_fn_cxx_try_compile "$LINENO"; then :
48145   glibcxx_cv_func_log10f_use=yes
48146 else
48147   glibcxx_cv_func_log10f_use=no
48148 fi
48149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48150       ac_ext=c
48151 ac_cpp='$CPP $CPPFLAGS'
48152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48155
48156
48157 fi
48158
48159   fi
48160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48161 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48162
48163   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48164     for ac_func in log10f
48165 do :
48166   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48167 if test "x$ac_cv_func_log10f" = x""yes; then :
48168   cat >>confdefs.h <<_ACEOF
48169 #define HAVE_LOG10F 1
48170 _ACEOF
48171
48172 fi
48173 done
48174
48175   else
48176
48177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48178 $as_echo_n "checking for _log10f declaration... " >&6; }
48179   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48180     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48181   $as_echo_n "(cached) " >&6
48182 else
48183
48184
48185       ac_ext=cpp
48186 ac_cpp='$CXXCPP $CPPFLAGS'
48187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48190
48191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48192 /* end confdefs.h.  */
48193 #include <math.h>
48194                       #ifdef HAVE_IEEEFP_H
48195                       #include <ieeefp.h>
48196                       #endif
48197
48198 int
48199 main ()
48200 {
48201  _log10f(0);
48202   ;
48203   return 0;
48204 }
48205 _ACEOF
48206 if ac_fn_cxx_try_compile "$LINENO"; then :
48207   glibcxx_cv_func__log10f_use=yes
48208 else
48209   glibcxx_cv_func__log10f_use=no
48210 fi
48211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48212       ac_ext=c
48213 ac_cpp='$CPP $CPPFLAGS'
48214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48217
48218
48219 fi
48220
48221   fi
48222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48223 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48224
48225     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48226       for ac_func in _log10f
48227 do :
48228   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48229 if test "x$ac_cv_func__log10f" = x""yes; then :
48230   cat >>confdefs.h <<_ACEOF
48231 #define HAVE__LOG10F 1
48232 _ACEOF
48233
48234 fi
48235 done
48236
48237     fi
48238   fi
48239
48240
48241
48242
48243
48244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48245 $as_echo_n "checking for modff declaration... " >&6; }
48246   if test x${glibcxx_cv_func_modff_use+set} != xset; then
48247     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48248   $as_echo_n "(cached) " >&6
48249 else
48250
48251
48252       ac_ext=cpp
48253 ac_cpp='$CXXCPP $CPPFLAGS'
48254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48257
48258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48259 /* end confdefs.h.  */
48260 #include <math.h>
48261 int
48262 main ()
48263 {
48264  modff(0, 0);
48265   ;
48266   return 0;
48267 }
48268 _ACEOF
48269 if ac_fn_cxx_try_compile "$LINENO"; then :
48270   glibcxx_cv_func_modff_use=yes
48271 else
48272   glibcxx_cv_func_modff_use=no
48273 fi
48274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48275       ac_ext=c
48276 ac_cpp='$CPP $CPPFLAGS'
48277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48280
48281
48282 fi
48283
48284   fi
48285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48286 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48287
48288   if test x$glibcxx_cv_func_modff_use = x"yes"; then
48289     for ac_func in modff
48290 do :
48291   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48292 if test "x$ac_cv_func_modff" = x""yes; then :
48293   cat >>confdefs.h <<_ACEOF
48294 #define HAVE_MODFF 1
48295 _ACEOF
48296
48297 fi
48298 done
48299
48300   else
48301
48302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48303 $as_echo_n "checking for _modff declaration... " >&6; }
48304   if test x${glibcxx_cv_func__modff_use+set} != xset; then
48305     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48306   $as_echo_n "(cached) " >&6
48307 else
48308
48309
48310       ac_ext=cpp
48311 ac_cpp='$CXXCPP $CPPFLAGS'
48312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48315
48316       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48317 /* end confdefs.h.  */
48318 #include <math.h>
48319 int
48320 main ()
48321 {
48322  _modff(0, 0);
48323   ;
48324   return 0;
48325 }
48326 _ACEOF
48327 if ac_fn_cxx_try_compile "$LINENO"; then :
48328   glibcxx_cv_func__modff_use=yes
48329 else
48330   glibcxx_cv_func__modff_use=no
48331 fi
48332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48333       ac_ext=c
48334 ac_cpp='$CPP $CPPFLAGS'
48335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48338
48339
48340 fi
48341
48342   fi
48343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48344 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48345
48346     if test x$glibcxx_cv_func__modff_use = x"yes"; then
48347       for ac_func in _modff
48348 do :
48349   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48350 if test "x$ac_cv_func__modff" = x""yes; then :
48351   cat >>confdefs.h <<_ACEOF
48352 #define HAVE__MODFF 1
48353 _ACEOF
48354
48355 fi
48356 done
48357
48358     fi
48359   fi
48360
48361
48362
48363
48364
48365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48366 $as_echo_n "checking for modf declaration... " >&6; }
48367   if test x${glibcxx_cv_func_modf_use+set} != xset; then
48368     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48369   $as_echo_n "(cached) " >&6
48370 else
48371
48372
48373       ac_ext=cpp
48374 ac_cpp='$CXXCPP $CPPFLAGS'
48375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48378
48379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48380 /* end confdefs.h.  */
48381 #include <math.h>
48382 int
48383 main ()
48384 {
48385  modf(0, 0);
48386   ;
48387   return 0;
48388 }
48389 _ACEOF
48390 if ac_fn_cxx_try_compile "$LINENO"; then :
48391   glibcxx_cv_func_modf_use=yes
48392 else
48393   glibcxx_cv_func_modf_use=no
48394 fi
48395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48396       ac_ext=c
48397 ac_cpp='$CPP $CPPFLAGS'
48398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48401
48402
48403 fi
48404
48405   fi
48406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48407 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48408
48409   if test x$glibcxx_cv_func_modf_use = x"yes"; then
48410     for ac_func in modf
48411 do :
48412   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48413 if test "x$ac_cv_func_modf" = x""yes; then :
48414   cat >>confdefs.h <<_ACEOF
48415 #define HAVE_MODF 1
48416 _ACEOF
48417
48418 fi
48419 done
48420
48421   else
48422
48423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48424 $as_echo_n "checking for _modf declaration... " >&6; }
48425   if test x${glibcxx_cv_func__modf_use+set} != xset; then
48426     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48427   $as_echo_n "(cached) " >&6
48428 else
48429
48430
48431       ac_ext=cpp
48432 ac_cpp='$CXXCPP $CPPFLAGS'
48433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48436
48437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48438 /* end confdefs.h.  */
48439 #include <math.h>
48440 int
48441 main ()
48442 {
48443  _modf(0, 0);
48444   ;
48445   return 0;
48446 }
48447 _ACEOF
48448 if ac_fn_cxx_try_compile "$LINENO"; then :
48449   glibcxx_cv_func__modf_use=yes
48450 else
48451   glibcxx_cv_func__modf_use=no
48452 fi
48453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48454       ac_ext=c
48455 ac_cpp='$CPP $CPPFLAGS'
48456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48459
48460
48461 fi
48462
48463   fi
48464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48465 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48466
48467     if test x$glibcxx_cv_func__modf_use = x"yes"; then
48468       for ac_func in _modf
48469 do :
48470   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48471 if test "x$ac_cv_func__modf" = x""yes; then :
48472   cat >>confdefs.h <<_ACEOF
48473 #define HAVE__MODF 1
48474 _ACEOF
48475
48476 fi
48477 done
48478
48479     fi
48480   fi
48481
48482
48483
48484
48485
48486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48487 $as_echo_n "checking for powf declaration... " >&6; }
48488   if test x${glibcxx_cv_func_powf_use+set} != xset; then
48489     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48490   $as_echo_n "(cached) " >&6
48491 else
48492
48493
48494       ac_ext=cpp
48495 ac_cpp='$CXXCPP $CPPFLAGS'
48496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48499
48500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48501 /* end confdefs.h.  */
48502 #include <math.h>
48503 int
48504 main ()
48505 {
48506  powf(0, 0);
48507   ;
48508   return 0;
48509 }
48510 _ACEOF
48511 if ac_fn_cxx_try_compile "$LINENO"; then :
48512   glibcxx_cv_func_powf_use=yes
48513 else
48514   glibcxx_cv_func_powf_use=no
48515 fi
48516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48517       ac_ext=c
48518 ac_cpp='$CPP $CPPFLAGS'
48519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48522
48523
48524 fi
48525
48526   fi
48527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48528 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48529
48530   if test x$glibcxx_cv_func_powf_use = x"yes"; then
48531     for ac_func in powf
48532 do :
48533   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48534 if test "x$ac_cv_func_powf" = x""yes; then :
48535   cat >>confdefs.h <<_ACEOF
48536 #define HAVE_POWF 1
48537 _ACEOF
48538
48539 fi
48540 done
48541
48542   else
48543
48544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48545 $as_echo_n "checking for _powf declaration... " >&6; }
48546   if test x${glibcxx_cv_func__powf_use+set} != xset; then
48547     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48548   $as_echo_n "(cached) " >&6
48549 else
48550
48551
48552       ac_ext=cpp
48553 ac_cpp='$CXXCPP $CPPFLAGS'
48554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48557
48558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48559 /* end confdefs.h.  */
48560 #include <math.h>
48561 int
48562 main ()
48563 {
48564  _powf(0, 0);
48565   ;
48566   return 0;
48567 }
48568 _ACEOF
48569 if ac_fn_cxx_try_compile "$LINENO"; then :
48570   glibcxx_cv_func__powf_use=yes
48571 else
48572   glibcxx_cv_func__powf_use=no
48573 fi
48574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48575       ac_ext=c
48576 ac_cpp='$CPP $CPPFLAGS'
48577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48580
48581
48582 fi
48583
48584   fi
48585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48586 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48587
48588     if test x$glibcxx_cv_func__powf_use = x"yes"; then
48589       for ac_func in _powf
48590 do :
48591   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48592 if test "x$ac_cv_func__powf" = x""yes; then :
48593   cat >>confdefs.h <<_ACEOF
48594 #define HAVE__POWF 1
48595 _ACEOF
48596
48597 fi
48598 done
48599
48600     fi
48601   fi
48602
48603
48604
48605
48606
48607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48608 $as_echo_n "checking for sqrtf declaration... " >&6; }
48609   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48610     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48611   $as_echo_n "(cached) " >&6
48612 else
48613
48614
48615       ac_ext=cpp
48616 ac_cpp='$CXXCPP $CPPFLAGS'
48617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48620
48621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48622 /* end confdefs.h.  */
48623 #include <math.h>
48624                       #ifdef HAVE_IEEEFP_H
48625                       #include <ieeefp.h>
48626                       #endif
48627
48628 int
48629 main ()
48630 {
48631  sqrtf(0);
48632   ;
48633   return 0;
48634 }
48635 _ACEOF
48636 if ac_fn_cxx_try_compile "$LINENO"; then :
48637   glibcxx_cv_func_sqrtf_use=yes
48638 else
48639   glibcxx_cv_func_sqrtf_use=no
48640 fi
48641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48642       ac_ext=c
48643 ac_cpp='$CPP $CPPFLAGS'
48644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48647
48648
48649 fi
48650
48651   fi
48652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48653 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48654
48655   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48656     for ac_func in sqrtf
48657 do :
48658   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48659 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48660   cat >>confdefs.h <<_ACEOF
48661 #define HAVE_SQRTF 1
48662 _ACEOF
48663
48664 fi
48665 done
48666
48667   else
48668
48669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48670 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48671   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48672     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48673   $as_echo_n "(cached) " >&6
48674 else
48675
48676
48677       ac_ext=cpp
48678 ac_cpp='$CXXCPP $CPPFLAGS'
48679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48682
48683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48684 /* end confdefs.h.  */
48685 #include <math.h>
48686                       #ifdef HAVE_IEEEFP_H
48687                       #include <ieeefp.h>
48688                       #endif
48689
48690 int
48691 main ()
48692 {
48693  _sqrtf(0);
48694   ;
48695   return 0;
48696 }
48697 _ACEOF
48698 if ac_fn_cxx_try_compile "$LINENO"; then :
48699   glibcxx_cv_func__sqrtf_use=yes
48700 else
48701   glibcxx_cv_func__sqrtf_use=no
48702 fi
48703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48704       ac_ext=c
48705 ac_cpp='$CPP $CPPFLAGS'
48706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48709
48710
48711 fi
48712
48713   fi
48714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48715 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48716
48717     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48718       for ac_func in _sqrtf
48719 do :
48720   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48721 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48722   cat >>confdefs.h <<_ACEOF
48723 #define HAVE__SQRTF 1
48724 _ACEOF
48725
48726 fi
48727 done
48728
48729     fi
48730   fi
48731
48732
48733
48734
48735
48736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48737 $as_echo_n "checking for sincosf declaration... " >&6; }
48738   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48739     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48740   $as_echo_n "(cached) " >&6
48741 else
48742
48743
48744       ac_ext=cpp
48745 ac_cpp='$CXXCPP $CPPFLAGS'
48746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48749
48750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48751 /* end confdefs.h.  */
48752 #include <math.h>
48753 int
48754 main ()
48755 {
48756  sincosf(0, 0, 0);
48757   ;
48758   return 0;
48759 }
48760 _ACEOF
48761 if ac_fn_cxx_try_compile "$LINENO"; then :
48762   glibcxx_cv_func_sincosf_use=yes
48763 else
48764   glibcxx_cv_func_sincosf_use=no
48765 fi
48766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48767       ac_ext=c
48768 ac_cpp='$CPP $CPPFLAGS'
48769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48772
48773
48774 fi
48775
48776   fi
48777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48778 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48779
48780   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48781     for ac_func in sincosf
48782 do :
48783   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48784 if test "x$ac_cv_func_sincosf" = x""yes; then :
48785   cat >>confdefs.h <<_ACEOF
48786 #define HAVE_SINCOSF 1
48787 _ACEOF
48788
48789 fi
48790 done
48791
48792   else
48793
48794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48795 $as_echo_n "checking for _sincosf declaration... " >&6; }
48796   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48797     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48798   $as_echo_n "(cached) " >&6
48799 else
48800
48801
48802       ac_ext=cpp
48803 ac_cpp='$CXXCPP $CPPFLAGS'
48804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48807
48808       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48809 /* end confdefs.h.  */
48810 #include <math.h>
48811 int
48812 main ()
48813 {
48814  _sincosf(0, 0, 0);
48815   ;
48816   return 0;
48817 }
48818 _ACEOF
48819 if ac_fn_cxx_try_compile "$LINENO"; then :
48820   glibcxx_cv_func__sincosf_use=yes
48821 else
48822   glibcxx_cv_func__sincosf_use=no
48823 fi
48824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48825       ac_ext=c
48826 ac_cpp='$CPP $CPPFLAGS'
48827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48830
48831
48832 fi
48833
48834   fi
48835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48836 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48837
48838     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48839       for ac_func in _sincosf
48840 do :
48841   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48842 if test "x$ac_cv_func__sincosf" = x""yes; then :
48843   cat >>confdefs.h <<_ACEOF
48844 #define HAVE__SINCOSF 1
48845 _ACEOF
48846
48847 fi
48848 done
48849
48850     fi
48851   fi
48852
48853
48854
48855
48856
48857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48858 $as_echo_n "checking for finitef declaration... " >&6; }
48859   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48860     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48861   $as_echo_n "(cached) " >&6
48862 else
48863
48864
48865       ac_ext=cpp
48866 ac_cpp='$CXXCPP $CPPFLAGS'
48867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48870
48871       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48872 /* end confdefs.h.  */
48873 #include <math.h>
48874                       #ifdef HAVE_IEEEFP_H
48875                       #include <ieeefp.h>
48876                       #endif
48877
48878 int
48879 main ()
48880 {
48881  finitef(0);
48882   ;
48883   return 0;
48884 }
48885 _ACEOF
48886 if ac_fn_cxx_try_compile "$LINENO"; then :
48887   glibcxx_cv_func_finitef_use=yes
48888 else
48889   glibcxx_cv_func_finitef_use=no
48890 fi
48891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48892       ac_ext=c
48893 ac_cpp='$CPP $CPPFLAGS'
48894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48897
48898
48899 fi
48900
48901   fi
48902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48903 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48904
48905   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48906     for ac_func in finitef
48907 do :
48908   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48909 if test "x$ac_cv_func_finitef" = x""yes; then :
48910   cat >>confdefs.h <<_ACEOF
48911 #define HAVE_FINITEF 1
48912 _ACEOF
48913
48914 fi
48915 done
48916
48917   else
48918
48919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48920 $as_echo_n "checking for _finitef declaration... " >&6; }
48921   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48922     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48923   $as_echo_n "(cached) " >&6
48924 else
48925
48926
48927       ac_ext=cpp
48928 ac_cpp='$CXXCPP $CPPFLAGS'
48929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48932
48933       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48934 /* end confdefs.h.  */
48935 #include <math.h>
48936                       #ifdef HAVE_IEEEFP_H
48937                       #include <ieeefp.h>
48938                       #endif
48939
48940 int
48941 main ()
48942 {
48943  _finitef(0);
48944   ;
48945   return 0;
48946 }
48947 _ACEOF
48948 if ac_fn_cxx_try_compile "$LINENO"; then :
48949   glibcxx_cv_func__finitef_use=yes
48950 else
48951   glibcxx_cv_func__finitef_use=no
48952 fi
48953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48954       ac_ext=c
48955 ac_cpp='$CPP $CPPFLAGS'
48956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48959
48960
48961 fi
48962
48963   fi
48964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48965 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48966
48967     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48968       for ac_func in _finitef
48969 do :
48970   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48971 if test "x$ac_cv_func__finitef" = x""yes; then :
48972   cat >>confdefs.h <<_ACEOF
48973 #define HAVE__FINITEF 1
48974 _ACEOF
48975
48976 fi
48977 done
48978
48979     fi
48980   fi
48981
48982
48983
48984
48985
48986     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48987 $as_echo_n "checking for long double trig functions... " >&6; }
48988   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48989   $as_echo_n "(cached) " >&6
48990 else
48991
48992
48993     ac_ext=cpp
48994 ac_cpp='$CXXCPP $CPPFLAGS'
48995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48998
48999     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49000 /* end confdefs.h.  */
49001 #include <math.h>
49002 int
49003 main ()
49004 {
49005 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49006   ;
49007   return 0;
49008 }
49009 _ACEOF
49010 if ac_fn_cxx_try_compile "$LINENO"; then :
49011   glibcxx_cv_func_long_double_trig_use=yes
49012 else
49013   glibcxx_cv_func_long_double_trig_use=no
49014 fi
49015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49016     ac_ext=c
49017 ac_cpp='$CPP $CPPFLAGS'
49018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49021
49022 fi
49023
49024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49025 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49026   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49027     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49028 do :
49029   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49030 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49031 eval as_val=\$$as_ac_var
49032    if test "x$as_val" = x""yes; then :
49033   cat >>confdefs.h <<_ACEOF
49034 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49035 _ACEOF
49036
49037 fi
49038 done
49039
49040   else
49041     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49042 $as_echo_n "checking for _long double trig functions... " >&6; }
49043     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49044   $as_echo_n "(cached) " >&6
49045 else
49046
49047
49048       ac_ext=cpp
49049 ac_cpp='$CXXCPP $CPPFLAGS'
49050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49053
49054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49055 /* end confdefs.h.  */
49056 #include <math.h>
49057 int
49058 main ()
49059 {
49060 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49061   ;
49062   return 0;
49063 }
49064 _ACEOF
49065 if ac_fn_cxx_try_compile "$LINENO"; then :
49066   glibcxx_cv_func__long_double_trig_use=yes
49067 else
49068   glibcxx_cv_func__long_double_trig_use=no
49069 fi
49070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49071       ac_ext=c
49072 ac_cpp='$CPP $CPPFLAGS'
49073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49076
49077 fi
49078
49079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49080 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49081     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49082       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49083 do :
49084   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49085 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49086 eval as_val=\$$as_ac_var
49087    if test "x$as_val" = x""yes; then :
49088   cat >>confdefs.h <<_ACEOF
49089 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49090 _ACEOF
49091
49092 fi
49093 done
49094
49095     fi
49096   fi
49097
49098
49099
49100
49101
49102     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49103 $as_echo_n "checking for long double round functions... " >&6; }
49104   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49105   $as_echo_n "(cached) " >&6
49106 else
49107
49108
49109     ac_ext=cpp
49110 ac_cpp='$CXXCPP $CPPFLAGS'
49111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49114
49115     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49116 /* end confdefs.h.  */
49117 #include <math.h>
49118 int
49119 main ()
49120 {
49121 ceill (0); floorl (0);
49122   ;
49123   return 0;
49124 }
49125 _ACEOF
49126 if ac_fn_cxx_try_compile "$LINENO"; then :
49127   glibcxx_cv_func_long_double_round_use=yes
49128 else
49129   glibcxx_cv_func_long_double_round_use=no
49130 fi
49131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49132     ac_ext=c
49133 ac_cpp='$CPP $CPPFLAGS'
49134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49137
49138 fi
49139
49140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49141 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49142   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49143     for ac_func in ceill floorl
49144 do :
49145   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49146 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49147 eval as_val=\$$as_ac_var
49148    if test "x$as_val" = x""yes; then :
49149   cat >>confdefs.h <<_ACEOF
49150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49151 _ACEOF
49152
49153 fi
49154 done
49155
49156   else
49157     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49158 $as_echo_n "checking for _long double round functions... " >&6; }
49159     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49160   $as_echo_n "(cached) " >&6
49161 else
49162
49163
49164       ac_ext=cpp
49165 ac_cpp='$CXXCPP $CPPFLAGS'
49166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49169
49170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49171 /* end confdefs.h.  */
49172 #include <math.h>
49173 int
49174 main ()
49175 {
49176 _ceill (0); _floorl (0);
49177   ;
49178   return 0;
49179 }
49180 _ACEOF
49181 if ac_fn_cxx_try_compile "$LINENO"; then :
49182   glibcxx_cv_func__long_double_round_use=yes
49183 else
49184   glibcxx_cv_func__long_double_round_use=no
49185 fi
49186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49187       ac_ext=c
49188 ac_cpp='$CPP $CPPFLAGS'
49189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49192
49193 fi
49194
49195     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49196 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49197     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49198       for ac_func in _ceill _floorl
49199 do :
49200   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49201 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49202 eval as_val=\$$as_ac_var
49203    if test "x$as_val" = x""yes; then :
49204   cat >>confdefs.h <<_ACEOF
49205 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49206 _ACEOF
49207
49208 fi
49209 done
49210
49211     fi
49212   fi
49213
49214
49215
49216
49217
49218
49219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49220 $as_echo_n "checking for isnanl declaration... " >&6; }
49221   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49222     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49223   $as_echo_n "(cached) " >&6
49224 else
49225
49226
49227       ac_ext=cpp
49228 ac_cpp='$CXXCPP $CPPFLAGS'
49229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49232
49233       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49234 /* end confdefs.h.  */
49235 #include <math.h>
49236                       #ifdef HAVE_IEEEFP_H
49237                       #include <ieeefp.h>
49238                       #endif
49239
49240 int
49241 main ()
49242 {
49243  isnanl(0);
49244   ;
49245   return 0;
49246 }
49247 _ACEOF
49248 if ac_fn_cxx_try_compile "$LINENO"; then :
49249   glibcxx_cv_func_isnanl_use=yes
49250 else
49251   glibcxx_cv_func_isnanl_use=no
49252 fi
49253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49254       ac_ext=c
49255 ac_cpp='$CPP $CPPFLAGS'
49256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49259
49260
49261 fi
49262
49263   fi
49264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49265 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49266
49267   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49268     for ac_func in isnanl
49269 do :
49270   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49271 if test "x$ac_cv_func_isnanl" = x""yes; then :
49272   cat >>confdefs.h <<_ACEOF
49273 #define HAVE_ISNANL 1
49274 _ACEOF
49275
49276 fi
49277 done
49278
49279   else
49280
49281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49282 $as_echo_n "checking for _isnanl declaration... " >&6; }
49283   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49284     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49285   $as_echo_n "(cached) " >&6
49286 else
49287
49288
49289       ac_ext=cpp
49290 ac_cpp='$CXXCPP $CPPFLAGS'
49291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49294
49295       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49296 /* end confdefs.h.  */
49297 #include <math.h>
49298                       #ifdef HAVE_IEEEFP_H
49299                       #include <ieeefp.h>
49300                       #endif
49301
49302 int
49303 main ()
49304 {
49305  _isnanl(0);
49306   ;
49307   return 0;
49308 }
49309 _ACEOF
49310 if ac_fn_cxx_try_compile "$LINENO"; then :
49311   glibcxx_cv_func__isnanl_use=yes
49312 else
49313   glibcxx_cv_func__isnanl_use=no
49314 fi
49315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49316       ac_ext=c
49317 ac_cpp='$CPP $CPPFLAGS'
49318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49321
49322
49323 fi
49324
49325   fi
49326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49327 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49328
49329     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49330       for ac_func in _isnanl
49331 do :
49332   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49333 if test "x$ac_cv_func__isnanl" = x""yes; then :
49334   cat >>confdefs.h <<_ACEOF
49335 #define HAVE__ISNANL 1
49336 _ACEOF
49337
49338 fi
49339 done
49340
49341     fi
49342   fi
49343
49344
49345
49346
49347
49348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49349 $as_echo_n "checking for isinfl declaration... " >&6; }
49350   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49351     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49352   $as_echo_n "(cached) " >&6
49353 else
49354
49355
49356       ac_ext=cpp
49357 ac_cpp='$CXXCPP $CPPFLAGS'
49358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49361
49362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49363 /* end confdefs.h.  */
49364 #include <math.h>
49365                       #ifdef HAVE_IEEEFP_H
49366                       #include <ieeefp.h>
49367                       #endif
49368
49369 int
49370 main ()
49371 {
49372  isinfl(0);
49373   ;
49374   return 0;
49375 }
49376 _ACEOF
49377 if ac_fn_cxx_try_compile "$LINENO"; then :
49378   glibcxx_cv_func_isinfl_use=yes
49379 else
49380   glibcxx_cv_func_isinfl_use=no
49381 fi
49382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49383       ac_ext=c
49384 ac_cpp='$CPP $CPPFLAGS'
49385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49388
49389
49390 fi
49391
49392   fi
49393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49394 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49395
49396   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49397     for ac_func in isinfl
49398 do :
49399   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49400 if test "x$ac_cv_func_isinfl" = x""yes; then :
49401   cat >>confdefs.h <<_ACEOF
49402 #define HAVE_ISINFL 1
49403 _ACEOF
49404
49405 fi
49406 done
49407
49408   else
49409
49410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49411 $as_echo_n "checking for _isinfl declaration... " >&6; }
49412   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49413     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49414   $as_echo_n "(cached) " >&6
49415 else
49416
49417
49418       ac_ext=cpp
49419 ac_cpp='$CXXCPP $CPPFLAGS'
49420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49423
49424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49425 /* end confdefs.h.  */
49426 #include <math.h>
49427                       #ifdef HAVE_IEEEFP_H
49428                       #include <ieeefp.h>
49429                       #endif
49430
49431 int
49432 main ()
49433 {
49434  _isinfl(0);
49435   ;
49436   return 0;
49437 }
49438 _ACEOF
49439 if ac_fn_cxx_try_compile "$LINENO"; then :
49440   glibcxx_cv_func__isinfl_use=yes
49441 else
49442   glibcxx_cv_func__isinfl_use=no
49443 fi
49444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49445       ac_ext=c
49446 ac_cpp='$CPP $CPPFLAGS'
49447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49450
49451
49452 fi
49453
49454   fi
49455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49456 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49457
49458     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49459       for ac_func in _isinfl
49460 do :
49461   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49462 if test "x$ac_cv_func__isinfl" = x""yes; then :
49463   cat >>confdefs.h <<_ACEOF
49464 #define HAVE__ISINFL 1
49465 _ACEOF
49466
49467 fi
49468 done
49469
49470     fi
49471   fi
49472
49473
49474
49475
49476
49477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49478 $as_echo_n "checking for atan2l declaration... " >&6; }
49479   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49480     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49481   $as_echo_n "(cached) " >&6
49482 else
49483
49484
49485       ac_ext=cpp
49486 ac_cpp='$CXXCPP $CPPFLAGS'
49487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49490
49491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49492 /* end confdefs.h.  */
49493 #include <math.h>
49494 int
49495 main ()
49496 {
49497  atan2l(0, 0);
49498   ;
49499   return 0;
49500 }
49501 _ACEOF
49502 if ac_fn_cxx_try_compile "$LINENO"; then :
49503   glibcxx_cv_func_atan2l_use=yes
49504 else
49505   glibcxx_cv_func_atan2l_use=no
49506 fi
49507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49508       ac_ext=c
49509 ac_cpp='$CPP $CPPFLAGS'
49510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49513
49514
49515 fi
49516
49517   fi
49518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49519 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49520
49521   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49522     for ac_func in atan2l
49523 do :
49524   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49525 if test "x$ac_cv_func_atan2l" = x""yes; then :
49526   cat >>confdefs.h <<_ACEOF
49527 #define HAVE_ATAN2L 1
49528 _ACEOF
49529
49530 fi
49531 done
49532
49533   else
49534
49535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49536 $as_echo_n "checking for _atan2l declaration... " >&6; }
49537   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49538     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49539   $as_echo_n "(cached) " >&6
49540 else
49541
49542
49543       ac_ext=cpp
49544 ac_cpp='$CXXCPP $CPPFLAGS'
49545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49548
49549       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49550 /* end confdefs.h.  */
49551 #include <math.h>
49552 int
49553 main ()
49554 {
49555  _atan2l(0, 0);
49556   ;
49557   return 0;
49558 }
49559 _ACEOF
49560 if ac_fn_cxx_try_compile "$LINENO"; then :
49561   glibcxx_cv_func__atan2l_use=yes
49562 else
49563   glibcxx_cv_func__atan2l_use=no
49564 fi
49565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49566       ac_ext=c
49567 ac_cpp='$CPP $CPPFLAGS'
49568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49571
49572
49573 fi
49574
49575   fi
49576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49577 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49578
49579     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49580       for ac_func in _atan2l
49581 do :
49582   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49583 if test "x$ac_cv_func__atan2l" = x""yes; then :
49584   cat >>confdefs.h <<_ACEOF
49585 #define HAVE__ATAN2L 1
49586 _ACEOF
49587
49588 fi
49589 done
49590
49591     fi
49592   fi
49593
49594
49595
49596
49597
49598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49599 $as_echo_n "checking for expl declaration... " >&6; }
49600   if test x${glibcxx_cv_func_expl_use+set} != xset; then
49601     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49602   $as_echo_n "(cached) " >&6
49603 else
49604
49605
49606       ac_ext=cpp
49607 ac_cpp='$CXXCPP $CPPFLAGS'
49608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49611
49612       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49613 /* end confdefs.h.  */
49614 #include <math.h>
49615                       #ifdef HAVE_IEEEFP_H
49616                       #include <ieeefp.h>
49617                       #endif
49618
49619 int
49620 main ()
49621 {
49622  expl(0);
49623   ;
49624   return 0;
49625 }
49626 _ACEOF
49627 if ac_fn_cxx_try_compile "$LINENO"; then :
49628   glibcxx_cv_func_expl_use=yes
49629 else
49630   glibcxx_cv_func_expl_use=no
49631 fi
49632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49633       ac_ext=c
49634 ac_cpp='$CPP $CPPFLAGS'
49635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49638
49639
49640 fi
49641
49642   fi
49643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49644 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49645
49646   if test x$glibcxx_cv_func_expl_use = x"yes"; then
49647     for ac_func in expl
49648 do :
49649   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49650 if test "x$ac_cv_func_expl" = x""yes; then :
49651   cat >>confdefs.h <<_ACEOF
49652 #define HAVE_EXPL 1
49653 _ACEOF
49654
49655 fi
49656 done
49657
49658   else
49659
49660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49661 $as_echo_n "checking for _expl declaration... " >&6; }
49662   if test x${glibcxx_cv_func__expl_use+set} != xset; then
49663     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49664   $as_echo_n "(cached) " >&6
49665 else
49666
49667
49668       ac_ext=cpp
49669 ac_cpp='$CXXCPP $CPPFLAGS'
49670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49673
49674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49675 /* end confdefs.h.  */
49676 #include <math.h>
49677                       #ifdef HAVE_IEEEFP_H
49678                       #include <ieeefp.h>
49679                       #endif
49680
49681 int
49682 main ()
49683 {
49684  _expl(0);
49685   ;
49686   return 0;
49687 }
49688 _ACEOF
49689 if ac_fn_cxx_try_compile "$LINENO"; then :
49690   glibcxx_cv_func__expl_use=yes
49691 else
49692   glibcxx_cv_func__expl_use=no
49693 fi
49694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49695       ac_ext=c
49696 ac_cpp='$CPP $CPPFLAGS'
49697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49700
49701
49702 fi
49703
49704   fi
49705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49706 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49707
49708     if test x$glibcxx_cv_func__expl_use = x"yes"; then
49709       for ac_func in _expl
49710 do :
49711   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49712 if test "x$ac_cv_func__expl" = x""yes; then :
49713   cat >>confdefs.h <<_ACEOF
49714 #define HAVE__EXPL 1
49715 _ACEOF
49716
49717 fi
49718 done
49719
49720     fi
49721   fi
49722
49723
49724
49725
49726
49727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49728 $as_echo_n "checking for fabsl declaration... " >&6; }
49729   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49730     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49731   $as_echo_n "(cached) " >&6
49732 else
49733
49734
49735       ac_ext=cpp
49736 ac_cpp='$CXXCPP $CPPFLAGS'
49737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49740
49741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49742 /* end confdefs.h.  */
49743 #include <math.h>
49744                       #ifdef HAVE_IEEEFP_H
49745                       #include <ieeefp.h>
49746                       #endif
49747
49748 int
49749 main ()
49750 {
49751  fabsl(0);
49752   ;
49753   return 0;
49754 }
49755 _ACEOF
49756 if ac_fn_cxx_try_compile "$LINENO"; then :
49757   glibcxx_cv_func_fabsl_use=yes
49758 else
49759   glibcxx_cv_func_fabsl_use=no
49760 fi
49761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49762       ac_ext=c
49763 ac_cpp='$CPP $CPPFLAGS'
49764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49767
49768
49769 fi
49770
49771   fi
49772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49773 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49774
49775   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49776     for ac_func in fabsl
49777 do :
49778   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49779 if test "x$ac_cv_func_fabsl" = x""yes; then :
49780   cat >>confdefs.h <<_ACEOF
49781 #define HAVE_FABSL 1
49782 _ACEOF
49783
49784 fi
49785 done
49786
49787   else
49788
49789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49790 $as_echo_n "checking for _fabsl declaration... " >&6; }
49791   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49792     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49793   $as_echo_n "(cached) " >&6
49794 else
49795
49796
49797       ac_ext=cpp
49798 ac_cpp='$CXXCPP $CPPFLAGS'
49799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49802
49803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49804 /* end confdefs.h.  */
49805 #include <math.h>
49806                       #ifdef HAVE_IEEEFP_H
49807                       #include <ieeefp.h>
49808                       #endif
49809
49810 int
49811 main ()
49812 {
49813  _fabsl(0);
49814   ;
49815   return 0;
49816 }
49817 _ACEOF
49818 if ac_fn_cxx_try_compile "$LINENO"; then :
49819   glibcxx_cv_func__fabsl_use=yes
49820 else
49821   glibcxx_cv_func__fabsl_use=no
49822 fi
49823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49824       ac_ext=c
49825 ac_cpp='$CPP $CPPFLAGS'
49826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49829
49830
49831 fi
49832
49833   fi
49834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49835 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49836
49837     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49838       for ac_func in _fabsl
49839 do :
49840   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49841 if test "x$ac_cv_func__fabsl" = x""yes; then :
49842   cat >>confdefs.h <<_ACEOF
49843 #define HAVE__FABSL 1
49844 _ACEOF
49845
49846 fi
49847 done
49848
49849     fi
49850   fi
49851
49852
49853
49854
49855
49856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49857 $as_echo_n "checking for fmodl declaration... " >&6; }
49858   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49859     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49860   $as_echo_n "(cached) " >&6
49861 else
49862
49863
49864       ac_ext=cpp
49865 ac_cpp='$CXXCPP $CPPFLAGS'
49866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49869
49870       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49871 /* end confdefs.h.  */
49872 #include <math.h>
49873 int
49874 main ()
49875 {
49876  fmodl(0, 0);
49877   ;
49878   return 0;
49879 }
49880 _ACEOF
49881 if ac_fn_cxx_try_compile "$LINENO"; then :
49882   glibcxx_cv_func_fmodl_use=yes
49883 else
49884   glibcxx_cv_func_fmodl_use=no
49885 fi
49886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49887       ac_ext=c
49888 ac_cpp='$CPP $CPPFLAGS'
49889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49892
49893
49894 fi
49895
49896   fi
49897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49898 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49899
49900   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49901     for ac_func in fmodl
49902 do :
49903   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49904 if test "x$ac_cv_func_fmodl" = x""yes; then :
49905   cat >>confdefs.h <<_ACEOF
49906 #define HAVE_FMODL 1
49907 _ACEOF
49908
49909 fi
49910 done
49911
49912   else
49913
49914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49915 $as_echo_n "checking for _fmodl declaration... " >&6; }
49916   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49917     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49918   $as_echo_n "(cached) " >&6
49919 else
49920
49921
49922       ac_ext=cpp
49923 ac_cpp='$CXXCPP $CPPFLAGS'
49924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49927
49928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49929 /* end confdefs.h.  */
49930 #include <math.h>
49931 int
49932 main ()
49933 {
49934  _fmodl(0, 0);
49935   ;
49936   return 0;
49937 }
49938 _ACEOF
49939 if ac_fn_cxx_try_compile "$LINENO"; then :
49940   glibcxx_cv_func__fmodl_use=yes
49941 else
49942   glibcxx_cv_func__fmodl_use=no
49943 fi
49944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49945       ac_ext=c
49946 ac_cpp='$CPP $CPPFLAGS'
49947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49950
49951
49952 fi
49953
49954   fi
49955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49956 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49957
49958     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49959       for ac_func in _fmodl
49960 do :
49961   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49962 if test "x$ac_cv_func__fmodl" = x""yes; then :
49963   cat >>confdefs.h <<_ACEOF
49964 #define HAVE__FMODL 1
49965 _ACEOF
49966
49967 fi
49968 done
49969
49970     fi
49971   fi
49972
49973
49974
49975
49976
49977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49978 $as_echo_n "checking for frexpl declaration... " >&6; }
49979   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49980     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49981   $as_echo_n "(cached) " >&6
49982 else
49983
49984
49985       ac_ext=cpp
49986 ac_cpp='$CXXCPP $CPPFLAGS'
49987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49990
49991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49992 /* end confdefs.h.  */
49993 #include <math.h>
49994 int
49995 main ()
49996 {
49997  frexpl(0, 0);
49998   ;
49999   return 0;
50000 }
50001 _ACEOF
50002 if ac_fn_cxx_try_compile "$LINENO"; then :
50003   glibcxx_cv_func_frexpl_use=yes
50004 else
50005   glibcxx_cv_func_frexpl_use=no
50006 fi
50007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50008       ac_ext=c
50009 ac_cpp='$CPP $CPPFLAGS'
50010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50013
50014
50015 fi
50016
50017   fi
50018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50019 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50020
50021   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50022     for ac_func in frexpl
50023 do :
50024   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50025 if test "x$ac_cv_func_frexpl" = x""yes; then :
50026   cat >>confdefs.h <<_ACEOF
50027 #define HAVE_FREXPL 1
50028 _ACEOF
50029
50030 fi
50031 done
50032
50033   else
50034
50035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50036 $as_echo_n "checking for _frexpl declaration... " >&6; }
50037   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50038     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50039   $as_echo_n "(cached) " >&6
50040 else
50041
50042
50043       ac_ext=cpp
50044 ac_cpp='$CXXCPP $CPPFLAGS'
50045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50048
50049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50050 /* end confdefs.h.  */
50051 #include <math.h>
50052 int
50053 main ()
50054 {
50055  _frexpl(0, 0);
50056   ;
50057   return 0;
50058 }
50059 _ACEOF
50060 if ac_fn_cxx_try_compile "$LINENO"; then :
50061   glibcxx_cv_func__frexpl_use=yes
50062 else
50063   glibcxx_cv_func__frexpl_use=no
50064 fi
50065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50066       ac_ext=c
50067 ac_cpp='$CPP $CPPFLAGS'
50068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50071
50072
50073 fi
50074
50075   fi
50076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50077 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50078
50079     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50080       for ac_func in _frexpl
50081 do :
50082   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50083 if test "x$ac_cv_func__frexpl" = x""yes; then :
50084   cat >>confdefs.h <<_ACEOF
50085 #define HAVE__FREXPL 1
50086 _ACEOF
50087
50088 fi
50089 done
50090
50091     fi
50092   fi
50093
50094
50095
50096
50097
50098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50099 $as_echo_n "checking for hypotl declaration... " >&6; }
50100   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50101     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50102   $as_echo_n "(cached) " >&6
50103 else
50104
50105
50106       ac_ext=cpp
50107 ac_cpp='$CXXCPP $CPPFLAGS'
50108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50111
50112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50113 /* end confdefs.h.  */
50114 #include <math.h>
50115 int
50116 main ()
50117 {
50118  hypotl(0, 0);
50119   ;
50120   return 0;
50121 }
50122 _ACEOF
50123 if ac_fn_cxx_try_compile "$LINENO"; then :
50124   glibcxx_cv_func_hypotl_use=yes
50125 else
50126   glibcxx_cv_func_hypotl_use=no
50127 fi
50128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50129       ac_ext=c
50130 ac_cpp='$CPP $CPPFLAGS'
50131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50134
50135
50136 fi
50137
50138   fi
50139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50140 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50141
50142   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50143     for ac_func in hypotl
50144 do :
50145   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50146 if test "x$ac_cv_func_hypotl" = x""yes; then :
50147   cat >>confdefs.h <<_ACEOF
50148 #define HAVE_HYPOTL 1
50149 _ACEOF
50150
50151 fi
50152 done
50153
50154   else
50155
50156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50157 $as_echo_n "checking for _hypotl declaration... " >&6; }
50158   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50159     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50160   $as_echo_n "(cached) " >&6
50161 else
50162
50163
50164       ac_ext=cpp
50165 ac_cpp='$CXXCPP $CPPFLAGS'
50166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50169
50170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50171 /* end confdefs.h.  */
50172 #include <math.h>
50173 int
50174 main ()
50175 {
50176  _hypotl(0, 0);
50177   ;
50178   return 0;
50179 }
50180 _ACEOF
50181 if ac_fn_cxx_try_compile "$LINENO"; then :
50182   glibcxx_cv_func__hypotl_use=yes
50183 else
50184   glibcxx_cv_func__hypotl_use=no
50185 fi
50186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50187       ac_ext=c
50188 ac_cpp='$CPP $CPPFLAGS'
50189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50192
50193
50194 fi
50195
50196   fi
50197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50198 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50199
50200     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50201       for ac_func in _hypotl
50202 do :
50203   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50204 if test "x$ac_cv_func__hypotl" = x""yes; then :
50205   cat >>confdefs.h <<_ACEOF
50206 #define HAVE__HYPOTL 1
50207 _ACEOF
50208
50209 fi
50210 done
50211
50212     fi
50213   fi
50214
50215
50216
50217
50218
50219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50220 $as_echo_n "checking for ldexpl declaration... " >&6; }
50221   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50222     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50223   $as_echo_n "(cached) " >&6
50224 else
50225
50226
50227       ac_ext=cpp
50228 ac_cpp='$CXXCPP $CPPFLAGS'
50229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50232
50233       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50234 /* end confdefs.h.  */
50235 #include <math.h>
50236 int
50237 main ()
50238 {
50239  ldexpl(0, 0);
50240   ;
50241   return 0;
50242 }
50243 _ACEOF
50244 if ac_fn_cxx_try_compile "$LINENO"; then :
50245   glibcxx_cv_func_ldexpl_use=yes
50246 else
50247   glibcxx_cv_func_ldexpl_use=no
50248 fi
50249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50250       ac_ext=c
50251 ac_cpp='$CPP $CPPFLAGS'
50252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50255
50256
50257 fi
50258
50259   fi
50260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50261 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50262
50263   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50264     for ac_func in ldexpl
50265 do :
50266   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50267 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50268   cat >>confdefs.h <<_ACEOF
50269 #define HAVE_LDEXPL 1
50270 _ACEOF
50271
50272 fi
50273 done
50274
50275   else
50276
50277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50278 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50279   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50280     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50281   $as_echo_n "(cached) " >&6
50282 else
50283
50284
50285       ac_ext=cpp
50286 ac_cpp='$CXXCPP $CPPFLAGS'
50287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50290
50291       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50292 /* end confdefs.h.  */
50293 #include <math.h>
50294 int
50295 main ()
50296 {
50297  _ldexpl(0, 0);
50298   ;
50299   return 0;
50300 }
50301 _ACEOF
50302 if ac_fn_cxx_try_compile "$LINENO"; then :
50303   glibcxx_cv_func__ldexpl_use=yes
50304 else
50305   glibcxx_cv_func__ldexpl_use=no
50306 fi
50307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50308       ac_ext=c
50309 ac_cpp='$CPP $CPPFLAGS'
50310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50313
50314
50315 fi
50316
50317   fi
50318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50319 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50320
50321     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50322       for ac_func in _ldexpl
50323 do :
50324   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50325 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50326   cat >>confdefs.h <<_ACEOF
50327 #define HAVE__LDEXPL 1
50328 _ACEOF
50329
50330 fi
50331 done
50332
50333     fi
50334   fi
50335
50336
50337
50338
50339
50340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50341 $as_echo_n "checking for logl declaration... " >&6; }
50342   if test x${glibcxx_cv_func_logl_use+set} != xset; then
50343     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50344   $as_echo_n "(cached) " >&6
50345 else
50346
50347
50348       ac_ext=cpp
50349 ac_cpp='$CXXCPP $CPPFLAGS'
50350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50353
50354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50355 /* end confdefs.h.  */
50356 #include <math.h>
50357                       #ifdef HAVE_IEEEFP_H
50358                       #include <ieeefp.h>
50359                       #endif
50360
50361 int
50362 main ()
50363 {
50364  logl(0);
50365   ;
50366   return 0;
50367 }
50368 _ACEOF
50369 if ac_fn_cxx_try_compile "$LINENO"; then :
50370   glibcxx_cv_func_logl_use=yes
50371 else
50372   glibcxx_cv_func_logl_use=no
50373 fi
50374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50375       ac_ext=c
50376 ac_cpp='$CPP $CPPFLAGS'
50377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50380
50381
50382 fi
50383
50384   fi
50385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50386 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50387
50388   if test x$glibcxx_cv_func_logl_use = x"yes"; then
50389     for ac_func in logl
50390 do :
50391   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50392 if test "x$ac_cv_func_logl" = x""yes; then :
50393   cat >>confdefs.h <<_ACEOF
50394 #define HAVE_LOGL 1
50395 _ACEOF
50396
50397 fi
50398 done
50399
50400   else
50401
50402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50403 $as_echo_n "checking for _logl declaration... " >&6; }
50404   if test x${glibcxx_cv_func__logl_use+set} != xset; then
50405     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50406   $as_echo_n "(cached) " >&6
50407 else
50408
50409
50410       ac_ext=cpp
50411 ac_cpp='$CXXCPP $CPPFLAGS'
50412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50415
50416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50417 /* end confdefs.h.  */
50418 #include <math.h>
50419                       #ifdef HAVE_IEEEFP_H
50420                       #include <ieeefp.h>
50421                       #endif
50422
50423 int
50424 main ()
50425 {
50426  _logl(0);
50427   ;
50428   return 0;
50429 }
50430 _ACEOF
50431 if ac_fn_cxx_try_compile "$LINENO"; then :
50432   glibcxx_cv_func__logl_use=yes
50433 else
50434   glibcxx_cv_func__logl_use=no
50435 fi
50436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50437       ac_ext=c
50438 ac_cpp='$CPP $CPPFLAGS'
50439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50442
50443
50444 fi
50445
50446   fi
50447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50448 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50449
50450     if test x$glibcxx_cv_func__logl_use = x"yes"; then
50451       for ac_func in _logl
50452 do :
50453   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50454 if test "x$ac_cv_func__logl" = x""yes; then :
50455   cat >>confdefs.h <<_ACEOF
50456 #define HAVE__LOGL 1
50457 _ACEOF
50458
50459 fi
50460 done
50461
50462     fi
50463   fi
50464
50465
50466
50467
50468
50469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50470 $as_echo_n "checking for log10l declaration... " >&6; }
50471   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50472     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50473   $as_echo_n "(cached) " >&6
50474 else
50475
50476
50477       ac_ext=cpp
50478 ac_cpp='$CXXCPP $CPPFLAGS'
50479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50482
50483       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50484 /* end confdefs.h.  */
50485 #include <math.h>
50486                       #ifdef HAVE_IEEEFP_H
50487                       #include <ieeefp.h>
50488                       #endif
50489
50490 int
50491 main ()
50492 {
50493  log10l(0);
50494   ;
50495   return 0;
50496 }
50497 _ACEOF
50498 if ac_fn_cxx_try_compile "$LINENO"; then :
50499   glibcxx_cv_func_log10l_use=yes
50500 else
50501   glibcxx_cv_func_log10l_use=no
50502 fi
50503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50504       ac_ext=c
50505 ac_cpp='$CPP $CPPFLAGS'
50506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50509
50510
50511 fi
50512
50513   fi
50514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50515 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50516
50517   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50518     for ac_func in log10l
50519 do :
50520   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50521 if test "x$ac_cv_func_log10l" = x""yes; then :
50522   cat >>confdefs.h <<_ACEOF
50523 #define HAVE_LOG10L 1
50524 _ACEOF
50525
50526 fi
50527 done
50528
50529   else
50530
50531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50532 $as_echo_n "checking for _log10l declaration... " >&6; }
50533   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50534     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50535   $as_echo_n "(cached) " >&6
50536 else
50537
50538
50539       ac_ext=cpp
50540 ac_cpp='$CXXCPP $CPPFLAGS'
50541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50544
50545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50546 /* end confdefs.h.  */
50547 #include <math.h>
50548                       #ifdef HAVE_IEEEFP_H
50549                       #include <ieeefp.h>
50550                       #endif
50551
50552 int
50553 main ()
50554 {
50555  _log10l(0);
50556   ;
50557   return 0;
50558 }
50559 _ACEOF
50560 if ac_fn_cxx_try_compile "$LINENO"; then :
50561   glibcxx_cv_func__log10l_use=yes
50562 else
50563   glibcxx_cv_func__log10l_use=no
50564 fi
50565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50566       ac_ext=c
50567 ac_cpp='$CPP $CPPFLAGS'
50568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50571
50572
50573 fi
50574
50575   fi
50576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50577 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50578
50579     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50580       for ac_func in _log10l
50581 do :
50582   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50583 if test "x$ac_cv_func__log10l" = x""yes; then :
50584   cat >>confdefs.h <<_ACEOF
50585 #define HAVE__LOG10L 1
50586 _ACEOF
50587
50588 fi
50589 done
50590
50591     fi
50592   fi
50593
50594
50595
50596
50597
50598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50599 $as_echo_n "checking for modfl declaration... " >&6; }
50600   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50601     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50602   $as_echo_n "(cached) " >&6
50603 else
50604
50605
50606       ac_ext=cpp
50607 ac_cpp='$CXXCPP $CPPFLAGS'
50608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50611
50612       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50613 /* end confdefs.h.  */
50614 #include <math.h>
50615 int
50616 main ()
50617 {
50618  modfl(0, 0);
50619   ;
50620   return 0;
50621 }
50622 _ACEOF
50623 if ac_fn_cxx_try_compile "$LINENO"; then :
50624   glibcxx_cv_func_modfl_use=yes
50625 else
50626   glibcxx_cv_func_modfl_use=no
50627 fi
50628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50629       ac_ext=c
50630 ac_cpp='$CPP $CPPFLAGS'
50631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50634
50635
50636 fi
50637
50638   fi
50639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50640 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50641
50642   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50643     for ac_func in modfl
50644 do :
50645   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50646 if test "x$ac_cv_func_modfl" = x""yes; then :
50647   cat >>confdefs.h <<_ACEOF
50648 #define HAVE_MODFL 1
50649 _ACEOF
50650
50651 fi
50652 done
50653
50654   else
50655
50656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50657 $as_echo_n "checking for _modfl declaration... " >&6; }
50658   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50659     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50660   $as_echo_n "(cached) " >&6
50661 else
50662
50663
50664       ac_ext=cpp
50665 ac_cpp='$CXXCPP $CPPFLAGS'
50666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50669
50670       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50671 /* end confdefs.h.  */
50672 #include <math.h>
50673 int
50674 main ()
50675 {
50676  _modfl(0, 0);
50677   ;
50678   return 0;
50679 }
50680 _ACEOF
50681 if ac_fn_cxx_try_compile "$LINENO"; then :
50682   glibcxx_cv_func__modfl_use=yes
50683 else
50684   glibcxx_cv_func__modfl_use=no
50685 fi
50686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50687       ac_ext=c
50688 ac_cpp='$CPP $CPPFLAGS'
50689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50692
50693
50694 fi
50695
50696   fi
50697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50698 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50699
50700     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50701       for ac_func in _modfl
50702 do :
50703   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50704 if test "x$ac_cv_func__modfl" = x""yes; then :
50705   cat >>confdefs.h <<_ACEOF
50706 #define HAVE__MODFL 1
50707 _ACEOF
50708
50709 fi
50710 done
50711
50712     fi
50713   fi
50714
50715
50716
50717
50718
50719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50720 $as_echo_n "checking for powl declaration... " >&6; }
50721   if test x${glibcxx_cv_func_powl_use+set} != xset; then
50722     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50723   $as_echo_n "(cached) " >&6
50724 else
50725
50726
50727       ac_ext=cpp
50728 ac_cpp='$CXXCPP $CPPFLAGS'
50729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50732
50733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50734 /* end confdefs.h.  */
50735 #include <math.h>
50736 int
50737 main ()
50738 {
50739  powl(0, 0);
50740   ;
50741   return 0;
50742 }
50743 _ACEOF
50744 if ac_fn_cxx_try_compile "$LINENO"; then :
50745   glibcxx_cv_func_powl_use=yes
50746 else
50747   glibcxx_cv_func_powl_use=no
50748 fi
50749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50750       ac_ext=c
50751 ac_cpp='$CPP $CPPFLAGS'
50752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50755
50756
50757 fi
50758
50759   fi
50760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50761 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50762
50763   if test x$glibcxx_cv_func_powl_use = x"yes"; then
50764     for ac_func in powl
50765 do :
50766   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50767 if test "x$ac_cv_func_powl" = x""yes; then :
50768   cat >>confdefs.h <<_ACEOF
50769 #define HAVE_POWL 1
50770 _ACEOF
50771
50772 fi
50773 done
50774
50775   else
50776
50777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50778 $as_echo_n "checking for _powl declaration... " >&6; }
50779   if test x${glibcxx_cv_func__powl_use+set} != xset; then
50780     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50781   $as_echo_n "(cached) " >&6
50782 else
50783
50784
50785       ac_ext=cpp
50786 ac_cpp='$CXXCPP $CPPFLAGS'
50787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50790
50791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50792 /* end confdefs.h.  */
50793 #include <math.h>
50794 int
50795 main ()
50796 {
50797  _powl(0, 0);
50798   ;
50799   return 0;
50800 }
50801 _ACEOF
50802 if ac_fn_cxx_try_compile "$LINENO"; then :
50803   glibcxx_cv_func__powl_use=yes
50804 else
50805   glibcxx_cv_func__powl_use=no
50806 fi
50807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50808       ac_ext=c
50809 ac_cpp='$CPP $CPPFLAGS'
50810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50813
50814
50815 fi
50816
50817   fi
50818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50819 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50820
50821     if test x$glibcxx_cv_func__powl_use = x"yes"; then
50822       for ac_func in _powl
50823 do :
50824   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50825 if test "x$ac_cv_func__powl" = x""yes; then :
50826   cat >>confdefs.h <<_ACEOF
50827 #define HAVE__POWL 1
50828 _ACEOF
50829
50830 fi
50831 done
50832
50833     fi
50834   fi
50835
50836
50837
50838
50839
50840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50841 $as_echo_n "checking for sqrtl declaration... " >&6; }
50842   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50843     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50844   $as_echo_n "(cached) " >&6
50845 else
50846
50847
50848       ac_ext=cpp
50849 ac_cpp='$CXXCPP $CPPFLAGS'
50850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50853
50854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50855 /* end confdefs.h.  */
50856 #include <math.h>
50857                       #ifdef HAVE_IEEEFP_H
50858                       #include <ieeefp.h>
50859                       #endif
50860
50861 int
50862 main ()
50863 {
50864  sqrtl(0);
50865   ;
50866   return 0;
50867 }
50868 _ACEOF
50869 if ac_fn_cxx_try_compile "$LINENO"; then :
50870   glibcxx_cv_func_sqrtl_use=yes
50871 else
50872   glibcxx_cv_func_sqrtl_use=no
50873 fi
50874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50875       ac_ext=c
50876 ac_cpp='$CPP $CPPFLAGS'
50877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50880
50881
50882 fi
50883
50884   fi
50885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50886 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50887
50888   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50889     for ac_func in sqrtl
50890 do :
50891   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50892 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50893   cat >>confdefs.h <<_ACEOF
50894 #define HAVE_SQRTL 1
50895 _ACEOF
50896
50897 fi
50898 done
50899
50900   else
50901
50902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50903 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50904   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50905     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50906   $as_echo_n "(cached) " >&6
50907 else
50908
50909
50910       ac_ext=cpp
50911 ac_cpp='$CXXCPP $CPPFLAGS'
50912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50915
50916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50917 /* end confdefs.h.  */
50918 #include <math.h>
50919                       #ifdef HAVE_IEEEFP_H
50920                       #include <ieeefp.h>
50921                       #endif
50922
50923 int
50924 main ()
50925 {
50926  _sqrtl(0);
50927   ;
50928   return 0;
50929 }
50930 _ACEOF
50931 if ac_fn_cxx_try_compile "$LINENO"; then :
50932   glibcxx_cv_func__sqrtl_use=yes
50933 else
50934   glibcxx_cv_func__sqrtl_use=no
50935 fi
50936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50937       ac_ext=c
50938 ac_cpp='$CPP $CPPFLAGS'
50939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50942
50943
50944 fi
50945
50946   fi
50947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50948 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50949
50950     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50951       for ac_func in _sqrtl
50952 do :
50953   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50954 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50955   cat >>confdefs.h <<_ACEOF
50956 #define HAVE__SQRTL 1
50957 _ACEOF
50958
50959 fi
50960 done
50961
50962     fi
50963   fi
50964
50965
50966
50967
50968
50969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50970 $as_echo_n "checking for sincosl declaration... " >&6; }
50971   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50972     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50973   $as_echo_n "(cached) " >&6
50974 else
50975
50976
50977       ac_ext=cpp
50978 ac_cpp='$CXXCPP $CPPFLAGS'
50979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50982
50983       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50984 /* end confdefs.h.  */
50985 #include <math.h>
50986 int
50987 main ()
50988 {
50989  sincosl(0, 0, 0);
50990   ;
50991   return 0;
50992 }
50993 _ACEOF
50994 if ac_fn_cxx_try_compile "$LINENO"; then :
50995   glibcxx_cv_func_sincosl_use=yes
50996 else
50997   glibcxx_cv_func_sincosl_use=no
50998 fi
50999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51000       ac_ext=c
51001 ac_cpp='$CPP $CPPFLAGS'
51002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51005
51006
51007 fi
51008
51009   fi
51010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51011 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51012
51013   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51014     for ac_func in sincosl
51015 do :
51016   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51017 if test "x$ac_cv_func_sincosl" = x""yes; then :
51018   cat >>confdefs.h <<_ACEOF
51019 #define HAVE_SINCOSL 1
51020 _ACEOF
51021
51022 fi
51023 done
51024
51025   else
51026
51027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51028 $as_echo_n "checking for _sincosl declaration... " >&6; }
51029   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51030     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51031   $as_echo_n "(cached) " >&6
51032 else
51033
51034
51035       ac_ext=cpp
51036 ac_cpp='$CXXCPP $CPPFLAGS'
51037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51040
51041       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51042 /* end confdefs.h.  */
51043 #include <math.h>
51044 int
51045 main ()
51046 {
51047  _sincosl(0, 0, 0);
51048   ;
51049   return 0;
51050 }
51051 _ACEOF
51052 if ac_fn_cxx_try_compile "$LINENO"; then :
51053   glibcxx_cv_func__sincosl_use=yes
51054 else
51055   glibcxx_cv_func__sincosl_use=no
51056 fi
51057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51058       ac_ext=c
51059 ac_cpp='$CPP $CPPFLAGS'
51060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51063
51064
51065 fi
51066
51067   fi
51068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51069 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51070
51071     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51072       for ac_func in _sincosl
51073 do :
51074   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51075 if test "x$ac_cv_func__sincosl" = x""yes; then :
51076   cat >>confdefs.h <<_ACEOF
51077 #define HAVE__SINCOSL 1
51078 _ACEOF
51079
51080 fi
51081 done
51082
51083     fi
51084   fi
51085
51086
51087
51088
51089
51090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51091 $as_echo_n "checking for finitel declaration... " >&6; }
51092   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51093     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51094   $as_echo_n "(cached) " >&6
51095 else
51096
51097
51098       ac_ext=cpp
51099 ac_cpp='$CXXCPP $CPPFLAGS'
51100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51103
51104       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51105 /* end confdefs.h.  */
51106 #include <math.h>
51107                       #ifdef HAVE_IEEEFP_H
51108                       #include <ieeefp.h>
51109                       #endif
51110
51111 int
51112 main ()
51113 {
51114  finitel(0);
51115   ;
51116   return 0;
51117 }
51118 _ACEOF
51119 if ac_fn_cxx_try_compile "$LINENO"; then :
51120   glibcxx_cv_func_finitel_use=yes
51121 else
51122   glibcxx_cv_func_finitel_use=no
51123 fi
51124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51125       ac_ext=c
51126 ac_cpp='$CPP $CPPFLAGS'
51127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51130
51131
51132 fi
51133
51134   fi
51135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51136 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51137
51138   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51139     for ac_func in finitel
51140 do :
51141   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51142 if test "x$ac_cv_func_finitel" = x""yes; then :
51143   cat >>confdefs.h <<_ACEOF
51144 #define HAVE_FINITEL 1
51145 _ACEOF
51146
51147 fi
51148 done
51149
51150   else
51151
51152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51153 $as_echo_n "checking for _finitel declaration... " >&6; }
51154   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51155     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51156   $as_echo_n "(cached) " >&6
51157 else
51158
51159
51160       ac_ext=cpp
51161 ac_cpp='$CXXCPP $CPPFLAGS'
51162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51165
51166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51167 /* end confdefs.h.  */
51168 #include <math.h>
51169                       #ifdef HAVE_IEEEFP_H
51170                       #include <ieeefp.h>
51171                       #endif
51172
51173 int
51174 main ()
51175 {
51176  _finitel(0);
51177   ;
51178   return 0;
51179 }
51180 _ACEOF
51181 if ac_fn_cxx_try_compile "$LINENO"; then :
51182   glibcxx_cv_func__finitel_use=yes
51183 else
51184   glibcxx_cv_func__finitel_use=no
51185 fi
51186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51187       ac_ext=c
51188 ac_cpp='$CPP $CPPFLAGS'
51189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51192
51193
51194 fi
51195
51196   fi
51197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51198 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51199
51200     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51201       for ac_func in _finitel
51202 do :
51203   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51204 if test "x$ac_cv_func__finitel" = x""yes; then :
51205   cat >>confdefs.h <<_ACEOF
51206 #define HAVE__FINITEL 1
51207 _ACEOF
51208
51209 fi
51210 done
51211
51212     fi
51213   fi
51214
51215
51216
51217
51218   LIBS="$ac_save_LIBS"
51219   CXXFLAGS="$ac_save_CXXFLAGS"
51220
51221
51222   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51223   ac_save_CXXFLAGS="$CXXFLAGS"
51224   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51225
51226
51227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51228 $as_echo_n "checking for strtold declaration... " >&6; }
51229   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51230     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51231   $as_echo_n "(cached) " >&6
51232 else
51233
51234
51235       ac_ext=cpp
51236 ac_cpp='$CXXCPP $CPPFLAGS'
51237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51240
51241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51242 /* end confdefs.h.  */
51243 #include <stdlib.h>
51244 int
51245 main ()
51246 {
51247  strtold(0, 0);
51248   ;
51249   return 0;
51250 }
51251 _ACEOF
51252 if ac_fn_cxx_try_compile "$LINENO"; then :
51253   glibcxx_cv_func_strtold_use=yes
51254 else
51255   glibcxx_cv_func_strtold_use=no
51256 fi
51257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51258       ac_ext=c
51259 ac_cpp='$CPP $CPPFLAGS'
51260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51263
51264
51265 fi
51266
51267   fi
51268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51269 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51270   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51271     for ac_func in strtold
51272 do :
51273   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51274 if test "x$ac_cv_func_strtold" = x""yes; then :
51275   cat >>confdefs.h <<_ACEOF
51276 #define HAVE_STRTOLD 1
51277 _ACEOF
51278
51279 fi
51280 done
51281
51282   fi
51283
51284
51285
51286
51287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51288 $as_echo_n "checking for strtof declaration... " >&6; }
51289   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51290     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51291   $as_echo_n "(cached) " >&6
51292 else
51293
51294
51295       ac_ext=cpp
51296 ac_cpp='$CXXCPP $CPPFLAGS'
51297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51300
51301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51302 /* end confdefs.h.  */
51303 #include <stdlib.h>
51304 int
51305 main ()
51306 {
51307  strtof(0, 0);
51308   ;
51309   return 0;
51310 }
51311 _ACEOF
51312 if ac_fn_cxx_try_compile "$LINENO"; then :
51313   glibcxx_cv_func_strtof_use=yes
51314 else
51315   glibcxx_cv_func_strtof_use=no
51316 fi
51317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51318       ac_ext=c
51319 ac_cpp='$CPP $CPPFLAGS'
51320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51323
51324
51325 fi
51326
51327   fi
51328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51329 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51330   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51331     for ac_func in strtof
51332 do :
51333   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51334 if test "x$ac_cv_func_strtof" = x""yes; then :
51335   cat >>confdefs.h <<_ACEOF
51336 #define HAVE_STRTOF 1
51337 _ACEOF
51338
51339 fi
51340 done
51341
51342   fi
51343
51344
51345
51346
51347   CXXFLAGS="$ac_save_CXXFLAGS"
51348
51349     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51350
51351
51352
51353    # Check whether --enable-tls was given.
51354 if test "${enable_tls+set}" = set; then :
51355   enableval=$enable_tls;
51356       case "$enableval" in
51357        yes|no) ;;
51358        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51359       esac
51360
51361 else
51362   enable_tls=yes
51363 fi
51364
51365
51366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51367 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51368 if test "${gcc_cv_have_tls+set}" = set; then :
51369   $as_echo_n "(cached) " >&6
51370 else
51371
51372     if test "$cross_compiling" = yes; then :
51373                 if test x$gcc_no_link = xyes; then
51374   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51375 fi
51376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51377 /* end confdefs.h.  */
51378 __thread int a; int b; int main() { return a = b; }
51379 _ACEOF
51380 if ac_fn_c_try_link "$LINENO"; then :
51381   chktls_save_LDFLAGS="$LDFLAGS"
51382                           case $host in
51383             *-*-linux*)
51384               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51385               ;;
51386           esac
51387           chktls_save_CFLAGS="$CFLAGS"
51388           CFLAGS="-fPIC $CFLAGS"
51389                   if test x$gcc_no_link = xyes; then
51390   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51391 fi
51392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51393 /* end confdefs.h.  */
51394 int f() { return 0; }
51395 _ACEOF
51396 if ac_fn_c_try_link "$LINENO"; then :
51397   if test x$gcc_no_link = xyes; then
51398   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51399 fi
51400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51401 /* end confdefs.h.  */
51402 __thread int a; int b; int f() { return a = b; }
51403 _ACEOF
51404 if ac_fn_c_try_link "$LINENO"; then :
51405   gcc_cv_have_tls=yes
51406 else
51407   gcc_cv_have_tls=no
51408 fi
51409 rm -f core conftest.err conftest.$ac_objext \
51410     conftest$ac_exeext conftest.$ac_ext
51411 else
51412   gcc_cv_have_tls=yes
51413 fi
51414 rm -f core conftest.err conftest.$ac_objext \
51415     conftest$ac_exeext conftest.$ac_ext
51416           CFLAGS="$chktls_save_CFLAGS"
51417           LDFLAGS="$chktls_save_LDFLAGS"
51418 else
51419   gcc_cv_have_tls=no
51420 fi
51421 rm -f core conftest.err conftest.$ac_objext \
51422     conftest$ac_exeext conftest.$ac_ext
51423
51424
51425 else
51426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51427 /* end confdefs.h.  */
51428 __thread int a; int b; int main() { return a = b; }
51429 _ACEOF
51430 if ac_fn_c_try_run "$LINENO"; then :
51431                       chktls_save_LDFLAGS="$LDFLAGS"
51432       LDFLAGS="-static $LDFLAGS"
51433       if test x$gcc_no_link = xyes; then
51434   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51435 fi
51436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51437 /* end confdefs.h.  */
51438 int main() { return 0; }
51439 _ACEOF
51440 if ac_fn_c_try_link "$LINENO"; then :
51441   if test "$cross_compiling" = yes; then :
51442   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51444 as_fn_error "cannot run test program while cross compiling
51445 See \`config.log' for more details." "$LINENO" 5; }
51446 else
51447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51448 /* end confdefs.h.  */
51449 __thread int a; int b; int main() { return a = b; }
51450 _ACEOF
51451 if ac_fn_c_try_run "$LINENO"; then :
51452   gcc_cv_have_tls=yes
51453 else
51454   gcc_cv_have_tls=no
51455 fi
51456 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51457   conftest.$ac_objext conftest.beam conftest.$ac_ext
51458 fi
51459
51460 else
51461   gcc_cv_have_tls=yes
51462 fi
51463 rm -f core conftest.err conftest.$ac_objext \
51464     conftest$ac_exeext conftest.$ac_ext
51465       LDFLAGS="$chktls_save_LDFLAGS"
51466       if test $gcc_cv_have_tls = yes; then
51467                                                 chktls_save_CFLAGS="$CFLAGS"
51468         thread_CFLAGS=failed
51469         for flag in '' '-pthread' '-lpthread'; do
51470           CFLAGS="$flag $chktls_save_CFLAGS"
51471           if test x$gcc_no_link = xyes; then
51472   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51473 fi
51474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51475 /* end confdefs.h.  */
51476 #include <pthread.h>
51477                 void *g(void *d) { return NULL; }
51478 int
51479 main ()
51480 {
51481 pthread_t t; pthread_create(&t,NULL,g,NULL);
51482   ;
51483   return 0;
51484 }
51485 _ACEOF
51486 if ac_fn_c_try_link "$LINENO"; then :
51487   thread_CFLAGS="$flag"
51488 fi
51489 rm -f core conftest.err conftest.$ac_objext \
51490     conftest$ac_exeext conftest.$ac_ext
51491           if test "X$thread_CFLAGS" != Xfailed; then
51492             break
51493           fi
51494         done
51495         CFLAGS="$chktls_save_CFLAGS"
51496         if test "X$thread_CFLAGS" != Xfailed; then
51497           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51498                                                   if test "$cross_compiling" = yes; then :
51499   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51501 as_fn_error "cannot run test program while cross compiling
51502 See \`config.log' for more details." "$LINENO" 5; }
51503 else
51504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51505 /* end confdefs.h.  */
51506 #include <pthread.h>
51507                 __thread int a;
51508                 static int *volatile a_in_other_thread;
51509                 static void *
51510                 thread_func (void *arg)
51511                 {
51512                   a_in_other_thread = &a;
51513                   return (void *)0;
51514                 }
51515 int
51516 main ()
51517 {
51518 pthread_t thread;
51519                 void *thread_retval;
51520                 int *volatile a_in_main_thread;
51521                 a_in_main_thread = &a;
51522                 if (pthread_create (&thread, (pthread_attr_t *)0,
51523                                     thread_func, (void *)0))
51524                   return 0;
51525                 if (pthread_join (thread, &thread_retval))
51526                   return 0;
51527                 return (a_in_other_thread == a_in_main_thread);
51528   ;
51529   return 0;
51530 }
51531 _ACEOF
51532 if ac_fn_c_try_run "$LINENO"; then :
51533   gcc_cv_have_tls=yes
51534 else
51535   gcc_cv_have_tls=no
51536 fi
51537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51538   conftest.$ac_objext conftest.beam conftest.$ac_ext
51539 fi
51540
51541           CFLAGS="$chktls_save_CFLAGS"
51542         fi
51543       fi
51544 else
51545   gcc_cv_have_tls=no
51546 fi
51547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51548   conftest.$ac_objext conftest.beam conftest.$ac_ext
51549 fi
51550
51551 fi
51552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51553 $as_echo "$gcc_cv_have_tls" >&6; }
51554   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51555
51556 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51557
51558   fi
51559
51560
51561
51562
51563
51564           am_save_CPPFLAGS="$CPPFLAGS"
51565
51566   for element in $INCICONV; do
51567     haveit=
51568     for x in $CPPFLAGS; do
51569
51570   acl_save_prefix="$prefix"
51571   prefix="$acl_final_prefix"
51572   acl_save_exec_prefix="$exec_prefix"
51573   exec_prefix="$acl_final_exec_prefix"
51574   eval x=\"$x\"
51575   exec_prefix="$acl_save_exec_prefix"
51576   prefix="$acl_save_prefix"
51577
51578       if test "X$x" = "X$element"; then
51579         haveit=yes
51580         break
51581       fi
51582     done
51583     if test -z "$haveit"; then
51584       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51585     fi
51586   done
51587
51588
51589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51590 $as_echo_n "checking for iconv... " >&6; }
51591 if test "${am_cv_func_iconv+set}" = set; then :
51592   $as_echo_n "(cached) " >&6
51593 else
51594
51595     am_cv_func_iconv="no, consider installing GNU libiconv"
51596     am_cv_lib_iconv=no
51597     if test x$gcc_no_link = xyes; then
51598   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51599 fi
51600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51601 /* end confdefs.h.  */
51602 #include <stdlib.h>
51603 #include <iconv.h>
51604 int
51605 main ()
51606 {
51607 iconv_t cd = iconv_open("","");
51608        iconv(cd,NULL,NULL,NULL,NULL);
51609        iconv_close(cd);
51610   ;
51611   return 0;
51612 }
51613 _ACEOF
51614 if ac_fn_c_try_link "$LINENO"; then :
51615   am_cv_func_iconv=yes
51616 fi
51617 rm -f core conftest.err conftest.$ac_objext \
51618     conftest$ac_exeext conftest.$ac_ext
51619     if test "$am_cv_func_iconv" != yes; then
51620       am_save_LIBS="$LIBS"
51621       LIBS="$LIBS $LIBICONV"
51622       if test x$gcc_no_link = xyes; then
51623   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51624 fi
51625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51626 /* end confdefs.h.  */
51627 #include <stdlib.h>
51628 #include <iconv.h>
51629 int
51630 main ()
51631 {
51632 iconv_t cd = iconv_open("","");
51633          iconv(cd,NULL,NULL,NULL,NULL);
51634          iconv_close(cd);
51635   ;
51636   return 0;
51637 }
51638 _ACEOF
51639 if ac_fn_c_try_link "$LINENO"; then :
51640   am_cv_lib_iconv=yes
51641         am_cv_func_iconv=yes
51642 fi
51643 rm -f core conftest.err conftest.$ac_objext \
51644     conftest$ac_exeext conftest.$ac_ext
51645       LIBS="$am_save_LIBS"
51646     fi
51647
51648 fi
51649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51650 $as_echo "$am_cv_func_iconv" >&6; }
51651   if test "$am_cv_func_iconv" = yes; then
51652
51653 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51654
51655   fi
51656   if test "$am_cv_lib_iconv" = yes; then
51657     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51658 $as_echo_n "checking how to link with libiconv... " >&6; }
51659     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51660 $as_echo "$LIBICONV" >&6; }
51661   else
51662             CPPFLAGS="$am_save_CPPFLAGS"
51663     LIBICONV=
51664     LTLIBICONV=
51665   fi
51666
51667
51668
51669   if test "$am_cv_func_iconv" = yes; then
51670     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51671 $as_echo_n "checking for iconv declaration... " >&6; }
51672     if test "${am_cv_proto_iconv+set}" = set; then :
51673   $as_echo_n "(cached) " >&6
51674 else
51675
51676       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51677 /* end confdefs.h.  */
51678
51679 #include <stdlib.h>
51680 #include <iconv.h>
51681 extern
51682 #ifdef __cplusplus
51683 "C"
51684 #endif
51685 #if defined(__STDC__) || defined(__cplusplus)
51686 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51687 #else
51688 size_t iconv();
51689 #endif
51690
51691 int
51692 main ()
51693 {
51694
51695   ;
51696   return 0;
51697 }
51698 _ACEOF
51699 if ac_fn_c_try_compile "$LINENO"; then :
51700   am_cv_proto_iconv_arg1=""
51701 else
51702   am_cv_proto_iconv_arg1="const"
51703 fi
51704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51705       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);"
51706 fi
51707
51708     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51709     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51710          }$am_cv_proto_iconv" >&5
51711 $as_echo "${ac_t:-
51712          }$am_cv_proto_iconv" >&6; }
51713
51714 cat >>confdefs.h <<_ACEOF
51715 #define ICONV_CONST $am_cv_proto_iconv_arg1
51716 _ACEOF
51717
51718   fi
51719
51720     ;;
51721   *-mingw32*)
51722
51723   # If we're not using GNU ld, then there's no point in even trying these
51724   # tests.  Check for that first.  We should have already tested for gld
51725   # by now (in libtool), but require it now just to be safe...
51726   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51727   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51728
51729
51730
51731   # The name set by libtool depends on the version of libtool.  Shame on us
51732   # for depending on an impl detail, but c'est la vie.  Older versions used
51733   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51734   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51735   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
51736   # set (hence we're using an older libtool), then set it.
51737   if test x${with_gnu_ld+set} != xset; then
51738     if test x${ac_cv_prog_gnu_ld+set} != xset; then
51739       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
51740       with_gnu_ld=no
51741     else
51742       with_gnu_ld=$ac_cv_prog_gnu_ld
51743     fi
51744   fi
51745
51746   # Start by getting the version number.  I think the libtool test already
51747   # does some of this, but throws away the result.
51748   glibcxx_ld_is_gold=no
51749   if test x"$with_gnu_ld" = x"yes"; then
51750     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51751 $as_echo_n "checking for ld version... " >&6; }
51752
51753     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51754       glibcxx_ld_is_gold=yes
51755     fi
51756     ldver=`$LD --version 2>/dev/null |
51757            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'`
51758
51759     glibcxx_gnu_ld_version=`echo $ldver | \
51760            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51761     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51762 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51763   fi
51764
51765   # Set --gc-sections.
51766   glibcxx_have_gc_sections=no
51767   if test "$glibcxx_ld_is_gold" = "yes"; then
51768     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51769       glibcxx_have_gc_sections=yes
51770     fi
51771   else
51772     glibcxx_gcsections_min_ld=21602
51773     if test x"$with_gnu_ld" = x"yes" &&
51774         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51775       glibcxx_have_gc_sections=yes
51776     fi
51777   fi
51778   if test "$glibcxx_have_gc_sections" = "yes"; then
51779     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
51780     # NB: This flag only works reliably after 2.16.1. Configure tests
51781     # for this are difficult, so hard wire a value that should work.
51782
51783     ac_test_CFLAGS="${CFLAGS+set}"
51784     ac_save_CFLAGS="$CFLAGS"
51785     CFLAGS='-Wl,--gc-sections'
51786
51787     # Check for -Wl,--gc-sections
51788     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51789 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51790     if test x$gcc_no_link = xyes; then
51791   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51792 fi
51793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51794 /* end confdefs.h.  */
51795  int one(void) { return 1; }
51796      int two(void) { return 2; }
51797
51798 int
51799 main ()
51800 {
51801  two();
51802   ;
51803   return 0;
51804 }
51805 _ACEOF
51806 if ac_fn_c_try_link "$LINENO"; then :
51807   ac_gcsections=yes
51808 else
51809   ac_gcsections=no
51810 fi
51811 rm -f core conftest.err conftest.$ac_objext \
51812     conftest$ac_exeext conftest.$ac_ext
51813     if test "$ac_gcsections" = "yes"; then
51814       rm -f conftest.c
51815       touch conftest.c
51816       if $CC -c conftest.c; then
51817         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51818            grep "Warning: gc-sections option ignored" > /dev/null; then
51819           ac_gcsections=no
51820         fi
51821       fi
51822       rm -f conftest.c conftest.o conftest
51823     fi
51824     if test "$ac_gcsections" = "yes"; then
51825       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51826     fi
51827     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51828 $as_echo "$ac_gcsections" >&6; }
51829
51830     if test "$ac_test_CFLAGS" = set; then
51831       CFLAGS="$ac_save_CFLAGS"
51832     else
51833       # this is the suspicious part
51834       CFLAGS=''
51835     fi
51836   fi
51837
51838   # Set -z,relro.
51839   # Note this is only for shared objects.
51840   ac_ld_relro=no
51841   if test x"$with_gnu_ld" = x"yes"; then
51842     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51843 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51844     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51845     if test -n "$cxx_z_relo"; then
51846       OPT_LDFLAGS="-Wl,-z,relro"
51847       ac_ld_relro=yes
51848     fi
51849     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51850 $as_echo "$ac_ld_relro" >&6; }
51851   fi
51852
51853   # Set linker optimization flags.
51854   if test x"$with_gnu_ld" = x"yes"; then
51855     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51856   fi
51857
51858
51859
51860
51861
51862   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51863   ac_save_CXXFLAGS="$CXXFLAGS"
51864   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51865
51866     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51867 $as_echo_n "checking for sin in -lm... " >&6; }
51868 if test "${ac_cv_lib_m_sin+set}" = set; then :
51869   $as_echo_n "(cached) " >&6
51870 else
51871   ac_check_lib_save_LIBS=$LIBS
51872 LIBS="-lm  $LIBS"
51873 if test x$gcc_no_link = xyes; then
51874   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51875 fi
51876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51877 /* end confdefs.h.  */
51878
51879 /* Override any GCC internal prototype to avoid an error.
51880    Use char because int might match the return type of a GCC
51881    builtin and then its argument prototype would still apply.  */
51882 #ifdef __cplusplus
51883 extern "C"
51884 #endif
51885 char sin ();
51886 int
51887 main ()
51888 {
51889 return sin ();
51890   ;
51891   return 0;
51892 }
51893 _ACEOF
51894 if ac_fn_c_try_link "$LINENO"; then :
51895   ac_cv_lib_m_sin=yes
51896 else
51897   ac_cv_lib_m_sin=no
51898 fi
51899 rm -f core conftest.err conftest.$ac_objext \
51900     conftest$ac_exeext conftest.$ac_ext
51901 LIBS=$ac_check_lib_save_LIBS
51902 fi
51903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51904 $as_echo "$ac_cv_lib_m_sin" >&6; }
51905 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51906   libm="-lm"
51907 fi
51908
51909   ac_save_LIBS="$LIBS"
51910   LIBS="$LIBS $libm"
51911
51912
51913
51914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51915 $as_echo_n "checking for isinf declaration... " >&6; }
51916   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51917     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51918   $as_echo_n "(cached) " >&6
51919 else
51920
51921
51922       ac_ext=cpp
51923 ac_cpp='$CXXCPP $CPPFLAGS'
51924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51927
51928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51929 /* end confdefs.h.  */
51930 #include <math.h>
51931                       #ifdef HAVE_IEEEFP_H
51932                       #include <ieeefp.h>
51933                       #endif
51934
51935 int
51936 main ()
51937 {
51938  isinf(0);
51939   ;
51940   return 0;
51941 }
51942 _ACEOF
51943 if ac_fn_cxx_try_compile "$LINENO"; then :
51944   glibcxx_cv_func_isinf_use=yes
51945 else
51946   glibcxx_cv_func_isinf_use=no
51947 fi
51948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51949       ac_ext=c
51950 ac_cpp='$CPP $CPPFLAGS'
51951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51954
51955
51956 fi
51957
51958   fi
51959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51960 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51961
51962   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51963     for ac_func in isinf
51964 do :
51965   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51966 if test "x$ac_cv_func_isinf" = x""yes; then :
51967   cat >>confdefs.h <<_ACEOF
51968 #define HAVE_ISINF 1
51969 _ACEOF
51970
51971 fi
51972 done
51973
51974   else
51975
51976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51977 $as_echo_n "checking for _isinf declaration... " >&6; }
51978   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51979     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51980   $as_echo_n "(cached) " >&6
51981 else
51982
51983
51984       ac_ext=cpp
51985 ac_cpp='$CXXCPP $CPPFLAGS'
51986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51989
51990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51991 /* end confdefs.h.  */
51992 #include <math.h>
51993                       #ifdef HAVE_IEEEFP_H
51994                       #include <ieeefp.h>
51995                       #endif
51996
51997 int
51998 main ()
51999 {
52000  _isinf(0);
52001   ;
52002   return 0;
52003 }
52004 _ACEOF
52005 if ac_fn_cxx_try_compile "$LINENO"; then :
52006   glibcxx_cv_func__isinf_use=yes
52007 else
52008   glibcxx_cv_func__isinf_use=no
52009 fi
52010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52011       ac_ext=c
52012 ac_cpp='$CPP $CPPFLAGS'
52013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52016
52017
52018 fi
52019
52020   fi
52021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52022 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52023
52024     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52025       for ac_func in _isinf
52026 do :
52027   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52028 if test "x$ac_cv_func__isinf" = x""yes; then :
52029   cat >>confdefs.h <<_ACEOF
52030 #define HAVE__ISINF 1
52031 _ACEOF
52032
52033 fi
52034 done
52035
52036     fi
52037   fi
52038
52039
52040
52041
52042
52043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52044 $as_echo_n "checking for isnan declaration... " >&6; }
52045   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52046     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52047   $as_echo_n "(cached) " >&6
52048 else
52049
52050
52051       ac_ext=cpp
52052 ac_cpp='$CXXCPP $CPPFLAGS'
52053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52056
52057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52058 /* end confdefs.h.  */
52059 #include <math.h>
52060                       #ifdef HAVE_IEEEFP_H
52061                       #include <ieeefp.h>
52062                       #endif
52063
52064 int
52065 main ()
52066 {
52067  isnan(0);
52068   ;
52069   return 0;
52070 }
52071 _ACEOF
52072 if ac_fn_cxx_try_compile "$LINENO"; then :
52073   glibcxx_cv_func_isnan_use=yes
52074 else
52075   glibcxx_cv_func_isnan_use=no
52076 fi
52077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52078       ac_ext=c
52079 ac_cpp='$CPP $CPPFLAGS'
52080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52083
52084
52085 fi
52086
52087   fi
52088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52089 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52090
52091   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52092     for ac_func in isnan
52093 do :
52094   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52095 if test "x$ac_cv_func_isnan" = x""yes; then :
52096   cat >>confdefs.h <<_ACEOF
52097 #define HAVE_ISNAN 1
52098 _ACEOF
52099
52100 fi
52101 done
52102
52103   else
52104
52105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52106 $as_echo_n "checking for _isnan declaration... " >&6; }
52107   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52108     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52109   $as_echo_n "(cached) " >&6
52110 else
52111
52112
52113       ac_ext=cpp
52114 ac_cpp='$CXXCPP $CPPFLAGS'
52115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52118
52119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52120 /* end confdefs.h.  */
52121 #include <math.h>
52122                       #ifdef HAVE_IEEEFP_H
52123                       #include <ieeefp.h>
52124                       #endif
52125
52126 int
52127 main ()
52128 {
52129  _isnan(0);
52130   ;
52131   return 0;
52132 }
52133 _ACEOF
52134 if ac_fn_cxx_try_compile "$LINENO"; then :
52135   glibcxx_cv_func__isnan_use=yes
52136 else
52137   glibcxx_cv_func__isnan_use=no
52138 fi
52139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52140       ac_ext=c
52141 ac_cpp='$CPP $CPPFLAGS'
52142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52145
52146
52147 fi
52148
52149   fi
52150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52151 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52152
52153     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52154       for ac_func in _isnan
52155 do :
52156   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52157 if test "x$ac_cv_func__isnan" = x""yes; then :
52158   cat >>confdefs.h <<_ACEOF
52159 #define HAVE__ISNAN 1
52160 _ACEOF
52161
52162 fi
52163 done
52164
52165     fi
52166   fi
52167
52168
52169
52170
52171
52172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52173 $as_echo_n "checking for finite declaration... " >&6; }
52174   if test x${glibcxx_cv_func_finite_use+set} != xset; then
52175     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52176   $as_echo_n "(cached) " >&6
52177 else
52178
52179
52180       ac_ext=cpp
52181 ac_cpp='$CXXCPP $CPPFLAGS'
52182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52185
52186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52187 /* end confdefs.h.  */
52188 #include <math.h>
52189                       #ifdef HAVE_IEEEFP_H
52190                       #include <ieeefp.h>
52191                       #endif
52192
52193 int
52194 main ()
52195 {
52196  finite(0);
52197   ;
52198   return 0;
52199 }
52200 _ACEOF
52201 if ac_fn_cxx_try_compile "$LINENO"; then :
52202   glibcxx_cv_func_finite_use=yes
52203 else
52204   glibcxx_cv_func_finite_use=no
52205 fi
52206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52207       ac_ext=c
52208 ac_cpp='$CPP $CPPFLAGS'
52209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52212
52213
52214 fi
52215
52216   fi
52217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52218 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52219
52220   if test x$glibcxx_cv_func_finite_use = x"yes"; then
52221     for ac_func in finite
52222 do :
52223   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52224 if test "x$ac_cv_func_finite" = x""yes; then :
52225   cat >>confdefs.h <<_ACEOF
52226 #define HAVE_FINITE 1
52227 _ACEOF
52228
52229 fi
52230 done
52231
52232   else
52233
52234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52235 $as_echo_n "checking for _finite declaration... " >&6; }
52236   if test x${glibcxx_cv_func__finite_use+set} != xset; then
52237     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52238   $as_echo_n "(cached) " >&6
52239 else
52240
52241
52242       ac_ext=cpp
52243 ac_cpp='$CXXCPP $CPPFLAGS'
52244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52247
52248       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52249 /* end confdefs.h.  */
52250 #include <math.h>
52251                       #ifdef HAVE_IEEEFP_H
52252                       #include <ieeefp.h>
52253                       #endif
52254
52255 int
52256 main ()
52257 {
52258  _finite(0);
52259   ;
52260   return 0;
52261 }
52262 _ACEOF
52263 if ac_fn_cxx_try_compile "$LINENO"; then :
52264   glibcxx_cv_func__finite_use=yes
52265 else
52266   glibcxx_cv_func__finite_use=no
52267 fi
52268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52269       ac_ext=c
52270 ac_cpp='$CPP $CPPFLAGS'
52271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52274
52275
52276 fi
52277
52278   fi
52279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52280 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52281
52282     if test x$glibcxx_cv_func__finite_use = x"yes"; then
52283       for ac_func in _finite
52284 do :
52285   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52286 if test "x$ac_cv_func__finite" = x""yes; then :
52287   cat >>confdefs.h <<_ACEOF
52288 #define HAVE__FINITE 1
52289 _ACEOF
52290
52291 fi
52292 done
52293
52294     fi
52295   fi
52296
52297
52298
52299
52300
52301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52302 $as_echo_n "checking for sincos declaration... " >&6; }
52303   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52304     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52305   $as_echo_n "(cached) " >&6
52306 else
52307
52308
52309       ac_ext=cpp
52310 ac_cpp='$CXXCPP $CPPFLAGS'
52311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52314
52315       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52316 /* end confdefs.h.  */
52317 #include <math.h>
52318 int
52319 main ()
52320 {
52321  sincos(0, 0, 0);
52322   ;
52323   return 0;
52324 }
52325 _ACEOF
52326 if ac_fn_cxx_try_compile "$LINENO"; then :
52327   glibcxx_cv_func_sincos_use=yes
52328 else
52329   glibcxx_cv_func_sincos_use=no
52330 fi
52331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52332       ac_ext=c
52333 ac_cpp='$CPP $CPPFLAGS'
52334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52337
52338
52339 fi
52340
52341   fi
52342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52343 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52344
52345   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52346     for ac_func in sincos
52347 do :
52348   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52349 if test "x$ac_cv_func_sincos" = x""yes; then :
52350   cat >>confdefs.h <<_ACEOF
52351 #define HAVE_SINCOS 1
52352 _ACEOF
52353
52354 fi
52355 done
52356
52357   else
52358
52359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52360 $as_echo_n "checking for _sincos declaration... " >&6; }
52361   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52362     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52363   $as_echo_n "(cached) " >&6
52364 else
52365
52366
52367       ac_ext=cpp
52368 ac_cpp='$CXXCPP $CPPFLAGS'
52369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52372
52373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52374 /* end confdefs.h.  */
52375 #include <math.h>
52376 int
52377 main ()
52378 {
52379  _sincos(0, 0, 0);
52380   ;
52381   return 0;
52382 }
52383 _ACEOF
52384 if ac_fn_cxx_try_compile "$LINENO"; then :
52385   glibcxx_cv_func__sincos_use=yes
52386 else
52387   glibcxx_cv_func__sincos_use=no
52388 fi
52389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52390       ac_ext=c
52391 ac_cpp='$CPP $CPPFLAGS'
52392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52395
52396
52397 fi
52398
52399   fi
52400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52401 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52402
52403     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52404       for ac_func in _sincos
52405 do :
52406   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52407 if test "x$ac_cv_func__sincos" = x""yes; then :
52408   cat >>confdefs.h <<_ACEOF
52409 #define HAVE__SINCOS 1
52410 _ACEOF
52411
52412 fi
52413 done
52414
52415     fi
52416   fi
52417
52418
52419
52420
52421
52422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52423 $as_echo_n "checking for fpclass declaration... " >&6; }
52424   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52425     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52426   $as_echo_n "(cached) " >&6
52427 else
52428
52429
52430       ac_ext=cpp
52431 ac_cpp='$CXXCPP $CPPFLAGS'
52432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52435
52436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52437 /* end confdefs.h.  */
52438 #include <math.h>
52439                       #ifdef HAVE_IEEEFP_H
52440                       #include <ieeefp.h>
52441                       #endif
52442
52443 int
52444 main ()
52445 {
52446  fpclass(0);
52447   ;
52448   return 0;
52449 }
52450 _ACEOF
52451 if ac_fn_cxx_try_compile "$LINENO"; then :
52452   glibcxx_cv_func_fpclass_use=yes
52453 else
52454   glibcxx_cv_func_fpclass_use=no
52455 fi
52456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52457       ac_ext=c
52458 ac_cpp='$CPP $CPPFLAGS'
52459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52462
52463
52464 fi
52465
52466   fi
52467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52468 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52469
52470   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52471     for ac_func in fpclass
52472 do :
52473   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52474 if test "x$ac_cv_func_fpclass" = x""yes; then :
52475   cat >>confdefs.h <<_ACEOF
52476 #define HAVE_FPCLASS 1
52477 _ACEOF
52478
52479 fi
52480 done
52481
52482   else
52483
52484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52485 $as_echo_n "checking for _fpclass declaration... " >&6; }
52486   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52487     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52488   $as_echo_n "(cached) " >&6
52489 else
52490
52491
52492       ac_ext=cpp
52493 ac_cpp='$CXXCPP $CPPFLAGS'
52494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52497
52498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52499 /* end confdefs.h.  */
52500 #include <math.h>
52501                       #ifdef HAVE_IEEEFP_H
52502                       #include <ieeefp.h>
52503                       #endif
52504
52505 int
52506 main ()
52507 {
52508  _fpclass(0);
52509   ;
52510   return 0;
52511 }
52512 _ACEOF
52513 if ac_fn_cxx_try_compile "$LINENO"; then :
52514   glibcxx_cv_func__fpclass_use=yes
52515 else
52516   glibcxx_cv_func__fpclass_use=no
52517 fi
52518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52519       ac_ext=c
52520 ac_cpp='$CPP $CPPFLAGS'
52521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52524
52525
52526 fi
52527
52528   fi
52529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52530 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52531
52532     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52533       for ac_func in _fpclass
52534 do :
52535   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52536 if test "x$ac_cv_func__fpclass" = x""yes; then :
52537   cat >>confdefs.h <<_ACEOF
52538 #define HAVE__FPCLASS 1
52539 _ACEOF
52540
52541 fi
52542 done
52543
52544     fi
52545   fi
52546
52547
52548
52549
52550
52551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52552 $as_echo_n "checking for qfpclass declaration... " >&6; }
52553   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52554     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52555   $as_echo_n "(cached) " >&6
52556 else
52557
52558
52559       ac_ext=cpp
52560 ac_cpp='$CXXCPP $CPPFLAGS'
52561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52564
52565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52566 /* end confdefs.h.  */
52567 #include <math.h>
52568                       #ifdef HAVE_IEEEFP_H
52569                       #include <ieeefp.h>
52570                       #endif
52571
52572 int
52573 main ()
52574 {
52575  qfpclass(0);
52576   ;
52577   return 0;
52578 }
52579 _ACEOF
52580 if ac_fn_cxx_try_compile "$LINENO"; then :
52581   glibcxx_cv_func_qfpclass_use=yes
52582 else
52583   glibcxx_cv_func_qfpclass_use=no
52584 fi
52585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52586       ac_ext=c
52587 ac_cpp='$CPP $CPPFLAGS'
52588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52591
52592
52593 fi
52594
52595   fi
52596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52597 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52598
52599   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52600     for ac_func in qfpclass
52601 do :
52602   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52603 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52604   cat >>confdefs.h <<_ACEOF
52605 #define HAVE_QFPCLASS 1
52606 _ACEOF
52607
52608 fi
52609 done
52610
52611   else
52612
52613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52614 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52615   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52616     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52617   $as_echo_n "(cached) " >&6
52618 else
52619
52620
52621       ac_ext=cpp
52622 ac_cpp='$CXXCPP $CPPFLAGS'
52623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52626
52627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52628 /* end confdefs.h.  */
52629 #include <math.h>
52630                       #ifdef HAVE_IEEEFP_H
52631                       #include <ieeefp.h>
52632                       #endif
52633
52634 int
52635 main ()
52636 {
52637  _qfpclass(0);
52638   ;
52639   return 0;
52640 }
52641 _ACEOF
52642 if ac_fn_cxx_try_compile "$LINENO"; then :
52643   glibcxx_cv_func__qfpclass_use=yes
52644 else
52645   glibcxx_cv_func__qfpclass_use=no
52646 fi
52647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52648       ac_ext=c
52649 ac_cpp='$CPP $CPPFLAGS'
52650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52653
52654
52655 fi
52656
52657   fi
52658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52659 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52660
52661     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52662       for ac_func in _qfpclass
52663 do :
52664   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52665 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52666   cat >>confdefs.h <<_ACEOF
52667 #define HAVE__QFPCLASS 1
52668 _ACEOF
52669
52670 fi
52671 done
52672
52673     fi
52674   fi
52675
52676
52677
52678
52679
52680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52681 $as_echo_n "checking for hypot declaration... " >&6; }
52682   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52683     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52684   $as_echo_n "(cached) " >&6
52685 else
52686
52687
52688       ac_ext=cpp
52689 ac_cpp='$CXXCPP $CPPFLAGS'
52690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52693
52694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52695 /* end confdefs.h.  */
52696 #include <math.h>
52697 int
52698 main ()
52699 {
52700  hypot(0, 0);
52701   ;
52702   return 0;
52703 }
52704 _ACEOF
52705 if ac_fn_cxx_try_compile "$LINENO"; then :
52706   glibcxx_cv_func_hypot_use=yes
52707 else
52708   glibcxx_cv_func_hypot_use=no
52709 fi
52710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52711       ac_ext=c
52712 ac_cpp='$CPP $CPPFLAGS'
52713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52716
52717
52718 fi
52719
52720   fi
52721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52722 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52723
52724   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52725     for ac_func in hypot
52726 do :
52727   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52728 if test "x$ac_cv_func_hypot" = x""yes; then :
52729   cat >>confdefs.h <<_ACEOF
52730 #define HAVE_HYPOT 1
52731 _ACEOF
52732
52733 fi
52734 done
52735
52736   else
52737
52738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52739 $as_echo_n "checking for _hypot declaration... " >&6; }
52740   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52741     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52742   $as_echo_n "(cached) " >&6
52743 else
52744
52745
52746       ac_ext=cpp
52747 ac_cpp='$CXXCPP $CPPFLAGS'
52748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52751
52752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52753 /* end confdefs.h.  */
52754 #include <math.h>
52755 int
52756 main ()
52757 {
52758  _hypot(0, 0);
52759   ;
52760   return 0;
52761 }
52762 _ACEOF
52763 if ac_fn_cxx_try_compile "$LINENO"; then :
52764   glibcxx_cv_func__hypot_use=yes
52765 else
52766   glibcxx_cv_func__hypot_use=no
52767 fi
52768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52769       ac_ext=c
52770 ac_cpp='$CPP $CPPFLAGS'
52771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52774
52775
52776 fi
52777
52778   fi
52779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52780 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52781
52782     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52783       for ac_func in _hypot
52784 do :
52785   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52786 if test "x$ac_cv_func__hypot" = x""yes; then :
52787   cat >>confdefs.h <<_ACEOF
52788 #define HAVE__HYPOT 1
52789 _ACEOF
52790
52791 fi
52792 done
52793
52794     fi
52795   fi
52796
52797
52798
52799
52800
52801     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52802 $as_echo_n "checking for float trig functions... " >&6; }
52803   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52804   $as_echo_n "(cached) " >&6
52805 else
52806
52807
52808     ac_ext=cpp
52809 ac_cpp='$CXXCPP $CPPFLAGS'
52810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52813
52814     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52815 /* end confdefs.h.  */
52816 #include <math.h>
52817 int
52818 main ()
52819 {
52820 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52821   ;
52822   return 0;
52823 }
52824 _ACEOF
52825 if ac_fn_cxx_try_compile "$LINENO"; then :
52826   glibcxx_cv_func_float_trig_use=yes
52827 else
52828   glibcxx_cv_func_float_trig_use=no
52829 fi
52830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52831     ac_ext=c
52832 ac_cpp='$CPP $CPPFLAGS'
52833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52836
52837 fi
52838
52839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52840 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52841   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52842     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52843 do :
52844   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52845 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52846 eval as_val=\$$as_ac_var
52847    if test "x$as_val" = x""yes; then :
52848   cat >>confdefs.h <<_ACEOF
52849 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52850 _ACEOF
52851
52852 fi
52853 done
52854
52855   else
52856     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52857 $as_echo_n "checking for _float trig functions... " >&6; }
52858     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52859   $as_echo_n "(cached) " >&6
52860 else
52861
52862
52863       ac_ext=cpp
52864 ac_cpp='$CXXCPP $CPPFLAGS'
52865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52868
52869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52870 /* end confdefs.h.  */
52871 #include <math.h>
52872 int
52873 main ()
52874 {
52875 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52876   ;
52877   return 0;
52878 }
52879 _ACEOF
52880 if ac_fn_cxx_try_compile "$LINENO"; then :
52881   glibcxx_cv_func__float_trig_use=yes
52882 else
52883   glibcxx_cv_func__float_trig_use=no
52884 fi
52885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52886       ac_ext=c
52887 ac_cpp='$CPP $CPPFLAGS'
52888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52891
52892 fi
52893
52894     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52895 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52896     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52897       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52898 do :
52899   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52900 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52901 eval as_val=\$$as_ac_var
52902    if test "x$as_val" = x""yes; then :
52903   cat >>confdefs.h <<_ACEOF
52904 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52905 _ACEOF
52906
52907 fi
52908 done
52909
52910     fi
52911   fi
52912
52913
52914
52915
52916
52917     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52918 $as_echo_n "checking for float round functions... " >&6; }
52919   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52920   $as_echo_n "(cached) " >&6
52921 else
52922
52923
52924     ac_ext=cpp
52925 ac_cpp='$CXXCPP $CPPFLAGS'
52926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52929
52930     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52931 /* end confdefs.h.  */
52932 #include <math.h>
52933 int
52934 main ()
52935 {
52936 ceilf (0); floorf (0);
52937   ;
52938   return 0;
52939 }
52940 _ACEOF
52941 if ac_fn_cxx_try_compile "$LINENO"; then :
52942   glibcxx_cv_func_float_round_use=yes
52943 else
52944   glibcxx_cv_func_float_round_use=no
52945 fi
52946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52947     ac_ext=c
52948 ac_cpp='$CPP $CPPFLAGS'
52949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52952
52953 fi
52954
52955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52956 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52957   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52958     for ac_func in ceilf floorf
52959 do :
52960   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52961 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52962 eval as_val=\$$as_ac_var
52963    if test "x$as_val" = x""yes; then :
52964   cat >>confdefs.h <<_ACEOF
52965 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52966 _ACEOF
52967
52968 fi
52969 done
52970
52971   else
52972     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52973 $as_echo_n "checking for _float round functions... " >&6; }
52974     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52975   $as_echo_n "(cached) " >&6
52976 else
52977
52978
52979       ac_ext=cpp
52980 ac_cpp='$CXXCPP $CPPFLAGS'
52981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52984
52985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52986 /* end confdefs.h.  */
52987 #include <math.h>
52988 int
52989 main ()
52990 {
52991 _ceilf (0); _floorf (0);
52992   ;
52993   return 0;
52994 }
52995 _ACEOF
52996 if ac_fn_cxx_try_compile "$LINENO"; then :
52997   glibcxx_cv_func__float_round_use=yes
52998 else
52999   glibcxx_cv_func__float_round_use=no
53000 fi
53001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53002       ac_ext=c
53003 ac_cpp='$CPP $CPPFLAGS'
53004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53007
53008 fi
53009
53010     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53011 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53012     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53013       for ac_func in _ceilf _floorf
53014 do :
53015   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53016 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53017 eval as_val=\$$as_ac_var
53018    if test "x$as_val" = x""yes; then :
53019   cat >>confdefs.h <<_ACEOF
53020 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53021 _ACEOF
53022
53023 fi
53024 done
53025
53026     fi
53027   fi
53028
53029
53030
53031
53032
53033
53034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53035 $as_echo_n "checking for expf declaration... " >&6; }
53036   if test x${glibcxx_cv_func_expf_use+set} != xset; then
53037     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53038   $as_echo_n "(cached) " >&6
53039 else
53040
53041
53042       ac_ext=cpp
53043 ac_cpp='$CXXCPP $CPPFLAGS'
53044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53047
53048       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53049 /* end confdefs.h.  */
53050 #include <math.h>
53051                       #ifdef HAVE_IEEEFP_H
53052                       #include <ieeefp.h>
53053                       #endif
53054
53055 int
53056 main ()
53057 {
53058  expf(0);
53059   ;
53060   return 0;
53061 }
53062 _ACEOF
53063 if ac_fn_cxx_try_compile "$LINENO"; then :
53064   glibcxx_cv_func_expf_use=yes
53065 else
53066   glibcxx_cv_func_expf_use=no
53067 fi
53068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53069       ac_ext=c
53070 ac_cpp='$CPP $CPPFLAGS'
53071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53074
53075
53076 fi
53077
53078   fi
53079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53080 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53081
53082   if test x$glibcxx_cv_func_expf_use = x"yes"; then
53083     for ac_func in expf
53084 do :
53085   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53086 if test "x$ac_cv_func_expf" = x""yes; then :
53087   cat >>confdefs.h <<_ACEOF
53088 #define HAVE_EXPF 1
53089 _ACEOF
53090
53091 fi
53092 done
53093
53094   else
53095
53096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53097 $as_echo_n "checking for _expf declaration... " >&6; }
53098   if test x${glibcxx_cv_func__expf_use+set} != xset; then
53099     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53100   $as_echo_n "(cached) " >&6
53101 else
53102
53103
53104       ac_ext=cpp
53105 ac_cpp='$CXXCPP $CPPFLAGS'
53106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53109
53110       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53111 /* end confdefs.h.  */
53112 #include <math.h>
53113                       #ifdef HAVE_IEEEFP_H
53114                       #include <ieeefp.h>
53115                       #endif
53116
53117 int
53118 main ()
53119 {
53120  _expf(0);
53121   ;
53122   return 0;
53123 }
53124 _ACEOF
53125 if ac_fn_cxx_try_compile "$LINENO"; then :
53126   glibcxx_cv_func__expf_use=yes
53127 else
53128   glibcxx_cv_func__expf_use=no
53129 fi
53130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53131       ac_ext=c
53132 ac_cpp='$CPP $CPPFLAGS'
53133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53136
53137
53138 fi
53139
53140   fi
53141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53142 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53143
53144     if test x$glibcxx_cv_func__expf_use = x"yes"; then
53145       for ac_func in _expf
53146 do :
53147   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53148 if test "x$ac_cv_func__expf" = x""yes; then :
53149   cat >>confdefs.h <<_ACEOF
53150 #define HAVE__EXPF 1
53151 _ACEOF
53152
53153 fi
53154 done
53155
53156     fi
53157   fi
53158
53159
53160
53161
53162
53163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53164 $as_echo_n "checking for isnanf declaration... " >&6; }
53165   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53166     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53167   $as_echo_n "(cached) " >&6
53168 else
53169
53170
53171       ac_ext=cpp
53172 ac_cpp='$CXXCPP $CPPFLAGS'
53173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53176
53177       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53178 /* end confdefs.h.  */
53179 #include <math.h>
53180                       #ifdef HAVE_IEEEFP_H
53181                       #include <ieeefp.h>
53182                       #endif
53183
53184 int
53185 main ()
53186 {
53187  isnanf(0);
53188   ;
53189   return 0;
53190 }
53191 _ACEOF
53192 if ac_fn_cxx_try_compile "$LINENO"; then :
53193   glibcxx_cv_func_isnanf_use=yes
53194 else
53195   glibcxx_cv_func_isnanf_use=no
53196 fi
53197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53198       ac_ext=c
53199 ac_cpp='$CPP $CPPFLAGS'
53200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53203
53204
53205 fi
53206
53207   fi
53208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53209 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53210
53211   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53212     for ac_func in isnanf
53213 do :
53214   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53215 if test "x$ac_cv_func_isnanf" = x""yes; then :
53216   cat >>confdefs.h <<_ACEOF
53217 #define HAVE_ISNANF 1
53218 _ACEOF
53219
53220 fi
53221 done
53222
53223   else
53224
53225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53226 $as_echo_n "checking for _isnanf declaration... " >&6; }
53227   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53228     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53229   $as_echo_n "(cached) " >&6
53230 else
53231
53232
53233       ac_ext=cpp
53234 ac_cpp='$CXXCPP $CPPFLAGS'
53235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53238
53239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53240 /* end confdefs.h.  */
53241 #include <math.h>
53242                       #ifdef HAVE_IEEEFP_H
53243                       #include <ieeefp.h>
53244                       #endif
53245
53246 int
53247 main ()
53248 {
53249  _isnanf(0);
53250   ;
53251   return 0;
53252 }
53253 _ACEOF
53254 if ac_fn_cxx_try_compile "$LINENO"; then :
53255   glibcxx_cv_func__isnanf_use=yes
53256 else
53257   glibcxx_cv_func__isnanf_use=no
53258 fi
53259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53260       ac_ext=c
53261 ac_cpp='$CPP $CPPFLAGS'
53262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53265
53266
53267 fi
53268
53269   fi
53270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53271 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53272
53273     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53274       for ac_func in _isnanf
53275 do :
53276   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53277 if test "x$ac_cv_func__isnanf" = x""yes; then :
53278   cat >>confdefs.h <<_ACEOF
53279 #define HAVE__ISNANF 1
53280 _ACEOF
53281
53282 fi
53283 done
53284
53285     fi
53286   fi
53287
53288
53289
53290
53291
53292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53293 $as_echo_n "checking for isinff declaration... " >&6; }
53294   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53295     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53296   $as_echo_n "(cached) " >&6
53297 else
53298
53299
53300       ac_ext=cpp
53301 ac_cpp='$CXXCPP $CPPFLAGS'
53302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53305
53306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53307 /* end confdefs.h.  */
53308 #include <math.h>
53309                       #ifdef HAVE_IEEEFP_H
53310                       #include <ieeefp.h>
53311                       #endif
53312
53313 int
53314 main ()
53315 {
53316  isinff(0);
53317   ;
53318   return 0;
53319 }
53320 _ACEOF
53321 if ac_fn_cxx_try_compile "$LINENO"; then :
53322   glibcxx_cv_func_isinff_use=yes
53323 else
53324   glibcxx_cv_func_isinff_use=no
53325 fi
53326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53327       ac_ext=c
53328 ac_cpp='$CPP $CPPFLAGS'
53329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53332
53333
53334 fi
53335
53336   fi
53337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53338 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53339
53340   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53341     for ac_func in isinff
53342 do :
53343   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53344 if test "x$ac_cv_func_isinff" = x""yes; then :
53345   cat >>confdefs.h <<_ACEOF
53346 #define HAVE_ISINFF 1
53347 _ACEOF
53348
53349 fi
53350 done
53351
53352   else
53353
53354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53355 $as_echo_n "checking for _isinff declaration... " >&6; }
53356   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53357     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53358   $as_echo_n "(cached) " >&6
53359 else
53360
53361
53362       ac_ext=cpp
53363 ac_cpp='$CXXCPP $CPPFLAGS'
53364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53367
53368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53369 /* end confdefs.h.  */
53370 #include <math.h>
53371                       #ifdef HAVE_IEEEFP_H
53372                       #include <ieeefp.h>
53373                       #endif
53374
53375 int
53376 main ()
53377 {
53378  _isinff(0);
53379   ;
53380   return 0;
53381 }
53382 _ACEOF
53383 if ac_fn_cxx_try_compile "$LINENO"; then :
53384   glibcxx_cv_func__isinff_use=yes
53385 else
53386   glibcxx_cv_func__isinff_use=no
53387 fi
53388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53389       ac_ext=c
53390 ac_cpp='$CPP $CPPFLAGS'
53391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53394
53395
53396 fi
53397
53398   fi
53399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53400 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53401
53402     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53403       for ac_func in _isinff
53404 do :
53405   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53406 if test "x$ac_cv_func__isinff" = x""yes; then :
53407   cat >>confdefs.h <<_ACEOF
53408 #define HAVE__ISINFF 1
53409 _ACEOF
53410
53411 fi
53412 done
53413
53414     fi
53415   fi
53416
53417
53418
53419
53420
53421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53422 $as_echo_n "checking for atan2f declaration... " >&6; }
53423   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53424     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53425   $as_echo_n "(cached) " >&6
53426 else
53427
53428
53429       ac_ext=cpp
53430 ac_cpp='$CXXCPP $CPPFLAGS'
53431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53434
53435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53436 /* end confdefs.h.  */
53437 #include <math.h>
53438 int
53439 main ()
53440 {
53441  atan2f(0, 0);
53442   ;
53443   return 0;
53444 }
53445 _ACEOF
53446 if ac_fn_cxx_try_compile "$LINENO"; then :
53447   glibcxx_cv_func_atan2f_use=yes
53448 else
53449   glibcxx_cv_func_atan2f_use=no
53450 fi
53451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53452       ac_ext=c
53453 ac_cpp='$CPP $CPPFLAGS'
53454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53457
53458
53459 fi
53460
53461   fi
53462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53463 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53464
53465   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53466     for ac_func in atan2f
53467 do :
53468   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53469 if test "x$ac_cv_func_atan2f" = x""yes; then :
53470   cat >>confdefs.h <<_ACEOF
53471 #define HAVE_ATAN2F 1
53472 _ACEOF
53473
53474 fi
53475 done
53476
53477   else
53478
53479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53480 $as_echo_n "checking for _atan2f declaration... " >&6; }
53481   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53482     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53483   $as_echo_n "(cached) " >&6
53484 else
53485
53486
53487       ac_ext=cpp
53488 ac_cpp='$CXXCPP $CPPFLAGS'
53489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53492
53493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53494 /* end confdefs.h.  */
53495 #include <math.h>
53496 int
53497 main ()
53498 {
53499  _atan2f(0, 0);
53500   ;
53501   return 0;
53502 }
53503 _ACEOF
53504 if ac_fn_cxx_try_compile "$LINENO"; then :
53505   glibcxx_cv_func__atan2f_use=yes
53506 else
53507   glibcxx_cv_func__atan2f_use=no
53508 fi
53509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53510       ac_ext=c
53511 ac_cpp='$CPP $CPPFLAGS'
53512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53515
53516
53517 fi
53518
53519   fi
53520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53521 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53522
53523     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53524       for ac_func in _atan2f
53525 do :
53526   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53527 if test "x$ac_cv_func__atan2f" = x""yes; then :
53528   cat >>confdefs.h <<_ACEOF
53529 #define HAVE__ATAN2F 1
53530 _ACEOF
53531
53532 fi
53533 done
53534
53535     fi
53536   fi
53537
53538
53539
53540
53541
53542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53543 $as_echo_n "checking for fabsf declaration... " >&6; }
53544   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53545     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53546   $as_echo_n "(cached) " >&6
53547 else
53548
53549
53550       ac_ext=cpp
53551 ac_cpp='$CXXCPP $CPPFLAGS'
53552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53555
53556       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53557 /* end confdefs.h.  */
53558 #include <math.h>
53559                       #ifdef HAVE_IEEEFP_H
53560                       #include <ieeefp.h>
53561                       #endif
53562
53563 int
53564 main ()
53565 {
53566  fabsf(0);
53567   ;
53568   return 0;
53569 }
53570 _ACEOF
53571 if ac_fn_cxx_try_compile "$LINENO"; then :
53572   glibcxx_cv_func_fabsf_use=yes
53573 else
53574   glibcxx_cv_func_fabsf_use=no
53575 fi
53576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53577       ac_ext=c
53578 ac_cpp='$CPP $CPPFLAGS'
53579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53582
53583
53584 fi
53585
53586   fi
53587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53588 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53589
53590   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53591     for ac_func in fabsf
53592 do :
53593   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53594 if test "x$ac_cv_func_fabsf" = x""yes; then :
53595   cat >>confdefs.h <<_ACEOF
53596 #define HAVE_FABSF 1
53597 _ACEOF
53598
53599 fi
53600 done
53601
53602   else
53603
53604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53605 $as_echo_n "checking for _fabsf declaration... " >&6; }
53606   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53607     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53608   $as_echo_n "(cached) " >&6
53609 else
53610
53611
53612       ac_ext=cpp
53613 ac_cpp='$CXXCPP $CPPFLAGS'
53614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53617
53618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53619 /* end confdefs.h.  */
53620 #include <math.h>
53621                       #ifdef HAVE_IEEEFP_H
53622                       #include <ieeefp.h>
53623                       #endif
53624
53625 int
53626 main ()
53627 {
53628  _fabsf(0);
53629   ;
53630   return 0;
53631 }
53632 _ACEOF
53633 if ac_fn_cxx_try_compile "$LINENO"; then :
53634   glibcxx_cv_func__fabsf_use=yes
53635 else
53636   glibcxx_cv_func__fabsf_use=no
53637 fi
53638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53639       ac_ext=c
53640 ac_cpp='$CPP $CPPFLAGS'
53641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53644
53645
53646 fi
53647
53648   fi
53649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53650 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53651
53652     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53653       for ac_func in _fabsf
53654 do :
53655   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53656 if test "x$ac_cv_func__fabsf" = x""yes; then :
53657   cat >>confdefs.h <<_ACEOF
53658 #define HAVE__FABSF 1
53659 _ACEOF
53660
53661 fi
53662 done
53663
53664     fi
53665   fi
53666
53667
53668
53669
53670
53671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53672 $as_echo_n "checking for fmodf declaration... " >&6; }
53673   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53674     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53675   $as_echo_n "(cached) " >&6
53676 else
53677
53678
53679       ac_ext=cpp
53680 ac_cpp='$CXXCPP $CPPFLAGS'
53681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53684
53685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53686 /* end confdefs.h.  */
53687 #include <math.h>
53688 int
53689 main ()
53690 {
53691  fmodf(0, 0);
53692   ;
53693   return 0;
53694 }
53695 _ACEOF
53696 if ac_fn_cxx_try_compile "$LINENO"; then :
53697   glibcxx_cv_func_fmodf_use=yes
53698 else
53699   glibcxx_cv_func_fmodf_use=no
53700 fi
53701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53702       ac_ext=c
53703 ac_cpp='$CPP $CPPFLAGS'
53704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53707
53708
53709 fi
53710
53711   fi
53712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53713 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53714
53715   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53716     for ac_func in fmodf
53717 do :
53718   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53719 if test "x$ac_cv_func_fmodf" = x""yes; then :
53720   cat >>confdefs.h <<_ACEOF
53721 #define HAVE_FMODF 1
53722 _ACEOF
53723
53724 fi
53725 done
53726
53727   else
53728
53729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53730 $as_echo_n "checking for _fmodf declaration... " >&6; }
53731   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53732     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53733   $as_echo_n "(cached) " >&6
53734 else
53735
53736
53737       ac_ext=cpp
53738 ac_cpp='$CXXCPP $CPPFLAGS'
53739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53742
53743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53744 /* end confdefs.h.  */
53745 #include <math.h>
53746 int
53747 main ()
53748 {
53749  _fmodf(0, 0);
53750   ;
53751   return 0;
53752 }
53753 _ACEOF
53754 if ac_fn_cxx_try_compile "$LINENO"; then :
53755   glibcxx_cv_func__fmodf_use=yes
53756 else
53757   glibcxx_cv_func__fmodf_use=no
53758 fi
53759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53760       ac_ext=c
53761 ac_cpp='$CPP $CPPFLAGS'
53762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53765
53766
53767 fi
53768
53769   fi
53770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53771 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53772
53773     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53774       for ac_func in _fmodf
53775 do :
53776   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53777 if test "x$ac_cv_func__fmodf" = x""yes; then :
53778   cat >>confdefs.h <<_ACEOF
53779 #define HAVE__FMODF 1
53780 _ACEOF
53781
53782 fi
53783 done
53784
53785     fi
53786   fi
53787
53788
53789
53790
53791
53792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53793 $as_echo_n "checking for frexpf declaration... " >&6; }
53794   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53795     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53796   $as_echo_n "(cached) " >&6
53797 else
53798
53799
53800       ac_ext=cpp
53801 ac_cpp='$CXXCPP $CPPFLAGS'
53802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53805
53806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53807 /* end confdefs.h.  */
53808 #include <math.h>
53809 int
53810 main ()
53811 {
53812  frexpf(0, 0);
53813   ;
53814   return 0;
53815 }
53816 _ACEOF
53817 if ac_fn_cxx_try_compile "$LINENO"; then :
53818   glibcxx_cv_func_frexpf_use=yes
53819 else
53820   glibcxx_cv_func_frexpf_use=no
53821 fi
53822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53823       ac_ext=c
53824 ac_cpp='$CPP $CPPFLAGS'
53825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53828
53829
53830 fi
53831
53832   fi
53833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53834 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53835
53836   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53837     for ac_func in frexpf
53838 do :
53839   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53840 if test "x$ac_cv_func_frexpf" = x""yes; then :
53841   cat >>confdefs.h <<_ACEOF
53842 #define HAVE_FREXPF 1
53843 _ACEOF
53844
53845 fi
53846 done
53847
53848   else
53849
53850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53851 $as_echo_n "checking for _frexpf declaration... " >&6; }
53852   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53853     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53854   $as_echo_n "(cached) " >&6
53855 else
53856
53857
53858       ac_ext=cpp
53859 ac_cpp='$CXXCPP $CPPFLAGS'
53860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53863
53864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53865 /* end confdefs.h.  */
53866 #include <math.h>
53867 int
53868 main ()
53869 {
53870  _frexpf(0, 0);
53871   ;
53872   return 0;
53873 }
53874 _ACEOF
53875 if ac_fn_cxx_try_compile "$LINENO"; then :
53876   glibcxx_cv_func__frexpf_use=yes
53877 else
53878   glibcxx_cv_func__frexpf_use=no
53879 fi
53880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53881       ac_ext=c
53882 ac_cpp='$CPP $CPPFLAGS'
53883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53886
53887
53888 fi
53889
53890   fi
53891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53892 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53893
53894     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53895       for ac_func in _frexpf
53896 do :
53897   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53898 if test "x$ac_cv_func__frexpf" = x""yes; then :
53899   cat >>confdefs.h <<_ACEOF
53900 #define HAVE__FREXPF 1
53901 _ACEOF
53902
53903 fi
53904 done
53905
53906     fi
53907   fi
53908
53909
53910
53911
53912
53913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53914 $as_echo_n "checking for hypotf declaration... " >&6; }
53915   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53916     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53917   $as_echo_n "(cached) " >&6
53918 else
53919
53920
53921       ac_ext=cpp
53922 ac_cpp='$CXXCPP $CPPFLAGS'
53923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53926
53927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53928 /* end confdefs.h.  */
53929 #include <math.h>
53930 int
53931 main ()
53932 {
53933  hypotf(0, 0);
53934   ;
53935   return 0;
53936 }
53937 _ACEOF
53938 if ac_fn_cxx_try_compile "$LINENO"; then :
53939   glibcxx_cv_func_hypotf_use=yes
53940 else
53941   glibcxx_cv_func_hypotf_use=no
53942 fi
53943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53944       ac_ext=c
53945 ac_cpp='$CPP $CPPFLAGS'
53946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53949
53950
53951 fi
53952
53953   fi
53954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53955 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53956
53957   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53958     for ac_func in hypotf
53959 do :
53960   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53961 if test "x$ac_cv_func_hypotf" = x""yes; then :
53962   cat >>confdefs.h <<_ACEOF
53963 #define HAVE_HYPOTF 1
53964 _ACEOF
53965
53966 fi
53967 done
53968
53969   else
53970
53971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53972 $as_echo_n "checking for _hypotf declaration... " >&6; }
53973   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53974     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53975   $as_echo_n "(cached) " >&6
53976 else
53977
53978
53979       ac_ext=cpp
53980 ac_cpp='$CXXCPP $CPPFLAGS'
53981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53984
53985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53986 /* end confdefs.h.  */
53987 #include <math.h>
53988 int
53989 main ()
53990 {
53991  _hypotf(0, 0);
53992   ;
53993   return 0;
53994 }
53995 _ACEOF
53996 if ac_fn_cxx_try_compile "$LINENO"; then :
53997   glibcxx_cv_func__hypotf_use=yes
53998 else
53999   glibcxx_cv_func__hypotf_use=no
54000 fi
54001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54002       ac_ext=c
54003 ac_cpp='$CPP $CPPFLAGS'
54004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54007
54008
54009 fi
54010
54011   fi
54012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54013 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54014
54015     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54016       for ac_func in _hypotf
54017 do :
54018   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54019 if test "x$ac_cv_func__hypotf" = x""yes; then :
54020   cat >>confdefs.h <<_ACEOF
54021 #define HAVE__HYPOTF 1
54022 _ACEOF
54023
54024 fi
54025 done
54026
54027     fi
54028   fi
54029
54030
54031
54032
54033
54034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54035 $as_echo_n "checking for ldexpf declaration... " >&6; }
54036   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54037     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54038   $as_echo_n "(cached) " >&6
54039 else
54040
54041
54042       ac_ext=cpp
54043 ac_cpp='$CXXCPP $CPPFLAGS'
54044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54047
54048       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54049 /* end confdefs.h.  */
54050 #include <math.h>
54051 int
54052 main ()
54053 {
54054  ldexpf(0, 0);
54055   ;
54056   return 0;
54057 }
54058 _ACEOF
54059 if ac_fn_cxx_try_compile "$LINENO"; then :
54060   glibcxx_cv_func_ldexpf_use=yes
54061 else
54062   glibcxx_cv_func_ldexpf_use=no
54063 fi
54064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54065       ac_ext=c
54066 ac_cpp='$CPP $CPPFLAGS'
54067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54070
54071
54072 fi
54073
54074   fi
54075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54076 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54077
54078   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54079     for ac_func in ldexpf
54080 do :
54081   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54082 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54083   cat >>confdefs.h <<_ACEOF
54084 #define HAVE_LDEXPF 1
54085 _ACEOF
54086
54087 fi
54088 done
54089
54090   else
54091
54092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54093 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54094   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54095     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54096   $as_echo_n "(cached) " >&6
54097 else
54098
54099
54100       ac_ext=cpp
54101 ac_cpp='$CXXCPP $CPPFLAGS'
54102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54105
54106       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54107 /* end confdefs.h.  */
54108 #include <math.h>
54109 int
54110 main ()
54111 {
54112  _ldexpf(0, 0);
54113   ;
54114   return 0;
54115 }
54116 _ACEOF
54117 if ac_fn_cxx_try_compile "$LINENO"; then :
54118   glibcxx_cv_func__ldexpf_use=yes
54119 else
54120   glibcxx_cv_func__ldexpf_use=no
54121 fi
54122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54123       ac_ext=c
54124 ac_cpp='$CPP $CPPFLAGS'
54125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54128
54129
54130 fi
54131
54132   fi
54133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54134 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54135
54136     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54137       for ac_func in _ldexpf
54138 do :
54139   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54140 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54141   cat >>confdefs.h <<_ACEOF
54142 #define HAVE__LDEXPF 1
54143 _ACEOF
54144
54145 fi
54146 done
54147
54148     fi
54149   fi
54150
54151
54152
54153
54154
54155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54156 $as_echo_n "checking for logf declaration... " >&6; }
54157   if test x${glibcxx_cv_func_logf_use+set} != xset; then
54158     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54159   $as_echo_n "(cached) " >&6
54160 else
54161
54162
54163       ac_ext=cpp
54164 ac_cpp='$CXXCPP $CPPFLAGS'
54165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54168
54169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54170 /* end confdefs.h.  */
54171 #include <math.h>
54172                       #ifdef HAVE_IEEEFP_H
54173                       #include <ieeefp.h>
54174                       #endif
54175
54176 int
54177 main ()
54178 {
54179  logf(0);
54180   ;
54181   return 0;
54182 }
54183 _ACEOF
54184 if ac_fn_cxx_try_compile "$LINENO"; then :
54185   glibcxx_cv_func_logf_use=yes
54186 else
54187   glibcxx_cv_func_logf_use=no
54188 fi
54189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54190       ac_ext=c
54191 ac_cpp='$CPP $CPPFLAGS'
54192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54195
54196
54197 fi
54198
54199   fi
54200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54201 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54202
54203   if test x$glibcxx_cv_func_logf_use = x"yes"; then
54204     for ac_func in logf
54205 do :
54206   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54207 if test "x$ac_cv_func_logf" = x""yes; then :
54208   cat >>confdefs.h <<_ACEOF
54209 #define HAVE_LOGF 1
54210 _ACEOF
54211
54212 fi
54213 done
54214
54215   else
54216
54217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54218 $as_echo_n "checking for _logf declaration... " >&6; }
54219   if test x${glibcxx_cv_func__logf_use+set} != xset; then
54220     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54221   $as_echo_n "(cached) " >&6
54222 else
54223
54224
54225       ac_ext=cpp
54226 ac_cpp='$CXXCPP $CPPFLAGS'
54227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54230
54231       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54232 /* end confdefs.h.  */
54233 #include <math.h>
54234                       #ifdef HAVE_IEEEFP_H
54235                       #include <ieeefp.h>
54236                       #endif
54237
54238 int
54239 main ()
54240 {
54241  _logf(0);
54242   ;
54243   return 0;
54244 }
54245 _ACEOF
54246 if ac_fn_cxx_try_compile "$LINENO"; then :
54247   glibcxx_cv_func__logf_use=yes
54248 else
54249   glibcxx_cv_func__logf_use=no
54250 fi
54251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54252       ac_ext=c
54253 ac_cpp='$CPP $CPPFLAGS'
54254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54257
54258
54259 fi
54260
54261   fi
54262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54263 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54264
54265     if test x$glibcxx_cv_func__logf_use = x"yes"; then
54266       for ac_func in _logf
54267 do :
54268   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54269 if test "x$ac_cv_func__logf" = x""yes; then :
54270   cat >>confdefs.h <<_ACEOF
54271 #define HAVE__LOGF 1
54272 _ACEOF
54273
54274 fi
54275 done
54276
54277     fi
54278   fi
54279
54280
54281
54282
54283
54284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54285 $as_echo_n "checking for log10f declaration... " >&6; }
54286   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54287     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54288   $as_echo_n "(cached) " >&6
54289 else
54290
54291
54292       ac_ext=cpp
54293 ac_cpp='$CXXCPP $CPPFLAGS'
54294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54297
54298       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54299 /* end confdefs.h.  */
54300 #include <math.h>
54301                       #ifdef HAVE_IEEEFP_H
54302                       #include <ieeefp.h>
54303                       #endif
54304
54305 int
54306 main ()
54307 {
54308  log10f(0);
54309   ;
54310   return 0;
54311 }
54312 _ACEOF
54313 if ac_fn_cxx_try_compile "$LINENO"; then :
54314   glibcxx_cv_func_log10f_use=yes
54315 else
54316   glibcxx_cv_func_log10f_use=no
54317 fi
54318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54319       ac_ext=c
54320 ac_cpp='$CPP $CPPFLAGS'
54321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54324
54325
54326 fi
54327
54328   fi
54329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54330 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54331
54332   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54333     for ac_func in log10f
54334 do :
54335   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54336 if test "x$ac_cv_func_log10f" = x""yes; then :
54337   cat >>confdefs.h <<_ACEOF
54338 #define HAVE_LOG10F 1
54339 _ACEOF
54340
54341 fi
54342 done
54343
54344   else
54345
54346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54347 $as_echo_n "checking for _log10f declaration... " >&6; }
54348   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54349     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54350   $as_echo_n "(cached) " >&6
54351 else
54352
54353
54354       ac_ext=cpp
54355 ac_cpp='$CXXCPP $CPPFLAGS'
54356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54359
54360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54361 /* end confdefs.h.  */
54362 #include <math.h>
54363                       #ifdef HAVE_IEEEFP_H
54364                       #include <ieeefp.h>
54365                       #endif
54366
54367 int
54368 main ()
54369 {
54370  _log10f(0);
54371   ;
54372   return 0;
54373 }
54374 _ACEOF
54375 if ac_fn_cxx_try_compile "$LINENO"; then :
54376   glibcxx_cv_func__log10f_use=yes
54377 else
54378   glibcxx_cv_func__log10f_use=no
54379 fi
54380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54381       ac_ext=c
54382 ac_cpp='$CPP $CPPFLAGS'
54383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54386
54387
54388 fi
54389
54390   fi
54391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54392 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54393
54394     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54395       for ac_func in _log10f
54396 do :
54397   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54398 if test "x$ac_cv_func__log10f" = x""yes; then :
54399   cat >>confdefs.h <<_ACEOF
54400 #define HAVE__LOG10F 1
54401 _ACEOF
54402
54403 fi
54404 done
54405
54406     fi
54407   fi
54408
54409
54410
54411
54412
54413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54414 $as_echo_n "checking for modff declaration... " >&6; }
54415   if test x${glibcxx_cv_func_modff_use+set} != xset; then
54416     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54417   $as_echo_n "(cached) " >&6
54418 else
54419
54420
54421       ac_ext=cpp
54422 ac_cpp='$CXXCPP $CPPFLAGS'
54423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54426
54427       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54428 /* end confdefs.h.  */
54429 #include <math.h>
54430 int
54431 main ()
54432 {
54433  modff(0, 0);
54434   ;
54435   return 0;
54436 }
54437 _ACEOF
54438 if ac_fn_cxx_try_compile "$LINENO"; then :
54439   glibcxx_cv_func_modff_use=yes
54440 else
54441   glibcxx_cv_func_modff_use=no
54442 fi
54443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54444       ac_ext=c
54445 ac_cpp='$CPP $CPPFLAGS'
54446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54449
54450
54451 fi
54452
54453   fi
54454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54455 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54456
54457   if test x$glibcxx_cv_func_modff_use = x"yes"; then
54458     for ac_func in modff
54459 do :
54460   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54461 if test "x$ac_cv_func_modff" = x""yes; then :
54462   cat >>confdefs.h <<_ACEOF
54463 #define HAVE_MODFF 1
54464 _ACEOF
54465
54466 fi
54467 done
54468
54469   else
54470
54471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54472 $as_echo_n "checking for _modff declaration... " >&6; }
54473   if test x${glibcxx_cv_func__modff_use+set} != xset; then
54474     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54475   $as_echo_n "(cached) " >&6
54476 else
54477
54478
54479       ac_ext=cpp
54480 ac_cpp='$CXXCPP $CPPFLAGS'
54481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54484
54485       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54486 /* end confdefs.h.  */
54487 #include <math.h>
54488 int
54489 main ()
54490 {
54491  _modff(0, 0);
54492   ;
54493   return 0;
54494 }
54495 _ACEOF
54496 if ac_fn_cxx_try_compile "$LINENO"; then :
54497   glibcxx_cv_func__modff_use=yes
54498 else
54499   glibcxx_cv_func__modff_use=no
54500 fi
54501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54502       ac_ext=c
54503 ac_cpp='$CPP $CPPFLAGS'
54504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54507
54508
54509 fi
54510
54511   fi
54512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54513 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54514
54515     if test x$glibcxx_cv_func__modff_use = x"yes"; then
54516       for ac_func in _modff
54517 do :
54518   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54519 if test "x$ac_cv_func__modff" = x""yes; then :
54520   cat >>confdefs.h <<_ACEOF
54521 #define HAVE__MODFF 1
54522 _ACEOF
54523
54524 fi
54525 done
54526
54527     fi
54528   fi
54529
54530
54531
54532
54533
54534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54535 $as_echo_n "checking for modf declaration... " >&6; }
54536   if test x${glibcxx_cv_func_modf_use+set} != xset; then
54537     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54538   $as_echo_n "(cached) " >&6
54539 else
54540
54541
54542       ac_ext=cpp
54543 ac_cpp='$CXXCPP $CPPFLAGS'
54544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54547
54548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54549 /* end confdefs.h.  */
54550 #include <math.h>
54551 int
54552 main ()
54553 {
54554  modf(0, 0);
54555   ;
54556   return 0;
54557 }
54558 _ACEOF
54559 if ac_fn_cxx_try_compile "$LINENO"; then :
54560   glibcxx_cv_func_modf_use=yes
54561 else
54562   glibcxx_cv_func_modf_use=no
54563 fi
54564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54565       ac_ext=c
54566 ac_cpp='$CPP $CPPFLAGS'
54567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54570
54571
54572 fi
54573
54574   fi
54575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54576 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54577
54578   if test x$glibcxx_cv_func_modf_use = x"yes"; then
54579     for ac_func in modf
54580 do :
54581   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54582 if test "x$ac_cv_func_modf" = x""yes; then :
54583   cat >>confdefs.h <<_ACEOF
54584 #define HAVE_MODF 1
54585 _ACEOF
54586
54587 fi
54588 done
54589
54590   else
54591
54592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54593 $as_echo_n "checking for _modf declaration... " >&6; }
54594   if test x${glibcxx_cv_func__modf_use+set} != xset; then
54595     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54596   $as_echo_n "(cached) " >&6
54597 else
54598
54599
54600       ac_ext=cpp
54601 ac_cpp='$CXXCPP $CPPFLAGS'
54602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54605
54606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54607 /* end confdefs.h.  */
54608 #include <math.h>
54609 int
54610 main ()
54611 {
54612  _modf(0, 0);
54613   ;
54614   return 0;
54615 }
54616 _ACEOF
54617 if ac_fn_cxx_try_compile "$LINENO"; then :
54618   glibcxx_cv_func__modf_use=yes
54619 else
54620   glibcxx_cv_func__modf_use=no
54621 fi
54622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54623       ac_ext=c
54624 ac_cpp='$CPP $CPPFLAGS'
54625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54628
54629
54630 fi
54631
54632   fi
54633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54634 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54635
54636     if test x$glibcxx_cv_func__modf_use = x"yes"; then
54637       for ac_func in _modf
54638 do :
54639   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54640 if test "x$ac_cv_func__modf" = x""yes; then :
54641   cat >>confdefs.h <<_ACEOF
54642 #define HAVE__MODF 1
54643 _ACEOF
54644
54645 fi
54646 done
54647
54648     fi
54649   fi
54650
54651
54652
54653
54654
54655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54656 $as_echo_n "checking for powf declaration... " >&6; }
54657   if test x${glibcxx_cv_func_powf_use+set} != xset; then
54658     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54659   $as_echo_n "(cached) " >&6
54660 else
54661
54662
54663       ac_ext=cpp
54664 ac_cpp='$CXXCPP $CPPFLAGS'
54665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54668
54669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54670 /* end confdefs.h.  */
54671 #include <math.h>
54672 int
54673 main ()
54674 {
54675  powf(0, 0);
54676   ;
54677   return 0;
54678 }
54679 _ACEOF
54680 if ac_fn_cxx_try_compile "$LINENO"; then :
54681   glibcxx_cv_func_powf_use=yes
54682 else
54683   glibcxx_cv_func_powf_use=no
54684 fi
54685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54686       ac_ext=c
54687 ac_cpp='$CPP $CPPFLAGS'
54688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54691
54692
54693 fi
54694
54695   fi
54696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54697 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54698
54699   if test x$glibcxx_cv_func_powf_use = x"yes"; then
54700     for ac_func in powf
54701 do :
54702   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54703 if test "x$ac_cv_func_powf" = x""yes; then :
54704   cat >>confdefs.h <<_ACEOF
54705 #define HAVE_POWF 1
54706 _ACEOF
54707
54708 fi
54709 done
54710
54711   else
54712
54713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54714 $as_echo_n "checking for _powf declaration... " >&6; }
54715   if test x${glibcxx_cv_func__powf_use+set} != xset; then
54716     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54717   $as_echo_n "(cached) " >&6
54718 else
54719
54720
54721       ac_ext=cpp
54722 ac_cpp='$CXXCPP $CPPFLAGS'
54723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54726
54727       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54728 /* end confdefs.h.  */
54729 #include <math.h>
54730 int
54731 main ()
54732 {
54733  _powf(0, 0);
54734   ;
54735   return 0;
54736 }
54737 _ACEOF
54738 if ac_fn_cxx_try_compile "$LINENO"; then :
54739   glibcxx_cv_func__powf_use=yes
54740 else
54741   glibcxx_cv_func__powf_use=no
54742 fi
54743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54744       ac_ext=c
54745 ac_cpp='$CPP $CPPFLAGS'
54746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54749
54750
54751 fi
54752
54753   fi
54754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54755 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54756
54757     if test x$glibcxx_cv_func__powf_use = x"yes"; then
54758       for ac_func in _powf
54759 do :
54760   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54761 if test "x$ac_cv_func__powf" = x""yes; then :
54762   cat >>confdefs.h <<_ACEOF
54763 #define HAVE__POWF 1
54764 _ACEOF
54765
54766 fi
54767 done
54768
54769     fi
54770   fi
54771
54772
54773
54774
54775
54776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54777 $as_echo_n "checking for sqrtf declaration... " >&6; }
54778   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54779     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54780   $as_echo_n "(cached) " >&6
54781 else
54782
54783
54784       ac_ext=cpp
54785 ac_cpp='$CXXCPP $CPPFLAGS'
54786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54789
54790       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54791 /* end confdefs.h.  */
54792 #include <math.h>
54793                       #ifdef HAVE_IEEEFP_H
54794                       #include <ieeefp.h>
54795                       #endif
54796
54797 int
54798 main ()
54799 {
54800  sqrtf(0);
54801   ;
54802   return 0;
54803 }
54804 _ACEOF
54805 if ac_fn_cxx_try_compile "$LINENO"; then :
54806   glibcxx_cv_func_sqrtf_use=yes
54807 else
54808   glibcxx_cv_func_sqrtf_use=no
54809 fi
54810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54811       ac_ext=c
54812 ac_cpp='$CPP $CPPFLAGS'
54813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54816
54817
54818 fi
54819
54820   fi
54821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54822 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54823
54824   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54825     for ac_func in sqrtf
54826 do :
54827   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54828 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54829   cat >>confdefs.h <<_ACEOF
54830 #define HAVE_SQRTF 1
54831 _ACEOF
54832
54833 fi
54834 done
54835
54836   else
54837
54838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54839 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54840   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54841     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54842   $as_echo_n "(cached) " >&6
54843 else
54844
54845
54846       ac_ext=cpp
54847 ac_cpp='$CXXCPP $CPPFLAGS'
54848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54851
54852       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54853 /* end confdefs.h.  */
54854 #include <math.h>
54855                       #ifdef HAVE_IEEEFP_H
54856                       #include <ieeefp.h>
54857                       #endif
54858
54859 int
54860 main ()
54861 {
54862  _sqrtf(0);
54863   ;
54864   return 0;
54865 }
54866 _ACEOF
54867 if ac_fn_cxx_try_compile "$LINENO"; then :
54868   glibcxx_cv_func__sqrtf_use=yes
54869 else
54870   glibcxx_cv_func__sqrtf_use=no
54871 fi
54872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54873       ac_ext=c
54874 ac_cpp='$CPP $CPPFLAGS'
54875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54878
54879
54880 fi
54881
54882   fi
54883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54884 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54885
54886     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54887       for ac_func in _sqrtf
54888 do :
54889   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54890 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54891   cat >>confdefs.h <<_ACEOF
54892 #define HAVE__SQRTF 1
54893 _ACEOF
54894
54895 fi
54896 done
54897
54898     fi
54899   fi
54900
54901
54902
54903
54904
54905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54906 $as_echo_n "checking for sincosf declaration... " >&6; }
54907   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54908     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54909   $as_echo_n "(cached) " >&6
54910 else
54911
54912
54913       ac_ext=cpp
54914 ac_cpp='$CXXCPP $CPPFLAGS'
54915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54918
54919       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54920 /* end confdefs.h.  */
54921 #include <math.h>
54922 int
54923 main ()
54924 {
54925  sincosf(0, 0, 0);
54926   ;
54927   return 0;
54928 }
54929 _ACEOF
54930 if ac_fn_cxx_try_compile "$LINENO"; then :
54931   glibcxx_cv_func_sincosf_use=yes
54932 else
54933   glibcxx_cv_func_sincosf_use=no
54934 fi
54935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54936       ac_ext=c
54937 ac_cpp='$CPP $CPPFLAGS'
54938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54941
54942
54943 fi
54944
54945   fi
54946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54947 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54948
54949   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54950     for ac_func in sincosf
54951 do :
54952   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54953 if test "x$ac_cv_func_sincosf" = x""yes; then :
54954   cat >>confdefs.h <<_ACEOF
54955 #define HAVE_SINCOSF 1
54956 _ACEOF
54957
54958 fi
54959 done
54960
54961   else
54962
54963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54964 $as_echo_n "checking for _sincosf declaration... " >&6; }
54965   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54966     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54967   $as_echo_n "(cached) " >&6
54968 else
54969
54970
54971       ac_ext=cpp
54972 ac_cpp='$CXXCPP $CPPFLAGS'
54973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54976
54977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54978 /* end confdefs.h.  */
54979 #include <math.h>
54980 int
54981 main ()
54982 {
54983  _sincosf(0, 0, 0);
54984   ;
54985   return 0;
54986 }
54987 _ACEOF
54988 if ac_fn_cxx_try_compile "$LINENO"; then :
54989   glibcxx_cv_func__sincosf_use=yes
54990 else
54991   glibcxx_cv_func__sincosf_use=no
54992 fi
54993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54994       ac_ext=c
54995 ac_cpp='$CPP $CPPFLAGS'
54996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54999
55000
55001 fi
55002
55003   fi
55004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55005 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55006
55007     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55008       for ac_func in _sincosf
55009 do :
55010   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55011 if test "x$ac_cv_func__sincosf" = x""yes; then :
55012   cat >>confdefs.h <<_ACEOF
55013 #define HAVE__SINCOSF 1
55014 _ACEOF
55015
55016 fi
55017 done
55018
55019     fi
55020   fi
55021
55022
55023
55024
55025
55026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55027 $as_echo_n "checking for finitef declaration... " >&6; }
55028   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55029     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55030   $as_echo_n "(cached) " >&6
55031 else
55032
55033
55034       ac_ext=cpp
55035 ac_cpp='$CXXCPP $CPPFLAGS'
55036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55039
55040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55041 /* end confdefs.h.  */
55042 #include <math.h>
55043                       #ifdef HAVE_IEEEFP_H
55044                       #include <ieeefp.h>
55045                       #endif
55046
55047 int
55048 main ()
55049 {
55050  finitef(0);
55051   ;
55052   return 0;
55053 }
55054 _ACEOF
55055 if ac_fn_cxx_try_compile "$LINENO"; then :
55056   glibcxx_cv_func_finitef_use=yes
55057 else
55058   glibcxx_cv_func_finitef_use=no
55059 fi
55060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55061       ac_ext=c
55062 ac_cpp='$CPP $CPPFLAGS'
55063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55066
55067
55068 fi
55069
55070   fi
55071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55072 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55073
55074   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55075     for ac_func in finitef
55076 do :
55077   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55078 if test "x$ac_cv_func_finitef" = x""yes; then :
55079   cat >>confdefs.h <<_ACEOF
55080 #define HAVE_FINITEF 1
55081 _ACEOF
55082
55083 fi
55084 done
55085
55086   else
55087
55088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55089 $as_echo_n "checking for _finitef declaration... " >&6; }
55090   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55091     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55092   $as_echo_n "(cached) " >&6
55093 else
55094
55095
55096       ac_ext=cpp
55097 ac_cpp='$CXXCPP $CPPFLAGS'
55098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55101
55102       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55103 /* end confdefs.h.  */
55104 #include <math.h>
55105                       #ifdef HAVE_IEEEFP_H
55106                       #include <ieeefp.h>
55107                       #endif
55108
55109 int
55110 main ()
55111 {
55112  _finitef(0);
55113   ;
55114   return 0;
55115 }
55116 _ACEOF
55117 if ac_fn_cxx_try_compile "$LINENO"; then :
55118   glibcxx_cv_func__finitef_use=yes
55119 else
55120   glibcxx_cv_func__finitef_use=no
55121 fi
55122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55123       ac_ext=c
55124 ac_cpp='$CPP $CPPFLAGS'
55125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55128
55129
55130 fi
55131
55132   fi
55133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55134 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55135
55136     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55137       for ac_func in _finitef
55138 do :
55139   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55140 if test "x$ac_cv_func__finitef" = x""yes; then :
55141   cat >>confdefs.h <<_ACEOF
55142 #define HAVE__FINITEF 1
55143 _ACEOF
55144
55145 fi
55146 done
55147
55148     fi
55149   fi
55150
55151
55152
55153
55154
55155     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55156 $as_echo_n "checking for long double trig functions... " >&6; }
55157   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55158   $as_echo_n "(cached) " >&6
55159 else
55160
55161
55162     ac_ext=cpp
55163 ac_cpp='$CXXCPP $CPPFLAGS'
55164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55167
55168     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55169 /* end confdefs.h.  */
55170 #include <math.h>
55171 int
55172 main ()
55173 {
55174 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55175   ;
55176   return 0;
55177 }
55178 _ACEOF
55179 if ac_fn_cxx_try_compile "$LINENO"; then :
55180   glibcxx_cv_func_long_double_trig_use=yes
55181 else
55182   glibcxx_cv_func_long_double_trig_use=no
55183 fi
55184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55185     ac_ext=c
55186 ac_cpp='$CPP $CPPFLAGS'
55187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55190
55191 fi
55192
55193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55194 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55195   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55196     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55197 do :
55198   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55200 eval as_val=\$$as_ac_var
55201    if test "x$as_val" = x""yes; then :
55202   cat >>confdefs.h <<_ACEOF
55203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55204 _ACEOF
55205
55206 fi
55207 done
55208
55209   else
55210     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55211 $as_echo_n "checking for _long double trig functions... " >&6; }
55212     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55213   $as_echo_n "(cached) " >&6
55214 else
55215
55216
55217       ac_ext=cpp
55218 ac_cpp='$CXXCPP $CPPFLAGS'
55219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55222
55223       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55224 /* end confdefs.h.  */
55225 #include <math.h>
55226 int
55227 main ()
55228 {
55229 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55230   ;
55231   return 0;
55232 }
55233 _ACEOF
55234 if ac_fn_cxx_try_compile "$LINENO"; then :
55235   glibcxx_cv_func__long_double_trig_use=yes
55236 else
55237   glibcxx_cv_func__long_double_trig_use=no
55238 fi
55239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55240       ac_ext=c
55241 ac_cpp='$CPP $CPPFLAGS'
55242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55245
55246 fi
55247
55248     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55249 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55250     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55251       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55252 do :
55253   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55254 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55255 eval as_val=\$$as_ac_var
55256    if test "x$as_val" = x""yes; then :
55257   cat >>confdefs.h <<_ACEOF
55258 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55259 _ACEOF
55260
55261 fi
55262 done
55263
55264     fi
55265   fi
55266
55267
55268
55269
55270
55271     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55272 $as_echo_n "checking for long double round functions... " >&6; }
55273   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55274   $as_echo_n "(cached) " >&6
55275 else
55276
55277
55278     ac_ext=cpp
55279 ac_cpp='$CXXCPP $CPPFLAGS'
55280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55283
55284     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55285 /* end confdefs.h.  */
55286 #include <math.h>
55287 int
55288 main ()
55289 {
55290 ceill (0); floorl (0);
55291   ;
55292   return 0;
55293 }
55294 _ACEOF
55295 if ac_fn_cxx_try_compile "$LINENO"; then :
55296   glibcxx_cv_func_long_double_round_use=yes
55297 else
55298   glibcxx_cv_func_long_double_round_use=no
55299 fi
55300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55301     ac_ext=c
55302 ac_cpp='$CPP $CPPFLAGS'
55303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55306
55307 fi
55308
55309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55310 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55311   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55312     for ac_func in ceill floorl
55313 do :
55314   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55316 eval as_val=\$$as_ac_var
55317    if test "x$as_val" = x""yes; then :
55318   cat >>confdefs.h <<_ACEOF
55319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55320 _ACEOF
55321
55322 fi
55323 done
55324
55325   else
55326     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55327 $as_echo_n "checking for _long double round functions... " >&6; }
55328     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55329   $as_echo_n "(cached) " >&6
55330 else
55331
55332
55333       ac_ext=cpp
55334 ac_cpp='$CXXCPP $CPPFLAGS'
55335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55338
55339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55340 /* end confdefs.h.  */
55341 #include <math.h>
55342 int
55343 main ()
55344 {
55345 _ceill (0); _floorl (0);
55346   ;
55347   return 0;
55348 }
55349 _ACEOF
55350 if ac_fn_cxx_try_compile "$LINENO"; then :
55351   glibcxx_cv_func__long_double_round_use=yes
55352 else
55353   glibcxx_cv_func__long_double_round_use=no
55354 fi
55355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55356       ac_ext=c
55357 ac_cpp='$CPP $CPPFLAGS'
55358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55361
55362 fi
55363
55364     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55365 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55366     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55367       for ac_func in _ceill _floorl
55368 do :
55369   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55371 eval as_val=\$$as_ac_var
55372    if test "x$as_val" = x""yes; then :
55373   cat >>confdefs.h <<_ACEOF
55374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55375 _ACEOF
55376
55377 fi
55378 done
55379
55380     fi
55381   fi
55382
55383
55384
55385
55386
55387
55388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55389 $as_echo_n "checking for isnanl declaration... " >&6; }
55390   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55391     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55392   $as_echo_n "(cached) " >&6
55393 else
55394
55395
55396       ac_ext=cpp
55397 ac_cpp='$CXXCPP $CPPFLAGS'
55398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55401
55402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55403 /* end confdefs.h.  */
55404 #include <math.h>
55405                       #ifdef HAVE_IEEEFP_H
55406                       #include <ieeefp.h>
55407                       #endif
55408
55409 int
55410 main ()
55411 {
55412  isnanl(0);
55413   ;
55414   return 0;
55415 }
55416 _ACEOF
55417 if ac_fn_cxx_try_compile "$LINENO"; then :
55418   glibcxx_cv_func_isnanl_use=yes
55419 else
55420   glibcxx_cv_func_isnanl_use=no
55421 fi
55422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55423       ac_ext=c
55424 ac_cpp='$CPP $CPPFLAGS'
55425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55428
55429
55430 fi
55431
55432   fi
55433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55434 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55435
55436   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55437     for ac_func in isnanl
55438 do :
55439   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55440 if test "x$ac_cv_func_isnanl" = x""yes; then :
55441   cat >>confdefs.h <<_ACEOF
55442 #define HAVE_ISNANL 1
55443 _ACEOF
55444
55445 fi
55446 done
55447
55448   else
55449
55450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55451 $as_echo_n "checking for _isnanl declaration... " >&6; }
55452   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55453     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55454   $as_echo_n "(cached) " >&6
55455 else
55456
55457
55458       ac_ext=cpp
55459 ac_cpp='$CXXCPP $CPPFLAGS'
55460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55463
55464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55465 /* end confdefs.h.  */
55466 #include <math.h>
55467                       #ifdef HAVE_IEEEFP_H
55468                       #include <ieeefp.h>
55469                       #endif
55470
55471 int
55472 main ()
55473 {
55474  _isnanl(0);
55475   ;
55476   return 0;
55477 }
55478 _ACEOF
55479 if ac_fn_cxx_try_compile "$LINENO"; then :
55480   glibcxx_cv_func__isnanl_use=yes
55481 else
55482   glibcxx_cv_func__isnanl_use=no
55483 fi
55484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55485       ac_ext=c
55486 ac_cpp='$CPP $CPPFLAGS'
55487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55490
55491
55492 fi
55493
55494   fi
55495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55496 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55497
55498     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55499       for ac_func in _isnanl
55500 do :
55501   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55502 if test "x$ac_cv_func__isnanl" = x""yes; then :
55503   cat >>confdefs.h <<_ACEOF
55504 #define HAVE__ISNANL 1
55505 _ACEOF
55506
55507 fi
55508 done
55509
55510     fi
55511   fi
55512
55513
55514
55515
55516
55517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55518 $as_echo_n "checking for isinfl declaration... " >&6; }
55519   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55520     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55521   $as_echo_n "(cached) " >&6
55522 else
55523
55524
55525       ac_ext=cpp
55526 ac_cpp='$CXXCPP $CPPFLAGS'
55527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55530
55531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55532 /* end confdefs.h.  */
55533 #include <math.h>
55534                       #ifdef HAVE_IEEEFP_H
55535                       #include <ieeefp.h>
55536                       #endif
55537
55538 int
55539 main ()
55540 {
55541  isinfl(0);
55542   ;
55543   return 0;
55544 }
55545 _ACEOF
55546 if ac_fn_cxx_try_compile "$LINENO"; then :
55547   glibcxx_cv_func_isinfl_use=yes
55548 else
55549   glibcxx_cv_func_isinfl_use=no
55550 fi
55551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55552       ac_ext=c
55553 ac_cpp='$CPP $CPPFLAGS'
55554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55557
55558
55559 fi
55560
55561   fi
55562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55563 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55564
55565   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55566     for ac_func in isinfl
55567 do :
55568   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55569 if test "x$ac_cv_func_isinfl" = x""yes; then :
55570   cat >>confdefs.h <<_ACEOF
55571 #define HAVE_ISINFL 1
55572 _ACEOF
55573
55574 fi
55575 done
55576
55577   else
55578
55579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55580 $as_echo_n "checking for _isinfl declaration... " >&6; }
55581   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55582     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55583   $as_echo_n "(cached) " >&6
55584 else
55585
55586
55587       ac_ext=cpp
55588 ac_cpp='$CXXCPP $CPPFLAGS'
55589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55592
55593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55594 /* end confdefs.h.  */
55595 #include <math.h>
55596                       #ifdef HAVE_IEEEFP_H
55597                       #include <ieeefp.h>
55598                       #endif
55599
55600 int
55601 main ()
55602 {
55603  _isinfl(0);
55604   ;
55605   return 0;
55606 }
55607 _ACEOF
55608 if ac_fn_cxx_try_compile "$LINENO"; then :
55609   glibcxx_cv_func__isinfl_use=yes
55610 else
55611   glibcxx_cv_func__isinfl_use=no
55612 fi
55613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55614       ac_ext=c
55615 ac_cpp='$CPP $CPPFLAGS'
55616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55619
55620
55621 fi
55622
55623   fi
55624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55625 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55626
55627     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55628       for ac_func in _isinfl
55629 do :
55630   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55631 if test "x$ac_cv_func__isinfl" = x""yes; then :
55632   cat >>confdefs.h <<_ACEOF
55633 #define HAVE__ISINFL 1
55634 _ACEOF
55635
55636 fi
55637 done
55638
55639     fi
55640   fi
55641
55642
55643
55644
55645
55646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55647 $as_echo_n "checking for atan2l declaration... " >&6; }
55648   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55649     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55650   $as_echo_n "(cached) " >&6
55651 else
55652
55653
55654       ac_ext=cpp
55655 ac_cpp='$CXXCPP $CPPFLAGS'
55656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55659
55660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55661 /* end confdefs.h.  */
55662 #include <math.h>
55663 int
55664 main ()
55665 {
55666  atan2l(0, 0);
55667   ;
55668   return 0;
55669 }
55670 _ACEOF
55671 if ac_fn_cxx_try_compile "$LINENO"; then :
55672   glibcxx_cv_func_atan2l_use=yes
55673 else
55674   glibcxx_cv_func_atan2l_use=no
55675 fi
55676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55677       ac_ext=c
55678 ac_cpp='$CPP $CPPFLAGS'
55679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55682
55683
55684 fi
55685
55686   fi
55687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55688 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55689
55690   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55691     for ac_func in atan2l
55692 do :
55693   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55694 if test "x$ac_cv_func_atan2l" = x""yes; then :
55695   cat >>confdefs.h <<_ACEOF
55696 #define HAVE_ATAN2L 1
55697 _ACEOF
55698
55699 fi
55700 done
55701
55702   else
55703
55704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55705 $as_echo_n "checking for _atan2l declaration... " >&6; }
55706   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55707     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55708   $as_echo_n "(cached) " >&6
55709 else
55710
55711
55712       ac_ext=cpp
55713 ac_cpp='$CXXCPP $CPPFLAGS'
55714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55717
55718       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55719 /* end confdefs.h.  */
55720 #include <math.h>
55721 int
55722 main ()
55723 {
55724  _atan2l(0, 0);
55725   ;
55726   return 0;
55727 }
55728 _ACEOF
55729 if ac_fn_cxx_try_compile "$LINENO"; then :
55730   glibcxx_cv_func__atan2l_use=yes
55731 else
55732   glibcxx_cv_func__atan2l_use=no
55733 fi
55734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55735       ac_ext=c
55736 ac_cpp='$CPP $CPPFLAGS'
55737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55740
55741
55742 fi
55743
55744   fi
55745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55746 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55747
55748     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55749       for ac_func in _atan2l
55750 do :
55751   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55752 if test "x$ac_cv_func__atan2l" = x""yes; then :
55753   cat >>confdefs.h <<_ACEOF
55754 #define HAVE__ATAN2L 1
55755 _ACEOF
55756
55757 fi
55758 done
55759
55760     fi
55761   fi
55762
55763
55764
55765
55766
55767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55768 $as_echo_n "checking for expl declaration... " >&6; }
55769   if test x${glibcxx_cv_func_expl_use+set} != xset; then
55770     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55771   $as_echo_n "(cached) " >&6
55772 else
55773
55774
55775       ac_ext=cpp
55776 ac_cpp='$CXXCPP $CPPFLAGS'
55777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55780
55781       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55782 /* end confdefs.h.  */
55783 #include <math.h>
55784                       #ifdef HAVE_IEEEFP_H
55785                       #include <ieeefp.h>
55786                       #endif
55787
55788 int
55789 main ()
55790 {
55791  expl(0);
55792   ;
55793   return 0;
55794 }
55795 _ACEOF
55796 if ac_fn_cxx_try_compile "$LINENO"; then :
55797   glibcxx_cv_func_expl_use=yes
55798 else
55799   glibcxx_cv_func_expl_use=no
55800 fi
55801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55802       ac_ext=c
55803 ac_cpp='$CPP $CPPFLAGS'
55804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55807
55808
55809 fi
55810
55811   fi
55812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55813 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55814
55815   if test x$glibcxx_cv_func_expl_use = x"yes"; then
55816     for ac_func in expl
55817 do :
55818   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55819 if test "x$ac_cv_func_expl" = x""yes; then :
55820   cat >>confdefs.h <<_ACEOF
55821 #define HAVE_EXPL 1
55822 _ACEOF
55823
55824 fi
55825 done
55826
55827   else
55828
55829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55830 $as_echo_n "checking for _expl declaration... " >&6; }
55831   if test x${glibcxx_cv_func__expl_use+set} != xset; then
55832     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55833   $as_echo_n "(cached) " >&6
55834 else
55835
55836
55837       ac_ext=cpp
55838 ac_cpp='$CXXCPP $CPPFLAGS'
55839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55842
55843       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55844 /* end confdefs.h.  */
55845 #include <math.h>
55846                       #ifdef HAVE_IEEEFP_H
55847                       #include <ieeefp.h>
55848                       #endif
55849
55850 int
55851 main ()
55852 {
55853  _expl(0);
55854   ;
55855   return 0;
55856 }
55857 _ACEOF
55858 if ac_fn_cxx_try_compile "$LINENO"; then :
55859   glibcxx_cv_func__expl_use=yes
55860 else
55861   glibcxx_cv_func__expl_use=no
55862 fi
55863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55864       ac_ext=c
55865 ac_cpp='$CPP $CPPFLAGS'
55866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55869
55870
55871 fi
55872
55873   fi
55874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55875 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55876
55877     if test x$glibcxx_cv_func__expl_use = x"yes"; then
55878       for ac_func in _expl
55879 do :
55880   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55881 if test "x$ac_cv_func__expl" = x""yes; then :
55882   cat >>confdefs.h <<_ACEOF
55883 #define HAVE__EXPL 1
55884 _ACEOF
55885
55886 fi
55887 done
55888
55889     fi
55890   fi
55891
55892
55893
55894
55895
55896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55897 $as_echo_n "checking for fabsl declaration... " >&6; }
55898   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55899     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55900   $as_echo_n "(cached) " >&6
55901 else
55902
55903
55904       ac_ext=cpp
55905 ac_cpp='$CXXCPP $CPPFLAGS'
55906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55909
55910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55911 /* end confdefs.h.  */
55912 #include <math.h>
55913                       #ifdef HAVE_IEEEFP_H
55914                       #include <ieeefp.h>
55915                       #endif
55916
55917 int
55918 main ()
55919 {
55920  fabsl(0);
55921   ;
55922   return 0;
55923 }
55924 _ACEOF
55925 if ac_fn_cxx_try_compile "$LINENO"; then :
55926   glibcxx_cv_func_fabsl_use=yes
55927 else
55928   glibcxx_cv_func_fabsl_use=no
55929 fi
55930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55931       ac_ext=c
55932 ac_cpp='$CPP $CPPFLAGS'
55933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55936
55937
55938 fi
55939
55940   fi
55941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55942 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55943
55944   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55945     for ac_func in fabsl
55946 do :
55947   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55948 if test "x$ac_cv_func_fabsl" = x""yes; then :
55949   cat >>confdefs.h <<_ACEOF
55950 #define HAVE_FABSL 1
55951 _ACEOF
55952
55953 fi
55954 done
55955
55956   else
55957
55958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55959 $as_echo_n "checking for _fabsl declaration... " >&6; }
55960   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55961     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55962   $as_echo_n "(cached) " >&6
55963 else
55964
55965
55966       ac_ext=cpp
55967 ac_cpp='$CXXCPP $CPPFLAGS'
55968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55971
55972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55973 /* end confdefs.h.  */
55974 #include <math.h>
55975                       #ifdef HAVE_IEEEFP_H
55976                       #include <ieeefp.h>
55977                       #endif
55978
55979 int
55980 main ()
55981 {
55982  _fabsl(0);
55983   ;
55984   return 0;
55985 }
55986 _ACEOF
55987 if ac_fn_cxx_try_compile "$LINENO"; then :
55988   glibcxx_cv_func__fabsl_use=yes
55989 else
55990   glibcxx_cv_func__fabsl_use=no
55991 fi
55992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55993       ac_ext=c
55994 ac_cpp='$CPP $CPPFLAGS'
55995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55998
55999
56000 fi
56001
56002   fi
56003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56004 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56005
56006     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56007       for ac_func in _fabsl
56008 do :
56009   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56010 if test "x$ac_cv_func__fabsl" = x""yes; then :
56011   cat >>confdefs.h <<_ACEOF
56012 #define HAVE__FABSL 1
56013 _ACEOF
56014
56015 fi
56016 done
56017
56018     fi
56019   fi
56020
56021
56022
56023
56024
56025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56026 $as_echo_n "checking for fmodl declaration... " >&6; }
56027   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56028     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56029   $as_echo_n "(cached) " >&6
56030 else
56031
56032
56033       ac_ext=cpp
56034 ac_cpp='$CXXCPP $CPPFLAGS'
56035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56038
56039       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56040 /* end confdefs.h.  */
56041 #include <math.h>
56042 int
56043 main ()
56044 {
56045  fmodl(0, 0);
56046   ;
56047   return 0;
56048 }
56049 _ACEOF
56050 if ac_fn_cxx_try_compile "$LINENO"; then :
56051   glibcxx_cv_func_fmodl_use=yes
56052 else
56053   glibcxx_cv_func_fmodl_use=no
56054 fi
56055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56056       ac_ext=c
56057 ac_cpp='$CPP $CPPFLAGS'
56058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56061
56062
56063 fi
56064
56065   fi
56066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56067 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56068
56069   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56070     for ac_func in fmodl
56071 do :
56072   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56073 if test "x$ac_cv_func_fmodl" = x""yes; then :
56074   cat >>confdefs.h <<_ACEOF
56075 #define HAVE_FMODL 1
56076 _ACEOF
56077
56078 fi
56079 done
56080
56081   else
56082
56083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56084 $as_echo_n "checking for _fmodl declaration... " >&6; }
56085   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56086     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56087   $as_echo_n "(cached) " >&6
56088 else
56089
56090
56091       ac_ext=cpp
56092 ac_cpp='$CXXCPP $CPPFLAGS'
56093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56096
56097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56098 /* end confdefs.h.  */
56099 #include <math.h>
56100 int
56101 main ()
56102 {
56103  _fmodl(0, 0);
56104   ;
56105   return 0;
56106 }
56107 _ACEOF
56108 if ac_fn_cxx_try_compile "$LINENO"; then :
56109   glibcxx_cv_func__fmodl_use=yes
56110 else
56111   glibcxx_cv_func__fmodl_use=no
56112 fi
56113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56114       ac_ext=c
56115 ac_cpp='$CPP $CPPFLAGS'
56116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56119
56120
56121 fi
56122
56123   fi
56124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56125 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56126
56127     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56128       for ac_func in _fmodl
56129 do :
56130   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56131 if test "x$ac_cv_func__fmodl" = x""yes; then :
56132   cat >>confdefs.h <<_ACEOF
56133 #define HAVE__FMODL 1
56134 _ACEOF
56135
56136 fi
56137 done
56138
56139     fi
56140   fi
56141
56142
56143
56144
56145
56146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56147 $as_echo_n "checking for frexpl declaration... " >&6; }
56148   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56149     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56150   $as_echo_n "(cached) " >&6
56151 else
56152
56153
56154       ac_ext=cpp
56155 ac_cpp='$CXXCPP $CPPFLAGS'
56156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56159
56160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56161 /* end confdefs.h.  */
56162 #include <math.h>
56163 int
56164 main ()
56165 {
56166  frexpl(0, 0);
56167   ;
56168   return 0;
56169 }
56170 _ACEOF
56171 if ac_fn_cxx_try_compile "$LINENO"; then :
56172   glibcxx_cv_func_frexpl_use=yes
56173 else
56174   glibcxx_cv_func_frexpl_use=no
56175 fi
56176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56177       ac_ext=c
56178 ac_cpp='$CPP $CPPFLAGS'
56179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56182
56183
56184 fi
56185
56186   fi
56187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56188 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56189
56190   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56191     for ac_func in frexpl
56192 do :
56193   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56194 if test "x$ac_cv_func_frexpl" = x""yes; then :
56195   cat >>confdefs.h <<_ACEOF
56196 #define HAVE_FREXPL 1
56197 _ACEOF
56198
56199 fi
56200 done
56201
56202   else
56203
56204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56205 $as_echo_n "checking for _frexpl declaration... " >&6; }
56206   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56207     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56208   $as_echo_n "(cached) " >&6
56209 else
56210
56211
56212       ac_ext=cpp
56213 ac_cpp='$CXXCPP $CPPFLAGS'
56214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56217
56218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56219 /* end confdefs.h.  */
56220 #include <math.h>
56221 int
56222 main ()
56223 {
56224  _frexpl(0, 0);
56225   ;
56226   return 0;
56227 }
56228 _ACEOF
56229 if ac_fn_cxx_try_compile "$LINENO"; then :
56230   glibcxx_cv_func__frexpl_use=yes
56231 else
56232   glibcxx_cv_func__frexpl_use=no
56233 fi
56234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56235       ac_ext=c
56236 ac_cpp='$CPP $CPPFLAGS'
56237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56240
56241
56242 fi
56243
56244   fi
56245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56246 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56247
56248     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56249       for ac_func in _frexpl
56250 do :
56251   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56252 if test "x$ac_cv_func__frexpl" = x""yes; then :
56253   cat >>confdefs.h <<_ACEOF
56254 #define HAVE__FREXPL 1
56255 _ACEOF
56256
56257 fi
56258 done
56259
56260     fi
56261   fi
56262
56263
56264
56265
56266
56267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56268 $as_echo_n "checking for hypotl declaration... " >&6; }
56269   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56270     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56271   $as_echo_n "(cached) " >&6
56272 else
56273
56274
56275       ac_ext=cpp
56276 ac_cpp='$CXXCPP $CPPFLAGS'
56277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56280
56281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56282 /* end confdefs.h.  */
56283 #include <math.h>
56284 int
56285 main ()
56286 {
56287  hypotl(0, 0);
56288   ;
56289   return 0;
56290 }
56291 _ACEOF
56292 if ac_fn_cxx_try_compile "$LINENO"; then :
56293   glibcxx_cv_func_hypotl_use=yes
56294 else
56295   glibcxx_cv_func_hypotl_use=no
56296 fi
56297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56298       ac_ext=c
56299 ac_cpp='$CPP $CPPFLAGS'
56300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56303
56304
56305 fi
56306
56307   fi
56308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56309 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56310
56311   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56312     for ac_func in hypotl
56313 do :
56314   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56315 if test "x$ac_cv_func_hypotl" = x""yes; then :
56316   cat >>confdefs.h <<_ACEOF
56317 #define HAVE_HYPOTL 1
56318 _ACEOF
56319
56320 fi
56321 done
56322
56323   else
56324
56325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56326 $as_echo_n "checking for _hypotl declaration... " >&6; }
56327   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56328     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56329   $as_echo_n "(cached) " >&6
56330 else
56331
56332
56333       ac_ext=cpp
56334 ac_cpp='$CXXCPP $CPPFLAGS'
56335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56338
56339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56340 /* end confdefs.h.  */
56341 #include <math.h>
56342 int
56343 main ()
56344 {
56345  _hypotl(0, 0);
56346   ;
56347   return 0;
56348 }
56349 _ACEOF
56350 if ac_fn_cxx_try_compile "$LINENO"; then :
56351   glibcxx_cv_func__hypotl_use=yes
56352 else
56353   glibcxx_cv_func__hypotl_use=no
56354 fi
56355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56356       ac_ext=c
56357 ac_cpp='$CPP $CPPFLAGS'
56358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56361
56362
56363 fi
56364
56365   fi
56366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56367 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56368
56369     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56370       for ac_func in _hypotl
56371 do :
56372   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56373 if test "x$ac_cv_func__hypotl" = x""yes; then :
56374   cat >>confdefs.h <<_ACEOF
56375 #define HAVE__HYPOTL 1
56376 _ACEOF
56377
56378 fi
56379 done
56380
56381     fi
56382   fi
56383
56384
56385
56386
56387
56388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56389 $as_echo_n "checking for ldexpl declaration... " >&6; }
56390   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56391     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56392   $as_echo_n "(cached) " >&6
56393 else
56394
56395
56396       ac_ext=cpp
56397 ac_cpp='$CXXCPP $CPPFLAGS'
56398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56401
56402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56403 /* end confdefs.h.  */
56404 #include <math.h>
56405 int
56406 main ()
56407 {
56408  ldexpl(0, 0);
56409   ;
56410   return 0;
56411 }
56412 _ACEOF
56413 if ac_fn_cxx_try_compile "$LINENO"; then :
56414   glibcxx_cv_func_ldexpl_use=yes
56415 else
56416   glibcxx_cv_func_ldexpl_use=no
56417 fi
56418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56419       ac_ext=c
56420 ac_cpp='$CPP $CPPFLAGS'
56421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56424
56425
56426 fi
56427
56428   fi
56429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56430 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56431
56432   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56433     for ac_func in ldexpl
56434 do :
56435   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56436 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56437   cat >>confdefs.h <<_ACEOF
56438 #define HAVE_LDEXPL 1
56439 _ACEOF
56440
56441 fi
56442 done
56443
56444   else
56445
56446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56447 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56448   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56449     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56450   $as_echo_n "(cached) " >&6
56451 else
56452
56453
56454       ac_ext=cpp
56455 ac_cpp='$CXXCPP $CPPFLAGS'
56456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56459
56460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56461 /* end confdefs.h.  */
56462 #include <math.h>
56463 int
56464 main ()
56465 {
56466  _ldexpl(0, 0);
56467   ;
56468   return 0;
56469 }
56470 _ACEOF
56471 if ac_fn_cxx_try_compile "$LINENO"; then :
56472   glibcxx_cv_func__ldexpl_use=yes
56473 else
56474   glibcxx_cv_func__ldexpl_use=no
56475 fi
56476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56477       ac_ext=c
56478 ac_cpp='$CPP $CPPFLAGS'
56479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56482
56483
56484 fi
56485
56486   fi
56487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56488 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56489
56490     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56491       for ac_func in _ldexpl
56492 do :
56493   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56494 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56495   cat >>confdefs.h <<_ACEOF
56496 #define HAVE__LDEXPL 1
56497 _ACEOF
56498
56499 fi
56500 done
56501
56502     fi
56503   fi
56504
56505
56506
56507
56508
56509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56510 $as_echo_n "checking for logl declaration... " >&6; }
56511   if test x${glibcxx_cv_func_logl_use+set} != xset; then
56512     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56513   $as_echo_n "(cached) " >&6
56514 else
56515
56516
56517       ac_ext=cpp
56518 ac_cpp='$CXXCPP $CPPFLAGS'
56519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56522
56523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56524 /* end confdefs.h.  */
56525 #include <math.h>
56526                       #ifdef HAVE_IEEEFP_H
56527                       #include <ieeefp.h>
56528                       #endif
56529
56530 int
56531 main ()
56532 {
56533  logl(0);
56534   ;
56535   return 0;
56536 }
56537 _ACEOF
56538 if ac_fn_cxx_try_compile "$LINENO"; then :
56539   glibcxx_cv_func_logl_use=yes
56540 else
56541   glibcxx_cv_func_logl_use=no
56542 fi
56543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56544       ac_ext=c
56545 ac_cpp='$CPP $CPPFLAGS'
56546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56549
56550
56551 fi
56552
56553   fi
56554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56555 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56556
56557   if test x$glibcxx_cv_func_logl_use = x"yes"; then
56558     for ac_func in logl
56559 do :
56560   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56561 if test "x$ac_cv_func_logl" = x""yes; then :
56562   cat >>confdefs.h <<_ACEOF
56563 #define HAVE_LOGL 1
56564 _ACEOF
56565
56566 fi
56567 done
56568
56569   else
56570
56571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56572 $as_echo_n "checking for _logl declaration... " >&6; }
56573   if test x${glibcxx_cv_func__logl_use+set} != xset; then
56574     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56575   $as_echo_n "(cached) " >&6
56576 else
56577
56578
56579       ac_ext=cpp
56580 ac_cpp='$CXXCPP $CPPFLAGS'
56581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56584
56585       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56586 /* end confdefs.h.  */
56587 #include <math.h>
56588                       #ifdef HAVE_IEEEFP_H
56589                       #include <ieeefp.h>
56590                       #endif
56591
56592 int
56593 main ()
56594 {
56595  _logl(0);
56596   ;
56597   return 0;
56598 }
56599 _ACEOF
56600 if ac_fn_cxx_try_compile "$LINENO"; then :
56601   glibcxx_cv_func__logl_use=yes
56602 else
56603   glibcxx_cv_func__logl_use=no
56604 fi
56605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56606       ac_ext=c
56607 ac_cpp='$CPP $CPPFLAGS'
56608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56611
56612
56613 fi
56614
56615   fi
56616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56617 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56618
56619     if test x$glibcxx_cv_func__logl_use = x"yes"; then
56620       for ac_func in _logl
56621 do :
56622   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56623 if test "x$ac_cv_func__logl" = x""yes; then :
56624   cat >>confdefs.h <<_ACEOF
56625 #define HAVE__LOGL 1
56626 _ACEOF
56627
56628 fi
56629 done
56630
56631     fi
56632   fi
56633
56634
56635
56636
56637
56638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56639 $as_echo_n "checking for log10l declaration... " >&6; }
56640   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56641     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56642   $as_echo_n "(cached) " >&6
56643 else
56644
56645
56646       ac_ext=cpp
56647 ac_cpp='$CXXCPP $CPPFLAGS'
56648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56651
56652       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56653 /* end confdefs.h.  */
56654 #include <math.h>
56655                       #ifdef HAVE_IEEEFP_H
56656                       #include <ieeefp.h>
56657                       #endif
56658
56659 int
56660 main ()
56661 {
56662  log10l(0);
56663   ;
56664   return 0;
56665 }
56666 _ACEOF
56667 if ac_fn_cxx_try_compile "$LINENO"; then :
56668   glibcxx_cv_func_log10l_use=yes
56669 else
56670   glibcxx_cv_func_log10l_use=no
56671 fi
56672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56673       ac_ext=c
56674 ac_cpp='$CPP $CPPFLAGS'
56675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56678
56679
56680 fi
56681
56682   fi
56683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56684 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56685
56686   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56687     for ac_func in log10l
56688 do :
56689   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56690 if test "x$ac_cv_func_log10l" = x""yes; then :
56691   cat >>confdefs.h <<_ACEOF
56692 #define HAVE_LOG10L 1
56693 _ACEOF
56694
56695 fi
56696 done
56697
56698   else
56699
56700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56701 $as_echo_n "checking for _log10l declaration... " >&6; }
56702   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56703     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56704   $as_echo_n "(cached) " >&6
56705 else
56706
56707
56708       ac_ext=cpp
56709 ac_cpp='$CXXCPP $CPPFLAGS'
56710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56713
56714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56715 /* end confdefs.h.  */
56716 #include <math.h>
56717                       #ifdef HAVE_IEEEFP_H
56718                       #include <ieeefp.h>
56719                       #endif
56720
56721 int
56722 main ()
56723 {
56724  _log10l(0);
56725   ;
56726   return 0;
56727 }
56728 _ACEOF
56729 if ac_fn_cxx_try_compile "$LINENO"; then :
56730   glibcxx_cv_func__log10l_use=yes
56731 else
56732   glibcxx_cv_func__log10l_use=no
56733 fi
56734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56735       ac_ext=c
56736 ac_cpp='$CPP $CPPFLAGS'
56737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56740
56741
56742 fi
56743
56744   fi
56745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56746 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56747
56748     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56749       for ac_func in _log10l
56750 do :
56751   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56752 if test "x$ac_cv_func__log10l" = x""yes; then :
56753   cat >>confdefs.h <<_ACEOF
56754 #define HAVE__LOG10L 1
56755 _ACEOF
56756
56757 fi
56758 done
56759
56760     fi
56761   fi
56762
56763
56764
56765
56766
56767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56768 $as_echo_n "checking for modfl declaration... " >&6; }
56769   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56770     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56771   $as_echo_n "(cached) " >&6
56772 else
56773
56774
56775       ac_ext=cpp
56776 ac_cpp='$CXXCPP $CPPFLAGS'
56777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56780
56781       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56782 /* end confdefs.h.  */
56783 #include <math.h>
56784 int
56785 main ()
56786 {
56787  modfl(0, 0);
56788   ;
56789   return 0;
56790 }
56791 _ACEOF
56792 if ac_fn_cxx_try_compile "$LINENO"; then :
56793   glibcxx_cv_func_modfl_use=yes
56794 else
56795   glibcxx_cv_func_modfl_use=no
56796 fi
56797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56798       ac_ext=c
56799 ac_cpp='$CPP $CPPFLAGS'
56800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56803
56804
56805 fi
56806
56807   fi
56808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56809 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56810
56811   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56812     for ac_func in modfl
56813 do :
56814   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56815 if test "x$ac_cv_func_modfl" = x""yes; then :
56816   cat >>confdefs.h <<_ACEOF
56817 #define HAVE_MODFL 1
56818 _ACEOF
56819
56820 fi
56821 done
56822
56823   else
56824
56825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56826 $as_echo_n "checking for _modfl declaration... " >&6; }
56827   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56828     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56829   $as_echo_n "(cached) " >&6
56830 else
56831
56832
56833       ac_ext=cpp
56834 ac_cpp='$CXXCPP $CPPFLAGS'
56835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56838
56839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56840 /* end confdefs.h.  */
56841 #include <math.h>
56842 int
56843 main ()
56844 {
56845  _modfl(0, 0);
56846   ;
56847   return 0;
56848 }
56849 _ACEOF
56850 if ac_fn_cxx_try_compile "$LINENO"; then :
56851   glibcxx_cv_func__modfl_use=yes
56852 else
56853   glibcxx_cv_func__modfl_use=no
56854 fi
56855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56856       ac_ext=c
56857 ac_cpp='$CPP $CPPFLAGS'
56858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56861
56862
56863 fi
56864
56865   fi
56866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56867 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56868
56869     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56870       for ac_func in _modfl
56871 do :
56872   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56873 if test "x$ac_cv_func__modfl" = x""yes; then :
56874   cat >>confdefs.h <<_ACEOF
56875 #define HAVE__MODFL 1
56876 _ACEOF
56877
56878 fi
56879 done
56880
56881     fi
56882   fi
56883
56884
56885
56886
56887
56888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56889 $as_echo_n "checking for powl declaration... " >&6; }
56890   if test x${glibcxx_cv_func_powl_use+set} != xset; then
56891     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56892   $as_echo_n "(cached) " >&6
56893 else
56894
56895
56896       ac_ext=cpp
56897 ac_cpp='$CXXCPP $CPPFLAGS'
56898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56901
56902       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56903 /* end confdefs.h.  */
56904 #include <math.h>
56905 int
56906 main ()
56907 {
56908  powl(0, 0);
56909   ;
56910   return 0;
56911 }
56912 _ACEOF
56913 if ac_fn_cxx_try_compile "$LINENO"; then :
56914   glibcxx_cv_func_powl_use=yes
56915 else
56916   glibcxx_cv_func_powl_use=no
56917 fi
56918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56919       ac_ext=c
56920 ac_cpp='$CPP $CPPFLAGS'
56921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56924
56925
56926 fi
56927
56928   fi
56929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56930 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56931
56932   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56933     for ac_func in powl
56934 do :
56935   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56936 if test "x$ac_cv_func_powl" = x""yes; then :
56937   cat >>confdefs.h <<_ACEOF
56938 #define HAVE_POWL 1
56939 _ACEOF
56940
56941 fi
56942 done
56943
56944   else
56945
56946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56947 $as_echo_n "checking for _powl declaration... " >&6; }
56948   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56949     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56950   $as_echo_n "(cached) " >&6
56951 else
56952
56953
56954       ac_ext=cpp
56955 ac_cpp='$CXXCPP $CPPFLAGS'
56956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56959
56960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56961 /* end confdefs.h.  */
56962 #include <math.h>
56963 int
56964 main ()
56965 {
56966  _powl(0, 0);
56967   ;
56968   return 0;
56969 }
56970 _ACEOF
56971 if ac_fn_cxx_try_compile "$LINENO"; then :
56972   glibcxx_cv_func__powl_use=yes
56973 else
56974   glibcxx_cv_func__powl_use=no
56975 fi
56976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56977       ac_ext=c
56978 ac_cpp='$CPP $CPPFLAGS'
56979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56982
56983
56984 fi
56985
56986   fi
56987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56988 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56989
56990     if test x$glibcxx_cv_func__powl_use = x"yes"; then
56991       for ac_func in _powl
56992 do :
56993   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56994 if test "x$ac_cv_func__powl" = x""yes; then :
56995   cat >>confdefs.h <<_ACEOF
56996 #define HAVE__POWL 1
56997 _ACEOF
56998
56999 fi
57000 done
57001
57002     fi
57003   fi
57004
57005
57006
57007
57008
57009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57010 $as_echo_n "checking for sqrtl declaration... " >&6; }
57011   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57012     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57013   $as_echo_n "(cached) " >&6
57014 else
57015
57016
57017       ac_ext=cpp
57018 ac_cpp='$CXXCPP $CPPFLAGS'
57019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57022
57023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57024 /* end confdefs.h.  */
57025 #include <math.h>
57026                       #ifdef HAVE_IEEEFP_H
57027                       #include <ieeefp.h>
57028                       #endif
57029
57030 int
57031 main ()
57032 {
57033  sqrtl(0);
57034   ;
57035   return 0;
57036 }
57037 _ACEOF
57038 if ac_fn_cxx_try_compile "$LINENO"; then :
57039   glibcxx_cv_func_sqrtl_use=yes
57040 else
57041   glibcxx_cv_func_sqrtl_use=no
57042 fi
57043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57044       ac_ext=c
57045 ac_cpp='$CPP $CPPFLAGS'
57046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57049
57050
57051 fi
57052
57053   fi
57054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57055 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57056
57057   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57058     for ac_func in sqrtl
57059 do :
57060   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57061 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57062   cat >>confdefs.h <<_ACEOF
57063 #define HAVE_SQRTL 1
57064 _ACEOF
57065
57066 fi
57067 done
57068
57069   else
57070
57071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57072 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57073   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57074     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57075   $as_echo_n "(cached) " >&6
57076 else
57077
57078
57079       ac_ext=cpp
57080 ac_cpp='$CXXCPP $CPPFLAGS'
57081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57084
57085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57086 /* end confdefs.h.  */
57087 #include <math.h>
57088                       #ifdef HAVE_IEEEFP_H
57089                       #include <ieeefp.h>
57090                       #endif
57091
57092 int
57093 main ()
57094 {
57095  _sqrtl(0);
57096   ;
57097   return 0;
57098 }
57099 _ACEOF
57100 if ac_fn_cxx_try_compile "$LINENO"; then :
57101   glibcxx_cv_func__sqrtl_use=yes
57102 else
57103   glibcxx_cv_func__sqrtl_use=no
57104 fi
57105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57106       ac_ext=c
57107 ac_cpp='$CPP $CPPFLAGS'
57108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57111
57112
57113 fi
57114
57115   fi
57116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57117 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57118
57119     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57120       for ac_func in _sqrtl
57121 do :
57122   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57123 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57124   cat >>confdefs.h <<_ACEOF
57125 #define HAVE__SQRTL 1
57126 _ACEOF
57127
57128 fi
57129 done
57130
57131     fi
57132   fi
57133
57134
57135
57136
57137
57138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57139 $as_echo_n "checking for sincosl declaration... " >&6; }
57140   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57141     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57142   $as_echo_n "(cached) " >&6
57143 else
57144
57145
57146       ac_ext=cpp
57147 ac_cpp='$CXXCPP $CPPFLAGS'
57148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57151
57152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57153 /* end confdefs.h.  */
57154 #include <math.h>
57155 int
57156 main ()
57157 {
57158  sincosl(0, 0, 0);
57159   ;
57160   return 0;
57161 }
57162 _ACEOF
57163 if ac_fn_cxx_try_compile "$LINENO"; then :
57164   glibcxx_cv_func_sincosl_use=yes
57165 else
57166   glibcxx_cv_func_sincosl_use=no
57167 fi
57168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57169       ac_ext=c
57170 ac_cpp='$CPP $CPPFLAGS'
57171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57174
57175
57176 fi
57177
57178   fi
57179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57180 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57181
57182   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57183     for ac_func in sincosl
57184 do :
57185   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57186 if test "x$ac_cv_func_sincosl" = x""yes; then :
57187   cat >>confdefs.h <<_ACEOF
57188 #define HAVE_SINCOSL 1
57189 _ACEOF
57190
57191 fi
57192 done
57193
57194   else
57195
57196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57197 $as_echo_n "checking for _sincosl declaration... " >&6; }
57198   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57199     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57200   $as_echo_n "(cached) " >&6
57201 else
57202
57203
57204       ac_ext=cpp
57205 ac_cpp='$CXXCPP $CPPFLAGS'
57206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57209
57210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57211 /* end confdefs.h.  */
57212 #include <math.h>
57213 int
57214 main ()
57215 {
57216  _sincosl(0, 0, 0);
57217   ;
57218   return 0;
57219 }
57220 _ACEOF
57221 if ac_fn_cxx_try_compile "$LINENO"; then :
57222   glibcxx_cv_func__sincosl_use=yes
57223 else
57224   glibcxx_cv_func__sincosl_use=no
57225 fi
57226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57227       ac_ext=c
57228 ac_cpp='$CPP $CPPFLAGS'
57229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57232
57233
57234 fi
57235
57236   fi
57237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57238 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57239
57240     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57241       for ac_func in _sincosl
57242 do :
57243   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57244 if test "x$ac_cv_func__sincosl" = x""yes; then :
57245   cat >>confdefs.h <<_ACEOF
57246 #define HAVE__SINCOSL 1
57247 _ACEOF
57248
57249 fi
57250 done
57251
57252     fi
57253   fi
57254
57255
57256
57257
57258
57259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57260 $as_echo_n "checking for finitel declaration... " >&6; }
57261   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57262     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57263   $as_echo_n "(cached) " >&6
57264 else
57265
57266
57267       ac_ext=cpp
57268 ac_cpp='$CXXCPP $CPPFLAGS'
57269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57272
57273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57274 /* end confdefs.h.  */
57275 #include <math.h>
57276                       #ifdef HAVE_IEEEFP_H
57277                       #include <ieeefp.h>
57278                       #endif
57279
57280 int
57281 main ()
57282 {
57283  finitel(0);
57284   ;
57285   return 0;
57286 }
57287 _ACEOF
57288 if ac_fn_cxx_try_compile "$LINENO"; then :
57289   glibcxx_cv_func_finitel_use=yes
57290 else
57291   glibcxx_cv_func_finitel_use=no
57292 fi
57293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57294       ac_ext=c
57295 ac_cpp='$CPP $CPPFLAGS'
57296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57299
57300
57301 fi
57302
57303   fi
57304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57305 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57306
57307   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57308     for ac_func in finitel
57309 do :
57310   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57311 if test "x$ac_cv_func_finitel" = x""yes; then :
57312   cat >>confdefs.h <<_ACEOF
57313 #define HAVE_FINITEL 1
57314 _ACEOF
57315
57316 fi
57317 done
57318
57319   else
57320
57321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57322 $as_echo_n "checking for _finitel declaration... " >&6; }
57323   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57324     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57325   $as_echo_n "(cached) " >&6
57326 else
57327
57328
57329       ac_ext=cpp
57330 ac_cpp='$CXXCPP $CPPFLAGS'
57331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57334
57335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57336 /* end confdefs.h.  */
57337 #include <math.h>
57338                       #ifdef HAVE_IEEEFP_H
57339                       #include <ieeefp.h>
57340                       #endif
57341
57342 int
57343 main ()
57344 {
57345  _finitel(0);
57346   ;
57347   return 0;
57348 }
57349 _ACEOF
57350 if ac_fn_cxx_try_compile "$LINENO"; then :
57351   glibcxx_cv_func__finitel_use=yes
57352 else
57353   glibcxx_cv_func__finitel_use=no
57354 fi
57355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57356       ac_ext=c
57357 ac_cpp='$CPP $CPPFLAGS'
57358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57361
57362
57363 fi
57364
57365   fi
57366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57367 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57368
57369     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57370       for ac_func in _finitel
57371 do :
57372   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57373 if test "x$ac_cv_func__finitel" = x""yes; then :
57374   cat >>confdefs.h <<_ACEOF
57375 #define HAVE__FINITEL 1
57376 _ACEOF
57377
57378 fi
57379 done
57380
57381     fi
57382   fi
57383
57384
57385
57386
57387   LIBS="$ac_save_LIBS"
57388   CXXFLAGS="$ac_save_CXXFLAGS"
57389
57390
57391   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57392   ac_save_CXXFLAGS="$CXXFLAGS"
57393   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57394
57395
57396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57397 $as_echo_n "checking for strtold declaration... " >&6; }
57398   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57399     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57400   $as_echo_n "(cached) " >&6
57401 else
57402
57403
57404       ac_ext=cpp
57405 ac_cpp='$CXXCPP $CPPFLAGS'
57406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57409
57410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57411 /* end confdefs.h.  */
57412 #include <stdlib.h>
57413 int
57414 main ()
57415 {
57416  strtold(0, 0);
57417   ;
57418   return 0;
57419 }
57420 _ACEOF
57421 if ac_fn_cxx_try_compile "$LINENO"; then :
57422   glibcxx_cv_func_strtold_use=yes
57423 else
57424   glibcxx_cv_func_strtold_use=no
57425 fi
57426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57427       ac_ext=c
57428 ac_cpp='$CPP $CPPFLAGS'
57429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57432
57433
57434 fi
57435
57436   fi
57437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57438 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57439   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57440     for ac_func in strtold
57441 do :
57442   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57443 if test "x$ac_cv_func_strtold" = x""yes; then :
57444   cat >>confdefs.h <<_ACEOF
57445 #define HAVE_STRTOLD 1
57446 _ACEOF
57447
57448 fi
57449 done
57450
57451   fi
57452
57453
57454
57455
57456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57457 $as_echo_n "checking for strtof declaration... " >&6; }
57458   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57459     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57460   $as_echo_n "(cached) " >&6
57461 else
57462
57463
57464       ac_ext=cpp
57465 ac_cpp='$CXXCPP $CPPFLAGS'
57466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57469
57470       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57471 /* end confdefs.h.  */
57472 #include <stdlib.h>
57473 int
57474 main ()
57475 {
57476  strtof(0, 0);
57477   ;
57478   return 0;
57479 }
57480 _ACEOF
57481 if ac_fn_cxx_try_compile "$LINENO"; then :
57482   glibcxx_cv_func_strtof_use=yes
57483 else
57484   glibcxx_cv_func_strtof_use=no
57485 fi
57486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57487       ac_ext=c
57488 ac_cpp='$CPP $CPPFLAGS'
57489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57492
57493
57494 fi
57495
57496   fi
57497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57498 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57499   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57500     for ac_func in strtof
57501 do :
57502   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57503 if test "x$ac_cv_func_strtof" = x""yes; then :
57504   cat >>confdefs.h <<_ACEOF
57505 #define HAVE_STRTOF 1
57506 _ACEOF
57507
57508 fi
57509 done
57510
57511   fi
57512
57513
57514
57515
57516   CXXFLAGS="$ac_save_CXXFLAGS"
57517
57518     ;;
57519   *-netbsd*)
57520     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57521
57522
57523   # If we're not using GNU ld, then there's no point in even trying these
57524   # tests.  Check for that first.  We should have already tested for gld
57525   # by now (in libtool), but require it now just to be safe...
57526   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57527   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57528
57529
57530
57531   # The name set by libtool depends on the version of libtool.  Shame on us
57532   # for depending on an impl detail, but c'est la vie.  Older versions used
57533   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57534   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57535   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57536   # set (hence we're using an older libtool), then set it.
57537   if test x${with_gnu_ld+set} != xset; then
57538     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57539       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57540       with_gnu_ld=no
57541     else
57542       with_gnu_ld=$ac_cv_prog_gnu_ld
57543     fi
57544   fi
57545
57546   # Start by getting the version number.  I think the libtool test already
57547   # does some of this, but throws away the result.
57548   glibcxx_ld_is_gold=no
57549   if test x"$with_gnu_ld" = x"yes"; then
57550     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57551 $as_echo_n "checking for ld version... " >&6; }
57552
57553     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57554       glibcxx_ld_is_gold=yes
57555     fi
57556     ldver=`$LD --version 2>/dev/null |
57557            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'`
57558
57559     glibcxx_gnu_ld_version=`echo $ldver | \
57560            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57561     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57562 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57563   fi
57564
57565   # Set --gc-sections.
57566   glibcxx_have_gc_sections=no
57567   if test "$glibcxx_ld_is_gold" = "yes"; then
57568     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57569       glibcxx_have_gc_sections=yes
57570     fi
57571   else
57572     glibcxx_gcsections_min_ld=21602
57573     if test x"$with_gnu_ld" = x"yes" &&
57574         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57575       glibcxx_have_gc_sections=yes
57576     fi
57577   fi
57578   if test "$glibcxx_have_gc_sections" = "yes"; then
57579     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57580     # NB: This flag only works reliably after 2.16.1. Configure tests
57581     # for this are difficult, so hard wire a value that should work.
57582
57583     ac_test_CFLAGS="${CFLAGS+set}"
57584     ac_save_CFLAGS="$CFLAGS"
57585     CFLAGS='-Wl,--gc-sections'
57586
57587     # Check for -Wl,--gc-sections
57588     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57589 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57590     if test x$gcc_no_link = xyes; then
57591   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57592 fi
57593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57594 /* end confdefs.h.  */
57595  int one(void) { return 1; }
57596      int two(void) { return 2; }
57597
57598 int
57599 main ()
57600 {
57601  two();
57602   ;
57603   return 0;
57604 }
57605 _ACEOF
57606 if ac_fn_c_try_link "$LINENO"; then :
57607   ac_gcsections=yes
57608 else
57609   ac_gcsections=no
57610 fi
57611 rm -f core conftest.err conftest.$ac_objext \
57612     conftest$ac_exeext conftest.$ac_ext
57613     if test "$ac_gcsections" = "yes"; then
57614       rm -f conftest.c
57615       touch conftest.c
57616       if $CC -c conftest.c; then
57617         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57618            grep "Warning: gc-sections option ignored" > /dev/null; then
57619           ac_gcsections=no
57620         fi
57621       fi
57622       rm -f conftest.c conftest.o conftest
57623     fi
57624     if test "$ac_gcsections" = "yes"; then
57625       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57626     fi
57627     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57628 $as_echo "$ac_gcsections" >&6; }
57629
57630     if test "$ac_test_CFLAGS" = set; then
57631       CFLAGS="$ac_save_CFLAGS"
57632     else
57633       # this is the suspicious part
57634       CFLAGS=''
57635     fi
57636   fi
57637
57638   # Set -z,relro.
57639   # Note this is only for shared objects.
57640   ac_ld_relro=no
57641   if test x"$with_gnu_ld" = x"yes"; then
57642     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57643 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57644     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57645     if test -n "$cxx_z_relo"; then
57646       OPT_LDFLAGS="-Wl,-z,relro"
57647       ac_ld_relro=yes
57648     fi
57649     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57650 $as_echo "$ac_ld_relro" >&6; }
57651   fi
57652
57653   # Set linker optimization flags.
57654   if test x"$with_gnu_ld" = x"yes"; then
57655     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57656   fi
57657
57658
57659
57660
57661     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57662
57663     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57664
57665     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57666
57667     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57668
57669     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57670
57671     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57672
57673     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57674
57675     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57676
57677     if test x"long_double_math_on_this_cpu" = x"yes"; then
57678       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57679
57680       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57681
57682       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57683
57684     fi
57685     ;;
57686   *-qnx6.1* | *-qnx6.2*)
57687     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57688
57689
57690   # If we're not using GNU ld, then there's no point in even trying these
57691   # tests.  Check for that first.  We should have already tested for gld
57692   # by now (in libtool), but require it now just to be safe...
57693   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57694   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57695
57696
57697
57698   # The name set by libtool depends on the version of libtool.  Shame on us
57699   # for depending on an impl detail, but c'est la vie.  Older versions used
57700   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57701   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57702   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57703   # set (hence we're using an older libtool), then set it.
57704   if test x${with_gnu_ld+set} != xset; then
57705     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57706       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57707       with_gnu_ld=no
57708     else
57709       with_gnu_ld=$ac_cv_prog_gnu_ld
57710     fi
57711   fi
57712
57713   # Start by getting the version number.  I think the libtool test already
57714   # does some of this, but throws away the result.
57715   glibcxx_ld_is_gold=no
57716   if test x"$with_gnu_ld" = x"yes"; then
57717     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57718 $as_echo_n "checking for ld version... " >&6; }
57719
57720     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57721       glibcxx_ld_is_gold=yes
57722     fi
57723     ldver=`$LD --version 2>/dev/null |
57724            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'`
57725
57726     glibcxx_gnu_ld_version=`echo $ldver | \
57727            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57728     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57729 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57730   fi
57731
57732   # Set --gc-sections.
57733   glibcxx_have_gc_sections=no
57734   if test "$glibcxx_ld_is_gold" = "yes"; then
57735     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57736       glibcxx_have_gc_sections=yes
57737     fi
57738   else
57739     glibcxx_gcsections_min_ld=21602
57740     if test x"$with_gnu_ld" = x"yes" &&
57741         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57742       glibcxx_have_gc_sections=yes
57743     fi
57744   fi
57745   if test "$glibcxx_have_gc_sections" = "yes"; then
57746     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57747     # NB: This flag only works reliably after 2.16.1. Configure tests
57748     # for this are difficult, so hard wire a value that should work.
57749
57750     ac_test_CFLAGS="${CFLAGS+set}"
57751     ac_save_CFLAGS="$CFLAGS"
57752     CFLAGS='-Wl,--gc-sections'
57753
57754     # Check for -Wl,--gc-sections
57755     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57756 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57757     if test x$gcc_no_link = xyes; then
57758   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57759 fi
57760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57761 /* end confdefs.h.  */
57762  int one(void) { return 1; }
57763      int two(void) { return 2; }
57764
57765 int
57766 main ()
57767 {
57768  two();
57769   ;
57770   return 0;
57771 }
57772 _ACEOF
57773 if ac_fn_c_try_link "$LINENO"; then :
57774   ac_gcsections=yes
57775 else
57776   ac_gcsections=no
57777 fi
57778 rm -f core conftest.err conftest.$ac_objext \
57779     conftest$ac_exeext conftest.$ac_ext
57780     if test "$ac_gcsections" = "yes"; then
57781       rm -f conftest.c
57782       touch conftest.c
57783       if $CC -c conftest.c; then
57784         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57785            grep "Warning: gc-sections option ignored" > /dev/null; then
57786           ac_gcsections=no
57787         fi
57788       fi
57789       rm -f conftest.c conftest.o conftest
57790     fi
57791     if test "$ac_gcsections" = "yes"; then
57792       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57793     fi
57794     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57795 $as_echo "$ac_gcsections" >&6; }
57796
57797     if test "$ac_test_CFLAGS" = set; then
57798       CFLAGS="$ac_save_CFLAGS"
57799     else
57800       # this is the suspicious part
57801       CFLAGS=''
57802     fi
57803   fi
57804
57805   # Set -z,relro.
57806   # Note this is only for shared objects.
57807   ac_ld_relro=no
57808   if test x"$with_gnu_ld" = x"yes"; then
57809     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57810 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57811     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57812     if test -n "$cxx_z_relo"; then
57813       OPT_LDFLAGS="-Wl,-z,relro"
57814       ac_ld_relro=yes
57815     fi
57816     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57817 $as_echo "$ac_ld_relro" >&6; }
57818   fi
57819
57820   # Set linker optimization flags.
57821   if test x"$with_gnu_ld" = x"yes"; then
57822     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57823   fi
57824
57825
57826
57827
57828     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57829
57830     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57831
57832     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57833
57834     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57835
57836     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57837
57838     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57839
57840     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57841
57842     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57843
57844     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57845
57846     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57847
57848     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57849
57850     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57851
57852     ;;
57853   *-rtems*)
57854
57855   # All these tests are for C++; save the language and the compiler flags.
57856   # The CXXFLAGS thing is suspicious, but based on similar bits previously
57857   # found in GLIBCXX_CONFIGURE.
57858
57859   ac_ext=cpp
57860 ac_cpp='$CXXCPP $CPPFLAGS'
57861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57864
57865   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57866   ac_save_CXXFLAGS="$CXXFLAGS"
57867
57868   # Check for maintainer-mode bits.
57869   if test x"$USE_MAINTAINER_MODE" = xno; then
57870     WERROR=''
57871   else
57872     WERROR='-Werror'
57873   fi
57874
57875   # Check for -ffunction-sections -fdata-sections
57876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57877 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57878   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57880 /* end confdefs.h.  */
57881 int foo; void bar() { };
57882 int
57883 main ()
57884 {
57885
57886   ;
57887   return 0;
57888 }
57889 _ACEOF
57890 if ac_fn_cxx_try_compile "$LINENO"; then :
57891   ac_fdsections=yes
57892 else
57893   ac_fdsections=no
57894 fi
57895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57896   if test "$ac_test_CXXFLAGS" = set; then
57897     CXXFLAGS="$ac_save_CXXFLAGS"
57898   else
57899     # this is the suspicious part
57900     CXXFLAGS=''
57901   fi
57902   if test x"$ac_fdsections" = x"yes"; then
57903     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57904   fi
57905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57906 $as_echo "$ac_fdsections" >&6; }
57907
57908   ac_ext=c
57909 ac_cpp='$CPP $CPPFLAGS'
57910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57913
57914
57915
57916
57917
57918   # If we're not using GNU ld, then there's no point in even trying these
57919   # tests.  Check for that first.  We should have already tested for gld
57920   # by now (in libtool), but require it now just to be safe...
57921   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57922   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57923
57924
57925
57926   # The name set by libtool depends on the version of libtool.  Shame on us
57927   # for depending on an impl detail, but c'est la vie.  Older versions used
57928   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57929   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57930   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57931   # set (hence we're using an older libtool), then set it.
57932   if test x${with_gnu_ld+set} != xset; then
57933     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57934       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57935       with_gnu_ld=no
57936     else
57937       with_gnu_ld=$ac_cv_prog_gnu_ld
57938     fi
57939   fi
57940
57941   # Start by getting the version number.  I think the libtool test already
57942   # does some of this, but throws away the result.
57943   glibcxx_ld_is_gold=no
57944   if test x"$with_gnu_ld" = x"yes"; then
57945     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57946 $as_echo_n "checking for ld version... " >&6; }
57947
57948     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57949       glibcxx_ld_is_gold=yes
57950     fi
57951     ldver=`$LD --version 2>/dev/null |
57952            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'`
57953
57954     glibcxx_gnu_ld_version=`echo $ldver | \
57955            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57956     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57957 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57958   fi
57959
57960   # Set --gc-sections.
57961   glibcxx_have_gc_sections=no
57962   if test "$glibcxx_ld_is_gold" = "yes"; then
57963     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57964       glibcxx_have_gc_sections=yes
57965     fi
57966   else
57967     glibcxx_gcsections_min_ld=21602
57968     if test x"$with_gnu_ld" = x"yes" &&
57969         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57970       glibcxx_have_gc_sections=yes
57971     fi
57972   fi
57973   if test "$glibcxx_have_gc_sections" = "yes"; then
57974     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57975     # NB: This flag only works reliably after 2.16.1. Configure tests
57976     # for this are difficult, so hard wire a value that should work.
57977
57978     ac_test_CFLAGS="${CFLAGS+set}"
57979     ac_save_CFLAGS="$CFLAGS"
57980     CFLAGS='-Wl,--gc-sections'
57981
57982     # Check for -Wl,--gc-sections
57983     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57984 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57985     if test x$gcc_no_link = xyes; then
57986   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57987 fi
57988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57989 /* end confdefs.h.  */
57990  int one(void) { return 1; }
57991      int two(void) { return 2; }
57992
57993 int
57994 main ()
57995 {
57996  two();
57997   ;
57998   return 0;
57999 }
58000 _ACEOF
58001 if ac_fn_c_try_link "$LINENO"; then :
58002   ac_gcsections=yes
58003 else
58004   ac_gcsections=no
58005 fi
58006 rm -f core conftest.err conftest.$ac_objext \
58007     conftest$ac_exeext conftest.$ac_ext
58008     if test "$ac_gcsections" = "yes"; then
58009       rm -f conftest.c
58010       touch conftest.c
58011       if $CC -c conftest.c; then
58012         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58013            grep "Warning: gc-sections option ignored" > /dev/null; then
58014           ac_gcsections=no
58015         fi
58016       fi
58017       rm -f conftest.c conftest.o conftest
58018     fi
58019     if test "$ac_gcsections" = "yes"; then
58020       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58021     fi
58022     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58023 $as_echo "$ac_gcsections" >&6; }
58024
58025     if test "$ac_test_CFLAGS" = set; then
58026       CFLAGS="$ac_save_CFLAGS"
58027     else
58028       # this is the suspicious part
58029       CFLAGS=''
58030     fi
58031   fi
58032
58033   # Set -z,relro.
58034   # Note this is only for shared objects.
58035   ac_ld_relro=no
58036   if test x"$with_gnu_ld" = x"yes"; then
58037     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58038 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58039     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58040     if test -n "$cxx_z_relo"; then
58041       OPT_LDFLAGS="-Wl,-z,relro"
58042       ac_ld_relro=yes
58043     fi
58044     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58045 $as_echo "$ac_ld_relro" >&6; }
58046   fi
58047
58048   # Set linker optimization flags.
58049   if test x"$with_gnu_ld" = x"yes"; then
58050     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58051   fi
58052
58053
58054
58055
58056
58057   ac_test_CXXFLAGS="${CXXFLAGS+set}"
58058   ac_save_CXXFLAGS="$CXXFLAGS"
58059   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58060
58061     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58062 $as_echo_n "checking for sin in -lm... " >&6; }
58063 if test "${ac_cv_lib_m_sin+set}" = set; then :
58064   $as_echo_n "(cached) " >&6
58065 else
58066   ac_check_lib_save_LIBS=$LIBS
58067 LIBS="-lm  $LIBS"
58068 if test x$gcc_no_link = xyes; then
58069   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58070 fi
58071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58072 /* end confdefs.h.  */
58073
58074 /* Override any GCC internal prototype to avoid an error.
58075    Use char because int might match the return type of a GCC
58076    builtin and then its argument prototype would still apply.  */
58077 #ifdef __cplusplus
58078 extern "C"
58079 #endif
58080 char sin ();
58081 int
58082 main ()
58083 {
58084 return sin ();
58085   ;
58086   return 0;
58087 }
58088 _ACEOF
58089 if ac_fn_c_try_link "$LINENO"; then :
58090   ac_cv_lib_m_sin=yes
58091 else
58092   ac_cv_lib_m_sin=no
58093 fi
58094 rm -f core conftest.err conftest.$ac_objext \
58095     conftest$ac_exeext conftest.$ac_ext
58096 LIBS=$ac_check_lib_save_LIBS
58097 fi
58098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58099 $as_echo "$ac_cv_lib_m_sin" >&6; }
58100 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58101   libm="-lm"
58102 fi
58103
58104   ac_save_LIBS="$LIBS"
58105   LIBS="$LIBS $libm"
58106
58107
58108
58109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58110 $as_echo_n "checking for isinf declaration... " >&6; }
58111   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58112     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58113   $as_echo_n "(cached) " >&6
58114 else
58115
58116
58117       ac_ext=cpp
58118 ac_cpp='$CXXCPP $CPPFLAGS'
58119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58122
58123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58124 /* end confdefs.h.  */
58125 #include <math.h>
58126                       #ifdef HAVE_IEEEFP_H
58127                       #include <ieeefp.h>
58128                       #endif
58129
58130 int
58131 main ()
58132 {
58133  isinf(0);
58134   ;
58135   return 0;
58136 }
58137 _ACEOF
58138 if ac_fn_cxx_try_compile "$LINENO"; then :
58139   glibcxx_cv_func_isinf_use=yes
58140 else
58141   glibcxx_cv_func_isinf_use=no
58142 fi
58143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58144       ac_ext=c
58145 ac_cpp='$CPP $CPPFLAGS'
58146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58149
58150
58151 fi
58152
58153   fi
58154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58155 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58156
58157   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58158     for ac_func in isinf
58159 do :
58160   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58161 if test "x$ac_cv_func_isinf" = x""yes; then :
58162   cat >>confdefs.h <<_ACEOF
58163 #define HAVE_ISINF 1
58164 _ACEOF
58165
58166 fi
58167 done
58168
58169   else
58170
58171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58172 $as_echo_n "checking for _isinf declaration... " >&6; }
58173   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58174     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58175   $as_echo_n "(cached) " >&6
58176 else
58177
58178
58179       ac_ext=cpp
58180 ac_cpp='$CXXCPP $CPPFLAGS'
58181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58184
58185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58186 /* end confdefs.h.  */
58187 #include <math.h>
58188                       #ifdef HAVE_IEEEFP_H
58189                       #include <ieeefp.h>
58190                       #endif
58191
58192 int
58193 main ()
58194 {
58195  _isinf(0);
58196   ;
58197   return 0;
58198 }
58199 _ACEOF
58200 if ac_fn_cxx_try_compile "$LINENO"; then :
58201   glibcxx_cv_func__isinf_use=yes
58202 else
58203   glibcxx_cv_func__isinf_use=no
58204 fi
58205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58206       ac_ext=c
58207 ac_cpp='$CPP $CPPFLAGS'
58208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58211
58212
58213 fi
58214
58215   fi
58216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58217 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58218
58219     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58220       for ac_func in _isinf
58221 do :
58222   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58223 if test "x$ac_cv_func__isinf" = x""yes; then :
58224   cat >>confdefs.h <<_ACEOF
58225 #define HAVE__ISINF 1
58226 _ACEOF
58227
58228 fi
58229 done
58230
58231     fi
58232   fi
58233
58234
58235
58236
58237
58238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58239 $as_echo_n "checking for isnan declaration... " >&6; }
58240   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58241     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58242   $as_echo_n "(cached) " >&6
58243 else
58244
58245
58246       ac_ext=cpp
58247 ac_cpp='$CXXCPP $CPPFLAGS'
58248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58251
58252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58253 /* end confdefs.h.  */
58254 #include <math.h>
58255                       #ifdef HAVE_IEEEFP_H
58256                       #include <ieeefp.h>
58257                       #endif
58258
58259 int
58260 main ()
58261 {
58262  isnan(0);
58263   ;
58264   return 0;
58265 }
58266 _ACEOF
58267 if ac_fn_cxx_try_compile "$LINENO"; then :
58268   glibcxx_cv_func_isnan_use=yes
58269 else
58270   glibcxx_cv_func_isnan_use=no
58271 fi
58272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58273       ac_ext=c
58274 ac_cpp='$CPP $CPPFLAGS'
58275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58278
58279
58280 fi
58281
58282   fi
58283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58284 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58285
58286   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58287     for ac_func in isnan
58288 do :
58289   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58290 if test "x$ac_cv_func_isnan" = x""yes; then :
58291   cat >>confdefs.h <<_ACEOF
58292 #define HAVE_ISNAN 1
58293 _ACEOF
58294
58295 fi
58296 done
58297
58298   else
58299
58300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58301 $as_echo_n "checking for _isnan declaration... " >&6; }
58302   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58303     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58304   $as_echo_n "(cached) " >&6
58305 else
58306
58307
58308       ac_ext=cpp
58309 ac_cpp='$CXXCPP $CPPFLAGS'
58310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58313
58314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58315 /* end confdefs.h.  */
58316 #include <math.h>
58317                       #ifdef HAVE_IEEEFP_H
58318                       #include <ieeefp.h>
58319                       #endif
58320
58321 int
58322 main ()
58323 {
58324  _isnan(0);
58325   ;
58326   return 0;
58327 }
58328 _ACEOF
58329 if ac_fn_cxx_try_compile "$LINENO"; then :
58330   glibcxx_cv_func__isnan_use=yes
58331 else
58332   glibcxx_cv_func__isnan_use=no
58333 fi
58334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58335       ac_ext=c
58336 ac_cpp='$CPP $CPPFLAGS'
58337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58340
58341
58342 fi
58343
58344   fi
58345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58346 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58347
58348     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58349       for ac_func in _isnan
58350 do :
58351   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58352 if test "x$ac_cv_func__isnan" = x""yes; then :
58353   cat >>confdefs.h <<_ACEOF
58354 #define HAVE__ISNAN 1
58355 _ACEOF
58356
58357 fi
58358 done
58359
58360     fi
58361   fi
58362
58363
58364
58365
58366
58367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58368 $as_echo_n "checking for finite declaration... " >&6; }
58369   if test x${glibcxx_cv_func_finite_use+set} != xset; then
58370     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58371   $as_echo_n "(cached) " >&6
58372 else
58373
58374
58375       ac_ext=cpp
58376 ac_cpp='$CXXCPP $CPPFLAGS'
58377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58380
58381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58382 /* end confdefs.h.  */
58383 #include <math.h>
58384                       #ifdef HAVE_IEEEFP_H
58385                       #include <ieeefp.h>
58386                       #endif
58387
58388 int
58389 main ()
58390 {
58391  finite(0);
58392   ;
58393   return 0;
58394 }
58395 _ACEOF
58396 if ac_fn_cxx_try_compile "$LINENO"; then :
58397   glibcxx_cv_func_finite_use=yes
58398 else
58399   glibcxx_cv_func_finite_use=no
58400 fi
58401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58402       ac_ext=c
58403 ac_cpp='$CPP $CPPFLAGS'
58404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58407
58408
58409 fi
58410
58411   fi
58412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58413 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58414
58415   if test x$glibcxx_cv_func_finite_use = x"yes"; then
58416     for ac_func in finite
58417 do :
58418   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58419 if test "x$ac_cv_func_finite" = x""yes; then :
58420   cat >>confdefs.h <<_ACEOF
58421 #define HAVE_FINITE 1
58422 _ACEOF
58423
58424 fi
58425 done
58426
58427   else
58428
58429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58430 $as_echo_n "checking for _finite declaration... " >&6; }
58431   if test x${glibcxx_cv_func__finite_use+set} != xset; then
58432     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58433   $as_echo_n "(cached) " >&6
58434 else
58435
58436
58437       ac_ext=cpp
58438 ac_cpp='$CXXCPP $CPPFLAGS'
58439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58442
58443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58444 /* end confdefs.h.  */
58445 #include <math.h>
58446                       #ifdef HAVE_IEEEFP_H
58447                       #include <ieeefp.h>
58448                       #endif
58449
58450 int
58451 main ()
58452 {
58453  _finite(0);
58454   ;
58455   return 0;
58456 }
58457 _ACEOF
58458 if ac_fn_cxx_try_compile "$LINENO"; then :
58459   glibcxx_cv_func__finite_use=yes
58460 else
58461   glibcxx_cv_func__finite_use=no
58462 fi
58463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58464       ac_ext=c
58465 ac_cpp='$CPP $CPPFLAGS'
58466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58469
58470
58471 fi
58472
58473   fi
58474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58475 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58476
58477     if test x$glibcxx_cv_func__finite_use = x"yes"; then
58478       for ac_func in _finite
58479 do :
58480   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58481 if test "x$ac_cv_func__finite" = x""yes; then :
58482   cat >>confdefs.h <<_ACEOF
58483 #define HAVE__FINITE 1
58484 _ACEOF
58485
58486 fi
58487 done
58488
58489     fi
58490   fi
58491
58492
58493
58494
58495
58496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58497 $as_echo_n "checking for sincos declaration... " >&6; }
58498   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58499     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58500   $as_echo_n "(cached) " >&6
58501 else
58502
58503
58504       ac_ext=cpp
58505 ac_cpp='$CXXCPP $CPPFLAGS'
58506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58509
58510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58511 /* end confdefs.h.  */
58512 #include <math.h>
58513 int
58514 main ()
58515 {
58516  sincos(0, 0, 0);
58517   ;
58518   return 0;
58519 }
58520 _ACEOF
58521 if ac_fn_cxx_try_compile "$LINENO"; then :
58522   glibcxx_cv_func_sincos_use=yes
58523 else
58524   glibcxx_cv_func_sincos_use=no
58525 fi
58526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58527       ac_ext=c
58528 ac_cpp='$CPP $CPPFLAGS'
58529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58532
58533
58534 fi
58535
58536   fi
58537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58538 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58539
58540   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58541     for ac_func in sincos
58542 do :
58543   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58544 if test "x$ac_cv_func_sincos" = x""yes; then :
58545   cat >>confdefs.h <<_ACEOF
58546 #define HAVE_SINCOS 1
58547 _ACEOF
58548
58549 fi
58550 done
58551
58552   else
58553
58554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58555 $as_echo_n "checking for _sincos declaration... " >&6; }
58556   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58557     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58558   $as_echo_n "(cached) " >&6
58559 else
58560
58561
58562       ac_ext=cpp
58563 ac_cpp='$CXXCPP $CPPFLAGS'
58564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58567
58568       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58569 /* end confdefs.h.  */
58570 #include <math.h>
58571 int
58572 main ()
58573 {
58574  _sincos(0, 0, 0);
58575   ;
58576   return 0;
58577 }
58578 _ACEOF
58579 if ac_fn_cxx_try_compile "$LINENO"; then :
58580   glibcxx_cv_func__sincos_use=yes
58581 else
58582   glibcxx_cv_func__sincos_use=no
58583 fi
58584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58585       ac_ext=c
58586 ac_cpp='$CPP $CPPFLAGS'
58587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58590
58591
58592 fi
58593
58594   fi
58595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58596 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58597
58598     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58599       for ac_func in _sincos
58600 do :
58601   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58602 if test "x$ac_cv_func__sincos" = x""yes; then :
58603   cat >>confdefs.h <<_ACEOF
58604 #define HAVE__SINCOS 1
58605 _ACEOF
58606
58607 fi
58608 done
58609
58610     fi
58611   fi
58612
58613
58614
58615
58616
58617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58618 $as_echo_n "checking for fpclass declaration... " >&6; }
58619   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58620     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58621   $as_echo_n "(cached) " >&6
58622 else
58623
58624
58625       ac_ext=cpp
58626 ac_cpp='$CXXCPP $CPPFLAGS'
58627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58630
58631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58632 /* end confdefs.h.  */
58633 #include <math.h>
58634                       #ifdef HAVE_IEEEFP_H
58635                       #include <ieeefp.h>
58636                       #endif
58637
58638 int
58639 main ()
58640 {
58641  fpclass(0);
58642   ;
58643   return 0;
58644 }
58645 _ACEOF
58646 if ac_fn_cxx_try_compile "$LINENO"; then :
58647   glibcxx_cv_func_fpclass_use=yes
58648 else
58649   glibcxx_cv_func_fpclass_use=no
58650 fi
58651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58652       ac_ext=c
58653 ac_cpp='$CPP $CPPFLAGS'
58654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58657
58658
58659 fi
58660
58661   fi
58662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58663 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58664
58665   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58666     for ac_func in fpclass
58667 do :
58668   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58669 if test "x$ac_cv_func_fpclass" = x""yes; then :
58670   cat >>confdefs.h <<_ACEOF
58671 #define HAVE_FPCLASS 1
58672 _ACEOF
58673
58674 fi
58675 done
58676
58677   else
58678
58679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58680 $as_echo_n "checking for _fpclass declaration... " >&6; }
58681   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58682     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58683   $as_echo_n "(cached) " >&6
58684 else
58685
58686
58687       ac_ext=cpp
58688 ac_cpp='$CXXCPP $CPPFLAGS'
58689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58692
58693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58694 /* end confdefs.h.  */
58695 #include <math.h>
58696                       #ifdef HAVE_IEEEFP_H
58697                       #include <ieeefp.h>
58698                       #endif
58699
58700 int
58701 main ()
58702 {
58703  _fpclass(0);
58704   ;
58705   return 0;
58706 }
58707 _ACEOF
58708 if ac_fn_cxx_try_compile "$LINENO"; then :
58709   glibcxx_cv_func__fpclass_use=yes
58710 else
58711   glibcxx_cv_func__fpclass_use=no
58712 fi
58713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58714       ac_ext=c
58715 ac_cpp='$CPP $CPPFLAGS'
58716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58719
58720
58721 fi
58722
58723   fi
58724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58725 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58726
58727     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58728       for ac_func in _fpclass
58729 do :
58730   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58731 if test "x$ac_cv_func__fpclass" = x""yes; then :
58732   cat >>confdefs.h <<_ACEOF
58733 #define HAVE__FPCLASS 1
58734 _ACEOF
58735
58736 fi
58737 done
58738
58739     fi
58740   fi
58741
58742
58743
58744
58745
58746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58747 $as_echo_n "checking for qfpclass declaration... " >&6; }
58748   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58749     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58750   $as_echo_n "(cached) " >&6
58751 else
58752
58753
58754       ac_ext=cpp
58755 ac_cpp='$CXXCPP $CPPFLAGS'
58756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58759
58760       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58761 /* end confdefs.h.  */
58762 #include <math.h>
58763                       #ifdef HAVE_IEEEFP_H
58764                       #include <ieeefp.h>
58765                       #endif
58766
58767 int
58768 main ()
58769 {
58770  qfpclass(0);
58771   ;
58772   return 0;
58773 }
58774 _ACEOF
58775 if ac_fn_cxx_try_compile "$LINENO"; then :
58776   glibcxx_cv_func_qfpclass_use=yes
58777 else
58778   glibcxx_cv_func_qfpclass_use=no
58779 fi
58780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58781       ac_ext=c
58782 ac_cpp='$CPP $CPPFLAGS'
58783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58786
58787
58788 fi
58789
58790   fi
58791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58792 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58793
58794   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58795     for ac_func in qfpclass
58796 do :
58797   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58798 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58799   cat >>confdefs.h <<_ACEOF
58800 #define HAVE_QFPCLASS 1
58801 _ACEOF
58802
58803 fi
58804 done
58805
58806   else
58807
58808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58809 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58810   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58811     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58812   $as_echo_n "(cached) " >&6
58813 else
58814
58815
58816       ac_ext=cpp
58817 ac_cpp='$CXXCPP $CPPFLAGS'
58818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58821
58822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58823 /* end confdefs.h.  */
58824 #include <math.h>
58825                       #ifdef HAVE_IEEEFP_H
58826                       #include <ieeefp.h>
58827                       #endif
58828
58829 int
58830 main ()
58831 {
58832  _qfpclass(0);
58833   ;
58834   return 0;
58835 }
58836 _ACEOF
58837 if ac_fn_cxx_try_compile "$LINENO"; then :
58838   glibcxx_cv_func__qfpclass_use=yes
58839 else
58840   glibcxx_cv_func__qfpclass_use=no
58841 fi
58842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58843       ac_ext=c
58844 ac_cpp='$CPP $CPPFLAGS'
58845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58848
58849
58850 fi
58851
58852   fi
58853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58854 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58855
58856     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58857       for ac_func in _qfpclass
58858 do :
58859   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58860 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58861   cat >>confdefs.h <<_ACEOF
58862 #define HAVE__QFPCLASS 1
58863 _ACEOF
58864
58865 fi
58866 done
58867
58868     fi
58869   fi
58870
58871
58872
58873
58874
58875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58876 $as_echo_n "checking for hypot declaration... " >&6; }
58877   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58878     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58879   $as_echo_n "(cached) " >&6
58880 else
58881
58882
58883       ac_ext=cpp
58884 ac_cpp='$CXXCPP $CPPFLAGS'
58885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58888
58889       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58890 /* end confdefs.h.  */
58891 #include <math.h>
58892 int
58893 main ()
58894 {
58895  hypot(0, 0);
58896   ;
58897   return 0;
58898 }
58899 _ACEOF
58900 if ac_fn_cxx_try_compile "$LINENO"; then :
58901   glibcxx_cv_func_hypot_use=yes
58902 else
58903   glibcxx_cv_func_hypot_use=no
58904 fi
58905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58906       ac_ext=c
58907 ac_cpp='$CPP $CPPFLAGS'
58908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58911
58912
58913 fi
58914
58915   fi
58916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58917 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58918
58919   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58920     for ac_func in hypot
58921 do :
58922   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58923 if test "x$ac_cv_func_hypot" = x""yes; then :
58924   cat >>confdefs.h <<_ACEOF
58925 #define HAVE_HYPOT 1
58926 _ACEOF
58927
58928 fi
58929 done
58930
58931   else
58932
58933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58934 $as_echo_n "checking for _hypot declaration... " >&6; }
58935   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58936     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58937   $as_echo_n "(cached) " >&6
58938 else
58939
58940
58941       ac_ext=cpp
58942 ac_cpp='$CXXCPP $CPPFLAGS'
58943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58946
58947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58948 /* end confdefs.h.  */
58949 #include <math.h>
58950 int
58951 main ()
58952 {
58953  _hypot(0, 0);
58954   ;
58955   return 0;
58956 }
58957 _ACEOF
58958 if ac_fn_cxx_try_compile "$LINENO"; then :
58959   glibcxx_cv_func__hypot_use=yes
58960 else
58961   glibcxx_cv_func__hypot_use=no
58962 fi
58963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58964       ac_ext=c
58965 ac_cpp='$CPP $CPPFLAGS'
58966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58969
58970
58971 fi
58972
58973   fi
58974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58975 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58976
58977     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58978       for ac_func in _hypot
58979 do :
58980   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58981 if test "x$ac_cv_func__hypot" = x""yes; then :
58982   cat >>confdefs.h <<_ACEOF
58983 #define HAVE__HYPOT 1
58984 _ACEOF
58985
58986 fi
58987 done
58988
58989     fi
58990   fi
58991
58992
58993
58994
58995
58996     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58997 $as_echo_n "checking for float trig functions... " >&6; }
58998   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58999   $as_echo_n "(cached) " >&6
59000 else
59001
59002
59003     ac_ext=cpp
59004 ac_cpp='$CXXCPP $CPPFLAGS'
59005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59008
59009     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59010 /* end confdefs.h.  */
59011 #include <math.h>
59012 int
59013 main ()
59014 {
59015 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59016   ;
59017   return 0;
59018 }
59019 _ACEOF
59020 if ac_fn_cxx_try_compile "$LINENO"; then :
59021   glibcxx_cv_func_float_trig_use=yes
59022 else
59023   glibcxx_cv_func_float_trig_use=no
59024 fi
59025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59026     ac_ext=c
59027 ac_cpp='$CPP $CPPFLAGS'
59028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59031
59032 fi
59033
59034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59035 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59036   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59037     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59038 do :
59039   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59040 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59041 eval as_val=\$$as_ac_var
59042    if test "x$as_val" = x""yes; then :
59043   cat >>confdefs.h <<_ACEOF
59044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59045 _ACEOF
59046
59047 fi
59048 done
59049
59050   else
59051     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59052 $as_echo_n "checking for _float trig functions... " >&6; }
59053     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59054   $as_echo_n "(cached) " >&6
59055 else
59056
59057
59058       ac_ext=cpp
59059 ac_cpp='$CXXCPP $CPPFLAGS'
59060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59063
59064       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59065 /* end confdefs.h.  */
59066 #include <math.h>
59067 int
59068 main ()
59069 {
59070 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59071   ;
59072   return 0;
59073 }
59074 _ACEOF
59075 if ac_fn_cxx_try_compile "$LINENO"; then :
59076   glibcxx_cv_func__float_trig_use=yes
59077 else
59078   glibcxx_cv_func__float_trig_use=no
59079 fi
59080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59081       ac_ext=c
59082 ac_cpp='$CPP $CPPFLAGS'
59083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59086
59087 fi
59088
59089     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59090 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59091     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59092       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59093 do :
59094   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59096 eval as_val=\$$as_ac_var
59097    if test "x$as_val" = x""yes; then :
59098   cat >>confdefs.h <<_ACEOF
59099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59100 _ACEOF
59101
59102 fi
59103 done
59104
59105     fi
59106   fi
59107
59108
59109
59110
59111
59112     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59113 $as_echo_n "checking for float round functions... " >&6; }
59114   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59115   $as_echo_n "(cached) " >&6
59116 else
59117
59118
59119     ac_ext=cpp
59120 ac_cpp='$CXXCPP $CPPFLAGS'
59121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59124
59125     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59126 /* end confdefs.h.  */
59127 #include <math.h>
59128 int
59129 main ()
59130 {
59131 ceilf (0); floorf (0);
59132   ;
59133   return 0;
59134 }
59135 _ACEOF
59136 if ac_fn_cxx_try_compile "$LINENO"; then :
59137   glibcxx_cv_func_float_round_use=yes
59138 else
59139   glibcxx_cv_func_float_round_use=no
59140 fi
59141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59142     ac_ext=c
59143 ac_cpp='$CPP $CPPFLAGS'
59144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59147
59148 fi
59149
59150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59151 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59152   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59153     for ac_func in ceilf floorf
59154 do :
59155   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59156 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59157 eval as_val=\$$as_ac_var
59158    if test "x$as_val" = x""yes; then :
59159   cat >>confdefs.h <<_ACEOF
59160 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59161 _ACEOF
59162
59163 fi
59164 done
59165
59166   else
59167     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59168 $as_echo_n "checking for _float round functions... " >&6; }
59169     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59170   $as_echo_n "(cached) " >&6
59171 else
59172
59173
59174       ac_ext=cpp
59175 ac_cpp='$CXXCPP $CPPFLAGS'
59176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59179
59180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59181 /* end confdefs.h.  */
59182 #include <math.h>
59183 int
59184 main ()
59185 {
59186 _ceilf (0); _floorf (0);
59187   ;
59188   return 0;
59189 }
59190 _ACEOF
59191 if ac_fn_cxx_try_compile "$LINENO"; then :
59192   glibcxx_cv_func__float_round_use=yes
59193 else
59194   glibcxx_cv_func__float_round_use=no
59195 fi
59196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59197       ac_ext=c
59198 ac_cpp='$CPP $CPPFLAGS'
59199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59202
59203 fi
59204
59205     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59206 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59207     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59208       for ac_func in _ceilf _floorf
59209 do :
59210   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59211 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59212 eval as_val=\$$as_ac_var
59213    if test "x$as_val" = x""yes; then :
59214   cat >>confdefs.h <<_ACEOF
59215 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59216 _ACEOF
59217
59218 fi
59219 done
59220
59221     fi
59222   fi
59223
59224
59225
59226
59227
59228
59229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59230 $as_echo_n "checking for expf declaration... " >&6; }
59231   if test x${glibcxx_cv_func_expf_use+set} != xset; then
59232     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59233   $as_echo_n "(cached) " >&6
59234 else
59235
59236
59237       ac_ext=cpp
59238 ac_cpp='$CXXCPP $CPPFLAGS'
59239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59242
59243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59244 /* end confdefs.h.  */
59245 #include <math.h>
59246                       #ifdef HAVE_IEEEFP_H
59247                       #include <ieeefp.h>
59248                       #endif
59249
59250 int
59251 main ()
59252 {
59253  expf(0);
59254   ;
59255   return 0;
59256 }
59257 _ACEOF
59258 if ac_fn_cxx_try_compile "$LINENO"; then :
59259   glibcxx_cv_func_expf_use=yes
59260 else
59261   glibcxx_cv_func_expf_use=no
59262 fi
59263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59264       ac_ext=c
59265 ac_cpp='$CPP $CPPFLAGS'
59266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59269
59270
59271 fi
59272
59273   fi
59274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59275 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59276
59277   if test x$glibcxx_cv_func_expf_use = x"yes"; then
59278     for ac_func in expf
59279 do :
59280   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59281 if test "x$ac_cv_func_expf" = x""yes; then :
59282   cat >>confdefs.h <<_ACEOF
59283 #define HAVE_EXPF 1
59284 _ACEOF
59285
59286 fi
59287 done
59288
59289   else
59290
59291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59292 $as_echo_n "checking for _expf declaration... " >&6; }
59293   if test x${glibcxx_cv_func__expf_use+set} != xset; then
59294     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59295   $as_echo_n "(cached) " >&6
59296 else
59297
59298
59299       ac_ext=cpp
59300 ac_cpp='$CXXCPP $CPPFLAGS'
59301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59304
59305       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59306 /* end confdefs.h.  */
59307 #include <math.h>
59308                       #ifdef HAVE_IEEEFP_H
59309                       #include <ieeefp.h>
59310                       #endif
59311
59312 int
59313 main ()
59314 {
59315  _expf(0);
59316   ;
59317   return 0;
59318 }
59319 _ACEOF
59320 if ac_fn_cxx_try_compile "$LINENO"; then :
59321   glibcxx_cv_func__expf_use=yes
59322 else
59323   glibcxx_cv_func__expf_use=no
59324 fi
59325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59326       ac_ext=c
59327 ac_cpp='$CPP $CPPFLAGS'
59328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59331
59332
59333 fi
59334
59335   fi
59336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59337 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59338
59339     if test x$glibcxx_cv_func__expf_use = x"yes"; then
59340       for ac_func in _expf
59341 do :
59342   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59343 if test "x$ac_cv_func__expf" = x""yes; then :
59344   cat >>confdefs.h <<_ACEOF
59345 #define HAVE__EXPF 1
59346 _ACEOF
59347
59348 fi
59349 done
59350
59351     fi
59352   fi
59353
59354
59355
59356
59357
59358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59359 $as_echo_n "checking for isnanf declaration... " >&6; }
59360   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59361     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59362   $as_echo_n "(cached) " >&6
59363 else
59364
59365
59366       ac_ext=cpp
59367 ac_cpp='$CXXCPP $CPPFLAGS'
59368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59371
59372       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59373 /* end confdefs.h.  */
59374 #include <math.h>
59375                       #ifdef HAVE_IEEEFP_H
59376                       #include <ieeefp.h>
59377                       #endif
59378
59379 int
59380 main ()
59381 {
59382  isnanf(0);
59383   ;
59384   return 0;
59385 }
59386 _ACEOF
59387 if ac_fn_cxx_try_compile "$LINENO"; then :
59388   glibcxx_cv_func_isnanf_use=yes
59389 else
59390   glibcxx_cv_func_isnanf_use=no
59391 fi
59392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59393       ac_ext=c
59394 ac_cpp='$CPP $CPPFLAGS'
59395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59398
59399
59400 fi
59401
59402   fi
59403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59404 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59405
59406   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59407     for ac_func in isnanf
59408 do :
59409   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59410 if test "x$ac_cv_func_isnanf" = x""yes; then :
59411   cat >>confdefs.h <<_ACEOF
59412 #define HAVE_ISNANF 1
59413 _ACEOF
59414
59415 fi
59416 done
59417
59418   else
59419
59420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59421 $as_echo_n "checking for _isnanf declaration... " >&6; }
59422   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59423     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59424   $as_echo_n "(cached) " >&6
59425 else
59426
59427
59428       ac_ext=cpp
59429 ac_cpp='$CXXCPP $CPPFLAGS'
59430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59433
59434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59435 /* end confdefs.h.  */
59436 #include <math.h>
59437                       #ifdef HAVE_IEEEFP_H
59438                       #include <ieeefp.h>
59439                       #endif
59440
59441 int
59442 main ()
59443 {
59444  _isnanf(0);
59445   ;
59446   return 0;
59447 }
59448 _ACEOF
59449 if ac_fn_cxx_try_compile "$LINENO"; then :
59450   glibcxx_cv_func__isnanf_use=yes
59451 else
59452   glibcxx_cv_func__isnanf_use=no
59453 fi
59454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59455       ac_ext=c
59456 ac_cpp='$CPP $CPPFLAGS'
59457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59460
59461
59462 fi
59463
59464   fi
59465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59466 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59467
59468     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59469       for ac_func in _isnanf
59470 do :
59471   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59472 if test "x$ac_cv_func__isnanf" = x""yes; then :
59473   cat >>confdefs.h <<_ACEOF
59474 #define HAVE__ISNANF 1
59475 _ACEOF
59476
59477 fi
59478 done
59479
59480     fi
59481   fi
59482
59483
59484
59485
59486
59487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59488 $as_echo_n "checking for isinff declaration... " >&6; }
59489   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59490     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59491   $as_echo_n "(cached) " >&6
59492 else
59493
59494
59495       ac_ext=cpp
59496 ac_cpp='$CXXCPP $CPPFLAGS'
59497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59500
59501       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59502 /* end confdefs.h.  */
59503 #include <math.h>
59504                       #ifdef HAVE_IEEEFP_H
59505                       #include <ieeefp.h>
59506                       #endif
59507
59508 int
59509 main ()
59510 {
59511  isinff(0);
59512   ;
59513   return 0;
59514 }
59515 _ACEOF
59516 if ac_fn_cxx_try_compile "$LINENO"; then :
59517   glibcxx_cv_func_isinff_use=yes
59518 else
59519   glibcxx_cv_func_isinff_use=no
59520 fi
59521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59522       ac_ext=c
59523 ac_cpp='$CPP $CPPFLAGS'
59524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59527
59528
59529 fi
59530
59531   fi
59532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59533 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59534
59535   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59536     for ac_func in isinff
59537 do :
59538   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59539 if test "x$ac_cv_func_isinff" = x""yes; then :
59540   cat >>confdefs.h <<_ACEOF
59541 #define HAVE_ISINFF 1
59542 _ACEOF
59543
59544 fi
59545 done
59546
59547   else
59548
59549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59550 $as_echo_n "checking for _isinff declaration... " >&6; }
59551   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59552     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59553   $as_echo_n "(cached) " >&6
59554 else
59555
59556
59557       ac_ext=cpp
59558 ac_cpp='$CXXCPP $CPPFLAGS'
59559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59562
59563       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59564 /* end confdefs.h.  */
59565 #include <math.h>
59566                       #ifdef HAVE_IEEEFP_H
59567                       #include <ieeefp.h>
59568                       #endif
59569
59570 int
59571 main ()
59572 {
59573  _isinff(0);
59574   ;
59575   return 0;
59576 }
59577 _ACEOF
59578 if ac_fn_cxx_try_compile "$LINENO"; then :
59579   glibcxx_cv_func__isinff_use=yes
59580 else
59581   glibcxx_cv_func__isinff_use=no
59582 fi
59583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59584       ac_ext=c
59585 ac_cpp='$CPP $CPPFLAGS'
59586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59589
59590
59591 fi
59592
59593   fi
59594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59595 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59596
59597     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59598       for ac_func in _isinff
59599 do :
59600   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59601 if test "x$ac_cv_func__isinff" = x""yes; then :
59602   cat >>confdefs.h <<_ACEOF
59603 #define HAVE__ISINFF 1
59604 _ACEOF
59605
59606 fi
59607 done
59608
59609     fi
59610   fi
59611
59612
59613
59614
59615
59616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59617 $as_echo_n "checking for atan2f declaration... " >&6; }
59618   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59619     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59620   $as_echo_n "(cached) " >&6
59621 else
59622
59623
59624       ac_ext=cpp
59625 ac_cpp='$CXXCPP $CPPFLAGS'
59626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59629
59630       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59631 /* end confdefs.h.  */
59632 #include <math.h>
59633 int
59634 main ()
59635 {
59636  atan2f(0, 0);
59637   ;
59638   return 0;
59639 }
59640 _ACEOF
59641 if ac_fn_cxx_try_compile "$LINENO"; then :
59642   glibcxx_cv_func_atan2f_use=yes
59643 else
59644   glibcxx_cv_func_atan2f_use=no
59645 fi
59646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59647       ac_ext=c
59648 ac_cpp='$CPP $CPPFLAGS'
59649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59652
59653
59654 fi
59655
59656   fi
59657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59658 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59659
59660   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59661     for ac_func in atan2f
59662 do :
59663   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59664 if test "x$ac_cv_func_atan2f" = x""yes; then :
59665   cat >>confdefs.h <<_ACEOF
59666 #define HAVE_ATAN2F 1
59667 _ACEOF
59668
59669 fi
59670 done
59671
59672   else
59673
59674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59675 $as_echo_n "checking for _atan2f declaration... " >&6; }
59676   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59677     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59678   $as_echo_n "(cached) " >&6
59679 else
59680
59681
59682       ac_ext=cpp
59683 ac_cpp='$CXXCPP $CPPFLAGS'
59684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59687
59688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59689 /* end confdefs.h.  */
59690 #include <math.h>
59691 int
59692 main ()
59693 {
59694  _atan2f(0, 0);
59695   ;
59696   return 0;
59697 }
59698 _ACEOF
59699 if ac_fn_cxx_try_compile "$LINENO"; then :
59700   glibcxx_cv_func__atan2f_use=yes
59701 else
59702   glibcxx_cv_func__atan2f_use=no
59703 fi
59704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59705       ac_ext=c
59706 ac_cpp='$CPP $CPPFLAGS'
59707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59710
59711
59712 fi
59713
59714   fi
59715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59716 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59717
59718     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59719       for ac_func in _atan2f
59720 do :
59721   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59722 if test "x$ac_cv_func__atan2f" = x""yes; then :
59723   cat >>confdefs.h <<_ACEOF
59724 #define HAVE__ATAN2F 1
59725 _ACEOF
59726
59727 fi
59728 done
59729
59730     fi
59731   fi
59732
59733
59734
59735
59736
59737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59738 $as_echo_n "checking for fabsf declaration... " >&6; }
59739   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59740     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59741   $as_echo_n "(cached) " >&6
59742 else
59743
59744
59745       ac_ext=cpp
59746 ac_cpp='$CXXCPP $CPPFLAGS'
59747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59750
59751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59752 /* end confdefs.h.  */
59753 #include <math.h>
59754                       #ifdef HAVE_IEEEFP_H
59755                       #include <ieeefp.h>
59756                       #endif
59757
59758 int
59759 main ()
59760 {
59761  fabsf(0);
59762   ;
59763   return 0;
59764 }
59765 _ACEOF
59766 if ac_fn_cxx_try_compile "$LINENO"; then :
59767   glibcxx_cv_func_fabsf_use=yes
59768 else
59769   glibcxx_cv_func_fabsf_use=no
59770 fi
59771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59772       ac_ext=c
59773 ac_cpp='$CPP $CPPFLAGS'
59774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59777
59778
59779 fi
59780
59781   fi
59782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59783 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59784
59785   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59786     for ac_func in fabsf
59787 do :
59788   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59789 if test "x$ac_cv_func_fabsf" = x""yes; then :
59790   cat >>confdefs.h <<_ACEOF
59791 #define HAVE_FABSF 1
59792 _ACEOF
59793
59794 fi
59795 done
59796
59797   else
59798
59799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59800 $as_echo_n "checking for _fabsf declaration... " >&6; }
59801   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59802     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59803   $as_echo_n "(cached) " >&6
59804 else
59805
59806
59807       ac_ext=cpp
59808 ac_cpp='$CXXCPP $CPPFLAGS'
59809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59812
59813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59814 /* end confdefs.h.  */
59815 #include <math.h>
59816                       #ifdef HAVE_IEEEFP_H
59817                       #include <ieeefp.h>
59818                       #endif
59819
59820 int
59821 main ()
59822 {
59823  _fabsf(0);
59824   ;
59825   return 0;
59826 }
59827 _ACEOF
59828 if ac_fn_cxx_try_compile "$LINENO"; then :
59829   glibcxx_cv_func__fabsf_use=yes
59830 else
59831   glibcxx_cv_func__fabsf_use=no
59832 fi
59833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59834       ac_ext=c
59835 ac_cpp='$CPP $CPPFLAGS'
59836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59839
59840
59841 fi
59842
59843   fi
59844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59845 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59846
59847     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59848       for ac_func in _fabsf
59849 do :
59850   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59851 if test "x$ac_cv_func__fabsf" = x""yes; then :
59852   cat >>confdefs.h <<_ACEOF
59853 #define HAVE__FABSF 1
59854 _ACEOF
59855
59856 fi
59857 done
59858
59859     fi
59860   fi
59861
59862
59863
59864
59865
59866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59867 $as_echo_n "checking for fmodf declaration... " >&6; }
59868   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59869     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59870   $as_echo_n "(cached) " >&6
59871 else
59872
59873
59874       ac_ext=cpp
59875 ac_cpp='$CXXCPP $CPPFLAGS'
59876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59879
59880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59881 /* end confdefs.h.  */
59882 #include <math.h>
59883 int
59884 main ()
59885 {
59886  fmodf(0, 0);
59887   ;
59888   return 0;
59889 }
59890 _ACEOF
59891 if ac_fn_cxx_try_compile "$LINENO"; then :
59892   glibcxx_cv_func_fmodf_use=yes
59893 else
59894   glibcxx_cv_func_fmodf_use=no
59895 fi
59896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59897       ac_ext=c
59898 ac_cpp='$CPP $CPPFLAGS'
59899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59902
59903
59904 fi
59905
59906   fi
59907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59908 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59909
59910   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59911     for ac_func in fmodf
59912 do :
59913   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59914 if test "x$ac_cv_func_fmodf" = x""yes; then :
59915   cat >>confdefs.h <<_ACEOF
59916 #define HAVE_FMODF 1
59917 _ACEOF
59918
59919 fi
59920 done
59921
59922   else
59923
59924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59925 $as_echo_n "checking for _fmodf declaration... " >&6; }
59926   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59927     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59928   $as_echo_n "(cached) " >&6
59929 else
59930
59931
59932       ac_ext=cpp
59933 ac_cpp='$CXXCPP $CPPFLAGS'
59934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59937
59938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59939 /* end confdefs.h.  */
59940 #include <math.h>
59941 int
59942 main ()
59943 {
59944  _fmodf(0, 0);
59945   ;
59946   return 0;
59947 }
59948 _ACEOF
59949 if ac_fn_cxx_try_compile "$LINENO"; then :
59950   glibcxx_cv_func__fmodf_use=yes
59951 else
59952   glibcxx_cv_func__fmodf_use=no
59953 fi
59954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59955       ac_ext=c
59956 ac_cpp='$CPP $CPPFLAGS'
59957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59960
59961
59962 fi
59963
59964   fi
59965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59966 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59967
59968     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59969       for ac_func in _fmodf
59970 do :
59971   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59972 if test "x$ac_cv_func__fmodf" = x""yes; then :
59973   cat >>confdefs.h <<_ACEOF
59974 #define HAVE__FMODF 1
59975 _ACEOF
59976
59977 fi
59978 done
59979
59980     fi
59981   fi
59982
59983
59984
59985
59986
59987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59988 $as_echo_n "checking for frexpf declaration... " >&6; }
59989   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59990     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59991   $as_echo_n "(cached) " >&6
59992 else
59993
59994
59995       ac_ext=cpp
59996 ac_cpp='$CXXCPP $CPPFLAGS'
59997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60000
60001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60002 /* end confdefs.h.  */
60003 #include <math.h>
60004 int
60005 main ()
60006 {
60007  frexpf(0, 0);
60008   ;
60009   return 0;
60010 }
60011 _ACEOF
60012 if ac_fn_cxx_try_compile "$LINENO"; then :
60013   glibcxx_cv_func_frexpf_use=yes
60014 else
60015   glibcxx_cv_func_frexpf_use=no
60016 fi
60017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60018       ac_ext=c
60019 ac_cpp='$CPP $CPPFLAGS'
60020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60023
60024
60025 fi
60026
60027   fi
60028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60029 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60030
60031   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60032     for ac_func in frexpf
60033 do :
60034   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60035 if test "x$ac_cv_func_frexpf" = x""yes; then :
60036   cat >>confdefs.h <<_ACEOF
60037 #define HAVE_FREXPF 1
60038 _ACEOF
60039
60040 fi
60041 done
60042
60043   else
60044
60045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60046 $as_echo_n "checking for _frexpf declaration... " >&6; }
60047   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60048     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60049   $as_echo_n "(cached) " >&6
60050 else
60051
60052
60053       ac_ext=cpp
60054 ac_cpp='$CXXCPP $CPPFLAGS'
60055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60058
60059       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60060 /* end confdefs.h.  */
60061 #include <math.h>
60062 int
60063 main ()
60064 {
60065  _frexpf(0, 0);
60066   ;
60067   return 0;
60068 }
60069 _ACEOF
60070 if ac_fn_cxx_try_compile "$LINENO"; then :
60071   glibcxx_cv_func__frexpf_use=yes
60072 else
60073   glibcxx_cv_func__frexpf_use=no
60074 fi
60075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60076       ac_ext=c
60077 ac_cpp='$CPP $CPPFLAGS'
60078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60081
60082
60083 fi
60084
60085   fi
60086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60087 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60088
60089     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60090       for ac_func in _frexpf
60091 do :
60092   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60093 if test "x$ac_cv_func__frexpf" = x""yes; then :
60094   cat >>confdefs.h <<_ACEOF
60095 #define HAVE__FREXPF 1
60096 _ACEOF
60097
60098 fi
60099 done
60100
60101     fi
60102   fi
60103
60104
60105
60106
60107
60108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60109 $as_echo_n "checking for hypotf declaration... " >&6; }
60110   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60111     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60112   $as_echo_n "(cached) " >&6
60113 else
60114
60115
60116       ac_ext=cpp
60117 ac_cpp='$CXXCPP $CPPFLAGS'
60118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60121
60122       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60123 /* end confdefs.h.  */
60124 #include <math.h>
60125 int
60126 main ()
60127 {
60128  hypotf(0, 0);
60129   ;
60130   return 0;
60131 }
60132 _ACEOF
60133 if ac_fn_cxx_try_compile "$LINENO"; then :
60134   glibcxx_cv_func_hypotf_use=yes
60135 else
60136   glibcxx_cv_func_hypotf_use=no
60137 fi
60138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60139       ac_ext=c
60140 ac_cpp='$CPP $CPPFLAGS'
60141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60144
60145
60146 fi
60147
60148   fi
60149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60150 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60151
60152   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60153     for ac_func in hypotf
60154 do :
60155   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60156 if test "x$ac_cv_func_hypotf" = x""yes; then :
60157   cat >>confdefs.h <<_ACEOF
60158 #define HAVE_HYPOTF 1
60159 _ACEOF
60160
60161 fi
60162 done
60163
60164   else
60165
60166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60167 $as_echo_n "checking for _hypotf declaration... " >&6; }
60168   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60169     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60170   $as_echo_n "(cached) " >&6
60171 else
60172
60173
60174       ac_ext=cpp
60175 ac_cpp='$CXXCPP $CPPFLAGS'
60176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60179
60180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60181 /* end confdefs.h.  */
60182 #include <math.h>
60183 int
60184 main ()
60185 {
60186  _hypotf(0, 0);
60187   ;
60188   return 0;
60189 }
60190 _ACEOF
60191 if ac_fn_cxx_try_compile "$LINENO"; then :
60192   glibcxx_cv_func__hypotf_use=yes
60193 else
60194   glibcxx_cv_func__hypotf_use=no
60195 fi
60196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60197       ac_ext=c
60198 ac_cpp='$CPP $CPPFLAGS'
60199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60202
60203
60204 fi
60205
60206   fi
60207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60208 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60209
60210     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60211       for ac_func in _hypotf
60212 do :
60213   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60214 if test "x$ac_cv_func__hypotf" = x""yes; then :
60215   cat >>confdefs.h <<_ACEOF
60216 #define HAVE__HYPOTF 1
60217 _ACEOF
60218
60219 fi
60220 done
60221
60222     fi
60223   fi
60224
60225
60226
60227
60228
60229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60230 $as_echo_n "checking for ldexpf declaration... " >&6; }
60231   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60232     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60233   $as_echo_n "(cached) " >&6
60234 else
60235
60236
60237       ac_ext=cpp
60238 ac_cpp='$CXXCPP $CPPFLAGS'
60239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60242
60243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60244 /* end confdefs.h.  */
60245 #include <math.h>
60246 int
60247 main ()
60248 {
60249  ldexpf(0, 0);
60250   ;
60251   return 0;
60252 }
60253 _ACEOF
60254 if ac_fn_cxx_try_compile "$LINENO"; then :
60255   glibcxx_cv_func_ldexpf_use=yes
60256 else
60257   glibcxx_cv_func_ldexpf_use=no
60258 fi
60259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60260       ac_ext=c
60261 ac_cpp='$CPP $CPPFLAGS'
60262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60265
60266
60267 fi
60268
60269   fi
60270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60271 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60272
60273   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60274     for ac_func in ldexpf
60275 do :
60276   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60277 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60278   cat >>confdefs.h <<_ACEOF
60279 #define HAVE_LDEXPF 1
60280 _ACEOF
60281
60282 fi
60283 done
60284
60285   else
60286
60287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60288 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60289   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60290     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60291   $as_echo_n "(cached) " >&6
60292 else
60293
60294
60295       ac_ext=cpp
60296 ac_cpp='$CXXCPP $CPPFLAGS'
60297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60300
60301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60302 /* end confdefs.h.  */
60303 #include <math.h>
60304 int
60305 main ()
60306 {
60307  _ldexpf(0, 0);
60308   ;
60309   return 0;
60310 }
60311 _ACEOF
60312 if ac_fn_cxx_try_compile "$LINENO"; then :
60313   glibcxx_cv_func__ldexpf_use=yes
60314 else
60315   glibcxx_cv_func__ldexpf_use=no
60316 fi
60317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60318       ac_ext=c
60319 ac_cpp='$CPP $CPPFLAGS'
60320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60323
60324
60325 fi
60326
60327   fi
60328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60329 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60330
60331     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60332       for ac_func in _ldexpf
60333 do :
60334   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60335 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60336   cat >>confdefs.h <<_ACEOF
60337 #define HAVE__LDEXPF 1
60338 _ACEOF
60339
60340 fi
60341 done
60342
60343     fi
60344   fi
60345
60346
60347
60348
60349
60350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60351 $as_echo_n "checking for logf declaration... " >&6; }
60352   if test x${glibcxx_cv_func_logf_use+set} != xset; then
60353     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60354   $as_echo_n "(cached) " >&6
60355 else
60356
60357
60358       ac_ext=cpp
60359 ac_cpp='$CXXCPP $CPPFLAGS'
60360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60363
60364       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60365 /* end confdefs.h.  */
60366 #include <math.h>
60367                       #ifdef HAVE_IEEEFP_H
60368                       #include <ieeefp.h>
60369                       #endif
60370
60371 int
60372 main ()
60373 {
60374  logf(0);
60375   ;
60376   return 0;
60377 }
60378 _ACEOF
60379 if ac_fn_cxx_try_compile "$LINENO"; then :
60380   glibcxx_cv_func_logf_use=yes
60381 else
60382   glibcxx_cv_func_logf_use=no
60383 fi
60384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60385       ac_ext=c
60386 ac_cpp='$CPP $CPPFLAGS'
60387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60390
60391
60392 fi
60393
60394   fi
60395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60396 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60397
60398   if test x$glibcxx_cv_func_logf_use = x"yes"; then
60399     for ac_func in logf
60400 do :
60401   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60402 if test "x$ac_cv_func_logf" = x""yes; then :
60403   cat >>confdefs.h <<_ACEOF
60404 #define HAVE_LOGF 1
60405 _ACEOF
60406
60407 fi
60408 done
60409
60410   else
60411
60412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60413 $as_echo_n "checking for _logf declaration... " >&6; }
60414   if test x${glibcxx_cv_func__logf_use+set} != xset; then
60415     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60416   $as_echo_n "(cached) " >&6
60417 else
60418
60419
60420       ac_ext=cpp
60421 ac_cpp='$CXXCPP $CPPFLAGS'
60422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60425
60426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60427 /* end confdefs.h.  */
60428 #include <math.h>
60429                       #ifdef HAVE_IEEEFP_H
60430                       #include <ieeefp.h>
60431                       #endif
60432
60433 int
60434 main ()
60435 {
60436  _logf(0);
60437   ;
60438   return 0;
60439 }
60440 _ACEOF
60441 if ac_fn_cxx_try_compile "$LINENO"; then :
60442   glibcxx_cv_func__logf_use=yes
60443 else
60444   glibcxx_cv_func__logf_use=no
60445 fi
60446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60447       ac_ext=c
60448 ac_cpp='$CPP $CPPFLAGS'
60449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60452
60453
60454 fi
60455
60456   fi
60457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60458 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60459
60460     if test x$glibcxx_cv_func__logf_use = x"yes"; then
60461       for ac_func in _logf
60462 do :
60463   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60464 if test "x$ac_cv_func__logf" = x""yes; then :
60465   cat >>confdefs.h <<_ACEOF
60466 #define HAVE__LOGF 1
60467 _ACEOF
60468
60469 fi
60470 done
60471
60472     fi
60473   fi
60474
60475
60476
60477
60478
60479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60480 $as_echo_n "checking for log10f declaration... " >&6; }
60481   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60482     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60483   $as_echo_n "(cached) " >&6
60484 else
60485
60486
60487       ac_ext=cpp
60488 ac_cpp='$CXXCPP $CPPFLAGS'
60489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60492
60493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60494 /* end confdefs.h.  */
60495 #include <math.h>
60496                       #ifdef HAVE_IEEEFP_H
60497                       #include <ieeefp.h>
60498                       #endif
60499
60500 int
60501 main ()
60502 {
60503  log10f(0);
60504   ;
60505   return 0;
60506 }
60507 _ACEOF
60508 if ac_fn_cxx_try_compile "$LINENO"; then :
60509   glibcxx_cv_func_log10f_use=yes
60510 else
60511   glibcxx_cv_func_log10f_use=no
60512 fi
60513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60514       ac_ext=c
60515 ac_cpp='$CPP $CPPFLAGS'
60516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60519
60520
60521 fi
60522
60523   fi
60524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60525 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60526
60527   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60528     for ac_func in log10f
60529 do :
60530   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60531 if test "x$ac_cv_func_log10f" = x""yes; then :
60532   cat >>confdefs.h <<_ACEOF
60533 #define HAVE_LOG10F 1
60534 _ACEOF
60535
60536 fi
60537 done
60538
60539   else
60540
60541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60542 $as_echo_n "checking for _log10f declaration... " >&6; }
60543   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60544     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60545   $as_echo_n "(cached) " >&6
60546 else
60547
60548
60549       ac_ext=cpp
60550 ac_cpp='$CXXCPP $CPPFLAGS'
60551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60554
60555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60556 /* end confdefs.h.  */
60557 #include <math.h>
60558                       #ifdef HAVE_IEEEFP_H
60559                       #include <ieeefp.h>
60560                       #endif
60561
60562 int
60563 main ()
60564 {
60565  _log10f(0);
60566   ;
60567   return 0;
60568 }
60569 _ACEOF
60570 if ac_fn_cxx_try_compile "$LINENO"; then :
60571   glibcxx_cv_func__log10f_use=yes
60572 else
60573   glibcxx_cv_func__log10f_use=no
60574 fi
60575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60576       ac_ext=c
60577 ac_cpp='$CPP $CPPFLAGS'
60578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60581
60582
60583 fi
60584
60585   fi
60586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60587 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60588
60589     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60590       for ac_func in _log10f
60591 do :
60592   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60593 if test "x$ac_cv_func__log10f" = x""yes; then :
60594   cat >>confdefs.h <<_ACEOF
60595 #define HAVE__LOG10F 1
60596 _ACEOF
60597
60598 fi
60599 done
60600
60601     fi
60602   fi
60603
60604
60605
60606
60607
60608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60609 $as_echo_n "checking for modff declaration... " >&6; }
60610   if test x${glibcxx_cv_func_modff_use+set} != xset; then
60611     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60612   $as_echo_n "(cached) " >&6
60613 else
60614
60615
60616       ac_ext=cpp
60617 ac_cpp='$CXXCPP $CPPFLAGS'
60618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60621
60622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60623 /* end confdefs.h.  */
60624 #include <math.h>
60625 int
60626 main ()
60627 {
60628  modff(0, 0);
60629   ;
60630   return 0;
60631 }
60632 _ACEOF
60633 if ac_fn_cxx_try_compile "$LINENO"; then :
60634   glibcxx_cv_func_modff_use=yes
60635 else
60636   glibcxx_cv_func_modff_use=no
60637 fi
60638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60639       ac_ext=c
60640 ac_cpp='$CPP $CPPFLAGS'
60641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60644
60645
60646 fi
60647
60648   fi
60649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60650 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60651
60652   if test x$glibcxx_cv_func_modff_use = x"yes"; then
60653     for ac_func in modff
60654 do :
60655   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60656 if test "x$ac_cv_func_modff" = x""yes; then :
60657   cat >>confdefs.h <<_ACEOF
60658 #define HAVE_MODFF 1
60659 _ACEOF
60660
60661 fi
60662 done
60663
60664   else
60665
60666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60667 $as_echo_n "checking for _modff declaration... " >&6; }
60668   if test x${glibcxx_cv_func__modff_use+set} != xset; then
60669     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60670   $as_echo_n "(cached) " >&6
60671 else
60672
60673
60674       ac_ext=cpp
60675 ac_cpp='$CXXCPP $CPPFLAGS'
60676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60679
60680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60681 /* end confdefs.h.  */
60682 #include <math.h>
60683 int
60684 main ()
60685 {
60686  _modff(0, 0);
60687   ;
60688   return 0;
60689 }
60690 _ACEOF
60691 if ac_fn_cxx_try_compile "$LINENO"; then :
60692   glibcxx_cv_func__modff_use=yes
60693 else
60694   glibcxx_cv_func__modff_use=no
60695 fi
60696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60697       ac_ext=c
60698 ac_cpp='$CPP $CPPFLAGS'
60699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60702
60703
60704 fi
60705
60706   fi
60707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60708 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60709
60710     if test x$glibcxx_cv_func__modff_use = x"yes"; then
60711       for ac_func in _modff
60712 do :
60713   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60714 if test "x$ac_cv_func__modff" = x""yes; then :
60715   cat >>confdefs.h <<_ACEOF
60716 #define HAVE__MODFF 1
60717 _ACEOF
60718
60719 fi
60720 done
60721
60722     fi
60723   fi
60724
60725
60726
60727
60728
60729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60730 $as_echo_n "checking for modf declaration... " >&6; }
60731   if test x${glibcxx_cv_func_modf_use+set} != xset; then
60732     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60733   $as_echo_n "(cached) " >&6
60734 else
60735
60736
60737       ac_ext=cpp
60738 ac_cpp='$CXXCPP $CPPFLAGS'
60739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60742
60743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60744 /* end confdefs.h.  */
60745 #include <math.h>
60746 int
60747 main ()
60748 {
60749  modf(0, 0);
60750   ;
60751   return 0;
60752 }
60753 _ACEOF
60754 if ac_fn_cxx_try_compile "$LINENO"; then :
60755   glibcxx_cv_func_modf_use=yes
60756 else
60757   glibcxx_cv_func_modf_use=no
60758 fi
60759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60760       ac_ext=c
60761 ac_cpp='$CPP $CPPFLAGS'
60762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60765
60766
60767 fi
60768
60769   fi
60770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60771 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60772
60773   if test x$glibcxx_cv_func_modf_use = x"yes"; then
60774     for ac_func in modf
60775 do :
60776   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60777 if test "x$ac_cv_func_modf" = x""yes; then :
60778   cat >>confdefs.h <<_ACEOF
60779 #define HAVE_MODF 1
60780 _ACEOF
60781
60782 fi
60783 done
60784
60785   else
60786
60787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60788 $as_echo_n "checking for _modf declaration... " >&6; }
60789   if test x${glibcxx_cv_func__modf_use+set} != xset; then
60790     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60791   $as_echo_n "(cached) " >&6
60792 else
60793
60794
60795       ac_ext=cpp
60796 ac_cpp='$CXXCPP $CPPFLAGS'
60797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60800
60801       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60802 /* end confdefs.h.  */
60803 #include <math.h>
60804 int
60805 main ()
60806 {
60807  _modf(0, 0);
60808   ;
60809   return 0;
60810 }
60811 _ACEOF
60812 if ac_fn_cxx_try_compile "$LINENO"; then :
60813   glibcxx_cv_func__modf_use=yes
60814 else
60815   glibcxx_cv_func__modf_use=no
60816 fi
60817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60818       ac_ext=c
60819 ac_cpp='$CPP $CPPFLAGS'
60820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60823
60824
60825 fi
60826
60827   fi
60828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60829 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60830
60831     if test x$glibcxx_cv_func__modf_use = x"yes"; then
60832       for ac_func in _modf
60833 do :
60834   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60835 if test "x$ac_cv_func__modf" = x""yes; then :
60836   cat >>confdefs.h <<_ACEOF
60837 #define HAVE__MODF 1
60838 _ACEOF
60839
60840 fi
60841 done
60842
60843     fi
60844   fi
60845
60846
60847
60848
60849
60850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60851 $as_echo_n "checking for powf declaration... " >&6; }
60852   if test x${glibcxx_cv_func_powf_use+set} != xset; then
60853     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60854   $as_echo_n "(cached) " >&6
60855 else
60856
60857
60858       ac_ext=cpp
60859 ac_cpp='$CXXCPP $CPPFLAGS'
60860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60863
60864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60865 /* end confdefs.h.  */
60866 #include <math.h>
60867 int
60868 main ()
60869 {
60870  powf(0, 0);
60871   ;
60872   return 0;
60873 }
60874 _ACEOF
60875 if ac_fn_cxx_try_compile "$LINENO"; then :
60876   glibcxx_cv_func_powf_use=yes
60877 else
60878   glibcxx_cv_func_powf_use=no
60879 fi
60880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60881       ac_ext=c
60882 ac_cpp='$CPP $CPPFLAGS'
60883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60886
60887
60888 fi
60889
60890   fi
60891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60892 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60893
60894   if test x$glibcxx_cv_func_powf_use = x"yes"; then
60895     for ac_func in powf
60896 do :
60897   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60898 if test "x$ac_cv_func_powf" = x""yes; then :
60899   cat >>confdefs.h <<_ACEOF
60900 #define HAVE_POWF 1
60901 _ACEOF
60902
60903 fi
60904 done
60905
60906   else
60907
60908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60909 $as_echo_n "checking for _powf declaration... " >&6; }
60910   if test x${glibcxx_cv_func__powf_use+set} != xset; then
60911     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60912   $as_echo_n "(cached) " >&6
60913 else
60914
60915
60916       ac_ext=cpp
60917 ac_cpp='$CXXCPP $CPPFLAGS'
60918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60921
60922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60923 /* end confdefs.h.  */
60924 #include <math.h>
60925 int
60926 main ()
60927 {
60928  _powf(0, 0);
60929   ;
60930   return 0;
60931 }
60932 _ACEOF
60933 if ac_fn_cxx_try_compile "$LINENO"; then :
60934   glibcxx_cv_func__powf_use=yes
60935 else
60936   glibcxx_cv_func__powf_use=no
60937 fi
60938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60939       ac_ext=c
60940 ac_cpp='$CPP $CPPFLAGS'
60941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60944
60945
60946 fi
60947
60948   fi
60949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60950 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60951
60952     if test x$glibcxx_cv_func__powf_use = x"yes"; then
60953       for ac_func in _powf
60954 do :
60955   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60956 if test "x$ac_cv_func__powf" = x""yes; then :
60957   cat >>confdefs.h <<_ACEOF
60958 #define HAVE__POWF 1
60959 _ACEOF
60960
60961 fi
60962 done
60963
60964     fi
60965   fi
60966
60967
60968
60969
60970
60971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60972 $as_echo_n "checking for sqrtf declaration... " >&6; }
60973   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60974     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60975   $as_echo_n "(cached) " >&6
60976 else
60977
60978
60979       ac_ext=cpp
60980 ac_cpp='$CXXCPP $CPPFLAGS'
60981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60984
60985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60986 /* end confdefs.h.  */
60987 #include <math.h>
60988                       #ifdef HAVE_IEEEFP_H
60989                       #include <ieeefp.h>
60990                       #endif
60991
60992 int
60993 main ()
60994 {
60995  sqrtf(0);
60996   ;
60997   return 0;
60998 }
60999 _ACEOF
61000 if ac_fn_cxx_try_compile "$LINENO"; then :
61001   glibcxx_cv_func_sqrtf_use=yes
61002 else
61003   glibcxx_cv_func_sqrtf_use=no
61004 fi
61005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61006       ac_ext=c
61007 ac_cpp='$CPP $CPPFLAGS'
61008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61011
61012
61013 fi
61014
61015   fi
61016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61017 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61018
61019   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61020     for ac_func in sqrtf
61021 do :
61022   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61023 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61024   cat >>confdefs.h <<_ACEOF
61025 #define HAVE_SQRTF 1
61026 _ACEOF
61027
61028 fi
61029 done
61030
61031   else
61032
61033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61034 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61035   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61036     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61037   $as_echo_n "(cached) " >&6
61038 else
61039
61040
61041       ac_ext=cpp
61042 ac_cpp='$CXXCPP $CPPFLAGS'
61043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61046
61047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61048 /* end confdefs.h.  */
61049 #include <math.h>
61050                       #ifdef HAVE_IEEEFP_H
61051                       #include <ieeefp.h>
61052                       #endif
61053
61054 int
61055 main ()
61056 {
61057  _sqrtf(0);
61058   ;
61059   return 0;
61060 }
61061 _ACEOF
61062 if ac_fn_cxx_try_compile "$LINENO"; then :
61063   glibcxx_cv_func__sqrtf_use=yes
61064 else
61065   glibcxx_cv_func__sqrtf_use=no
61066 fi
61067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61068       ac_ext=c
61069 ac_cpp='$CPP $CPPFLAGS'
61070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61073
61074
61075 fi
61076
61077   fi
61078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61079 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61080
61081     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61082       for ac_func in _sqrtf
61083 do :
61084   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61085 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61086   cat >>confdefs.h <<_ACEOF
61087 #define HAVE__SQRTF 1
61088 _ACEOF
61089
61090 fi
61091 done
61092
61093     fi
61094   fi
61095
61096
61097
61098
61099
61100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61101 $as_echo_n "checking for sincosf declaration... " >&6; }
61102   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61103     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61104   $as_echo_n "(cached) " >&6
61105 else
61106
61107
61108       ac_ext=cpp
61109 ac_cpp='$CXXCPP $CPPFLAGS'
61110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61113
61114       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61115 /* end confdefs.h.  */
61116 #include <math.h>
61117 int
61118 main ()
61119 {
61120  sincosf(0, 0, 0);
61121   ;
61122   return 0;
61123 }
61124 _ACEOF
61125 if ac_fn_cxx_try_compile "$LINENO"; then :
61126   glibcxx_cv_func_sincosf_use=yes
61127 else
61128   glibcxx_cv_func_sincosf_use=no
61129 fi
61130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61131       ac_ext=c
61132 ac_cpp='$CPP $CPPFLAGS'
61133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61136
61137
61138 fi
61139
61140   fi
61141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61142 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61143
61144   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61145     for ac_func in sincosf
61146 do :
61147   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61148 if test "x$ac_cv_func_sincosf" = x""yes; then :
61149   cat >>confdefs.h <<_ACEOF
61150 #define HAVE_SINCOSF 1
61151 _ACEOF
61152
61153 fi
61154 done
61155
61156   else
61157
61158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61159 $as_echo_n "checking for _sincosf declaration... " >&6; }
61160   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61161     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61162   $as_echo_n "(cached) " >&6
61163 else
61164
61165
61166       ac_ext=cpp
61167 ac_cpp='$CXXCPP $CPPFLAGS'
61168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61171
61172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61173 /* end confdefs.h.  */
61174 #include <math.h>
61175 int
61176 main ()
61177 {
61178  _sincosf(0, 0, 0);
61179   ;
61180   return 0;
61181 }
61182 _ACEOF
61183 if ac_fn_cxx_try_compile "$LINENO"; then :
61184   glibcxx_cv_func__sincosf_use=yes
61185 else
61186   glibcxx_cv_func__sincosf_use=no
61187 fi
61188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61189       ac_ext=c
61190 ac_cpp='$CPP $CPPFLAGS'
61191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61194
61195
61196 fi
61197
61198   fi
61199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61200 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61201
61202     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61203       for ac_func in _sincosf
61204 do :
61205   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61206 if test "x$ac_cv_func__sincosf" = x""yes; then :
61207   cat >>confdefs.h <<_ACEOF
61208 #define HAVE__SINCOSF 1
61209 _ACEOF
61210
61211 fi
61212 done
61213
61214     fi
61215   fi
61216
61217
61218
61219
61220
61221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61222 $as_echo_n "checking for finitef declaration... " >&6; }
61223   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61224     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61225   $as_echo_n "(cached) " >&6
61226 else
61227
61228
61229       ac_ext=cpp
61230 ac_cpp='$CXXCPP $CPPFLAGS'
61231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61234
61235       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61236 /* end confdefs.h.  */
61237 #include <math.h>
61238                       #ifdef HAVE_IEEEFP_H
61239                       #include <ieeefp.h>
61240                       #endif
61241
61242 int
61243 main ()
61244 {
61245  finitef(0);
61246   ;
61247   return 0;
61248 }
61249 _ACEOF
61250 if ac_fn_cxx_try_compile "$LINENO"; then :
61251   glibcxx_cv_func_finitef_use=yes
61252 else
61253   glibcxx_cv_func_finitef_use=no
61254 fi
61255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61256       ac_ext=c
61257 ac_cpp='$CPP $CPPFLAGS'
61258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61261
61262
61263 fi
61264
61265   fi
61266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61267 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61268
61269   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61270     for ac_func in finitef
61271 do :
61272   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61273 if test "x$ac_cv_func_finitef" = x""yes; then :
61274   cat >>confdefs.h <<_ACEOF
61275 #define HAVE_FINITEF 1
61276 _ACEOF
61277
61278 fi
61279 done
61280
61281   else
61282
61283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61284 $as_echo_n "checking for _finitef declaration... " >&6; }
61285   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61286     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61287   $as_echo_n "(cached) " >&6
61288 else
61289
61290
61291       ac_ext=cpp
61292 ac_cpp='$CXXCPP $CPPFLAGS'
61293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61296
61297       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61298 /* end confdefs.h.  */
61299 #include <math.h>
61300                       #ifdef HAVE_IEEEFP_H
61301                       #include <ieeefp.h>
61302                       #endif
61303
61304 int
61305 main ()
61306 {
61307  _finitef(0);
61308   ;
61309   return 0;
61310 }
61311 _ACEOF
61312 if ac_fn_cxx_try_compile "$LINENO"; then :
61313   glibcxx_cv_func__finitef_use=yes
61314 else
61315   glibcxx_cv_func__finitef_use=no
61316 fi
61317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61318       ac_ext=c
61319 ac_cpp='$CPP $CPPFLAGS'
61320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61323
61324
61325 fi
61326
61327   fi
61328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61329 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61330
61331     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61332       for ac_func in _finitef
61333 do :
61334   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61335 if test "x$ac_cv_func__finitef" = x""yes; then :
61336   cat >>confdefs.h <<_ACEOF
61337 #define HAVE__FINITEF 1
61338 _ACEOF
61339
61340 fi
61341 done
61342
61343     fi
61344   fi
61345
61346
61347
61348
61349
61350     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61351 $as_echo_n "checking for long double trig functions... " >&6; }
61352   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61353   $as_echo_n "(cached) " >&6
61354 else
61355
61356
61357     ac_ext=cpp
61358 ac_cpp='$CXXCPP $CPPFLAGS'
61359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61362
61363     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61364 /* end confdefs.h.  */
61365 #include <math.h>
61366 int
61367 main ()
61368 {
61369 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61370   ;
61371   return 0;
61372 }
61373 _ACEOF
61374 if ac_fn_cxx_try_compile "$LINENO"; then :
61375   glibcxx_cv_func_long_double_trig_use=yes
61376 else
61377   glibcxx_cv_func_long_double_trig_use=no
61378 fi
61379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61380     ac_ext=c
61381 ac_cpp='$CPP $CPPFLAGS'
61382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61385
61386 fi
61387
61388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61389 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61390   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61391     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61392 do :
61393   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61395 eval as_val=\$$as_ac_var
61396    if test "x$as_val" = x""yes; then :
61397   cat >>confdefs.h <<_ACEOF
61398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61399 _ACEOF
61400
61401 fi
61402 done
61403
61404   else
61405     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61406 $as_echo_n "checking for _long double trig functions... " >&6; }
61407     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61408   $as_echo_n "(cached) " >&6
61409 else
61410
61411
61412       ac_ext=cpp
61413 ac_cpp='$CXXCPP $CPPFLAGS'
61414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61417
61418       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61419 /* end confdefs.h.  */
61420 #include <math.h>
61421 int
61422 main ()
61423 {
61424 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61425   ;
61426   return 0;
61427 }
61428 _ACEOF
61429 if ac_fn_cxx_try_compile "$LINENO"; then :
61430   glibcxx_cv_func__long_double_trig_use=yes
61431 else
61432   glibcxx_cv_func__long_double_trig_use=no
61433 fi
61434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61435       ac_ext=c
61436 ac_cpp='$CPP $CPPFLAGS'
61437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61440
61441 fi
61442
61443     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61444 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61445     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61446       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61447 do :
61448   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61450 eval as_val=\$$as_ac_var
61451    if test "x$as_val" = x""yes; then :
61452   cat >>confdefs.h <<_ACEOF
61453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61454 _ACEOF
61455
61456 fi
61457 done
61458
61459     fi
61460   fi
61461
61462
61463
61464
61465
61466     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61467 $as_echo_n "checking for long double round functions... " >&6; }
61468   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61469   $as_echo_n "(cached) " >&6
61470 else
61471
61472
61473     ac_ext=cpp
61474 ac_cpp='$CXXCPP $CPPFLAGS'
61475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61478
61479     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61480 /* end confdefs.h.  */
61481 #include <math.h>
61482 int
61483 main ()
61484 {
61485 ceill (0); floorl (0);
61486   ;
61487   return 0;
61488 }
61489 _ACEOF
61490 if ac_fn_cxx_try_compile "$LINENO"; then :
61491   glibcxx_cv_func_long_double_round_use=yes
61492 else
61493   glibcxx_cv_func_long_double_round_use=no
61494 fi
61495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61496     ac_ext=c
61497 ac_cpp='$CPP $CPPFLAGS'
61498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61501
61502 fi
61503
61504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61505 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61506   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61507     for ac_func in ceill floorl
61508 do :
61509   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61511 eval as_val=\$$as_ac_var
61512    if test "x$as_val" = x""yes; then :
61513   cat >>confdefs.h <<_ACEOF
61514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61515 _ACEOF
61516
61517 fi
61518 done
61519
61520   else
61521     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61522 $as_echo_n "checking for _long double round functions... " >&6; }
61523     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61524   $as_echo_n "(cached) " >&6
61525 else
61526
61527
61528       ac_ext=cpp
61529 ac_cpp='$CXXCPP $CPPFLAGS'
61530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61533
61534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61535 /* end confdefs.h.  */
61536 #include <math.h>
61537 int
61538 main ()
61539 {
61540 _ceill (0); _floorl (0);
61541   ;
61542   return 0;
61543 }
61544 _ACEOF
61545 if ac_fn_cxx_try_compile "$LINENO"; then :
61546   glibcxx_cv_func__long_double_round_use=yes
61547 else
61548   glibcxx_cv_func__long_double_round_use=no
61549 fi
61550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61551       ac_ext=c
61552 ac_cpp='$CPP $CPPFLAGS'
61553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61556
61557 fi
61558
61559     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61560 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61561     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61562       for ac_func in _ceill _floorl
61563 do :
61564   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61566 eval as_val=\$$as_ac_var
61567    if test "x$as_val" = x""yes; then :
61568   cat >>confdefs.h <<_ACEOF
61569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61570 _ACEOF
61571
61572 fi
61573 done
61574
61575     fi
61576   fi
61577
61578
61579
61580
61581
61582
61583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61584 $as_echo_n "checking for isnanl declaration... " >&6; }
61585   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61586     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61587   $as_echo_n "(cached) " >&6
61588 else
61589
61590
61591       ac_ext=cpp
61592 ac_cpp='$CXXCPP $CPPFLAGS'
61593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61596
61597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61598 /* end confdefs.h.  */
61599 #include <math.h>
61600                       #ifdef HAVE_IEEEFP_H
61601                       #include <ieeefp.h>
61602                       #endif
61603
61604 int
61605 main ()
61606 {
61607  isnanl(0);
61608   ;
61609   return 0;
61610 }
61611 _ACEOF
61612 if ac_fn_cxx_try_compile "$LINENO"; then :
61613   glibcxx_cv_func_isnanl_use=yes
61614 else
61615   glibcxx_cv_func_isnanl_use=no
61616 fi
61617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61618       ac_ext=c
61619 ac_cpp='$CPP $CPPFLAGS'
61620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61623
61624
61625 fi
61626
61627   fi
61628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61629 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61630
61631   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61632     for ac_func in isnanl
61633 do :
61634   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61635 if test "x$ac_cv_func_isnanl" = x""yes; then :
61636   cat >>confdefs.h <<_ACEOF
61637 #define HAVE_ISNANL 1
61638 _ACEOF
61639
61640 fi
61641 done
61642
61643   else
61644
61645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61646 $as_echo_n "checking for _isnanl declaration... " >&6; }
61647   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61648     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61649   $as_echo_n "(cached) " >&6
61650 else
61651
61652
61653       ac_ext=cpp
61654 ac_cpp='$CXXCPP $CPPFLAGS'
61655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61658
61659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61660 /* end confdefs.h.  */
61661 #include <math.h>
61662                       #ifdef HAVE_IEEEFP_H
61663                       #include <ieeefp.h>
61664                       #endif
61665
61666 int
61667 main ()
61668 {
61669  _isnanl(0);
61670   ;
61671   return 0;
61672 }
61673 _ACEOF
61674 if ac_fn_cxx_try_compile "$LINENO"; then :
61675   glibcxx_cv_func__isnanl_use=yes
61676 else
61677   glibcxx_cv_func__isnanl_use=no
61678 fi
61679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61680       ac_ext=c
61681 ac_cpp='$CPP $CPPFLAGS'
61682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61685
61686
61687 fi
61688
61689   fi
61690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61691 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61692
61693     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61694       for ac_func in _isnanl
61695 do :
61696   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61697 if test "x$ac_cv_func__isnanl" = x""yes; then :
61698   cat >>confdefs.h <<_ACEOF
61699 #define HAVE__ISNANL 1
61700 _ACEOF
61701
61702 fi
61703 done
61704
61705     fi
61706   fi
61707
61708
61709
61710
61711
61712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61713 $as_echo_n "checking for isinfl declaration... " >&6; }
61714   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61715     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61716   $as_echo_n "(cached) " >&6
61717 else
61718
61719
61720       ac_ext=cpp
61721 ac_cpp='$CXXCPP $CPPFLAGS'
61722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61725
61726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61727 /* end confdefs.h.  */
61728 #include <math.h>
61729                       #ifdef HAVE_IEEEFP_H
61730                       #include <ieeefp.h>
61731                       #endif
61732
61733 int
61734 main ()
61735 {
61736  isinfl(0);
61737   ;
61738   return 0;
61739 }
61740 _ACEOF
61741 if ac_fn_cxx_try_compile "$LINENO"; then :
61742   glibcxx_cv_func_isinfl_use=yes
61743 else
61744   glibcxx_cv_func_isinfl_use=no
61745 fi
61746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61747       ac_ext=c
61748 ac_cpp='$CPP $CPPFLAGS'
61749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61752
61753
61754 fi
61755
61756   fi
61757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61758 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61759
61760   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61761     for ac_func in isinfl
61762 do :
61763   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61764 if test "x$ac_cv_func_isinfl" = x""yes; then :
61765   cat >>confdefs.h <<_ACEOF
61766 #define HAVE_ISINFL 1
61767 _ACEOF
61768
61769 fi
61770 done
61771
61772   else
61773
61774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61775 $as_echo_n "checking for _isinfl declaration... " >&6; }
61776   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61777     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61778   $as_echo_n "(cached) " >&6
61779 else
61780
61781
61782       ac_ext=cpp
61783 ac_cpp='$CXXCPP $CPPFLAGS'
61784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61787
61788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61789 /* end confdefs.h.  */
61790 #include <math.h>
61791                       #ifdef HAVE_IEEEFP_H
61792                       #include <ieeefp.h>
61793                       #endif
61794
61795 int
61796 main ()
61797 {
61798  _isinfl(0);
61799   ;
61800   return 0;
61801 }
61802 _ACEOF
61803 if ac_fn_cxx_try_compile "$LINENO"; then :
61804   glibcxx_cv_func__isinfl_use=yes
61805 else
61806   glibcxx_cv_func__isinfl_use=no
61807 fi
61808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61809       ac_ext=c
61810 ac_cpp='$CPP $CPPFLAGS'
61811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61814
61815
61816 fi
61817
61818   fi
61819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61820 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61821
61822     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61823       for ac_func in _isinfl
61824 do :
61825   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61826 if test "x$ac_cv_func__isinfl" = x""yes; then :
61827   cat >>confdefs.h <<_ACEOF
61828 #define HAVE__ISINFL 1
61829 _ACEOF
61830
61831 fi
61832 done
61833
61834     fi
61835   fi
61836
61837
61838
61839
61840
61841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61842 $as_echo_n "checking for atan2l declaration... " >&6; }
61843   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61844     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61845   $as_echo_n "(cached) " >&6
61846 else
61847
61848
61849       ac_ext=cpp
61850 ac_cpp='$CXXCPP $CPPFLAGS'
61851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61854
61855       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61856 /* end confdefs.h.  */
61857 #include <math.h>
61858 int
61859 main ()
61860 {
61861  atan2l(0, 0);
61862   ;
61863   return 0;
61864 }
61865 _ACEOF
61866 if ac_fn_cxx_try_compile "$LINENO"; then :
61867   glibcxx_cv_func_atan2l_use=yes
61868 else
61869   glibcxx_cv_func_atan2l_use=no
61870 fi
61871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61872       ac_ext=c
61873 ac_cpp='$CPP $CPPFLAGS'
61874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61877
61878
61879 fi
61880
61881   fi
61882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61883 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61884
61885   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61886     for ac_func in atan2l
61887 do :
61888   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61889 if test "x$ac_cv_func_atan2l" = x""yes; then :
61890   cat >>confdefs.h <<_ACEOF
61891 #define HAVE_ATAN2L 1
61892 _ACEOF
61893
61894 fi
61895 done
61896
61897   else
61898
61899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61900 $as_echo_n "checking for _atan2l declaration... " >&6; }
61901   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61902     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61903   $as_echo_n "(cached) " >&6
61904 else
61905
61906
61907       ac_ext=cpp
61908 ac_cpp='$CXXCPP $CPPFLAGS'
61909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61912
61913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61914 /* end confdefs.h.  */
61915 #include <math.h>
61916 int
61917 main ()
61918 {
61919  _atan2l(0, 0);
61920   ;
61921   return 0;
61922 }
61923 _ACEOF
61924 if ac_fn_cxx_try_compile "$LINENO"; then :
61925   glibcxx_cv_func__atan2l_use=yes
61926 else
61927   glibcxx_cv_func__atan2l_use=no
61928 fi
61929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61930       ac_ext=c
61931 ac_cpp='$CPP $CPPFLAGS'
61932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61935
61936
61937 fi
61938
61939   fi
61940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61941 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61942
61943     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61944       for ac_func in _atan2l
61945 do :
61946   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61947 if test "x$ac_cv_func__atan2l" = x""yes; then :
61948   cat >>confdefs.h <<_ACEOF
61949 #define HAVE__ATAN2L 1
61950 _ACEOF
61951
61952 fi
61953 done
61954
61955     fi
61956   fi
61957
61958
61959
61960
61961
61962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61963 $as_echo_n "checking for expl declaration... " >&6; }
61964   if test x${glibcxx_cv_func_expl_use+set} != xset; then
61965     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61966   $as_echo_n "(cached) " >&6
61967 else
61968
61969
61970       ac_ext=cpp
61971 ac_cpp='$CXXCPP $CPPFLAGS'
61972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61975
61976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61977 /* end confdefs.h.  */
61978 #include <math.h>
61979                       #ifdef HAVE_IEEEFP_H
61980                       #include <ieeefp.h>
61981                       #endif
61982
61983 int
61984 main ()
61985 {
61986  expl(0);
61987   ;
61988   return 0;
61989 }
61990 _ACEOF
61991 if ac_fn_cxx_try_compile "$LINENO"; then :
61992   glibcxx_cv_func_expl_use=yes
61993 else
61994   glibcxx_cv_func_expl_use=no
61995 fi
61996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61997       ac_ext=c
61998 ac_cpp='$CPP $CPPFLAGS'
61999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62002
62003
62004 fi
62005
62006   fi
62007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62008 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62009
62010   if test x$glibcxx_cv_func_expl_use = x"yes"; then
62011     for ac_func in expl
62012 do :
62013   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62014 if test "x$ac_cv_func_expl" = x""yes; then :
62015   cat >>confdefs.h <<_ACEOF
62016 #define HAVE_EXPL 1
62017 _ACEOF
62018
62019 fi
62020 done
62021
62022   else
62023
62024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62025 $as_echo_n "checking for _expl declaration... " >&6; }
62026   if test x${glibcxx_cv_func__expl_use+set} != xset; then
62027     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62028   $as_echo_n "(cached) " >&6
62029 else
62030
62031
62032       ac_ext=cpp
62033 ac_cpp='$CXXCPP $CPPFLAGS'
62034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62037
62038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62039 /* end confdefs.h.  */
62040 #include <math.h>
62041                       #ifdef HAVE_IEEEFP_H
62042                       #include <ieeefp.h>
62043                       #endif
62044
62045 int
62046 main ()
62047 {
62048  _expl(0);
62049   ;
62050   return 0;
62051 }
62052 _ACEOF
62053 if ac_fn_cxx_try_compile "$LINENO"; then :
62054   glibcxx_cv_func__expl_use=yes
62055 else
62056   glibcxx_cv_func__expl_use=no
62057 fi
62058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62059       ac_ext=c
62060 ac_cpp='$CPP $CPPFLAGS'
62061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62064
62065
62066 fi
62067
62068   fi
62069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62070 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62071
62072     if test x$glibcxx_cv_func__expl_use = x"yes"; then
62073       for ac_func in _expl
62074 do :
62075   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62076 if test "x$ac_cv_func__expl" = x""yes; then :
62077   cat >>confdefs.h <<_ACEOF
62078 #define HAVE__EXPL 1
62079 _ACEOF
62080
62081 fi
62082 done
62083
62084     fi
62085   fi
62086
62087
62088
62089
62090
62091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62092 $as_echo_n "checking for fabsl declaration... " >&6; }
62093   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62094     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62095   $as_echo_n "(cached) " >&6
62096 else
62097
62098
62099       ac_ext=cpp
62100 ac_cpp='$CXXCPP $CPPFLAGS'
62101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62104
62105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62106 /* end confdefs.h.  */
62107 #include <math.h>
62108                       #ifdef HAVE_IEEEFP_H
62109                       #include <ieeefp.h>
62110                       #endif
62111
62112 int
62113 main ()
62114 {
62115  fabsl(0);
62116   ;
62117   return 0;
62118 }
62119 _ACEOF
62120 if ac_fn_cxx_try_compile "$LINENO"; then :
62121   glibcxx_cv_func_fabsl_use=yes
62122 else
62123   glibcxx_cv_func_fabsl_use=no
62124 fi
62125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62126       ac_ext=c
62127 ac_cpp='$CPP $CPPFLAGS'
62128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62131
62132
62133 fi
62134
62135   fi
62136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62137 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62138
62139   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62140     for ac_func in fabsl
62141 do :
62142   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62143 if test "x$ac_cv_func_fabsl" = x""yes; then :
62144   cat >>confdefs.h <<_ACEOF
62145 #define HAVE_FABSL 1
62146 _ACEOF
62147
62148 fi
62149 done
62150
62151   else
62152
62153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62154 $as_echo_n "checking for _fabsl declaration... " >&6; }
62155   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62156     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62157   $as_echo_n "(cached) " >&6
62158 else
62159
62160
62161       ac_ext=cpp
62162 ac_cpp='$CXXCPP $CPPFLAGS'
62163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62166
62167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62168 /* end confdefs.h.  */
62169 #include <math.h>
62170                       #ifdef HAVE_IEEEFP_H
62171                       #include <ieeefp.h>
62172                       #endif
62173
62174 int
62175 main ()
62176 {
62177  _fabsl(0);
62178   ;
62179   return 0;
62180 }
62181 _ACEOF
62182 if ac_fn_cxx_try_compile "$LINENO"; then :
62183   glibcxx_cv_func__fabsl_use=yes
62184 else
62185   glibcxx_cv_func__fabsl_use=no
62186 fi
62187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62188       ac_ext=c
62189 ac_cpp='$CPP $CPPFLAGS'
62190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62193
62194
62195 fi
62196
62197   fi
62198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62199 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62200
62201     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62202       for ac_func in _fabsl
62203 do :
62204   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62205 if test "x$ac_cv_func__fabsl" = x""yes; then :
62206   cat >>confdefs.h <<_ACEOF
62207 #define HAVE__FABSL 1
62208 _ACEOF
62209
62210 fi
62211 done
62212
62213     fi
62214   fi
62215
62216
62217
62218
62219
62220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62221 $as_echo_n "checking for fmodl declaration... " >&6; }
62222   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62223     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62224   $as_echo_n "(cached) " >&6
62225 else
62226
62227
62228       ac_ext=cpp
62229 ac_cpp='$CXXCPP $CPPFLAGS'
62230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62233
62234       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62235 /* end confdefs.h.  */
62236 #include <math.h>
62237 int
62238 main ()
62239 {
62240  fmodl(0, 0);
62241   ;
62242   return 0;
62243 }
62244 _ACEOF
62245 if ac_fn_cxx_try_compile "$LINENO"; then :
62246   glibcxx_cv_func_fmodl_use=yes
62247 else
62248   glibcxx_cv_func_fmodl_use=no
62249 fi
62250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62251       ac_ext=c
62252 ac_cpp='$CPP $CPPFLAGS'
62253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62256
62257
62258 fi
62259
62260   fi
62261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62262 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62263
62264   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62265     for ac_func in fmodl
62266 do :
62267   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62268 if test "x$ac_cv_func_fmodl" = x""yes; then :
62269   cat >>confdefs.h <<_ACEOF
62270 #define HAVE_FMODL 1
62271 _ACEOF
62272
62273 fi
62274 done
62275
62276   else
62277
62278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62279 $as_echo_n "checking for _fmodl declaration... " >&6; }
62280   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62281     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62282   $as_echo_n "(cached) " >&6
62283 else
62284
62285
62286       ac_ext=cpp
62287 ac_cpp='$CXXCPP $CPPFLAGS'
62288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62291
62292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62293 /* end confdefs.h.  */
62294 #include <math.h>
62295 int
62296 main ()
62297 {
62298  _fmodl(0, 0);
62299   ;
62300   return 0;
62301 }
62302 _ACEOF
62303 if ac_fn_cxx_try_compile "$LINENO"; then :
62304   glibcxx_cv_func__fmodl_use=yes
62305 else
62306   glibcxx_cv_func__fmodl_use=no
62307 fi
62308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62309       ac_ext=c
62310 ac_cpp='$CPP $CPPFLAGS'
62311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62314
62315
62316 fi
62317
62318   fi
62319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62320 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62321
62322     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62323       for ac_func in _fmodl
62324 do :
62325   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62326 if test "x$ac_cv_func__fmodl" = x""yes; then :
62327   cat >>confdefs.h <<_ACEOF
62328 #define HAVE__FMODL 1
62329 _ACEOF
62330
62331 fi
62332 done
62333
62334     fi
62335   fi
62336
62337
62338
62339
62340
62341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62342 $as_echo_n "checking for frexpl declaration... " >&6; }
62343   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62344     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62345   $as_echo_n "(cached) " >&6
62346 else
62347
62348
62349       ac_ext=cpp
62350 ac_cpp='$CXXCPP $CPPFLAGS'
62351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62354
62355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62356 /* end confdefs.h.  */
62357 #include <math.h>
62358 int
62359 main ()
62360 {
62361  frexpl(0, 0);
62362   ;
62363   return 0;
62364 }
62365 _ACEOF
62366 if ac_fn_cxx_try_compile "$LINENO"; then :
62367   glibcxx_cv_func_frexpl_use=yes
62368 else
62369   glibcxx_cv_func_frexpl_use=no
62370 fi
62371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62372       ac_ext=c
62373 ac_cpp='$CPP $CPPFLAGS'
62374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62377
62378
62379 fi
62380
62381   fi
62382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62383 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62384
62385   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62386     for ac_func in frexpl
62387 do :
62388   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62389 if test "x$ac_cv_func_frexpl" = x""yes; then :
62390   cat >>confdefs.h <<_ACEOF
62391 #define HAVE_FREXPL 1
62392 _ACEOF
62393
62394 fi
62395 done
62396
62397   else
62398
62399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62400 $as_echo_n "checking for _frexpl declaration... " >&6; }
62401   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62402     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62403   $as_echo_n "(cached) " >&6
62404 else
62405
62406
62407       ac_ext=cpp
62408 ac_cpp='$CXXCPP $CPPFLAGS'
62409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62412
62413       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62414 /* end confdefs.h.  */
62415 #include <math.h>
62416 int
62417 main ()
62418 {
62419  _frexpl(0, 0);
62420   ;
62421   return 0;
62422 }
62423 _ACEOF
62424 if ac_fn_cxx_try_compile "$LINENO"; then :
62425   glibcxx_cv_func__frexpl_use=yes
62426 else
62427   glibcxx_cv_func__frexpl_use=no
62428 fi
62429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62430       ac_ext=c
62431 ac_cpp='$CPP $CPPFLAGS'
62432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62435
62436
62437 fi
62438
62439   fi
62440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62441 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62442
62443     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62444       for ac_func in _frexpl
62445 do :
62446   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62447 if test "x$ac_cv_func__frexpl" = x""yes; then :
62448   cat >>confdefs.h <<_ACEOF
62449 #define HAVE__FREXPL 1
62450 _ACEOF
62451
62452 fi
62453 done
62454
62455     fi
62456   fi
62457
62458
62459
62460
62461
62462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62463 $as_echo_n "checking for hypotl declaration... " >&6; }
62464   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62465     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62466   $as_echo_n "(cached) " >&6
62467 else
62468
62469
62470       ac_ext=cpp
62471 ac_cpp='$CXXCPP $CPPFLAGS'
62472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62475
62476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62477 /* end confdefs.h.  */
62478 #include <math.h>
62479 int
62480 main ()
62481 {
62482  hypotl(0, 0);
62483   ;
62484   return 0;
62485 }
62486 _ACEOF
62487 if ac_fn_cxx_try_compile "$LINENO"; then :
62488   glibcxx_cv_func_hypotl_use=yes
62489 else
62490   glibcxx_cv_func_hypotl_use=no
62491 fi
62492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62493       ac_ext=c
62494 ac_cpp='$CPP $CPPFLAGS'
62495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62498
62499
62500 fi
62501
62502   fi
62503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62504 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62505
62506   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62507     for ac_func in hypotl
62508 do :
62509   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62510 if test "x$ac_cv_func_hypotl" = x""yes; then :
62511   cat >>confdefs.h <<_ACEOF
62512 #define HAVE_HYPOTL 1
62513 _ACEOF
62514
62515 fi
62516 done
62517
62518   else
62519
62520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62521 $as_echo_n "checking for _hypotl declaration... " >&6; }
62522   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62523     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62524   $as_echo_n "(cached) " >&6
62525 else
62526
62527
62528       ac_ext=cpp
62529 ac_cpp='$CXXCPP $CPPFLAGS'
62530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62533
62534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62535 /* end confdefs.h.  */
62536 #include <math.h>
62537 int
62538 main ()
62539 {
62540  _hypotl(0, 0);
62541   ;
62542   return 0;
62543 }
62544 _ACEOF
62545 if ac_fn_cxx_try_compile "$LINENO"; then :
62546   glibcxx_cv_func__hypotl_use=yes
62547 else
62548   glibcxx_cv_func__hypotl_use=no
62549 fi
62550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62551       ac_ext=c
62552 ac_cpp='$CPP $CPPFLAGS'
62553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62556
62557
62558 fi
62559
62560   fi
62561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62562 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62563
62564     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62565       for ac_func in _hypotl
62566 do :
62567   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62568 if test "x$ac_cv_func__hypotl" = x""yes; then :
62569   cat >>confdefs.h <<_ACEOF
62570 #define HAVE__HYPOTL 1
62571 _ACEOF
62572
62573 fi
62574 done
62575
62576     fi
62577   fi
62578
62579
62580
62581
62582
62583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62584 $as_echo_n "checking for ldexpl declaration... " >&6; }
62585   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62586     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62587   $as_echo_n "(cached) " >&6
62588 else
62589
62590
62591       ac_ext=cpp
62592 ac_cpp='$CXXCPP $CPPFLAGS'
62593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62596
62597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62598 /* end confdefs.h.  */
62599 #include <math.h>
62600 int
62601 main ()
62602 {
62603  ldexpl(0, 0);
62604   ;
62605   return 0;
62606 }
62607 _ACEOF
62608 if ac_fn_cxx_try_compile "$LINENO"; then :
62609   glibcxx_cv_func_ldexpl_use=yes
62610 else
62611   glibcxx_cv_func_ldexpl_use=no
62612 fi
62613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62614       ac_ext=c
62615 ac_cpp='$CPP $CPPFLAGS'
62616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62619
62620
62621 fi
62622
62623   fi
62624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62625 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62626
62627   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62628     for ac_func in ldexpl
62629 do :
62630   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62631 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62632   cat >>confdefs.h <<_ACEOF
62633 #define HAVE_LDEXPL 1
62634 _ACEOF
62635
62636 fi
62637 done
62638
62639   else
62640
62641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62642 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62643   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62644     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62645   $as_echo_n "(cached) " >&6
62646 else
62647
62648
62649       ac_ext=cpp
62650 ac_cpp='$CXXCPP $CPPFLAGS'
62651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62654
62655       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62656 /* end confdefs.h.  */
62657 #include <math.h>
62658 int
62659 main ()
62660 {
62661  _ldexpl(0, 0);
62662   ;
62663   return 0;
62664 }
62665 _ACEOF
62666 if ac_fn_cxx_try_compile "$LINENO"; then :
62667   glibcxx_cv_func__ldexpl_use=yes
62668 else
62669   glibcxx_cv_func__ldexpl_use=no
62670 fi
62671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62672       ac_ext=c
62673 ac_cpp='$CPP $CPPFLAGS'
62674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62677
62678
62679 fi
62680
62681   fi
62682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62683 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62684
62685     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62686       for ac_func in _ldexpl
62687 do :
62688   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62689 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62690   cat >>confdefs.h <<_ACEOF
62691 #define HAVE__LDEXPL 1
62692 _ACEOF
62693
62694 fi
62695 done
62696
62697     fi
62698   fi
62699
62700
62701
62702
62703
62704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62705 $as_echo_n "checking for logl declaration... " >&6; }
62706   if test x${glibcxx_cv_func_logl_use+set} != xset; then
62707     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62708   $as_echo_n "(cached) " >&6
62709 else
62710
62711
62712       ac_ext=cpp
62713 ac_cpp='$CXXCPP $CPPFLAGS'
62714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62717
62718       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62719 /* end confdefs.h.  */
62720 #include <math.h>
62721                       #ifdef HAVE_IEEEFP_H
62722                       #include <ieeefp.h>
62723                       #endif
62724
62725 int
62726 main ()
62727 {
62728  logl(0);
62729   ;
62730   return 0;
62731 }
62732 _ACEOF
62733 if ac_fn_cxx_try_compile "$LINENO"; then :
62734   glibcxx_cv_func_logl_use=yes
62735 else
62736   glibcxx_cv_func_logl_use=no
62737 fi
62738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62739       ac_ext=c
62740 ac_cpp='$CPP $CPPFLAGS'
62741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62744
62745
62746 fi
62747
62748   fi
62749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62750 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62751
62752   if test x$glibcxx_cv_func_logl_use = x"yes"; then
62753     for ac_func in logl
62754 do :
62755   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62756 if test "x$ac_cv_func_logl" = x""yes; then :
62757   cat >>confdefs.h <<_ACEOF
62758 #define HAVE_LOGL 1
62759 _ACEOF
62760
62761 fi
62762 done
62763
62764   else
62765
62766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62767 $as_echo_n "checking for _logl declaration... " >&6; }
62768   if test x${glibcxx_cv_func__logl_use+set} != xset; then
62769     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62770   $as_echo_n "(cached) " >&6
62771 else
62772
62773
62774       ac_ext=cpp
62775 ac_cpp='$CXXCPP $CPPFLAGS'
62776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62779
62780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62781 /* end confdefs.h.  */
62782 #include <math.h>
62783                       #ifdef HAVE_IEEEFP_H
62784                       #include <ieeefp.h>
62785                       #endif
62786
62787 int
62788 main ()
62789 {
62790  _logl(0);
62791   ;
62792   return 0;
62793 }
62794 _ACEOF
62795 if ac_fn_cxx_try_compile "$LINENO"; then :
62796   glibcxx_cv_func__logl_use=yes
62797 else
62798   glibcxx_cv_func__logl_use=no
62799 fi
62800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62801       ac_ext=c
62802 ac_cpp='$CPP $CPPFLAGS'
62803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62806
62807
62808 fi
62809
62810   fi
62811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62812 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62813
62814     if test x$glibcxx_cv_func__logl_use = x"yes"; then
62815       for ac_func in _logl
62816 do :
62817   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62818 if test "x$ac_cv_func__logl" = x""yes; then :
62819   cat >>confdefs.h <<_ACEOF
62820 #define HAVE__LOGL 1
62821 _ACEOF
62822
62823 fi
62824 done
62825
62826     fi
62827   fi
62828
62829
62830
62831
62832
62833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62834 $as_echo_n "checking for log10l declaration... " >&6; }
62835   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62836     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62837   $as_echo_n "(cached) " >&6
62838 else
62839
62840
62841       ac_ext=cpp
62842 ac_cpp='$CXXCPP $CPPFLAGS'
62843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62846
62847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62848 /* end confdefs.h.  */
62849 #include <math.h>
62850                       #ifdef HAVE_IEEEFP_H
62851                       #include <ieeefp.h>
62852                       #endif
62853
62854 int
62855 main ()
62856 {
62857  log10l(0);
62858   ;
62859   return 0;
62860 }
62861 _ACEOF
62862 if ac_fn_cxx_try_compile "$LINENO"; then :
62863   glibcxx_cv_func_log10l_use=yes
62864 else
62865   glibcxx_cv_func_log10l_use=no
62866 fi
62867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62868       ac_ext=c
62869 ac_cpp='$CPP $CPPFLAGS'
62870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62873
62874
62875 fi
62876
62877   fi
62878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62879 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62880
62881   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62882     for ac_func in log10l
62883 do :
62884   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62885 if test "x$ac_cv_func_log10l" = x""yes; then :
62886   cat >>confdefs.h <<_ACEOF
62887 #define HAVE_LOG10L 1
62888 _ACEOF
62889
62890 fi
62891 done
62892
62893   else
62894
62895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62896 $as_echo_n "checking for _log10l declaration... " >&6; }
62897   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62898     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62899   $as_echo_n "(cached) " >&6
62900 else
62901
62902
62903       ac_ext=cpp
62904 ac_cpp='$CXXCPP $CPPFLAGS'
62905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62908
62909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62910 /* end confdefs.h.  */
62911 #include <math.h>
62912                       #ifdef HAVE_IEEEFP_H
62913                       #include <ieeefp.h>
62914                       #endif
62915
62916 int
62917 main ()
62918 {
62919  _log10l(0);
62920   ;
62921   return 0;
62922 }
62923 _ACEOF
62924 if ac_fn_cxx_try_compile "$LINENO"; then :
62925   glibcxx_cv_func__log10l_use=yes
62926 else
62927   glibcxx_cv_func__log10l_use=no
62928 fi
62929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62930       ac_ext=c
62931 ac_cpp='$CPP $CPPFLAGS'
62932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62935
62936
62937 fi
62938
62939   fi
62940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62941 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62942
62943     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62944       for ac_func in _log10l
62945 do :
62946   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62947 if test "x$ac_cv_func__log10l" = x""yes; then :
62948   cat >>confdefs.h <<_ACEOF
62949 #define HAVE__LOG10L 1
62950 _ACEOF
62951
62952 fi
62953 done
62954
62955     fi
62956   fi
62957
62958
62959
62960
62961
62962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62963 $as_echo_n "checking for modfl declaration... " >&6; }
62964   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62965     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62966   $as_echo_n "(cached) " >&6
62967 else
62968
62969
62970       ac_ext=cpp
62971 ac_cpp='$CXXCPP $CPPFLAGS'
62972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62975
62976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62977 /* end confdefs.h.  */
62978 #include <math.h>
62979 int
62980 main ()
62981 {
62982  modfl(0, 0);
62983   ;
62984   return 0;
62985 }
62986 _ACEOF
62987 if ac_fn_cxx_try_compile "$LINENO"; then :
62988   glibcxx_cv_func_modfl_use=yes
62989 else
62990   glibcxx_cv_func_modfl_use=no
62991 fi
62992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62993       ac_ext=c
62994 ac_cpp='$CPP $CPPFLAGS'
62995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62998
62999
63000 fi
63001
63002   fi
63003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63004 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63005
63006   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63007     for ac_func in modfl
63008 do :
63009   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63010 if test "x$ac_cv_func_modfl" = x""yes; then :
63011   cat >>confdefs.h <<_ACEOF
63012 #define HAVE_MODFL 1
63013 _ACEOF
63014
63015 fi
63016 done
63017
63018   else
63019
63020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63021 $as_echo_n "checking for _modfl declaration... " >&6; }
63022   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63023     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63024   $as_echo_n "(cached) " >&6
63025 else
63026
63027
63028       ac_ext=cpp
63029 ac_cpp='$CXXCPP $CPPFLAGS'
63030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63033
63034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63035 /* end confdefs.h.  */
63036 #include <math.h>
63037 int
63038 main ()
63039 {
63040  _modfl(0, 0);
63041   ;
63042   return 0;
63043 }
63044 _ACEOF
63045 if ac_fn_cxx_try_compile "$LINENO"; then :
63046   glibcxx_cv_func__modfl_use=yes
63047 else
63048   glibcxx_cv_func__modfl_use=no
63049 fi
63050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63051       ac_ext=c
63052 ac_cpp='$CPP $CPPFLAGS'
63053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63056
63057
63058 fi
63059
63060   fi
63061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63062 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63063
63064     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63065       for ac_func in _modfl
63066 do :
63067   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63068 if test "x$ac_cv_func__modfl" = x""yes; then :
63069   cat >>confdefs.h <<_ACEOF
63070 #define HAVE__MODFL 1
63071 _ACEOF
63072
63073 fi
63074 done
63075
63076     fi
63077   fi
63078
63079
63080
63081
63082
63083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63084 $as_echo_n "checking for powl declaration... " >&6; }
63085   if test x${glibcxx_cv_func_powl_use+set} != xset; then
63086     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63087   $as_echo_n "(cached) " >&6
63088 else
63089
63090
63091       ac_ext=cpp
63092 ac_cpp='$CXXCPP $CPPFLAGS'
63093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63096
63097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63098 /* end confdefs.h.  */
63099 #include <math.h>
63100 int
63101 main ()
63102 {
63103  powl(0, 0);
63104   ;
63105   return 0;
63106 }
63107 _ACEOF
63108 if ac_fn_cxx_try_compile "$LINENO"; then :
63109   glibcxx_cv_func_powl_use=yes
63110 else
63111   glibcxx_cv_func_powl_use=no
63112 fi
63113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63114       ac_ext=c
63115 ac_cpp='$CPP $CPPFLAGS'
63116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63119
63120
63121 fi
63122
63123   fi
63124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63125 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63126
63127   if test x$glibcxx_cv_func_powl_use = x"yes"; then
63128     for ac_func in powl
63129 do :
63130   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63131 if test "x$ac_cv_func_powl" = x""yes; then :
63132   cat >>confdefs.h <<_ACEOF
63133 #define HAVE_POWL 1
63134 _ACEOF
63135
63136 fi
63137 done
63138
63139   else
63140
63141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63142 $as_echo_n "checking for _powl declaration... " >&6; }
63143   if test x${glibcxx_cv_func__powl_use+set} != xset; then
63144     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63145   $as_echo_n "(cached) " >&6
63146 else
63147
63148
63149       ac_ext=cpp
63150 ac_cpp='$CXXCPP $CPPFLAGS'
63151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63154
63155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63156 /* end confdefs.h.  */
63157 #include <math.h>
63158 int
63159 main ()
63160 {
63161  _powl(0, 0);
63162   ;
63163   return 0;
63164 }
63165 _ACEOF
63166 if ac_fn_cxx_try_compile "$LINENO"; then :
63167   glibcxx_cv_func__powl_use=yes
63168 else
63169   glibcxx_cv_func__powl_use=no
63170 fi
63171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63172       ac_ext=c
63173 ac_cpp='$CPP $CPPFLAGS'
63174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63177
63178
63179 fi
63180
63181   fi
63182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63183 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63184
63185     if test x$glibcxx_cv_func__powl_use = x"yes"; then
63186       for ac_func in _powl
63187 do :
63188   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63189 if test "x$ac_cv_func__powl" = x""yes; then :
63190   cat >>confdefs.h <<_ACEOF
63191 #define HAVE__POWL 1
63192 _ACEOF
63193
63194 fi
63195 done
63196
63197     fi
63198   fi
63199
63200
63201
63202
63203
63204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63205 $as_echo_n "checking for sqrtl declaration... " >&6; }
63206   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63207     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63208   $as_echo_n "(cached) " >&6
63209 else
63210
63211
63212       ac_ext=cpp
63213 ac_cpp='$CXXCPP $CPPFLAGS'
63214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63217
63218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63219 /* end confdefs.h.  */
63220 #include <math.h>
63221                       #ifdef HAVE_IEEEFP_H
63222                       #include <ieeefp.h>
63223                       #endif
63224
63225 int
63226 main ()
63227 {
63228  sqrtl(0);
63229   ;
63230   return 0;
63231 }
63232 _ACEOF
63233 if ac_fn_cxx_try_compile "$LINENO"; then :
63234   glibcxx_cv_func_sqrtl_use=yes
63235 else
63236   glibcxx_cv_func_sqrtl_use=no
63237 fi
63238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63239       ac_ext=c
63240 ac_cpp='$CPP $CPPFLAGS'
63241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63244
63245
63246 fi
63247
63248   fi
63249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63250 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63251
63252   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63253     for ac_func in sqrtl
63254 do :
63255   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63256 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63257   cat >>confdefs.h <<_ACEOF
63258 #define HAVE_SQRTL 1
63259 _ACEOF
63260
63261 fi
63262 done
63263
63264   else
63265
63266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63267 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63268   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63269     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63270   $as_echo_n "(cached) " >&6
63271 else
63272
63273
63274       ac_ext=cpp
63275 ac_cpp='$CXXCPP $CPPFLAGS'
63276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63279
63280       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63281 /* end confdefs.h.  */
63282 #include <math.h>
63283                       #ifdef HAVE_IEEEFP_H
63284                       #include <ieeefp.h>
63285                       #endif
63286
63287 int
63288 main ()
63289 {
63290  _sqrtl(0);
63291   ;
63292   return 0;
63293 }
63294 _ACEOF
63295 if ac_fn_cxx_try_compile "$LINENO"; then :
63296   glibcxx_cv_func__sqrtl_use=yes
63297 else
63298   glibcxx_cv_func__sqrtl_use=no
63299 fi
63300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63301       ac_ext=c
63302 ac_cpp='$CPP $CPPFLAGS'
63303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63306
63307
63308 fi
63309
63310   fi
63311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63312 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63313
63314     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63315       for ac_func in _sqrtl
63316 do :
63317   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63318 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63319   cat >>confdefs.h <<_ACEOF
63320 #define HAVE__SQRTL 1
63321 _ACEOF
63322
63323 fi
63324 done
63325
63326     fi
63327   fi
63328
63329
63330
63331
63332
63333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63334 $as_echo_n "checking for sincosl declaration... " >&6; }
63335   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63336     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63337   $as_echo_n "(cached) " >&6
63338 else
63339
63340
63341       ac_ext=cpp
63342 ac_cpp='$CXXCPP $CPPFLAGS'
63343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63346
63347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63348 /* end confdefs.h.  */
63349 #include <math.h>
63350 int
63351 main ()
63352 {
63353  sincosl(0, 0, 0);
63354   ;
63355   return 0;
63356 }
63357 _ACEOF
63358 if ac_fn_cxx_try_compile "$LINENO"; then :
63359   glibcxx_cv_func_sincosl_use=yes
63360 else
63361   glibcxx_cv_func_sincosl_use=no
63362 fi
63363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63364       ac_ext=c
63365 ac_cpp='$CPP $CPPFLAGS'
63366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63369
63370
63371 fi
63372
63373   fi
63374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63375 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63376
63377   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63378     for ac_func in sincosl
63379 do :
63380   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63381 if test "x$ac_cv_func_sincosl" = x""yes; then :
63382   cat >>confdefs.h <<_ACEOF
63383 #define HAVE_SINCOSL 1
63384 _ACEOF
63385
63386 fi
63387 done
63388
63389   else
63390
63391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63392 $as_echo_n "checking for _sincosl declaration... " >&6; }
63393   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63394     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63395   $as_echo_n "(cached) " >&6
63396 else
63397
63398
63399       ac_ext=cpp
63400 ac_cpp='$CXXCPP $CPPFLAGS'
63401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63404
63405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63406 /* end confdefs.h.  */
63407 #include <math.h>
63408 int
63409 main ()
63410 {
63411  _sincosl(0, 0, 0);
63412   ;
63413   return 0;
63414 }
63415 _ACEOF
63416 if ac_fn_cxx_try_compile "$LINENO"; then :
63417   glibcxx_cv_func__sincosl_use=yes
63418 else
63419   glibcxx_cv_func__sincosl_use=no
63420 fi
63421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63422       ac_ext=c
63423 ac_cpp='$CPP $CPPFLAGS'
63424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63427
63428
63429 fi
63430
63431   fi
63432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63433 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63434
63435     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63436       for ac_func in _sincosl
63437 do :
63438   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63439 if test "x$ac_cv_func__sincosl" = x""yes; then :
63440   cat >>confdefs.h <<_ACEOF
63441 #define HAVE__SINCOSL 1
63442 _ACEOF
63443
63444 fi
63445 done
63446
63447     fi
63448   fi
63449
63450
63451
63452
63453
63454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63455 $as_echo_n "checking for finitel declaration... " >&6; }
63456   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63457     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63458   $as_echo_n "(cached) " >&6
63459 else
63460
63461
63462       ac_ext=cpp
63463 ac_cpp='$CXXCPP $CPPFLAGS'
63464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63467
63468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63469 /* end confdefs.h.  */
63470 #include <math.h>
63471                       #ifdef HAVE_IEEEFP_H
63472                       #include <ieeefp.h>
63473                       #endif
63474
63475 int
63476 main ()
63477 {
63478  finitel(0);
63479   ;
63480   return 0;
63481 }
63482 _ACEOF
63483 if ac_fn_cxx_try_compile "$LINENO"; then :
63484   glibcxx_cv_func_finitel_use=yes
63485 else
63486   glibcxx_cv_func_finitel_use=no
63487 fi
63488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63489       ac_ext=c
63490 ac_cpp='$CPP $CPPFLAGS'
63491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63494
63495
63496 fi
63497
63498   fi
63499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63500 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63501
63502   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63503     for ac_func in finitel
63504 do :
63505   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63506 if test "x$ac_cv_func_finitel" = x""yes; then :
63507   cat >>confdefs.h <<_ACEOF
63508 #define HAVE_FINITEL 1
63509 _ACEOF
63510
63511 fi
63512 done
63513
63514   else
63515
63516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63517 $as_echo_n "checking for _finitel declaration... " >&6; }
63518   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63519     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63520   $as_echo_n "(cached) " >&6
63521 else
63522
63523
63524       ac_ext=cpp
63525 ac_cpp='$CXXCPP $CPPFLAGS'
63526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63529
63530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63531 /* end confdefs.h.  */
63532 #include <math.h>
63533                       #ifdef HAVE_IEEEFP_H
63534                       #include <ieeefp.h>
63535                       #endif
63536
63537 int
63538 main ()
63539 {
63540  _finitel(0);
63541   ;
63542   return 0;
63543 }
63544 _ACEOF
63545 if ac_fn_cxx_try_compile "$LINENO"; then :
63546   glibcxx_cv_func__finitel_use=yes
63547 else
63548   glibcxx_cv_func__finitel_use=no
63549 fi
63550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63551       ac_ext=c
63552 ac_cpp='$CPP $CPPFLAGS'
63553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63556
63557
63558 fi
63559
63560   fi
63561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63562 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63563
63564     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63565       for ac_func in _finitel
63566 do :
63567   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63568 if test "x$ac_cv_func__finitel" = x""yes; then :
63569   cat >>confdefs.h <<_ACEOF
63570 #define HAVE__FINITEL 1
63571 _ACEOF
63572
63573 fi
63574 done
63575
63576     fi
63577   fi
63578
63579
63580
63581
63582   LIBS="$ac_save_LIBS"
63583   CXXFLAGS="$ac_save_CXXFLAGS"
63584
63585
63586   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63587   ac_save_CXXFLAGS="$CXXFLAGS"
63588   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63589
63590
63591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63592 $as_echo_n "checking for strtold declaration... " >&6; }
63593   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63594     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63595   $as_echo_n "(cached) " >&6
63596 else
63597
63598
63599       ac_ext=cpp
63600 ac_cpp='$CXXCPP $CPPFLAGS'
63601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63604
63605       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63606 /* end confdefs.h.  */
63607 #include <stdlib.h>
63608 int
63609 main ()
63610 {
63611  strtold(0, 0);
63612   ;
63613   return 0;
63614 }
63615 _ACEOF
63616 if ac_fn_cxx_try_compile "$LINENO"; then :
63617   glibcxx_cv_func_strtold_use=yes
63618 else
63619   glibcxx_cv_func_strtold_use=no
63620 fi
63621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63622       ac_ext=c
63623 ac_cpp='$CPP $CPPFLAGS'
63624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63627
63628
63629 fi
63630
63631   fi
63632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63633 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63634   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63635     for ac_func in strtold
63636 do :
63637   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63638 if test "x$ac_cv_func_strtold" = x""yes; then :
63639   cat >>confdefs.h <<_ACEOF
63640 #define HAVE_STRTOLD 1
63641 _ACEOF
63642
63643 fi
63644 done
63645
63646   fi
63647
63648
63649
63650
63651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63652 $as_echo_n "checking for strtof declaration... " >&6; }
63653   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63654     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63655   $as_echo_n "(cached) " >&6
63656 else
63657
63658
63659       ac_ext=cpp
63660 ac_cpp='$CXXCPP $CPPFLAGS'
63661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63664
63665       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63666 /* end confdefs.h.  */
63667 #include <stdlib.h>
63668 int
63669 main ()
63670 {
63671  strtof(0, 0);
63672   ;
63673   return 0;
63674 }
63675 _ACEOF
63676 if ac_fn_cxx_try_compile "$LINENO"; then :
63677   glibcxx_cv_func_strtof_use=yes
63678 else
63679   glibcxx_cv_func_strtof_use=no
63680 fi
63681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63682       ac_ext=c
63683 ac_cpp='$CPP $CPPFLAGS'
63684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63687
63688
63689 fi
63690
63691   fi
63692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63693 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63694   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63695     for ac_func in strtof
63696 do :
63697   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63698 if test "x$ac_cv_func_strtof" = x""yes; then :
63699   cat >>confdefs.h <<_ACEOF
63700 #define HAVE_STRTOF 1
63701 _ACEOF
63702
63703 fi
63704 done
63705
63706   fi
63707
63708
63709
63710
63711   CXXFLAGS="$ac_save_CXXFLAGS"
63712
63713     ;;
63714   *-solaris*)
63715     case "$target" in
63716       *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63717
63718   # If we're not using GNU ld, then there's no point in even trying these
63719   # tests.  Check for that first.  We should have already tested for gld
63720   # by now (in libtool), but require it now just to be safe...
63721   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63722   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63723
63724
63725
63726   # The name set by libtool depends on the version of libtool.  Shame on us
63727   # for depending on an impl detail, but c'est la vie.  Older versions used
63728   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63729   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63730   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63731   # set (hence we're using an older libtool), then set it.
63732   if test x${with_gnu_ld+set} != xset; then
63733     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63734       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63735       with_gnu_ld=no
63736     else
63737       with_gnu_ld=$ac_cv_prog_gnu_ld
63738     fi
63739   fi
63740
63741   # Start by getting the version number.  I think the libtool test already
63742   # does some of this, but throws away the result.
63743   glibcxx_ld_is_gold=no
63744   if test x"$with_gnu_ld" = x"yes"; then
63745     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63746 $as_echo_n "checking for ld version... " >&6; }
63747
63748     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63749       glibcxx_ld_is_gold=yes
63750     fi
63751     ldver=`$LD --version 2>/dev/null |
63752            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'`
63753
63754     glibcxx_gnu_ld_version=`echo $ldver | \
63755            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63756     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63757 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63758   fi
63759
63760   # Set --gc-sections.
63761   glibcxx_have_gc_sections=no
63762   if test "$glibcxx_ld_is_gold" = "yes"; then
63763     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63764       glibcxx_have_gc_sections=yes
63765     fi
63766   else
63767     glibcxx_gcsections_min_ld=21602
63768     if test x"$with_gnu_ld" = x"yes" &&
63769         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63770       glibcxx_have_gc_sections=yes
63771     fi
63772   fi
63773   if test "$glibcxx_have_gc_sections" = "yes"; then
63774     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63775     # NB: This flag only works reliably after 2.16.1. Configure tests
63776     # for this are difficult, so hard wire a value that should work.
63777
63778     ac_test_CFLAGS="${CFLAGS+set}"
63779     ac_save_CFLAGS="$CFLAGS"
63780     CFLAGS='-Wl,--gc-sections'
63781
63782     # Check for -Wl,--gc-sections
63783     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63784 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63785     if test x$gcc_no_link = xyes; then
63786   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63787 fi
63788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63789 /* end confdefs.h.  */
63790  int one(void) { return 1; }
63791      int two(void) { return 2; }
63792
63793 int
63794 main ()
63795 {
63796  two();
63797   ;
63798   return 0;
63799 }
63800 _ACEOF
63801 if ac_fn_c_try_link "$LINENO"; then :
63802   ac_gcsections=yes
63803 else
63804   ac_gcsections=no
63805 fi
63806 rm -f core conftest.err conftest.$ac_objext \
63807     conftest$ac_exeext conftest.$ac_ext
63808     if test "$ac_gcsections" = "yes"; then
63809       rm -f conftest.c
63810       touch conftest.c
63811       if $CC -c conftest.c; then
63812         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63813            grep "Warning: gc-sections option ignored" > /dev/null; then
63814           ac_gcsections=no
63815         fi
63816       fi
63817       rm -f conftest.c conftest.o conftest
63818     fi
63819     if test "$ac_gcsections" = "yes"; then
63820       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63821     fi
63822     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63823 $as_echo "$ac_gcsections" >&6; }
63824
63825     if test "$ac_test_CFLAGS" = set; then
63826       CFLAGS="$ac_save_CFLAGS"
63827     else
63828       # this is the suspicious part
63829       CFLAGS=''
63830     fi
63831   fi
63832
63833   # Set -z,relro.
63834   # Note this is only for shared objects.
63835   ac_ld_relro=no
63836   if test x"$with_gnu_ld" = x"yes"; then
63837     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63838 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63839     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63840     if test -n "$cxx_z_relo"; then
63841       OPT_LDFLAGS="-Wl,-z,relro"
63842       ac_ld_relro=yes
63843     fi
63844     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63845 $as_echo "$ac_ld_relro" >&6; }
63846   fi
63847
63848   # Set linker optimization flags.
63849   if test x"$with_gnu_ld" = x"yes"; then
63850     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63851   fi
63852
63853
63854
63855
63856          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63857
63858          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63859
63860          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63861
63862          # All of the dependencies for wide character support are here, so
63863          # turn it on.
63864          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63865
63866         ;;
63867     esac
63868     case "$target" in
63869       *-*-solaris2.10)
63870       # These two C99 functions are present only in Solaris >= 10
63871       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63872
63873       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63874
63875      ;;
63876     esac
63877     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63878
63879     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63880
63881     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63882
63883     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63884
63885     ;;
63886   *-tpf)
63887     SECTION_FLAGS='-ffunction-sections -fdata-sections'
63888
63889
63890   # If we're not using GNU ld, then there's no point in even trying these
63891   # tests.  Check for that first.  We should have already tested for gld
63892   # by now (in libtool), but require it now just to be safe...
63893   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63894   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63895
63896
63897
63898   # The name set by libtool depends on the version of libtool.  Shame on us
63899   # for depending on an impl detail, but c'est la vie.  Older versions used
63900   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63901   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63902   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63903   # set (hence we're using an older libtool), then set it.
63904   if test x${with_gnu_ld+set} != xset; then
63905     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63906       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63907       with_gnu_ld=no
63908     else
63909       with_gnu_ld=$ac_cv_prog_gnu_ld
63910     fi
63911   fi
63912
63913   # Start by getting the version number.  I think the libtool test already
63914   # does some of this, but throws away the result.
63915   glibcxx_ld_is_gold=no
63916   if test x"$with_gnu_ld" = x"yes"; then
63917     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63918 $as_echo_n "checking for ld version... " >&6; }
63919
63920     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63921       glibcxx_ld_is_gold=yes
63922     fi
63923     ldver=`$LD --version 2>/dev/null |
63924            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'`
63925
63926     glibcxx_gnu_ld_version=`echo $ldver | \
63927            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63928     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63929 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63930   fi
63931
63932   # Set --gc-sections.
63933   glibcxx_have_gc_sections=no
63934   if test "$glibcxx_ld_is_gold" = "yes"; then
63935     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63936       glibcxx_have_gc_sections=yes
63937     fi
63938   else
63939     glibcxx_gcsections_min_ld=21602
63940     if test x"$with_gnu_ld" = x"yes" &&
63941         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63942       glibcxx_have_gc_sections=yes
63943     fi
63944   fi
63945   if test "$glibcxx_have_gc_sections" = "yes"; then
63946     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63947     # NB: This flag only works reliably after 2.16.1. Configure tests
63948     # for this are difficult, so hard wire a value that should work.
63949
63950     ac_test_CFLAGS="${CFLAGS+set}"
63951     ac_save_CFLAGS="$CFLAGS"
63952     CFLAGS='-Wl,--gc-sections'
63953
63954     # Check for -Wl,--gc-sections
63955     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63956 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63957     if test x$gcc_no_link = xyes; then
63958   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63959 fi
63960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63961 /* end confdefs.h.  */
63962  int one(void) { return 1; }
63963      int two(void) { return 2; }
63964
63965 int
63966 main ()
63967 {
63968  two();
63969   ;
63970   return 0;
63971 }
63972 _ACEOF
63973 if ac_fn_c_try_link "$LINENO"; then :
63974   ac_gcsections=yes
63975 else
63976   ac_gcsections=no
63977 fi
63978 rm -f core conftest.err conftest.$ac_objext \
63979     conftest$ac_exeext conftest.$ac_ext
63980     if test "$ac_gcsections" = "yes"; then
63981       rm -f conftest.c
63982       touch conftest.c
63983       if $CC -c conftest.c; then
63984         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63985            grep "Warning: gc-sections option ignored" > /dev/null; then
63986           ac_gcsections=no
63987         fi
63988       fi
63989       rm -f conftest.c conftest.o conftest
63990     fi
63991     if test "$ac_gcsections" = "yes"; then
63992       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63993     fi
63994     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63995 $as_echo "$ac_gcsections" >&6; }
63996
63997     if test "$ac_test_CFLAGS" = set; then
63998       CFLAGS="$ac_save_CFLAGS"
63999     else
64000       # this is the suspicious part
64001       CFLAGS=''
64002     fi
64003   fi
64004
64005   # Set -z,relro.
64006   # Note this is only for shared objects.
64007   ac_ld_relro=no
64008   if test x"$with_gnu_ld" = x"yes"; then
64009     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64010 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64011     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64012     if test -n "$cxx_z_relo"; then
64013       OPT_LDFLAGS="-Wl,-z,relro"
64014       ac_ld_relro=yes
64015     fi
64016     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64017 $as_echo "$ac_ld_relro" >&6; }
64018   fi
64019
64020   # Set linker optimization flags.
64021   if test x"$with_gnu_ld" = x"yes"; then
64022     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64023   fi
64024
64025
64026
64027
64028     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64029
64030     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64031
64032     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64033
64034     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64035
64036     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64037
64038     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64039
64040     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64041
64042     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64043
64044     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64045
64046     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64047
64048     if test x"long_double_math_on_this_cpu" = x"yes"; then
64049       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64050
64051       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64052
64053       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64054
64055       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64056
64057     fi
64058     ;;
64059   *-vxworks)
64060     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
64061
64062     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
64063
64064     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
64065
64066     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
64067
64068     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
64069
64070     $as_echo "#define HAVE_COSF 1" >>confdefs.h
64071
64072     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
64073
64074     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
64075
64076     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
64077
64078     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
64079
64080     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
64081
64082     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64083
64084     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
64085
64086     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
64087
64088     $as_echo "#define HAVE_POWF 1" >>confdefs.h
64089
64090     $as_echo "#define HAVE_SINF 1" >>confdefs.h
64091
64092     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
64093
64094     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
64095
64096     $as_echo "#define HAVE_TANF 1" >>confdefs.h
64097
64098     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
64099
64100     ;;
64101   *)
64102     as_fn_error "No support for this host/target combination." "$LINENO" 5
64103    ;;
64104 esac
64105
64106   fi
64107
64108   # At some point, we should differentiate between architectures
64109   # like x86, which have long double versions, and alpha/powerpc/etc.,
64110   # which don't. For the time being, punt.
64111   if test x"long_double_math_on_this_cpu" = x"yes"; then
64112     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
64113
64114     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
64115
64116     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
64117
64118     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
64119
64120     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
64121
64122     $as_echo "#define HAVE_COSL 1" >>confdefs.h
64123
64124     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
64125
64126     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
64127
64128     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
64129
64130     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
64131
64132     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
64133
64134     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
64135
64136     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
64137
64138     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
64139
64140     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
64141
64142     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
64143
64144     $as_echo "#define HAVE_POWL 1" >>confdefs.h
64145
64146     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
64147
64148     $as_echo "#define HAVE_SINL 1" >>confdefs.h
64149
64150     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
64151
64152     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
64153
64154     $as_echo "#define HAVE_TANL 1" >>confdefs.h
64155
64156     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
64157
64158   fi
64159 fi
64160
64161 # Check for _Unwind_GetIPInfo.
64162
64163
64164 # Check whether --with-system-libunwind was given.
64165 if test "${with_system_libunwind+set}" = set; then :
64166   withval=$with_system_libunwind;
64167 fi
64168
64169   # If system-libunwind was not specifically set, pick a default setting.
64170   if test x$with_system_libunwind = x; then
64171     case ${target} in
64172       ia64-*-hpux*) with_system_libunwind=yes ;;
64173       *) with_system_libunwind=no ;;
64174     esac
64175   fi
64176   # Based on system-libunwind and target, do we have ipinfo?
64177   if  test x$with_system_libunwind = xyes; then
64178     case ${target} in
64179       ia64-*-*) have_unwind_getipinfo=no ;;
64180       *) have_unwind_getipinfo=yes ;;
64181     esac
64182   else
64183     # Darwin before version 9 does not have _Unwind_GetIPInfo.
64184
64185     case ${target} in
64186       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
64187       *) have_unwind_getipinfo=yes ;;
64188     esac
64189
64190   fi
64191
64192   if test x$have_unwind_getipinfo = xyes; then
64193
64194 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
64195
64196   fi
64197
64198
64199  # Check whether --enable-linux-futex was given.
64200 if test "${enable_linux_futex+set}" = set; then :
64201   enableval=$enable_linux_futex;
64202       case "$enableval" in
64203        yes|no|default) ;;
64204        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
64205                           esac
64206
64207 else
64208   enable_linux_futex=default
64209 fi
64210
64211
64212 case "$target" in
64213   *-linux*)
64214     case "$enable_linux_futex" in
64215       default)
64216         # If headers don't have gettid/futex syscalls definition, then
64217         # default to no, otherwise there will be compile time failures.
64218         # Otherwise, default to yes.  If we don't detect we are
64219         # compiled/linked against NPTL and not cross-compiling, check
64220         # if programs are run by default against NPTL and if not, issue
64221         # a warning.
64222         enable_linux_futex=no
64223         if test x$gcc_no_link = xyes; then
64224   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64225 fi
64226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64227 /* end confdefs.h.  */
64228 #include <sys/syscall.h>
64229            int lk;
64230 int
64231 main ()
64232 {
64233 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64234   ;
64235   return 0;
64236 }
64237 _ACEOF
64238 if ac_fn_c_try_link "$LINENO"; then :
64239   save_LIBS="$LIBS"
64240            LIBS="-lpthread $LIBS"
64241            if test x$gcc_no_link = xyes; then
64242   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64243 fi
64244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64245 /* end confdefs.h.  */
64246 #ifndef _GNU_SOURCE
64247              #define _GNU_SOURCE 1
64248              #endif
64249              #include <pthread.h>
64250              pthread_t th; void *status;
64251 int
64252 main ()
64253 {
64254 pthread_tryjoin_np (th, &status);
64255   ;
64256   return 0;
64257 }
64258 _ACEOF
64259 if ac_fn_c_try_link "$LINENO"; then :
64260   enable_linux_futex=yes
64261 else
64262   if test x$cross_compiling = xno; then
64263                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
64264                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
64265                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
64266 If so, please configure with --disable-linux-futex" >&5
64267 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
64268 If so, please configure with --disable-linux-futex" >&2;}
64269                fi
64270              fi
64271              enable_linux_futex=yes
64272 fi
64273 rm -f core conftest.err conftest.$ac_objext \
64274     conftest$ac_exeext conftest.$ac_ext
64275            LIBS="$save_LIBS"
64276 fi
64277 rm -f core conftest.err conftest.$ac_objext \
64278     conftest$ac_exeext conftest.$ac_ext
64279         ;;
64280       yes)
64281         if test x$gcc_no_link = xyes; then
64282   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64283 fi
64284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64285 /* end confdefs.h.  */
64286 #include <sys/syscall.h>
64287            int lk;
64288 int
64289 main ()
64290 {
64291 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64292   ;
64293   return 0;
64294 }
64295 _ACEOF
64296 if ac_fn_c_try_link "$LINENO"; then :
64297
64298 else
64299   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
64300 fi
64301 rm -f core conftest.err conftest.$ac_objext \
64302     conftest$ac_exeext conftest.$ac_ext
64303         ;;
64304     esac
64305     ;;
64306   *)
64307     enable_linux_futex=no
64308     ;;
64309 esac
64310 if test x$enable_linux_futex = xyes; then
64311
64312 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64313
64314 fi
64315
64316
64317
64318
64319 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
64320
64321 acx_cv_header_stdint=stddef.h
64322 acx_cv_header_stdint_kind="(already complete)"
64323 for i in stdint.h $inttype_headers; do
64324   unset ac_cv_type_uintptr_t
64325   unset ac_cv_type_uintmax_t
64326   unset ac_cv_type_int_least32_t
64327   unset ac_cv_type_int_fast32_t
64328   unset ac_cv_type_uint64_t
64329   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64330   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64331 #include <$i>
64332 "
64333 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64334   acx_cv_header_stdint=$i
64335 else
64336   continue
64337 fi
64338
64339   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64340 #include <$i>
64341 "
64342 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64343
64344 else
64345   acx_cv_header_stdint_kind="(mostly complete)"
64346 fi
64347
64348   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64349 #include <$i>
64350 "
64351 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64352
64353 else
64354   acx_cv_header_stdint_kind="(mostly complete)"
64355 fi
64356
64357   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64358 #include <$i>
64359 "
64360 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64361
64362 else
64363   acx_cv_header_stdint_kind="(mostly complete)"
64364 fi
64365
64366   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64367 #include <$i>
64368 "
64369 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64370
64371 else
64372   acx_cv_header_stdint_kind="(lacks uint64_t)"
64373 fi
64374
64375   break
64376 done
64377 if test "$acx_cv_header_stdint" = stddef.h; then
64378   acx_cv_header_stdint_kind="(lacks uintmax_t)"
64379   for i in stdint.h $inttype_headers; do
64380     unset ac_cv_type_uintptr_t
64381     unset ac_cv_type_uint32_t
64382     unset ac_cv_type_uint64_t
64383     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64384     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64385 #include <$i>
64386 "
64387 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64388   acx_cv_header_stdint=$i
64389 else
64390   continue
64391 fi
64392
64393     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64394 #include <$i>
64395 "
64396 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64397
64398 fi
64399
64400     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64401 #include <$i>
64402 "
64403 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64404
64405 fi
64406
64407     break
64408   done
64409 fi
64410 if test "$acx_cv_header_stdint" = stddef.h; then
64411   acx_cv_header_stdint_kind="(u_intXX_t style)"
64412   for i in sys/types.h $inttype_headers; do
64413     unset ac_cv_type_u_int32_t
64414     unset ac_cv_type_u_int64_t
64415     $as_echo_n "looking for u_intXX_t types in $i, " >&6
64416     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64417 #include <$i>
64418 "
64419 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64420   acx_cv_header_stdint=$i
64421 else
64422   continue
64423 fi
64424
64425     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64426 #include <$i>
64427 "
64428 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64429
64430 fi
64431
64432     break
64433   done
64434 fi
64435 if test "$acx_cv_header_stdint" = stddef.h; then
64436   acx_cv_header_stdint_kind="(using manual detection)"
64437 fi
64438
64439 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64440 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64441 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64442 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64443 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64444
64445 # ----------------- Summarize what we found so far
64446
64447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64448 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64449
64450 case `$as_basename -- include/gstdint.h ||
64451 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64452          Xinclude/gstdint.h : 'X\(//\)$' \| \
64453          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64454 $as_echo X/include/gstdint.h |
64455     sed '/^.*\/\([^/][^/]*\)\/*$/{
64456             s//\1/
64457             q
64458           }
64459           /^X\/\(\/\/\)$/{
64460             s//\1/
64461             q
64462           }
64463           /^X\/\(\/\).*/{
64464             s//\1/
64465             q
64466           }
64467           s/.*/./; q'` in
64468   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64469 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64470   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64471 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64472   *) ;;
64473 esac
64474
64475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64476 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64477
64478 # ----------------- done included file, check C basic types --------
64479
64480 # Lacking an uintptr_t?  Test size of void *
64481 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64482   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64483 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64484 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64485 # This bug is HP SR number 8606223364.
64486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64487 $as_echo_n "checking size of void *... " >&6; }
64488 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64489   $as_echo_n "(cached) " >&6
64490 else
64491   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
64492
64493 else
64494   if test "$ac_cv_type_void_p" = yes; then
64495      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64497 { as_fn_set_status 77
64498 as_fn_error "cannot compute sizeof (void *)
64499 See \`config.log' for more details." "$LINENO" 5; }; }
64500    else
64501      ac_cv_sizeof_void_p=0
64502    fi
64503 fi
64504
64505 fi
64506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64507 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64508
64509
64510
64511 cat >>confdefs.h <<_ACEOF
64512 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64513 _ACEOF
64514
64515  ;;
64516 esac
64517
64518 # Lacking an uint64_t?  Test size of long
64519 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64520   stddef.h:*:* | *:no:no) # 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 long" >&5
64525 $as_echo_n "checking size of long... " >&6; }
64526 if test "${ac_cv_sizeof_long+set}" = set; then :
64527   $as_echo_n "(cached) " >&6
64528 else
64529   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
64530
64531 else
64532   if test "$ac_cv_type_long" = 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 (long)
64537 See \`config.log' for more details." "$LINENO" 5; }; }
64538    else
64539      ac_cv_sizeof_long=0
64540    fi
64541 fi
64542
64543 fi
64544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64545 $as_echo "$ac_cv_sizeof_long" >&6; }
64546
64547
64548
64549 cat >>confdefs.h <<_ACEOF
64550 #define SIZEOF_LONG $ac_cv_sizeof_long
64551 _ACEOF
64552
64553  ;;
64554 esac
64555
64556 if test $acx_cv_header_stdint = stddef.h; then
64557   # Lacking a good header?  Test size of everything and deduce all types.
64558   # The cast to long int works around a bug in the HP C Compiler
64559 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64560 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64561 # This bug is HP SR number 8606223364.
64562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64563 $as_echo_n "checking size of int... " >&6; }
64564 if test "${ac_cv_sizeof_int+set}" = set; then :
64565   $as_echo_n "(cached) " >&6
64566 else
64567   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
64568
64569 else
64570   if test "$ac_cv_type_int" = yes; then
64571      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64573 { as_fn_set_status 77
64574 as_fn_error "cannot compute sizeof (int)
64575 See \`config.log' for more details." "$LINENO" 5; }; }
64576    else
64577      ac_cv_sizeof_int=0
64578    fi
64579 fi
64580
64581 fi
64582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64583 $as_echo "$ac_cv_sizeof_int" >&6; }
64584
64585
64586
64587 cat >>confdefs.h <<_ACEOF
64588 #define SIZEOF_INT $ac_cv_sizeof_int
64589 _ACEOF
64590
64591
64592   # The cast to long int works around a bug in the HP C Compiler
64593 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64594 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64595 # This bug is HP SR number 8606223364.
64596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64597 $as_echo_n "checking size of short... " >&6; }
64598 if test "${ac_cv_sizeof_short+set}" = set; then :
64599   $as_echo_n "(cached) " >&6
64600 else
64601   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
64602
64603 else
64604   if test "$ac_cv_type_short" = yes; then
64605      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64607 { as_fn_set_status 77
64608 as_fn_error "cannot compute sizeof (short)
64609 See \`config.log' for more details." "$LINENO" 5; }; }
64610    else
64611      ac_cv_sizeof_short=0
64612    fi
64613 fi
64614
64615 fi
64616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64617 $as_echo "$ac_cv_sizeof_short" >&6; }
64618
64619
64620
64621 cat >>confdefs.h <<_ACEOF
64622 #define SIZEOF_SHORT $ac_cv_sizeof_short
64623 _ACEOF
64624
64625
64626   # The cast to long int works around a bug in the HP C Compiler
64627 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64628 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64629 # This bug is HP SR number 8606223364.
64630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64631 $as_echo_n "checking size of char... " >&6; }
64632 if test "${ac_cv_sizeof_char+set}" = set; then :
64633   $as_echo_n "(cached) " >&6
64634 else
64635   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
64636
64637 else
64638   if test "$ac_cv_type_char" = yes; then
64639      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64641 { as_fn_set_status 77
64642 as_fn_error "cannot compute sizeof (char)
64643 See \`config.log' for more details." "$LINENO" 5; }; }
64644    else
64645      ac_cv_sizeof_char=0
64646    fi
64647 fi
64648
64649 fi
64650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64651 $as_echo "$ac_cv_sizeof_char" >&6; }
64652
64653
64654
64655 cat >>confdefs.h <<_ACEOF
64656 #define SIZEOF_CHAR $ac_cv_sizeof_char
64657 _ACEOF
64658
64659
64660
64661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64662 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64663   case "$ac_cv_sizeof_char" in
64664     1) acx_cv_type_int8_t=char ;;
64665     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64666   esac
64667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64668 $as_echo "$acx_cv_type_int8_t" >&6; }
64669
64670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64671 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64672   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64673     2:*) acx_cv_type_int16_t=int ;;
64674     *:2) acx_cv_type_int16_t=short ;;
64675     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64676   esac
64677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64678 $as_echo "$acx_cv_type_int16_t" >&6; }
64679
64680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64681 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64682   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64683     4:*) acx_cv_type_int32_t=int ;;
64684     *:4) acx_cv_type_int32_t=long ;;
64685     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64686   esac
64687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64688 $as_echo "$acx_cv_type_int32_t" >&6; }
64689 fi
64690
64691 # These tests are here to make the output prettier
64692
64693 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64694   case "$ac_cv_sizeof_long" in
64695     8) acx_cv_type_int64_t=long ;;
64696   esac
64697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64698 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64700 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64701 fi
64702
64703 # Now we can use the above types
64704
64705 if test "$ac_cv_type_uintptr_t" != yes; then
64706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64707 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64708   case $ac_cv_sizeof_void_p in
64709     2) acx_cv_type_intptr_t=int16_t ;;
64710     4) acx_cv_type_intptr_t=int32_t ;;
64711     8) acx_cv_type_intptr_t=int64_t ;;
64712     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64713   esac
64714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64715 $as_echo "$acx_cv_type_intptr_t" >&6; }
64716 fi
64717
64718 # ----------------- done all checks, emit header -------------
64719 ac_config_commands="$ac_config_commands include/gstdint.h"
64720
64721
64722
64723
64724
64725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64726 $as_echo_n "checking for GNU c++filt... " >&6; }
64727 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64728   $as_echo_n "(cached) " >&6
64729 else
64730   if test -z "$CXXFILT"; then
64731   ac_path_CXXFILT_found=false
64732   # Loop through the user's path and test for each of PROGNAME-LIST
64733   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64734 for as_dir in $PATH
64735 do
64736   IFS=$as_save_IFS
64737   test -z "$as_dir" && as_dir=.
64738     for ac_prog in c++filt gc++filt; do
64739     for ac_exec_ext in '' $ac_executable_extensions; do
64740       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64741       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64742 # Check for GNU $ac_path_CXXFILT
64743 case `"$ac_path_CXXFILT" --version 2>&1` in
64744 *GNU*)
64745   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64746 esac
64747
64748       $ac_path_CXXFILT_found && break 3
64749     done
64750   done
64751   done
64752 IFS=$as_save_IFS
64753   if test -z "$ac_cv_path_CXXFILT"; then
64754     :
64755   fi
64756 else
64757   ac_cv_path_CXXFILT=$CXXFILT
64758 fi
64759
64760 fi
64761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64762 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64763   CXXFILT=$ac_cv_path_CXXFILT
64764
64765
64766
64767  # Check whether --enable-symvers was given.
64768 if test "${enable_symvers+set}" = set; then :
64769   enableval=$enable_symvers;
64770       case "$enableval" in
64771        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64772        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64773                         esac
64774
64775 else
64776   enable_symvers=yes
64777 fi
64778
64779
64780
64781 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64782 # don't know enough about $LD to do tricks...
64783
64784 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64785 # with extern "C++" in version scripts.
64786
64787
64788 # Turn a 'yes' into a suitable default.
64789 if test x$enable_symvers = xyes ; then
64790   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64791     enable_symvers=no
64792   else
64793     if test $with_gnu_ld = yes ; then
64794       case ${target_os} in
64795         hpux*)
64796           enable_symvers=no ;;
64797         *)
64798           enable_symvers=gnu ;;
64799       esac
64800     else
64801       case ${target_os} in
64802         darwin*)
64803           enable_symvers=darwin ;;
64804         # Sun symbol versioning exists since Solaris 2.5.
64805         solaris2.[5-9]* | solaris2.1[0-9]*)
64806           # make_sunver.pl needs GNU c++filt to support extern "C++" in
64807           # version scripts, so disable symbol versioning if none can be
64808           # found.
64809           if test -z "$ac_cv_path_CXXFILT"; then
64810             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64811 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64812             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
64813 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
64814             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64815 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64816             enable_symvers=no
64817           else
64818             enable_symvers=sun
64819           fi
64820           ;;
64821         *)
64822           enable_symvers=no ;;
64823       esac
64824     fi
64825   fi
64826 fi
64827
64828 # Check to see if 'darwin' or 'darwin-export' can win.
64829 if test x$enable_symvers = xdarwin-export ; then
64830     enable_symvers=darwin
64831 fi
64832
64833 # Check if 'sun' was requested on non-Solaris 2 platforms.
64834 if test x$enable_symvers = xsun ; then
64835   case ${target_os} in
64836     solaris2*)
64837       # All fine.
64838       ;;
64839     *)
64840       # Unlikely to work.
64841       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64842 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64843       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64844 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64845       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64846 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64847       enable_symvers=no
64848       ;;
64849   esac
64850 fi
64851
64852 # Check to see if 'gnu' can win.
64853 if test $enable_symvers = gnu ||
64854   test $enable_symvers = gnu-versioned-namespace ||
64855   test $enable_symvers = sun; then
64856   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64858 $as_echo_n "checking for shared libgcc... " >&6; }
64859   ac_save_CFLAGS="$CFLAGS"
64860   CFLAGS=' -lgcc_s'
64861   if test x$gcc_no_link = xyes; then
64862   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64863 fi
64864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64865 /* end confdefs.h.  */
64866
64867 int
64868 main ()
64869 {
64870 return 0;
64871   ;
64872   return 0;
64873 }
64874 _ACEOF
64875 if ac_fn_c_try_link "$LINENO"; then :
64876   glibcxx_shared_libgcc=yes
64877 else
64878   glibcxx_shared_libgcc=no
64879 fi
64880 rm -f core conftest.err conftest.$ac_objext \
64881     conftest$ac_exeext conftest.$ac_ext
64882   CFLAGS="$ac_save_CFLAGS"
64883   if test $glibcxx_shared_libgcc = no; then
64884     cat > conftest.c <<EOF
64885 int main (void) { return 0; }
64886 EOF
64887     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64888                              -shared -shared-libgcc -o conftest.so \
64889                              conftest.c -v 2>&1 >/dev/null \
64890                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64891     rm -f conftest.c conftest.so
64892     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64893       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64894       if test x$gcc_no_link = xyes; then
64895   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64896 fi
64897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64898 /* end confdefs.h.  */
64899
64900 int
64901 main ()
64902 {
64903 return 0;
64904   ;
64905   return 0;
64906 }
64907 _ACEOF
64908 if ac_fn_c_try_link "$LINENO"; then :
64909   glibcxx_shared_libgcc=yes
64910 fi
64911 rm -f core conftest.err conftest.$ac_objext \
64912     conftest$ac_exeext conftest.$ac_ext
64913       CFLAGS="$ac_save_CFLAGS"
64914     fi
64915   fi
64916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64917 $as_echo "$glibcxx_shared_libgcc" >&6; }
64918
64919   # For GNU ld, we need at least this version.  The format is described in
64920   # GLIBCXX_CHECK_LINKER_FEATURES above.
64921   glibcxx_min_gnu_ld_version=21400
64922
64923   # If no shared libgcc, can't win.
64924   if test $glibcxx_shared_libgcc != yes; then
64925       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64926 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64927       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64928 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64929       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64930 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64931       enable_symvers=no
64932   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64933     : All interesting versions of Sun ld support sun style symbol versioning.
64934   elif test $with_gnu_ld != yes ; then
64935     # just fail for now
64936     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64937 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64938     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64939 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64940     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64941 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64942     enable_symvers=no
64943   elif test $glibcxx_ld_is_gold = yes ; then
64944     : All versions of gold support symbol versioning.
64945   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64946     # The right tools, the right setup, but too old.  Fallbacks?
64947     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64948 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64949     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64950 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64951     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64952 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64953     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64954 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64955     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64956 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64957     enable_symvers=no
64958   fi
64959 fi
64960
64961 # For libtool versioning info, format is CURRENT:REVISION:AGE
64962 libtool_VERSION=6:17:0
64963
64964 # Everything parsed; figure out what files and settings to use.
64965 case $enable_symvers in
64966   no)
64967     SYMVER_FILE=config/abi/pre/none.ver
64968     ;;
64969   gnu)
64970     SYMVER_FILE=config/abi/pre/gnu.ver
64971
64972 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64973
64974     ;;
64975   gnu-versioned-namespace)
64976     libtool_VERSION=7:0:0
64977     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64978
64979 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64980
64981     ;;
64982   darwin)
64983     SYMVER_FILE=config/abi/pre/gnu.ver
64984
64985 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64986
64987     ;;
64988   sun)
64989     SYMVER_FILE=config/abi/pre/gnu.ver
64990
64991 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64992
64993     ;;
64994 esac
64995
64996 if test x$enable_symvers != xno ; then
64997
64998 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64999
65000 fi
65001
65002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
65003 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
65004 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
65005   $as_echo_n "(cached) " >&6
65006 else
65007
65008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65009 /* end confdefs.h.  */
65010 void foo (void); __asm (".symver foo, bar@SYMVER");
65011 int
65012 main ()
65013 {
65014
65015   ;
65016   return 0;
65017 }
65018 _ACEOF
65019 if ac_fn_c_try_compile "$LINENO"; then :
65020   glibcxx_cv_have_as_symver_directive=yes
65021 else
65022   glibcxx_cv_have_as_symver_directive=no
65023 fi
65024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65025 fi
65026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
65027 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
65028 if test $glibcxx_cv_have_as_symver_directive = yes; then
65029
65030 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
65031
65032 fi
65033
65034
65035
65036
65037
65038
65039
65040
65041 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
65042 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
65043
65044 if test $enable_symvers != no ; then
65045    case ${target_os} in
65046      # The Solaris 2 runtime linker doesn't support the GNU extension of
65047      # binding the same symbol to different versions
65048      solaris2*)
65049        ;;
65050      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
65051      *)
65052
65053 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
65054
65055        ;;
65056     esac
65057 fi
65058
65059 # Now, set up compatibility support, if any.
65060 # In addition, need this to deal with std::size_t mangling in
65061 # src/compatibility.cc.  In a perfect world, could use
65062 # typeid(std::size_t).name()[0] to do direct substitution.
65063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
65064 $as_echo_n "checking for size_t as unsigned int... " >&6; }
65065 ac_save_CFLAGS="$CFLAGS"
65066 CFLAGS="-Werror"
65067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65068 /* end confdefs.h.  */
65069
65070 int
65071 main ()
65072 {
65073 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
65074   ;
65075   return 0;
65076 }
65077 _ACEOF
65078 if ac_fn_c_try_compile "$LINENO"; then :
65079   glibcxx_size_t_is_i=yes
65080 else
65081   glibcxx_size_t_is_i=no
65082 fi
65083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65084 CFLAGS=$ac_save_CFLAGS
65085 if test "$glibcxx_size_t_is_i" = yes; then
65086
65087 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
65088
65089 fi
65090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
65091 $as_echo "$glibcxx_size_t_is_i" >&6; }
65092
65093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
65094 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
65095 ac_save_CFLAGS="$CFLAGS"
65096 CFLAGS="-Werror"
65097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65098 /* end confdefs.h.  */
65099
65100 int
65101 main ()
65102 {
65103 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
65104   ;
65105   return 0;
65106 }
65107 _ACEOF
65108 if ac_fn_c_try_compile "$LINENO"; then :
65109   glibcxx_ptrdiff_t_is_i=yes
65110 else
65111   glibcxx_ptrdiff_t_is_i=no
65112 fi
65113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65114 CFLAGS=$ac_save_CFLAGS
65115 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
65116
65117 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
65118
65119 fi
65120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
65121 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
65122
65123
65124
65125
65126  # Check whether --enable-libstdcxx-visibility was given.
65127 if test "${enable_libstdcxx_visibility+set}" = set; then :
65128   enableval=$enable_libstdcxx_visibility;
65129       case "$enableval" in
65130        yes|no) ;;
65131        *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
65132       esac
65133
65134 else
65135   enable_libstdcxx_visibility=yes
65136 fi
65137
65138
65139
65140 if test x$enable_libstdcxx_visibility = xyes ; then
65141       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
65142 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
65143 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
65144   $as_echo_n "(cached) " >&6
65145 else
65146
65147   save_CFLAGS="$CFLAGS"
65148   CFLAGS="$CFLAGS -Werror"
65149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65150 /* end confdefs.h.  */
65151 void __attribute__((visibility("hidden"))) foo(void) { }
65152 int
65153 main ()
65154 {
65155
65156   ;
65157   return 0;
65158 }
65159 _ACEOF
65160 if ac_fn_c_try_compile "$LINENO"; then :
65161   glibcxx_cv_have_attribute_visibility=yes
65162 else
65163   glibcxx_cv_have_attribute_visibility=no
65164 fi
65165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65166   CFLAGS="$save_CFLAGS"
65167 fi
65168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
65169 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
65170   if test $glibcxx_cv_have_attribute_visibility = no; then
65171     enable_libstdcxx_visibility=no
65172   fi
65173 fi
65174
65175
65176 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
65177 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
65178
65179
65180 ac_ldbl_compat=no
65181 case "$target" in
65182   powerpc*-*-linux* | \
65183   sparc*-*-linux* | \
65184   s390*-*-linux* | \
65185   alpha*-*-linux*)
65186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65187 /* end confdefs.h.  */
65188
65189 int
65190 main ()
65191 {
65192
65193 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
65194 #error no need for long double compatibility
65195 #endif
65196
65197   ;
65198   return 0;
65199 }
65200 _ACEOF
65201 if ac_fn_c_try_compile "$LINENO"; then :
65202   ac_ldbl_compat=yes
65203 else
65204   ac_ldbl_compat=no
65205 fi
65206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65207   if test "$ac_ldbl_compat" = yes; then
65208
65209 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
65210
65211     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
65212   fi
65213 esac
65214
65215
65216 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
65217
65218   if $GLIBCXX_IS_NATIVE ; then
65219     # Do checks for resource limit functions.
65220
65221   setrlimit_have_headers=yes
65222   for ac_header in unistd.h sys/time.h sys/resource.h
65223 do :
65224   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
65225 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
65226 eval as_val=\$$as_ac_Header
65227    if test "x$as_val" = x""yes; then :
65228   cat >>confdefs.h <<_ACEOF
65229 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
65230 _ACEOF
65231
65232 else
65233   setrlimit_have_headers=no
65234 fi
65235
65236 done
65237
65238   # If don't have the headers, then we can't run the tests now, and we
65239   # won't be seeing any of these during testsuite compilation.
65240   if test $setrlimit_have_headers = yes; then
65241     # Can't do these in a loop, else the resulting syntax is wrong.
65242
65243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
65244 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
65245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65246 /* end confdefs.h.  */
65247 #include <unistd.h>
65248      #include <sys/time.h>
65249      #include <sys/resource.h>
65250
65251 int
65252 main ()
65253 {
65254  int f = RLIMIT_DATA ;
65255   ;
65256   return 0;
65257 }
65258 _ACEOF
65259 if ac_fn_c_try_compile "$LINENO"; then :
65260   glibcxx_mresult=1
65261 else
65262   glibcxx_mresult=0
65263 fi
65264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65265
65266 cat >>confdefs.h <<_ACEOF
65267 #define HAVE_LIMIT_DATA $glibcxx_mresult
65268 _ACEOF
65269
65270   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65272 $as_echo "$res" >&6; }
65273
65274
65275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
65276 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
65277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65278 /* end confdefs.h.  */
65279 #include <unistd.h>
65280      #include <sys/time.h>
65281      #include <sys/resource.h>
65282
65283 int
65284 main ()
65285 {
65286  int f = RLIMIT_RSS ;
65287   ;
65288   return 0;
65289 }
65290 _ACEOF
65291 if ac_fn_c_try_compile "$LINENO"; then :
65292   glibcxx_mresult=1
65293 else
65294   glibcxx_mresult=0
65295 fi
65296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65297
65298 cat >>confdefs.h <<_ACEOF
65299 #define HAVE_LIMIT_RSS $glibcxx_mresult
65300 _ACEOF
65301
65302   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65304 $as_echo "$res" >&6; }
65305
65306
65307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
65308 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
65309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65310 /* end confdefs.h.  */
65311 #include <unistd.h>
65312      #include <sys/time.h>
65313      #include <sys/resource.h>
65314
65315 int
65316 main ()
65317 {
65318  int f = RLIMIT_VMEM ;
65319   ;
65320   return 0;
65321 }
65322 _ACEOF
65323 if ac_fn_c_try_compile "$LINENO"; then :
65324   glibcxx_mresult=1
65325 else
65326   glibcxx_mresult=0
65327 fi
65328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65329
65330 cat >>confdefs.h <<_ACEOF
65331 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65332 _ACEOF
65333
65334   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65336 $as_echo "$res" >&6; }
65337
65338
65339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65340 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65342 /* end confdefs.h.  */
65343 #include <unistd.h>
65344      #include <sys/time.h>
65345      #include <sys/resource.h>
65346
65347 int
65348 main ()
65349 {
65350  int f = RLIMIT_AS ;
65351   ;
65352   return 0;
65353 }
65354 _ACEOF
65355 if ac_fn_c_try_compile "$LINENO"; then :
65356   glibcxx_mresult=1
65357 else
65358   glibcxx_mresult=0
65359 fi
65360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65361
65362 cat >>confdefs.h <<_ACEOF
65363 #define HAVE_LIMIT_AS $glibcxx_mresult
65364 _ACEOF
65365
65366   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65368 $as_echo "$res" >&6; }
65369
65370
65371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65372 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65374 /* end confdefs.h.  */
65375 #include <unistd.h>
65376      #include <sys/time.h>
65377      #include <sys/resource.h>
65378
65379 int
65380 main ()
65381 {
65382  int f = RLIMIT_FSIZE ;
65383   ;
65384   return 0;
65385 }
65386 _ACEOF
65387 if ac_fn_c_try_compile "$LINENO"; then :
65388   glibcxx_mresult=1
65389 else
65390   glibcxx_mresult=0
65391 fi
65392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65393
65394 cat >>confdefs.h <<_ACEOF
65395 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65396 _ACEOF
65397
65398   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65400 $as_echo "$res" >&6; }
65401
65402
65403     # Check for rlimit, setrlimit.
65404     if test "${glibcxx_cv_setrlimit+set}" = set; then :
65405   $as_echo_n "(cached) " >&6
65406 else
65407
65408       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65409 /* end confdefs.h.  */
65410 #include <unistd.h>
65411          #include <sys/time.h>
65412          #include <sys/resource.h>
65413
65414 int
65415 main ()
65416 {
65417 struct rlimit r;
65418          setrlimit(0, &r);
65419   ;
65420   return 0;
65421 }
65422 _ACEOF
65423 if ac_fn_c_try_compile "$LINENO"; then :
65424   glibcxx_cv_setrlimit=yes
65425 else
65426   glibcxx_cv_setrlimit=no
65427 fi
65428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65429
65430 fi
65431
65432   fi
65433
65434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65435 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65436   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65437     ac_res_limits=yes
65438
65439 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65440
65441   else
65442     ac_res_limits=no
65443   fi
65444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65445 $as_echo "$ac_res_limits" >&6; }
65446
65447
65448     # Look for setenv, so that extended locale tests can be performed.
65449
65450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65451 $as_echo_n "checking for setenv declaration... " >&6; }
65452   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65453     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65454   $as_echo_n "(cached) " >&6
65455 else
65456
65457
65458       ac_ext=cpp
65459 ac_cpp='$CXXCPP $CPPFLAGS'
65460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65463
65464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65465 /* end confdefs.h.  */
65466 #include <stdlib.h>
65467 int
65468 main ()
65469 {
65470  setenv(0, 0, 0);
65471   ;
65472   return 0;
65473 }
65474 _ACEOF
65475 if ac_fn_cxx_try_compile "$LINENO"; then :
65476   glibcxx_cv_func_setenv_use=yes
65477 else
65478   glibcxx_cv_func_setenv_use=no
65479 fi
65480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65481       ac_ext=c
65482 ac_cpp='$CPP $CPPFLAGS'
65483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65486
65487
65488 fi
65489
65490   fi
65491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65492 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65493   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65494     for ac_func in setenv
65495 do :
65496   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65497 if test "x$ac_cv_func_setenv" = x""yes; then :
65498   cat >>confdefs.h <<_ACEOF
65499 #define HAVE_SETENV 1
65500 _ACEOF
65501
65502 fi
65503 done
65504
65505   fi
65506
65507   fi
65508
65509   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65510      test $enable_symvers != no; then
65511     case "$host" in
65512       *-*-cygwin*)
65513         enable_abi_check=no ;;
65514       *)
65515         enable_abi_check=yes ;;
65516     esac
65517   else
65518     # Only build this as native, since automake does not understand
65519     # CXX_FOR_BUILD.
65520     enable_abi_check=no
65521   fi
65522
65523   # Export file names for ABI checking.
65524   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65525
65526   baseline_subdir_switch="$abi_baseline_subdir_switch"
65527
65528
65529
65530 # For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
65531
65532    # Check whether --enable-libstdcxx-threads was given.
65533 if test "${enable_libstdcxx_threads+set}" = set; then :
65534   enableval=$enable_libstdcxx_threads;
65535       case "$enableval" in
65536        yes|no) ;;
65537        *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
65538       esac
65539
65540 else
65541   enable_libstdcxx_threads=auto
65542 fi
65543
65544
65545
65546   if test x$enable_libstdcxx_threads = xauto ||
65547      test x$enable_libstdcxx_threads = xyes; then
65548
65549
65550   ac_ext=cpp
65551 ac_cpp='$CXXCPP $CPPFLAGS'
65552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65555
65556
65557   ac_save_CXXFLAGS="$CXXFLAGS"
65558   CXXFLAGS="$CXXFLAGS -fno-exceptions \
65559         -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
65560
65561   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
65562   case $target_thread_file in
65563     posix)
65564       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
65565   esac
65566
65567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
65568 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
65569
65570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65571 /* end confdefs.h.  */
65572 #include <unistd.h>
65573 int
65574 main ()
65575 {
65576
65577       // In case of POSIX threads check _POSIX_TIMEOUTS.
65578       #if (defined(_PTHREADS) \
65579           && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
65580       #error
65581       #endif
65582
65583   ;
65584   return 0;
65585 }
65586 _ACEOF
65587 if ac_fn_cxx_try_compile "$LINENO"; then :
65588   ac_gthread_use_mutex_timedlock=1
65589 else
65590   ac_gthread_use_mutex_timedlock=0
65591 fi
65592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65593
65594
65595 cat >>confdefs.h <<_ACEOF
65596 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
65597 _ACEOF
65598
65599
65600   if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
65601   else res_mutex_timedlock=no ; fi
65602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
65603 $as_echo "$res_mutex_timedlock" >&6; }
65604
65605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
65606 $as_echo_n "checking for gthreads library... " >&6; }
65607
65608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65609 /* end confdefs.h.  */
65610 #include "gthr.h"
65611 int
65612 main ()
65613 {
65614
65615       #ifndef __GTHREADS_CXX0X
65616       #error
65617       #endif
65618
65619   ;
65620   return 0;
65621 }
65622 _ACEOF
65623 if ac_fn_cxx_try_compile "$LINENO"; then :
65624   case $target_os in
65625           # gthreads support breaks symbol versioning on Solaris 8/9 (PR
65626           # libstdc++/52189).
65627           solaris2.[89]*)
65628             if test x$enable_symvers = xno; then
65629               ac_has_gthreads=yes
65630             elif test x$enable_libstdcxx_threads = xyes; then
65631               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
65632 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
65633               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
65634 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
65635               ac_has_gthreads=yes
65636             else
65637               ac_has_gthreads=no
65638             fi
65639             ;;
65640           *)
65641             ac_has_gthreads=yes
65642             ;;
65643         esac
65644 else
65645   ac_has_gthreads=no
65646 fi
65647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65648   else
65649     ac_has_gthreads=no
65650   fi
65651
65652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
65653 $as_echo "$ac_has_gthreads" >&6; }
65654
65655   if test x"$ac_has_gthreads" = x"yes"; then
65656
65657 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
65658
65659   fi
65660
65661   CXXFLAGS="$ac_save_CXXFLAGS"
65662   ac_ext=c
65663 ac_cpp='$CPP $CPPFLAGS'
65664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65667
65668
65669
65670 # Define documentation rules conditionally.
65671
65672 # See if makeinfo has been installed and is modern enough
65673 # that we can use it.
65674
65675   # Extract the first word of "makeinfo", so it can be a program name with args.
65676 set dummy makeinfo; ac_word=$2
65677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65678 $as_echo_n "checking for $ac_word... " >&6; }
65679 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65680   $as_echo_n "(cached) " >&6
65681 else
65682   if test -n "$MAKEINFO"; then
65683   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65684 else
65685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65686 for as_dir in $PATH
65687 do
65688   IFS=$as_save_IFS
65689   test -z "$as_dir" && as_dir=.
65690     for ac_exec_ext in '' $ac_executable_extensions; do
65691   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65692     ac_cv_prog_MAKEINFO="makeinfo"
65693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65694     break 2
65695   fi
65696 done
65697   done
65698 IFS=$as_save_IFS
65699
65700 fi
65701 fi
65702 MAKEINFO=$ac_cv_prog_MAKEINFO
65703 if test -n "$MAKEINFO"; then
65704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65705 $as_echo "$MAKEINFO" >&6; }
65706 else
65707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65708 $as_echo "no" >&6; }
65709 fi
65710
65711
65712   if test -n "$MAKEINFO"; then
65713     # Found it, now check the version.
65714     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65715 $as_echo_n "checking for modern makeinfo... " >&6; }
65716 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65717   $as_echo_n "(cached) " >&6
65718 else
65719   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65720                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65721
65722                     case $ac_prog_version in
65723                       '')  gcc_cv_prog_makeinfo_modern=no;;
65724                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
65725                       *)   gcc_cv_prog_makeinfo_modern=no;;
65726                     esac
65727
65728 fi
65729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65730 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65731   else
65732     gcc_cv_prog_makeinfo_modern=no
65733   fi
65734   if test $gcc_cv_prog_makeinfo_modern = no; then
65735     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65736   fi
65737
65738  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65739   BUILD_INFO_TRUE=
65740   BUILD_INFO_FALSE='#'
65741 else
65742   BUILD_INFO_TRUE='#'
65743   BUILD_INFO_FALSE=
65744 fi
65745
65746
65747 # Check for doxygen
65748 # Extract the first word of "doxygen", so it can be a program name with args.
65749 set dummy doxygen; ac_word=$2
65750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65751 $as_echo_n "checking for $ac_word... " >&6; }
65752 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65753   $as_echo_n "(cached) " >&6
65754 else
65755   if test -n "$DOXYGEN"; then
65756   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65757 else
65758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65759 for as_dir in $PATH
65760 do
65761   IFS=$as_save_IFS
65762   test -z "$as_dir" && as_dir=.
65763     for ac_exec_ext in '' $ac_executable_extensions; do
65764   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65765     ac_cv_prog_DOXYGEN="yes"
65766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65767     break 2
65768   fi
65769 done
65770   done
65771 IFS=$as_save_IFS
65772
65773   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65774 fi
65775 fi
65776 DOXYGEN=$ac_cv_prog_DOXYGEN
65777 if test -n "$DOXYGEN"; then
65778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65779 $as_echo "$DOXYGEN" >&6; }
65780 else
65781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65782 $as_echo "no" >&6; }
65783 fi
65784
65785
65786 # Extract the first word of "dot", so it can be a program name with args.
65787 set dummy dot; ac_word=$2
65788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65789 $as_echo_n "checking for $ac_word... " >&6; }
65790 if test "${ac_cv_prog_DOT+set}" = set; then :
65791   $as_echo_n "(cached) " >&6
65792 else
65793   if test -n "$DOT"; then
65794   ac_cv_prog_DOT="$DOT" # Let the user override the test.
65795 else
65796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65797 for as_dir in $PATH
65798 do
65799   IFS=$as_save_IFS
65800   test -z "$as_dir" && as_dir=.
65801     for ac_exec_ext in '' $ac_executable_extensions; do
65802   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65803     ac_cv_prog_DOT="yes"
65804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65805     break 2
65806   fi
65807 done
65808   done
65809 IFS=$as_save_IFS
65810
65811   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65812 fi
65813 fi
65814 DOT=$ac_cv_prog_DOT
65815 if test -n "$DOT"; then
65816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65817 $as_echo "$DOT" >&6; }
65818 else
65819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65820 $as_echo "no" >&6; }
65821 fi
65822
65823
65824
65825 # Check for docbook
65826 # Extract the first word of "xsltproc", so it can be a program name with args.
65827 set dummy xsltproc; ac_word=$2
65828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65829 $as_echo_n "checking for $ac_word... " >&6; }
65830 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65831   $as_echo_n "(cached) " >&6
65832 else
65833   if test -n "$XSLTPROC"; then
65834   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65835 else
65836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65837 for as_dir in $PATH
65838 do
65839   IFS=$as_save_IFS
65840   test -z "$as_dir" && as_dir=.
65841     for ac_exec_ext in '' $ac_executable_extensions; do
65842   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65843     ac_cv_prog_XSLTPROC="yes"
65844     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65845     break 2
65846   fi
65847 done
65848   done
65849 IFS=$as_save_IFS
65850
65851   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65852 fi
65853 fi
65854 XSLTPROC=$ac_cv_prog_XSLTPROC
65855 if test -n "$XSLTPROC"; then
65856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65857 $as_echo "$XSLTPROC" >&6; }
65858 else
65859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65860 $as_echo "no" >&6; }
65861 fi
65862
65863
65864 # Extract the first word of "xmllint", so it can be a program name with args.
65865 set dummy xmllint; ac_word=$2
65866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65867 $as_echo_n "checking for $ac_word... " >&6; }
65868 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65869   $as_echo_n "(cached) " >&6
65870 else
65871   if test -n "$XMLLINT"; then
65872   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65873 else
65874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65875 for as_dir in $PATH
65876 do
65877   IFS=$as_save_IFS
65878   test -z "$as_dir" && as_dir=.
65879     for ac_exec_ext in '' $ac_executable_extensions; do
65880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65881     ac_cv_prog_XMLLINT="yes"
65882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65883     break 2
65884   fi
65885 done
65886   done
65887 IFS=$as_save_IFS
65888
65889   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65890 fi
65891 fi
65892 XMLLINT=$ac_cv_prog_XMLLINT
65893 if test -n "$XMLLINT"; then
65894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65895 $as_echo "$XMLLINT" >&6; }
65896 else
65897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65898 $as_echo "no" >&6; }
65899 fi
65900
65901
65902
65903
65904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
65905 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
65906 glibcxx_stylesheets=no
65907 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
65908   glibcxx_stylesheets=yes
65909 fi
65910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65911 $as_echo "$glibcxx_stylesheets" >&6; }
65912
65913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65914 $as_echo_n "checking for local stylesheet directory... " >&6; }
65915 glibcxx_local_stylesheets=no
65916 if test x"$glibcxx_stylesheets" = x"yes"; then
65917   if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65918     glibcxx_local_stylesheets=yes
65919     XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65920   fi
65921   if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65922     glibcxx_local_stylesheets=yes
65923     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65924   fi
65925 fi
65926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65927 $as_echo "$glibcxx_local_stylesheets" >&6; }
65928
65929 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65930
65931   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65932 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65933 else
65934   glibcxx_stylesheets=no
65935 fi
65936
65937 # Check for epub3 dependencies.
65938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
65939 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
65940 glibcxx_epub_stylesheets=no
65941 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65942    if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
65943       glibcxx_epub_stylesheets=yes
65944    fi
65945 fi
65946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
65947 $as_echo "$glibcxx_epub_stylesheets" >&6; }
65948  if test x"$glibcxx_epub_stylesheets" = x"yes"; then
65949   BUILD_EPUB_TRUE=
65950   BUILD_EPUB_FALSE='#'
65951 else
65952   BUILD_EPUB_TRUE='#'
65953   BUILD_EPUB_FALSE=
65954 fi
65955
65956
65957
65958
65959 # Check for xml/html dependencies.
65960  if test $ac_cv_prog_DOXYGEN = "yes" &&
65961                test $ac_cv_prog_DOT = "yes" &&
65962                test $ac_cv_prog_XSLTPROC = "yes" &&
65963                test $ac_cv_prog_XMLLINT = "yes" &&
65964                test $glibcxx_stylesheets = "yes"; then
65965   BUILD_XML_TRUE=
65966   BUILD_XML_FALSE='#'
65967 else
65968   BUILD_XML_TRUE='#'
65969   BUILD_XML_FALSE=
65970 fi
65971
65972
65973  if test $ac_cv_prog_DOXYGEN = "yes" &&
65974                test $ac_cv_prog_DOT = "yes" &&
65975                test $ac_cv_prog_XSLTPROC = "yes" &&
65976                test $ac_cv_prog_XMLLINT = "yes" &&
65977                test $glibcxx_stylesheets = "yes"; then
65978   BUILD_HTML_TRUE=
65979   BUILD_HTML_FALSE='#'
65980 else
65981   BUILD_HTML_TRUE='#'
65982   BUILD_HTML_FALSE=
65983 fi
65984
65985
65986 # Check for man dependencies.
65987  if test $ac_cv_prog_DOXYGEN = "yes" &&
65988                test $ac_cv_prog_DOT = "yes"; then
65989   BUILD_MAN_TRUE=
65990   BUILD_MAN_FALSE='#'
65991 else
65992   BUILD_MAN_TRUE='#'
65993   BUILD_MAN_FALSE=
65994 fi
65995
65996
65997 # Check for pdf dependencies.
65998 # Extract the first word of "dblatex", so it can be a program name with args.
65999 set dummy dblatex; ac_word=$2
66000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66001 $as_echo_n "checking for $ac_word... " >&6; }
66002 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
66003   $as_echo_n "(cached) " >&6
66004 else
66005   if test -n "$DBLATEX"; then
66006   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
66007 else
66008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66009 for as_dir in $PATH
66010 do
66011   IFS=$as_save_IFS
66012   test -z "$as_dir" && as_dir=.
66013     for ac_exec_ext in '' $ac_executable_extensions; do
66014   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66015     ac_cv_prog_DBLATEX="yes"
66016     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66017     break 2
66018   fi
66019 done
66020   done
66021 IFS=$as_save_IFS
66022
66023   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
66024 fi
66025 fi
66026 DBLATEX=$ac_cv_prog_DBLATEX
66027 if test -n "$DBLATEX"; then
66028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
66029 $as_echo "$DBLATEX" >&6; }
66030 else
66031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66032 $as_echo "no" >&6; }
66033 fi
66034
66035
66036 # Extract the first word of "pdflatex", so it can be a program name with args.
66037 set dummy pdflatex; ac_word=$2
66038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66039 $as_echo_n "checking for $ac_word... " >&6; }
66040 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
66041   $as_echo_n "(cached) " >&6
66042 else
66043   if test -n "$PDFLATEX"; then
66044   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
66045 else
66046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66047 for as_dir in $PATH
66048 do
66049   IFS=$as_save_IFS
66050   test -z "$as_dir" && as_dir=.
66051     for ac_exec_ext in '' $ac_executable_extensions; do
66052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66053     ac_cv_prog_PDFLATEX="yes"
66054     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66055     break 2
66056   fi
66057 done
66058   done
66059 IFS=$as_save_IFS
66060
66061   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
66062 fi
66063 fi
66064 PDFLATEX=$ac_cv_prog_PDFLATEX
66065 if test -n "$PDFLATEX"; then
66066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
66067 $as_echo "$PDFLATEX" >&6; }
66068 else
66069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66070 $as_echo "no" >&6; }
66071 fi
66072
66073
66074  if test $ac_cv_prog_DBLATEX = "yes" &&
66075                test $ac_cv_prog_PDFLATEX = "yes"; then
66076   BUILD_PDF_TRUE=
66077   BUILD_PDF_FALSE='#'
66078 else
66079   BUILD_PDF_TRUE='#'
66080   BUILD_PDF_FALSE=
66081 fi
66082
66083
66084
66085 # Propagate the target-specific source directories through the build chain.
66086 ATOMICITY_SRCDIR=config/${atomicity_dir}
66087 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
66088 ATOMIC_FLAGS=${atomic_flags}
66089 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
66090 OS_INC_SRCDIR=config/${os_include_dir}
66091 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
66092 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
66093
66094
66095
66096
66097
66098
66099
66100
66101
66102 # Determine cross-compile flags and AM_CONDITIONALs.
66103 #AC_SUBST(GLIBCXX_IS_NATIVE)
66104 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
66105     if test $is_hosted = yes; then
66106   GLIBCXX_HOSTED_TRUE=
66107   GLIBCXX_HOSTED_FALSE='#'
66108 else
66109   GLIBCXX_HOSTED_TRUE='#'
66110   GLIBCXX_HOSTED_FALSE=
66111 fi
66112
66113
66114     if test $enable_libstdcxx_pch = yes; then
66115   GLIBCXX_BUILD_PCH_TRUE=
66116   GLIBCXX_BUILD_PCH_FALSE='#'
66117 else
66118   GLIBCXX_BUILD_PCH_TRUE='#'
66119   GLIBCXX_BUILD_PCH_FALSE=
66120 fi
66121
66122
66123     if test $enable_cheaders = c; then
66124   GLIBCXX_C_HEADERS_C_TRUE=
66125   GLIBCXX_C_HEADERS_C_FALSE='#'
66126 else
66127   GLIBCXX_C_HEADERS_C_TRUE='#'
66128   GLIBCXX_C_HEADERS_C_FALSE=
66129 fi
66130
66131
66132     if test $enable_cheaders = c_std; then
66133   GLIBCXX_C_HEADERS_C_STD_TRUE=
66134   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
66135 else
66136   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
66137   GLIBCXX_C_HEADERS_C_STD_FALSE=
66138 fi
66139
66140
66141     if test $enable_cheaders = c_global; then
66142   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
66143   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
66144 else
66145   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
66146   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
66147 fi
66148
66149
66150     if test $c_compatibility = yes; then
66151   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
66152   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
66153 else
66154   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
66155   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
66156 fi
66157
66158
66159     if test $enable_libstdcxx_debug = yes; then
66160   GLIBCXX_BUILD_DEBUG_TRUE=
66161   GLIBCXX_BUILD_DEBUG_FALSE='#'
66162 else
66163   GLIBCXX_BUILD_DEBUG_TRUE='#'
66164   GLIBCXX_BUILD_DEBUG_FALSE=
66165 fi
66166
66167
66168     if test $enable_parallel = yes; then
66169   ENABLE_PARALLEL_TRUE=
66170   ENABLE_PARALLEL_FALSE='#'
66171 else
66172   ENABLE_PARALLEL_TRUE='#'
66173   ENABLE_PARALLEL_FALSE=
66174 fi
66175
66176
66177     if test $enable_extern_template = yes; then
66178   ENABLE_EXTERN_TEMPLATE_TRUE=
66179   ENABLE_EXTERN_TEMPLATE_FALSE='#'
66180 else
66181   ENABLE_EXTERN_TEMPLATE_TRUE='#'
66182   ENABLE_EXTERN_TEMPLATE_FALSE=
66183 fi
66184
66185
66186     if test $python_mod_dir != no; then
66187   ENABLE_PYTHONDIR_TRUE=
66188   ENABLE_PYTHONDIR_FALSE='#'
66189 else
66190   ENABLE_PYTHONDIR_TRUE='#'
66191   ENABLE_PYTHONDIR_FALSE=
66192 fi
66193
66194
66195     if test $enable_werror = yes; then
66196   ENABLE_WERROR_TRUE=
66197   ENABLE_WERROR_FALSE='#'
66198 else
66199   ENABLE_WERROR_TRUE='#'
66200   ENABLE_WERROR_FALSE=
66201 fi
66202
66203
66204     if test $enable_symvers != no; then
66205   ENABLE_SYMVERS_TRUE=
66206   ENABLE_SYMVERS_FALSE='#'
66207 else
66208   ENABLE_SYMVERS_TRUE='#'
66209   ENABLE_SYMVERS_FALSE=
66210 fi
66211
66212
66213     if test $enable_symvers = gnu; then
66214   ENABLE_SYMVERS_GNU_TRUE=
66215   ENABLE_SYMVERS_GNU_FALSE='#'
66216 else
66217   ENABLE_SYMVERS_GNU_TRUE='#'
66218   ENABLE_SYMVERS_GNU_FALSE=
66219 fi
66220
66221
66222     if test $enable_symvers = gnu-versioned-namespace; then
66223   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
66224   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
66225 else
66226   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
66227   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
66228 fi
66229
66230
66231     if test $enable_symvers = darwin; then
66232   ENABLE_SYMVERS_DARWIN_TRUE=
66233   ENABLE_SYMVERS_DARWIN_FALSE='#'
66234 else
66235   ENABLE_SYMVERS_DARWIN_TRUE='#'
66236   ENABLE_SYMVERS_DARWIN_FALSE=
66237 fi
66238
66239
66240     if test $enable_symvers = sun; then
66241   ENABLE_SYMVERS_SUN_TRUE=
66242   ENABLE_SYMVERS_SUN_FALSE='#'
66243 else
66244   ENABLE_SYMVERS_SUN_TRUE='#'
66245   ENABLE_SYMVERS_SUN_FALSE=
66246 fi
66247
66248
66249     if test $enable_libstdcxx_visibility = yes; then
66250   ENABLE_VISIBILITY_TRUE=
66251   ENABLE_VISIBILITY_FALSE='#'
66252 else
66253   ENABLE_VISIBILITY_TRUE='#'
66254   ENABLE_VISIBILITY_FALSE=
66255 fi
66256
66257
66258     if test $ac_ldbl_compat = yes; then
66259   GLIBCXX_LDBL_COMPAT_TRUE=
66260   GLIBCXX_LDBL_COMPAT_FALSE='#'
66261 else
66262   GLIBCXX_LDBL_COMPAT_TRUE='#'
66263   GLIBCXX_LDBL_COMPAT_FALSE=
66264 fi
66265
66266
66267
66268
66269 cat >confcache <<\_ACEOF
66270 # This file is a shell script that caches the results of configure
66271 # tests run on this system so they can be shared between configure
66272 # scripts and configure runs, see configure's option --config-cache.
66273 # It is not useful on other systems.  If it contains results you don't
66274 # want to keep, you may remove or edit it.
66275 #
66276 # config.status only pays attention to the cache file if you give it
66277 # the --recheck option to rerun configure.
66278 #
66279 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66280 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66281 # following values.
66282
66283 _ACEOF
66284
66285 # The following way of writing the cache mishandles newlines in values,
66286 # but we know of no workaround that is simple, portable, and efficient.
66287 # So, we kill variables containing newlines.
66288 # Ultrix sh set writes to stderr and can't be redirected directly,
66289 # and sets the high bit in the cache file unless we assign to the vars.
66290 (
66291   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66292     eval ac_val=\$$ac_var
66293     case $ac_val in #(
66294     *${as_nl}*)
66295       case $ac_var in #(
66296       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66297 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66298       esac
66299       case $ac_var in #(
66300       _ | IFS | as_nl) ;; #(
66301       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66302       *) { eval $ac_var=; unset $ac_var;} ;;
66303       esac ;;
66304     esac
66305   done
66306
66307   (set) 2>&1 |
66308     case $as_nl`(ac_space=' '; set) 2>&1` in #(
66309     *${as_nl}ac_space=\ *)
66310       # `set' does not quote correctly, so add quotes: double-quote
66311       # substitution turns \\\\ into \\, and sed turns \\ into \.
66312       sed -n \
66313         "s/'/'\\\\''/g;
66314           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66315       ;; #(
66316     *)
66317       # `set' quotes correctly as required by POSIX, so do not add quotes.
66318       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66319       ;;
66320     esac |
66321     sort
66322 ) |
66323   sed '
66324      /^ac_cv_env_/b end
66325      t clear
66326      :clear
66327      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66328      t end
66329      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66330      :end' >>confcache
66331 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66332   if test -w "$cache_file"; then
66333     test "x$cache_file" != "x/dev/null" &&
66334       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66335 $as_echo "$as_me: updating cache $cache_file" >&6;}
66336     cat confcache >$cache_file
66337   else
66338     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66339 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66340   fi
66341 fi
66342 rm -f confcache
66343
66344 if test ${multilib} = yes; then
66345   multilib_arg="--enable-multilib"
66346 else
66347   multilib_arg=
66348 fi
66349
66350 # Export all the install information.
66351
66352   glibcxx_toolexecdir=no
66353   glibcxx_toolexeclibdir=no
66354   glibcxx_prefixdir=$prefix
66355
66356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
66357 $as_echo_n "checking for gxx-include-dir... " >&6; }
66358
66359 # Check whether --with-gxx-include-dir was given.
66360 if test "${with_gxx_include_dir+set}" = set; then :
66361   withval=$with_gxx_include_dir; case "$withval" in
66362       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
66363       no)  gxx_include_dir=no ;;
66364       *)   gxx_include_dir=$withval ;;
66365      esac
66366 else
66367   gxx_include_dir=no
66368 fi
66369
66370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66371 $as_echo "$gxx_include_dir" >&6; }
66372
66373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
66374 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
66375   # Check whether --enable-version-specific-runtime-libs was given.
66376 if test "${enable_version_specific_runtime_libs+set}" = set; then :
66377   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
66378       yes) version_specific_libs=yes ;;
66379       no)  version_specific_libs=no ;;
66380       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
66381      esac
66382 else
66383   version_specific_libs=no
66384 fi
66385
66386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
66387 $as_echo "$version_specific_libs" >&6; }
66388
66389   # Default case for install directory for include files.
66390   if test $version_specific_libs = no && test $gxx_include_dir = no; then
66391     gxx_include_dir='include/c++/${gcc_version}'
66392     if test -n "$with_cross_host" &&
66393        test x"$with_cross_host" != x"no"; then
66394       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
66395     else
66396       gxx_include_dir='${prefix}/'"$gxx_include_dir"
66397     fi
66398   fi
66399
66400   # Version-specific runtime libs processing.
66401   if test $version_specific_libs = yes; then
66402     # Need the gcc compiler version to know where to install libraries
66403     # and header files if --enable-version-specific-runtime-libs option
66404     # is selected.  FIXME: these variables are misnamed, there are
66405     # no executables installed in _toolexecdir or _toolexeclibdir.
66406     if test x"$gxx_include_dir" = x"no"; then
66407       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66408     fi
66409     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66410     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66411   fi
66412
66413   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66414   # Install a library built with a cross compiler in tooldir, not libdir.
66415   if test x"$glibcxx_toolexecdir" = x"no"; then
66416     if test -n "$with_cross_host" &&
66417        test x"$with_cross_host" != x"no"; then
66418       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66419       glibcxx_toolexeclibdir='${toolexecdir}/lib'
66420     else
66421       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66422       glibcxx_toolexeclibdir='${libdir}'
66423     fi
66424     multi_os_directory=`$CXX -print-multi-os-directory`
66425     case $multi_os_directory in
66426       .) ;; # Avoid trailing /.
66427       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66428     esac
66429   fi
66430
66431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66432 $as_echo_n "checking for install location... " >&6; }
66433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66434 $as_echo "$gxx_include_dir" >&6; }
66435
66436
66437
66438
66439
66440
66441
66442 # Export all the include and flag information to Makefiles.
66443
66444   # Used for every C++ compile we perform.
66445   GLIBCXX_INCLUDES="\
66446 -I$glibcxx_builddir/include/$host_alias \
66447 -I$glibcxx_builddir/include \
66448 -I$glibcxx_srcdir/libsupc++"
66449
66450   # For Canadian crosses, pick this up too.
66451   if test $CANADIAN = yes; then
66452     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66453   fi
66454
66455   # Stuff in the actual top level.  Currently only used by libsupc++ to
66456   # get unwind* headers from the libgcc dir.
66457   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66458   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66459
66460   # Now, export this to all the little Makefiles....
66461
66462
66463
66464
66465   # Optimization flags that are probably a good idea for thrill-seekers. Just
66466   # uncomment the lines below and make, everything else is ready to go...
66467   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66468   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66469
66470
66471   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
66472
66473
66474
66475 if test "$enable_shared" = yes; then
66476   PIC_CXXFLAGS="-prefer-pic"
66477 else
66478   PIC_CXXFLAGS=
66479 fi
66480
66481
66482 ac_config_files="$ac_config_files Makefile"
66483
66484 ac_config_files="$ac_config_files scripts/testsuite_flags"
66485
66486 ac_config_files="$ac_config_files scripts/extract_symvers"
66487
66488
66489 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66490 # that multilib installs will end up installed in the correct place.
66491 # The testsuite needs it for multilib-aware ABI baseline files.
66492 # To work around this not being passed down from config-ml.in ->
66493 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66494 # append it here.  Only modify Makefiles that have just been created.
66495 #
66496 # Also, get rid of this simulated-VPATH thing that automake does.
66497 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"
66498
66499
66500 ac_config_commands="$ac_config_commands generate-headers"
66501
66502
66503 cat >confcache <<\_ACEOF
66504 # This file is a shell script that caches the results of configure
66505 # tests run on this system so they can be shared between configure
66506 # scripts and configure runs, see configure's option --config-cache.
66507 # It is not useful on other systems.  If it contains results you don't
66508 # want to keep, you may remove or edit it.
66509 #
66510 # config.status only pays attention to the cache file if you give it
66511 # the --recheck option to rerun configure.
66512 #
66513 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66514 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66515 # following values.
66516
66517 _ACEOF
66518
66519 # The following way of writing the cache mishandles newlines in values,
66520 # but we know of no workaround that is simple, portable, and efficient.
66521 # So, we kill variables containing newlines.
66522 # Ultrix sh set writes to stderr and can't be redirected directly,
66523 # and sets the high bit in the cache file unless we assign to the vars.
66524 (
66525   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66526     eval ac_val=\$$ac_var
66527     case $ac_val in #(
66528     *${as_nl}*)
66529       case $ac_var in #(
66530       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66531 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66532       esac
66533       case $ac_var in #(
66534       _ | IFS | as_nl) ;; #(
66535       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66536       *) { eval $ac_var=; unset $ac_var;} ;;
66537       esac ;;
66538     esac
66539   done
66540
66541   (set) 2>&1 |
66542     case $as_nl`(ac_space=' '; set) 2>&1` in #(
66543     *${as_nl}ac_space=\ *)
66544       # `set' does not quote correctly, so add quotes: double-quote
66545       # substitution turns \\\\ into \\, and sed turns \\ into \.
66546       sed -n \
66547         "s/'/'\\\\''/g;
66548           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66549       ;; #(
66550     *)
66551       # `set' quotes correctly as required by POSIX, so do not add quotes.
66552       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66553       ;;
66554     esac |
66555     sort
66556 ) |
66557   sed '
66558      /^ac_cv_env_/b end
66559      t clear
66560      :clear
66561      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66562      t end
66563      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66564      :end' >>confcache
66565 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66566   if test -w "$cache_file"; then
66567     test "x$cache_file" != "x/dev/null" &&
66568       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66569 $as_echo "$as_me: updating cache $cache_file" >&6;}
66570     cat confcache >$cache_file
66571   else
66572     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66573 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66574   fi
66575 fi
66576 rm -f confcache
66577
66578 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66579 # Let make expand exec_prefix.
66580 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66581
66582 DEFS=-DHAVE_CONFIG_H
66583
66584 ac_libobjs=
66585 ac_ltlibobjs=
66586 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66587   # 1. Remove the extension, and $U if already installed.
66588   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66589   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66590   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
66591   #    will be set to the directory where LIBOBJS objects are built.
66592   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66593   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66594 done
66595 LIBOBJS=$ac_libobjs
66596
66597 LTLIBOBJS=$ac_ltlibobjs
66598
66599
66600  if test -n "$EXEEXT"; then
66601   am__EXEEXT_TRUE=
66602   am__EXEEXT_FALSE='#'
66603 else
66604   am__EXEEXT_TRUE='#'
66605   am__EXEEXT_FALSE=
66606 fi
66607
66608 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66609   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66611 fi
66612 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66613   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66615 fi
66616 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66617   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66619 fi
66620 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66621   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66622 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66623 fi
66624 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66625   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66627 fi
66628 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66629   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66630 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66631 fi
66632 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66633   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66635 fi
66636 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66637   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66639 fi
66640 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66641   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66643 fi
66644 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66645   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66647 fi
66648 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
66649   as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
66650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66651 fi
66652 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
66653   as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
66654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66655 fi
66656 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66657   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66659 fi
66660 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66661   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66663 fi
66664 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66665   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66667 fi
66668 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66669   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66671 fi
66672 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66673   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66675 fi
66676 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66677   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66679 fi
66680 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66681   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66683 fi
66684 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66685   as_fn_error "conditional \"BUILD_INFO\" was never defined.
66686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66687 fi
66688 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66689   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66691 fi
66692 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66693   as_fn_error "conditional \"BUILD_XML\" was never defined.
66694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66695 fi
66696 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66697   as_fn_error "conditional \"BUILD_HTML\" was never defined.
66698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66699 fi
66700 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66701   as_fn_error "conditional \"BUILD_MAN\" was never defined.
66702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66703 fi
66704 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66705   as_fn_error "conditional \"BUILD_PDF\" was never defined.
66706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66707 fi
66708
66709 : ${CONFIG_STATUS=./config.status}
66710 ac_write_fail=0
66711 ac_clean_files_save=$ac_clean_files
66712 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66713 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66714 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66715 as_write_fail=0
66716 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66717 #! $SHELL
66718 # Generated by $as_me.
66719 # Run this file to recreate the current configuration.
66720 # Compiler output produced by configure, useful for debugging
66721 # configure, is in config.log if it exists.
66722
66723 debug=false
66724 ac_cs_recheck=false
66725 ac_cs_silent=false
66726
66727 SHELL=\${CONFIG_SHELL-$SHELL}
66728 export SHELL
66729 _ASEOF
66730 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66731 ## -------------------- ##
66732 ## M4sh Initialization. ##
66733 ## -------------------- ##
66734
66735 # Be more Bourne compatible
66736 DUALCASE=1; export DUALCASE # for MKS sh
66737 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66738   emulate sh
66739   NULLCMD=:
66740   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66741   # is contrary to our usage.  Disable this feature.
66742   alias -g '${1+"$@"}'='"$@"'
66743   setopt NO_GLOB_SUBST
66744 else
66745   case `(set -o) 2>/dev/null` in #(
66746   *posix*) :
66747     set -o posix ;; #(
66748   *) :
66749      ;;
66750 esac
66751 fi
66752
66753
66754 as_nl='
66755 '
66756 export as_nl
66757 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66758 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66759 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66760 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66761 # Prefer a ksh shell builtin over an external printf program on Solaris,
66762 # but without wasting forks for bash or zsh.
66763 if test -z "$BASH_VERSION$ZSH_VERSION" \
66764     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66765   as_echo='print -r --'
66766   as_echo_n='print -rn --'
66767 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66768   as_echo='printf %s\n'
66769   as_echo_n='printf %s'
66770 else
66771   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66772     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66773     as_echo_n='/usr/ucb/echo -n'
66774   else
66775     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66776     as_echo_n_body='eval
66777       arg=$1;
66778       case $arg in #(
66779       *"$as_nl"*)
66780         expr "X$arg" : "X\\(.*\\)$as_nl";
66781         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66782       esac;
66783       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66784     '
66785     export as_echo_n_body
66786     as_echo_n='sh -c $as_echo_n_body as_echo'
66787   fi
66788   export as_echo_body
66789   as_echo='sh -c $as_echo_body as_echo'
66790 fi
66791
66792 # The user is always right.
66793 if test "${PATH_SEPARATOR+set}" != set; then
66794   PATH_SEPARATOR=:
66795   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66796     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66797       PATH_SEPARATOR=';'
66798   }
66799 fi
66800
66801
66802 # IFS
66803 # We need space, tab and new line, in precisely that order.  Quoting is
66804 # there to prevent editors from complaining about space-tab.
66805 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66806 # splitting by setting IFS to empty value.)
66807 IFS=" ""        $as_nl"
66808
66809 # Find who we are.  Look in the path if we contain no directory separator.
66810 case $0 in #((
66811   *[\\/]* ) as_myself=$0 ;;
66812   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66813 for as_dir in $PATH
66814 do
66815   IFS=$as_save_IFS
66816   test -z "$as_dir" && as_dir=.
66817     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66818   done
66819 IFS=$as_save_IFS
66820
66821      ;;
66822 esac
66823 # We did not find ourselves, most probably we were run as `sh COMMAND'
66824 # in which case we are not to be found in the path.
66825 if test "x$as_myself" = x; then
66826   as_myself=$0
66827 fi
66828 if test ! -f "$as_myself"; then
66829   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66830   exit 1
66831 fi
66832
66833 # Unset variables that we do not need and which cause bugs (e.g. in
66834 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
66835 # suppresses any "Segmentation fault" message there.  '((' could
66836 # trigger a bug in pdksh 5.2.14.
66837 for as_var in BASH_ENV ENV MAIL MAILPATH
66838 do eval test x\${$as_var+set} = xset \
66839   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66840 done
66841 PS1='$ '
66842 PS2='> '
66843 PS4='+ '
66844
66845 # NLS nuisances.
66846 LC_ALL=C
66847 export LC_ALL
66848 LANGUAGE=C
66849 export LANGUAGE
66850
66851 # CDPATH.
66852 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66853
66854
66855 # as_fn_error ERROR [LINENO LOG_FD]
66856 # ---------------------------------
66857 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66858 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66859 # script with status $?, using 1 if that was 0.
66860 as_fn_error ()
66861 {
66862   as_status=$?; test $as_status -eq 0 && as_status=1
66863   if test "$3"; then
66864     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66865     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66866   fi
66867   $as_echo "$as_me: error: $1" >&2
66868   as_fn_exit $as_status
66869 } # as_fn_error
66870
66871
66872 # as_fn_set_status STATUS
66873 # -----------------------
66874 # Set $? to STATUS, without forking.
66875 as_fn_set_status ()
66876 {
66877   return $1
66878 } # as_fn_set_status
66879
66880 # as_fn_exit STATUS
66881 # -----------------
66882 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66883 as_fn_exit ()
66884 {
66885   set +e
66886   as_fn_set_status $1
66887   exit $1
66888 } # as_fn_exit
66889
66890 # as_fn_unset VAR
66891 # ---------------
66892 # Portably unset VAR.
66893 as_fn_unset ()
66894 {
66895   { eval $1=; unset $1;}
66896 }
66897 as_unset=as_fn_unset
66898 # as_fn_append VAR VALUE
66899 # ----------------------
66900 # Append the text in VALUE to the end of the definition contained in VAR. Take
66901 # advantage of any shell optimizations that allow amortized linear growth over
66902 # repeated appends, instead of the typical quadratic growth present in naive
66903 # implementations.
66904 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66905   eval 'as_fn_append ()
66906   {
66907     eval $1+=\$2
66908   }'
66909 else
66910   as_fn_append ()
66911   {
66912     eval $1=\$$1\$2
66913   }
66914 fi # as_fn_append
66915
66916 # as_fn_arith ARG...
66917 # ------------------
66918 # Perform arithmetic evaluation on the ARGs, and store the result in the
66919 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66920 # must be portable across $(()) and expr.
66921 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66922   eval 'as_fn_arith ()
66923   {
66924     as_val=$(( $* ))
66925   }'
66926 else
66927   as_fn_arith ()
66928   {
66929     as_val=`expr "$@" || test $? -eq 1`
66930   }
66931 fi # as_fn_arith
66932
66933
66934 if expr a : '\(a\)' >/dev/null 2>&1 &&
66935    test "X`expr 00001 : '.*\(...\)'`" = X001; then
66936   as_expr=expr
66937 else
66938   as_expr=false
66939 fi
66940
66941 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66942   as_basename=basename
66943 else
66944   as_basename=false
66945 fi
66946
66947 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66948   as_dirname=dirname
66949 else
66950   as_dirname=false
66951 fi
66952
66953 as_me=`$as_basename -- "$0" ||
66954 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66955          X"$0" : 'X\(//\)$' \| \
66956          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66957 $as_echo X/"$0" |
66958     sed '/^.*\/\([^/][^/]*\)\/*$/{
66959             s//\1/
66960             q
66961           }
66962           /^X\/\(\/\/\)$/{
66963             s//\1/
66964             q
66965           }
66966           /^X\/\(\/\).*/{
66967             s//\1/
66968             q
66969           }
66970           s/.*/./; q'`
66971
66972 # Avoid depending upon Character Ranges.
66973 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66974 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66975 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66976 as_cr_digits='0123456789'
66977 as_cr_alnum=$as_cr_Letters$as_cr_digits
66978
66979 ECHO_C= ECHO_N= ECHO_T=
66980 case `echo -n x` in #(((((
66981 -n*)
66982   case `echo 'xy\c'` in
66983   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
66984   xy)  ECHO_C='\c';;
66985   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
66986        ECHO_T=' ';;
66987   esac;;
66988 *)
66989   ECHO_N='-n';;
66990 esac
66991
66992 rm -f conf$$ conf$$.exe conf$$.file
66993 if test -d conf$$.dir; then
66994   rm -f conf$$.dir/conf$$.file
66995 else
66996   rm -f conf$$.dir
66997   mkdir conf$$.dir 2>/dev/null
66998 fi
66999 if (echo >conf$$.file) 2>/dev/null; then
67000   if ln -s conf$$.file conf$$ 2>/dev/null; then
67001     as_ln_s='ln -s'
67002     # ... but there are two gotchas:
67003     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
67004     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
67005     # In both cases, we have to default to `cp -p'.
67006     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
67007       as_ln_s='cp -p'
67008   elif ln conf$$.file conf$$ 2>/dev/null; then
67009     as_ln_s=ln
67010   else
67011     as_ln_s='cp -p'
67012   fi
67013 else
67014   as_ln_s='cp -p'
67015 fi
67016 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
67017 rmdir conf$$.dir 2>/dev/null
67018
67019
67020 # as_fn_mkdir_p
67021 # -------------
67022 # Create "$as_dir" as a directory, including parents if necessary.
67023 as_fn_mkdir_p ()
67024 {
67025
67026   case $as_dir in #(
67027   -*) as_dir=./$as_dir;;
67028   esac
67029   test -d "$as_dir" || eval $as_mkdir_p || {
67030     as_dirs=
67031     while :; do
67032       case $as_dir in #(
67033       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
67034       *) as_qdir=$as_dir;;
67035       esac
67036       as_dirs="'$as_qdir' $as_dirs"
67037       as_dir=`$as_dirname -- "$as_dir" ||
67038 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67039          X"$as_dir" : 'X\(//\)[^/]' \| \
67040          X"$as_dir" : 'X\(//\)$' \| \
67041          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
67042 $as_echo X"$as_dir" |
67043     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67044             s//\1/
67045             q
67046           }
67047           /^X\(\/\/\)[^/].*/{
67048             s//\1/
67049             q
67050           }
67051           /^X\(\/\/\)$/{
67052             s//\1/
67053             q
67054           }
67055           /^X\(\/\).*/{
67056             s//\1/
67057             q
67058           }
67059           s/.*/./; q'`
67060       test -d "$as_dir" && break
67061     done
67062     test -z "$as_dirs" || eval "mkdir $as_dirs"
67063   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
67064
67065
67066 } # as_fn_mkdir_p
67067 if mkdir -p . 2>/dev/null; then
67068   as_mkdir_p='mkdir -p "$as_dir"'
67069 else
67070   test -d ./-p && rmdir ./-p
67071   as_mkdir_p=false
67072 fi
67073
67074 if test -x / >/dev/null 2>&1; then
67075   as_test_x='test -x'
67076 else
67077   if ls -dL / >/dev/null 2>&1; then
67078     as_ls_L_option=L
67079   else
67080     as_ls_L_option=
67081   fi
67082   as_test_x='
67083     eval sh -c '\''
67084       if test -d "$1"; then
67085         test -d "$1/.";
67086       else
67087         case $1 in #(
67088         -*)set "./$1";;
67089         esac;
67090         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
67091         ???[sx]*):;;*)false;;esac;fi
67092     '\'' sh
67093   '
67094 fi
67095 as_executable_p=$as_test_x
67096
67097 # Sed expression to map a string onto a valid CPP name.
67098 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
67099
67100 # Sed expression to map a string onto a valid variable name.
67101 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
67102
67103
67104 exec 6>&1
67105 ## ----------------------------------- ##
67106 ## Main body of $CONFIG_STATUS script. ##
67107 ## ----------------------------------- ##
67108 _ASEOF
67109 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
67110
67111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67112 # Save the log message, to keep $0 and so on meaningful, and to
67113 # report actual input values of CONFIG_FILES etc. instead of their
67114 # values after options handling.
67115 ac_log="
67116 This file was extended by package-unused $as_me version-unused, which was
67117 generated by GNU Autoconf 2.64.  Invocation command line was
67118
67119   CONFIG_FILES    = $CONFIG_FILES
67120   CONFIG_HEADERS  = $CONFIG_HEADERS
67121   CONFIG_LINKS    = $CONFIG_LINKS
67122   CONFIG_COMMANDS = $CONFIG_COMMANDS
67123   $ $0 $@
67124
67125 on `(hostname || uname -n) 2>/dev/null | sed 1q`
67126 "
67127
67128 _ACEOF
67129
67130 case $ac_config_files in *"
67131 "*) set x $ac_config_files; shift; ac_config_files=$*;;
67132 esac
67133
67134 case $ac_config_headers in *"
67135 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
67136 esac
67137
67138
67139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67140 # Files that config.status was made for.
67141 config_files="$ac_config_files"
67142 config_headers="$ac_config_headers"
67143 config_commands="$ac_config_commands"
67144
67145 _ACEOF
67146
67147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67148 ac_cs_usage="\
67149 \`$as_me' instantiates files and other configuration actions
67150 from templates according to the current configuration.  Unless the files
67151 and actions are specified as TAGs, all are instantiated by default.
67152
67153 Usage: $0 [OPTION]... [TAG]...
67154
67155   -h, --help       print this help, then exit
67156   -V, --version    print version number and configuration settings, then exit
67157   -q, --quiet, --silent
67158                    do not print progress messages
67159   -d, --debug      don't remove temporary files
67160       --recheck    update $as_me by reconfiguring in the same conditions
67161       --file=FILE[:TEMPLATE]
67162                    instantiate the configuration file FILE
67163       --header=FILE[:TEMPLATE]
67164                    instantiate the configuration header FILE
67165
67166 Configuration files:
67167 $config_files
67168
67169 Configuration headers:
67170 $config_headers
67171
67172 Configuration commands:
67173 $config_commands
67174
67175 Report bugs to the package provider."
67176
67177 _ACEOF
67178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67179 ac_cs_version="\\
67180 package-unused config.status version-unused
67181 configured by $0, generated by GNU Autoconf 2.64,
67182   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
67183
67184 Copyright (C) 2009 Free Software Foundation, Inc.
67185 This config.status script is free software; the Free Software Foundation
67186 gives unlimited permission to copy, distribute and modify it."
67187
67188 ac_pwd='$ac_pwd'
67189 srcdir='$srcdir'
67190 INSTALL='$INSTALL'
67191 MKDIR_P='$MKDIR_P'
67192 AWK='$AWK'
67193 test -n "\$AWK" || AWK=awk
67194 _ACEOF
67195
67196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67197 # The default lists apply if the user does not specify any file.
67198 ac_need_defaults=:
67199 while test $# != 0
67200 do
67201   case $1 in
67202   --*=*)
67203     ac_option=`expr "X$1" : 'X\([^=]*\)='`
67204     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
67205     ac_shift=:
67206     ;;
67207   *)
67208     ac_option=$1
67209     ac_optarg=$2
67210     ac_shift=shift
67211     ;;
67212   esac
67213
67214   case $ac_option in
67215   # Handling of the options.
67216   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
67217     ac_cs_recheck=: ;;
67218   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
67219     $as_echo "$ac_cs_version"; exit ;;
67220   --debug | --debu | --deb | --de | --d | -d )
67221     debug=: ;;
67222   --file | --fil | --fi | --f )
67223     $ac_shift
67224     case $ac_optarg in
67225     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67226     esac
67227     as_fn_append CONFIG_FILES " '$ac_optarg'"
67228     ac_need_defaults=false;;
67229   --header | --heade | --head | --hea )
67230     $ac_shift
67231     case $ac_optarg in
67232     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67233     esac
67234     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
67235     ac_need_defaults=false;;
67236   --he | --h)
67237     # Conflict between --help and --header
67238     as_fn_error "ambiguous option: \`$1'
67239 Try \`$0 --help' for more information.";;
67240   --help | --hel | -h )
67241     $as_echo "$ac_cs_usage"; exit ;;
67242   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
67243   | -silent | --silent | --silen | --sile | --sil | --si | --s)
67244     ac_cs_silent=: ;;
67245
67246   # This is an error.
67247   -*) as_fn_error "unrecognized option: \`$1'
67248 Try \`$0 --help' for more information." ;;
67249
67250   *) as_fn_append ac_config_targets " $1"
67251      ac_need_defaults=false ;;
67252
67253   esac
67254   shift
67255 done
67256
67257 ac_configure_extra_args=
67258
67259 if $ac_cs_silent; then
67260   exec 6>/dev/null
67261   ac_configure_extra_args="$ac_configure_extra_args --silent"
67262 fi
67263
67264 _ACEOF
67265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67266 if \$ac_cs_recheck; then
67267   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
67268   shift
67269   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
67270   CONFIG_SHELL='$SHELL'
67271   export CONFIG_SHELL
67272   exec "\$@"
67273 fi
67274
67275 _ACEOF
67276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67277 exec 5>>config.log
67278 {
67279   echo
67280   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
67281 ## Running $as_me. ##
67282 _ASBOX
67283   $as_echo "$ac_log"
67284 } >&5
67285
67286 _ACEOF
67287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67288 #
67289 # INIT-COMMANDS
67290 #
67291
67292 srcdir="$srcdir"
67293 host="$host"
67294 target="$target"
67295 with_multisubdir="$with_multisubdir"
67296 with_multisrctop="$with_multisrctop"
67297 with_target_subdir="$with_target_subdir"
67298 ac_configure_args="${multilib_arg} ${ac_configure_args}"
67299 multi_basedir="$multi_basedir"
67300 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
67301 CC="$CC"
67302 CXX="$CXX"
67303 GFORTRAN="$GFORTRAN"
67304 GCJ="$GCJ"
67305
67306
67307 # The HP-UX ksh and POSIX shell print the target directory to stdout
67308 # if CDPATH is set.
67309 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
67310
67311 sed_quote_subst='$sed_quote_subst'
67312 double_quote_subst='$double_quote_subst'
67313 delay_variable_subst='$delay_variable_subst'
67314 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
67315 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
67316 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
67317 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
67318 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
67319 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
67320 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
67321 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
67322 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
67323 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
67324 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
67325 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
67326 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
67327 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
67328 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
67329 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
67330 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
67331 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
67332 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
67333 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
67334 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
67335 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
67336 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
67337 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
67338 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
67339 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
67340 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
67341 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
67342 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
67343 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
67344 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
67345 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
67346 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
67347 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
67348 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
67349 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
67350 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
67351 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67352 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67353 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
67354 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
67355 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
67356 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
67357 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
67358 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
67359 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
67360 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
67361 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
67362 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"`'
67363 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
67364 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
67365 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
67366 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
67367 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
67368 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
67369 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
67370 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
67371 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
67372 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
67373 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
67374 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
67375 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
67376 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
67377 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
67378 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67379 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
67380 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
67381 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
67382 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
67383 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
67384 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
67385 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67386 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
67387 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67388 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
67389 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67390 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
67391 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
67392 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
67393 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
67394 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
67395 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
67396 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
67397 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
67398 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
67399 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
67400 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
67401 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67402 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67403 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67404 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67405 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67406 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67407 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67408 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67409 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67410 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67411 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67412 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67413 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67414 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67415 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67416 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67417 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67418 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67419 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67420 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67421 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67422 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67423 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67424 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67425 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67426 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67427 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67428 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67429 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67430 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67431 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67432 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67433 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67434 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67435 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67436 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67437 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67438 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67439 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67440 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67441 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67442 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67443 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67444 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67445 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67446 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67447 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67448 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67449 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67450 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67451 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67452 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67453 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67454 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67455 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67456 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67457 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67458 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67459 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67460 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67461 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67462 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67463 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67464 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67465 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67466 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67467 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67468 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67469 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67470 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67471 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67472 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67473 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67474 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67475 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67476 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67477 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67478 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67479 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67480 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67481 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67482 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67483 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67484 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67485 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67486 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67487 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67488 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67489
67490 LTCC='$LTCC'
67491 LTCFLAGS='$LTCFLAGS'
67492 compiler='$compiler_DEFAULT'
67493
67494 # A function that is used when there is no print builtin or printf.
67495 func_fallback_echo ()
67496 {
67497   eval 'cat <<_LTECHO_EOF
67498 \$1
67499 _LTECHO_EOF'
67500 }
67501
67502 # Quote evaled strings.
67503 for var in SHELL \
67504 ECHO \
67505 SED \
67506 GREP \
67507 EGREP \
67508 FGREP \
67509 LD \
67510 NM \
67511 LN_S \
67512 lt_SP2NL \
67513 lt_NL2SP \
67514 reload_flag \
67515 OBJDUMP \
67516 deplibs_check_method \
67517 file_magic_cmd \
67518 AR \
67519 AR_FLAGS \
67520 STRIP \
67521 RANLIB \
67522 CC \
67523 CFLAGS \
67524 compiler \
67525 lt_cv_sys_global_symbol_pipe \
67526 lt_cv_sys_global_symbol_to_cdecl \
67527 lt_cv_sys_global_symbol_to_c_name_address \
67528 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67529 lt_prog_compiler_no_builtin_flag \
67530 lt_prog_compiler_wl \
67531 lt_prog_compiler_pic \
67532 lt_prog_compiler_static \
67533 lt_cv_prog_compiler_c_o \
67534 need_locks \
67535 DSYMUTIL \
67536 NMEDIT \
67537 LIPO \
67538 OTOOL \
67539 OTOOL64 \
67540 shrext_cmds \
67541 export_dynamic_flag_spec \
67542 whole_archive_flag_spec \
67543 compiler_needs_object \
67544 with_gnu_ld \
67545 allow_undefined_flag \
67546 no_undefined_flag \
67547 hardcode_libdir_flag_spec \
67548 hardcode_libdir_flag_spec_ld \
67549 hardcode_libdir_separator \
67550 fix_srcfile_path \
67551 exclude_expsyms \
67552 include_expsyms \
67553 file_list_spec \
67554 variables_saved_for_relink \
67555 libname_spec \
67556 library_names_spec \
67557 soname_spec \
67558 install_override_mode \
67559 finish_eval \
67560 old_striplib \
67561 striplib \
67562 compiler_lib_search_dirs \
67563 predep_objects \
67564 postdep_objects \
67565 predeps \
67566 postdeps \
67567 compiler_lib_search_path \
67568 LD_CXX \
67569 reload_flag_CXX \
67570 compiler_CXX \
67571 lt_prog_compiler_no_builtin_flag_CXX \
67572 lt_prog_compiler_wl_CXX \
67573 lt_prog_compiler_pic_CXX \
67574 lt_prog_compiler_static_CXX \
67575 lt_cv_prog_compiler_c_o_CXX \
67576 export_dynamic_flag_spec_CXX \
67577 whole_archive_flag_spec_CXX \
67578 compiler_needs_object_CXX \
67579 with_gnu_ld_CXX \
67580 allow_undefined_flag_CXX \
67581 no_undefined_flag_CXX \
67582 hardcode_libdir_flag_spec_CXX \
67583 hardcode_libdir_flag_spec_ld_CXX \
67584 hardcode_libdir_separator_CXX \
67585 fix_srcfile_path_CXX \
67586 exclude_expsyms_CXX \
67587 include_expsyms_CXX \
67588 file_list_spec_CXX \
67589 compiler_lib_search_dirs_CXX \
67590 predep_objects_CXX \
67591 postdep_objects_CXX \
67592 predeps_CXX \
67593 postdeps_CXX \
67594 compiler_lib_search_path_CXX; do
67595     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67596     *[\\\\\\\`\\"\\\$]*)
67597       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67598       ;;
67599     *)
67600       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67601       ;;
67602     esac
67603 done
67604
67605 # Double-quote double-evaled strings.
67606 for var in reload_cmds \
67607 old_postinstall_cmds \
67608 old_postuninstall_cmds \
67609 old_archive_cmds \
67610 extract_expsyms_cmds \
67611 old_archive_from_new_cmds \
67612 old_archive_from_expsyms_cmds \
67613 archive_cmds \
67614 archive_expsym_cmds \
67615 module_cmds \
67616 module_expsym_cmds \
67617 export_symbols_cmds \
67618 prelink_cmds \
67619 postinstall_cmds \
67620 postuninstall_cmds \
67621 finish_cmds \
67622 sys_lib_search_path_spec \
67623 sys_lib_dlsearch_path_spec \
67624 reload_cmds_CXX \
67625 old_archive_cmds_CXX \
67626 old_archive_from_new_cmds_CXX \
67627 old_archive_from_expsyms_cmds_CXX \
67628 archive_cmds_CXX \
67629 archive_expsym_cmds_CXX \
67630 module_cmds_CXX \
67631 module_expsym_cmds_CXX \
67632 export_symbols_cmds_CXX \
67633 prelink_cmds_CXX; do
67634     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67635     *[\\\\\\\`\\"\\\$]*)
67636       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67637       ;;
67638     *)
67639       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67640       ;;
67641     esac
67642 done
67643
67644 ac_aux_dir='$ac_aux_dir'
67645 xsi_shell='$xsi_shell'
67646 lt_shell_append='$lt_shell_append'
67647
67648 # See if we are running on zsh, and set the options which allow our
67649 # commands through without removal of \ escapes INIT.
67650 if test -n "\${ZSH_VERSION+set}" ; then
67651    setopt NO_GLOB_SUBST
67652 fi
67653
67654
67655     PACKAGE='$PACKAGE'
67656     VERSION='$VERSION'
67657     TIMESTAMP='$TIMESTAMP'
67658     RM='$RM'
67659     ofile='$ofile'
67660
67661
67662
67663
67664
67665
67666 GCC="$GCC"
67667 CC="$CC"
67668 acx_cv_header_stdint="$acx_cv_header_stdint"
67669 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67670 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67671 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67672 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67673 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67674 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67675 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67676 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67677 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67678 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67679 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67680 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67681 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67682
67683
67684 _ACEOF
67685
67686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67687
67688 # Handling of arguments.
67689 for ac_config_target in $ac_config_targets
67690 do
67691   case $ac_config_target in
67692     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67693     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67694     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67695     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67696     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67697     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67698     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67699     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67700     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67701     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67702     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67703     "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
67704     "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
67705     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67706     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67707     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67708     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67709
67710   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67711   esac
67712 done
67713
67714
67715 # If the user did not use the arguments to specify the items to instantiate,
67716 # then the envvar interface is used.  Set only those that are not.
67717 # We use the long form for the default assignment because of an extremely
67718 # bizarre bug on SunOS 4.1.3.
67719 if $ac_need_defaults; then
67720   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67721   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67722   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67723 fi
67724
67725 # Have a temporary directory for convenience.  Make it in the build tree
67726 # simply because there is no reason against having it here, and in addition,
67727 # creating and moving files from /tmp can sometimes cause problems.
67728 # Hook for its removal unless debugging.
67729 # Note that there is a small window in which the directory will not be cleaned:
67730 # after its creation but before its name has been assigned to `$tmp'.
67731 $debug ||
67732 {
67733   tmp=
67734   trap 'exit_status=$?
67735   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67736 ' 0
67737   trap 'as_fn_exit 1' 1 2 13 15
67738 }
67739 # Create a (secure) tmp directory for tmp files.
67740
67741 {
67742   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67743   test -n "$tmp" && test -d "$tmp"
67744 }  ||
67745 {
67746   tmp=./conf$$-$RANDOM
67747   (umask 077 && mkdir "$tmp")
67748 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67749
67750 # Set up the scripts for CONFIG_FILES section.
67751 # No need to generate them if there are no CONFIG_FILES.
67752 # This happens for instance with `./config.status config.h'.
67753 if test -n "$CONFIG_FILES"; then
67754
67755
67756 ac_cr=`echo X | tr X '\015'`
67757 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67758 # But we know of no other shell where ac_cr would be empty at this
67759 # point, so we can use a bashism as a fallback.
67760 if test "x$ac_cr" = x; then
67761   eval ac_cr=\$\'\\r\'
67762 fi
67763 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67764 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67765   ac_cs_awk_cr='\r'
67766 else
67767   ac_cs_awk_cr=$ac_cr
67768 fi
67769
67770 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67771 _ACEOF
67772
67773
67774 {
67775   echo "cat >conf$$subs.awk <<_ACEOF" &&
67776   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67777   echo "_ACEOF"
67778 } >conf$$subs.sh ||
67779   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67780 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67781 ac_delim='%!_!# '
67782 for ac_last_try in false false false false false :; do
67783   . ./conf$$subs.sh ||
67784     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67785
67786   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67787   if test $ac_delim_n = $ac_delim_num; then
67788     break
67789   elif $ac_last_try; then
67790     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67791   else
67792     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67793   fi
67794 done
67795 rm -f conf$$subs.sh
67796
67797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67798 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67799 _ACEOF
67800 sed -n '
67801 h
67802 s/^/S["/; s/!.*/"]=/
67803 p
67804 g
67805 s/^[^!]*!//
67806 :repl
67807 t repl
67808 s/'"$ac_delim"'$//
67809 t delim
67810 :nl
67811 h
67812 s/\(.\{148\}\).*/\1/
67813 t more1
67814 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67815 p
67816 n
67817 b repl
67818 :more1
67819 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67820 p
67821 g
67822 s/.\{148\}//
67823 t nl
67824 :delim
67825 h
67826 s/\(.\{148\}\).*/\1/
67827 t more2
67828 s/["\\]/\\&/g; s/^/"/; s/$/"/
67829 p
67830 b
67831 :more2
67832 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67833 p
67834 g
67835 s/.\{148\}//
67836 t delim
67837 ' <conf$$subs.awk | sed '
67838 /^[^""]/{
67839   N
67840   s/\n//
67841 }
67842 ' >>$CONFIG_STATUS || ac_write_fail=1
67843 rm -f conf$$subs.awk
67844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67845 _ACAWK
67846 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67847   for (key in S) S_is_set[key] = 1
67848   FS = "\a"
67849
67850 }
67851 {
67852   line = $ 0
67853   nfields = split(line, field, "@")
67854   substed = 0
67855   len = length(field[1])
67856   for (i = 2; i < nfields; i++) {
67857     key = field[i]
67858     keylen = length(key)
67859     if (S_is_set[key]) {
67860       value = S[key]
67861       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67862       len += length(value) + length(field[++i])
67863       substed = 1
67864     } else
67865       len += 1 + keylen
67866   }
67867
67868   print line
67869 }
67870
67871 _ACAWK
67872 _ACEOF
67873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67874 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67875   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67876 else
67877   cat
67878 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67879   || as_fn_error "could not setup config files machinery" "$LINENO" 5
67880 _ACEOF
67881
67882 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67883 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67884 # trailing colons and then remove the whole line if VPATH becomes empty
67885 # (actually we leave an empty line to preserve line numbers).
67886 if test "x$srcdir" = x.; then
67887   ac_vpsub='/^[  ]*VPATH[        ]*=/{
67888 s/:*\$(srcdir):*/:/
67889 s/:*\${srcdir}:*/:/
67890 s/:*@srcdir@:*/:/
67891 s/^\([^=]*=[     ]*\):*/\1/
67892 s/:*$//
67893 s/^[^=]*=[       ]*$//
67894 }'
67895 fi
67896
67897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67898 fi # test -n "$CONFIG_FILES"
67899
67900 # Set up the scripts for CONFIG_HEADERS section.
67901 # No need to generate them if there are no CONFIG_HEADERS.
67902 # This happens for instance with `./config.status Makefile'.
67903 if test -n "$CONFIG_HEADERS"; then
67904 cat >"$tmp/defines.awk" <<\_ACAWK ||
67905 BEGIN {
67906 _ACEOF
67907
67908 # Transform confdefs.h into an awk script `defines.awk', embedded as
67909 # here-document in config.status, that substitutes the proper values into
67910 # config.h.in to produce config.h.
67911
67912 # Create a delimiter string that does not exist in confdefs.h, to ease
67913 # handling of long lines.
67914 ac_delim='%!_!# '
67915 for ac_last_try in false false :; do
67916   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67917   if test -z "$ac_t"; then
67918     break
67919   elif $ac_last_try; then
67920     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67921   else
67922     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67923   fi
67924 done
67925
67926 # For the awk script, D is an array of macro values keyed by name,
67927 # likewise P contains macro parameters if any.  Preserve backslash
67928 # newline sequences.
67929
67930 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67931 sed -n '
67932 s/.\{148\}/&'"$ac_delim"'/g
67933 t rset
67934 :rset
67935 s/^[     ]*#[    ]*define[       ][      ]*/ /
67936 t def
67937 d
67938 :def
67939 s/\\$//
67940 t bsnl
67941 s/["\\]/\\&/g
67942 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67943 D["\1"]=" \3"/p
67944 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
67945 d
67946 :bsnl
67947 s/["\\]/\\&/g
67948 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67949 D["\1"]=" \3\\\\\\n"\\/p
67950 t cont
67951 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67952 t cont
67953 d
67954 :cont
67955 n
67956 s/.\{148\}/&'"$ac_delim"'/g
67957 t clear
67958 :clear
67959 s/\\$//
67960 t bsnlc
67961 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67962 d
67963 :bsnlc
67964 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67965 b cont
67966 ' <confdefs.h | sed '
67967 s/'"$ac_delim"'/"\\\
67968 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67969
67970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67971   for (key in D) D_is_set[key] = 1
67972   FS = "\a"
67973 }
67974 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67975   line = \$ 0
67976   split(line, arg, " ")
67977   if (arg[1] == "#") {
67978     defundef = arg[2]
67979     mac1 = arg[3]
67980   } else {
67981     defundef = substr(arg[1], 2)
67982     mac1 = arg[2]
67983   }
67984   split(mac1, mac2, "(") #)
67985   macro = mac2[1]
67986   prefix = substr(line, 1, index(line, defundef) - 1)
67987   if (D_is_set[macro]) {
67988     # Preserve the white space surrounding the "#".
67989     print prefix "define", macro P[macro] D[macro]
67990     next
67991   } else {
67992     # Replace #undef with comments.  This is necessary, for example,
67993     # in the case of _POSIX_SOURCE, which is predefined and required
67994     # on some systems where configure will not decide to define it.
67995     if (defundef == "undef") {
67996       print "/*", prefix defundef, macro, "*/"
67997       next
67998     }
67999   }
68000 }
68001 { print }
68002 _ACAWK
68003 _ACEOF
68004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68005   as_fn_error "could not setup config headers machinery" "$LINENO" 5
68006 fi # test -n "$CONFIG_HEADERS"
68007
68008
68009 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
68010 shift
68011 for ac_tag
68012 do
68013   case $ac_tag in
68014   :[FHLC]) ac_mode=$ac_tag; continue;;
68015   esac
68016   case $ac_mode$ac_tag in
68017   :[FHL]*:*);;
68018   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
68019   :[FH]-) ac_tag=-:-;;
68020   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
68021   esac
68022   ac_save_IFS=$IFS
68023   IFS=:
68024   set x $ac_tag
68025   IFS=$ac_save_IFS
68026   shift
68027   ac_file=$1
68028   shift
68029
68030   case $ac_mode in
68031   :L) ac_source=$1;;
68032   :[FH])
68033     ac_file_inputs=
68034     for ac_f
68035     do
68036       case $ac_f in
68037       -) ac_f="$tmp/stdin";;
68038       *) # Look for the file first in the build tree, then in the source tree
68039          # (if the path is not absolute).  The absolute path cannot be DOS-style,
68040          # because $ac_f cannot contain `:'.
68041          test -f "$ac_f" ||
68042            case $ac_f in
68043            [\\/$]*) false;;
68044            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
68045            esac ||
68046            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
68047       esac
68048       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
68049       as_fn_append ac_file_inputs " '$ac_f'"
68050     done
68051
68052     # Let's still pretend it is `configure' which instantiates (i.e., don't
68053     # use $as_me), people would be surprised to read:
68054     #    /* config.h.  Generated by config.status.  */
68055     configure_input='Generated from '`
68056           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
68057         `' by configure.'
68058     if test x"$ac_file" != x-; then
68059       configure_input="$ac_file.  $configure_input"
68060       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
68061 $as_echo "$as_me: creating $ac_file" >&6;}
68062     fi
68063     # Neutralize special characters interpreted by sed in replacement strings.
68064     case $configure_input in #(
68065     *\&* | *\|* | *\\* )
68066        ac_sed_conf_input=`$as_echo "$configure_input" |
68067        sed 's/[\\\\&|]/\\\\&/g'`;; #(
68068     *) ac_sed_conf_input=$configure_input;;
68069     esac
68070
68071     case $ac_tag in
68072     *:-:* | *:-) cat >"$tmp/stdin" \
68073       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
68074     esac
68075     ;;
68076   esac
68077
68078   ac_dir=`$as_dirname -- "$ac_file" ||
68079 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68080          X"$ac_file" : 'X\(//\)[^/]' \| \
68081          X"$ac_file" : 'X\(//\)$' \| \
68082          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
68083 $as_echo X"$ac_file" |
68084     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68085             s//\1/
68086             q
68087           }
68088           /^X\(\/\/\)[^/].*/{
68089             s//\1/
68090             q
68091           }
68092           /^X\(\/\/\)$/{
68093             s//\1/
68094             q
68095           }
68096           /^X\(\/\).*/{
68097             s//\1/
68098             q
68099           }
68100           s/.*/./; q'`
68101   as_dir="$ac_dir"; as_fn_mkdir_p
68102   ac_builddir=.
68103
68104 case "$ac_dir" in
68105 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
68106 *)
68107   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
68108   # A ".." for each directory in $ac_dir_suffix.
68109   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
68110   case $ac_top_builddir_sub in
68111   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
68112   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
68113   esac ;;
68114 esac
68115 ac_abs_top_builddir=$ac_pwd
68116 ac_abs_builddir=$ac_pwd$ac_dir_suffix
68117 # for backward compatibility:
68118 ac_top_builddir=$ac_top_build_prefix
68119
68120 case $srcdir in
68121   .)  # We are building in place.
68122     ac_srcdir=.
68123     ac_top_srcdir=$ac_top_builddir_sub
68124     ac_abs_top_srcdir=$ac_pwd ;;
68125   [\\/]* | ?:[\\/]* )  # Absolute name.
68126     ac_srcdir=$srcdir$ac_dir_suffix;
68127     ac_top_srcdir=$srcdir
68128     ac_abs_top_srcdir=$srcdir ;;
68129   *) # Relative name.
68130     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
68131     ac_top_srcdir=$ac_top_build_prefix$srcdir
68132     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
68133 esac
68134 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
68135
68136
68137   case $ac_mode in
68138   :F)
68139   #
68140   # CONFIG_FILE
68141   #
68142
68143   case $INSTALL in
68144   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
68145   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
68146   esac
68147   ac_MKDIR_P=$MKDIR_P
68148   case $MKDIR_P in
68149   [\\/$]* | ?:[\\/]* ) ;;
68150   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
68151   esac
68152 _ACEOF
68153
68154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68155 # If the template does not know about datarootdir, expand it.
68156 # FIXME: This hack should be removed a few years after 2.60.
68157 ac_datarootdir_hack=; ac_datarootdir_seen=
68158 ac_sed_dataroot='
68159 /datarootdir/ {
68160   p
68161   q
68162 }
68163 /@datadir@/p
68164 /@docdir@/p
68165 /@infodir@/p
68166 /@localedir@/p
68167 /@mandir@/p'
68168 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
68169 *datarootdir*) ac_datarootdir_seen=yes;;
68170 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
68171   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
68172 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
68173 _ACEOF
68174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68175   ac_datarootdir_hack='
68176   s&@datadir@&$datadir&g
68177   s&@docdir@&$docdir&g
68178   s&@infodir@&$infodir&g
68179   s&@localedir@&$localedir&g
68180   s&@mandir@&$mandir&g
68181   s&\\\${datarootdir}&$datarootdir&g' ;;
68182 esac
68183 _ACEOF
68184
68185 # Neutralize VPATH when `$srcdir' = `.'.
68186 # Shell code in configure.ac might set extrasub.
68187 # FIXME: do we really want to maintain this feature?
68188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68189 ac_sed_extra="$ac_vpsub
68190 $extrasub
68191 _ACEOF
68192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68193 :t
68194 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
68195 s|@configure_input@|$ac_sed_conf_input|;t t
68196 s&@top_builddir@&$ac_top_builddir_sub&;t t
68197 s&@top_build_prefix@&$ac_top_build_prefix&;t t
68198 s&@srcdir@&$ac_srcdir&;t t
68199 s&@abs_srcdir@&$ac_abs_srcdir&;t t
68200 s&@top_srcdir@&$ac_top_srcdir&;t t
68201 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
68202 s&@builddir@&$ac_builddir&;t t
68203 s&@abs_builddir@&$ac_abs_builddir&;t t
68204 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
68205 s&@INSTALL@&$ac_INSTALL&;t t
68206 s&@MKDIR_P@&$ac_MKDIR_P&;t t
68207 $ac_datarootdir_hack
68208 "
68209 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
68210   || as_fn_error "could not create $ac_file" "$LINENO" 5
68211
68212 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
68213   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
68214   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
68215   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68216 which seems to be undefined.  Please make sure it is defined." >&5
68217 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68218 which seems to be undefined.  Please make sure it is defined." >&2;}
68219
68220   rm -f "$tmp/stdin"
68221   case $ac_file in
68222   -) cat "$tmp/out" && rm -f "$tmp/out";;
68223   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
68224   esac \
68225   || as_fn_error "could not create $ac_file" "$LINENO" 5
68226  ;;
68227   :H)
68228   #
68229   # CONFIG_HEADER
68230   #
68231   if test x"$ac_file" != x-; then
68232     {
68233       $as_echo "/* $configure_input  */" \
68234       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
68235     } >"$tmp/config.h" \
68236       || as_fn_error "could not create $ac_file" "$LINENO" 5
68237     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
68238       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
68239 $as_echo "$as_me: $ac_file is unchanged" >&6;}
68240     else
68241       rm -f "$ac_file"
68242       mv "$tmp/config.h" "$ac_file" \
68243         || as_fn_error "could not create $ac_file" "$LINENO" 5
68244     fi
68245   else
68246     $as_echo "/* $configure_input  */" \
68247       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
68248       || as_fn_error "could not create -" "$LINENO" 5
68249   fi
68250 # Compute "$ac_file"'s index in $config_headers.
68251 _am_arg="$ac_file"
68252 _am_stamp_count=1
68253 for _am_header in $config_headers :; do
68254   case $_am_header in
68255     $_am_arg | $_am_arg:* )
68256       break ;;
68257     * )
68258       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
68259   esac
68260 done
68261 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
68262 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68263          X"$_am_arg" : 'X\(//\)[^/]' \| \
68264          X"$_am_arg" : 'X\(//\)$' \| \
68265          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
68266 $as_echo X"$_am_arg" |
68267     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68268             s//\1/
68269             q
68270           }
68271           /^X\(\/\/\)[^/].*/{
68272             s//\1/
68273             q
68274           }
68275           /^X\(\/\/\)$/{
68276             s//\1/
68277             q
68278           }
68279           /^X\(\/\).*/{
68280             s//\1/
68281             q
68282           }
68283           s/.*/./; q'`/stamp-h$_am_stamp_count
68284  ;;
68285
68286   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
68287 $as_echo "$as_me: executing $ac_file commands" >&6;}
68288  ;;
68289   esac
68290
68291
68292   case $ac_file$ac_mode in
68293     "default-1":C)
68294 # Only add multilib support code if we just rebuilt the top-level
68295 # Makefile.
68296 case " $CONFIG_FILES " in
68297  *" Makefile "*)
68298    ac_file=Makefile . ${multi_basedir}/config-ml.in
68299    ;;
68300 esac ;;
68301     "libtool":C)
68302
68303     # See if we are running on zsh, and set the options which allow our
68304     # commands through without removal of \ escapes.
68305     if test -n "${ZSH_VERSION+set}" ; then
68306       setopt NO_GLOB_SUBST
68307     fi
68308
68309     cfgfile="${ofile}T"
68310     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
68311     $RM "$cfgfile"
68312
68313     cat <<_LT_EOF >> "$cfgfile"
68314 #! $SHELL
68315
68316 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
68317 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
68318 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
68319 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
68320 #
68321 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
68322 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
68323 #   Written by Gordon Matzigkeit, 1996
68324 #
68325 #   This file is part of GNU Libtool.
68326 #
68327 # GNU Libtool is free software; you can redistribute it and/or
68328 # modify it under the terms of the GNU General Public License as
68329 # published by the Free Software Foundation; either version 2 of
68330 # the License, or (at your option) any later version.
68331 #
68332 # As a special exception to the GNU General Public License,
68333 # if you distribute this file as part of a program or library that
68334 # is built using GNU Libtool, you may include this file under the
68335 # same distribution terms that you use for the rest of that program.
68336 #
68337 # GNU Libtool is distributed in the hope that it will be useful,
68338 # but WITHOUT ANY WARRANTY; without even the implied warranty of
68339 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
68340 # GNU General Public License for more details.
68341 #
68342 # You should have received a copy of the GNU General Public License
68343 # along with GNU Libtool; see the file COPYING.  If not, a copy
68344 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
68345 # obtained by writing to the Free Software Foundation, Inc.,
68346 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68347
68348
68349 # The names of the tagged configurations supported by this script.
68350 available_tags="CXX "
68351
68352 # ### BEGIN LIBTOOL CONFIG
68353
68354 # Which release of libtool.m4 was used?
68355 macro_version=$macro_version
68356 macro_revision=$macro_revision
68357
68358 # Whether or not to build shared libraries.
68359 build_libtool_libs=$enable_shared
68360
68361 # Whether or not to build static libraries.
68362 build_old_libs=$enable_static
68363
68364 # What type of objects to build.
68365 pic_mode=$pic_mode
68366
68367 # Whether or not to optimize for fast installation.
68368 fast_install=$enable_fast_install
68369
68370 # Shell to use when invoking shell scripts.
68371 SHELL=$lt_SHELL
68372
68373 # An echo program that protects backslashes.
68374 ECHO=$lt_ECHO
68375
68376 # The host system.
68377 host_alias=$host_alias
68378 host=$host
68379 host_os=$host_os
68380
68381 # The build system.
68382 build_alias=$build_alias
68383 build=$build
68384 build_os=$build_os
68385
68386 # A sed program that does not truncate output.
68387 SED=$lt_SED
68388
68389 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
68390 Xsed="\$SED -e 1s/^X//"
68391
68392 # A grep program that handles long lines.
68393 GREP=$lt_GREP
68394
68395 # An ERE matcher.
68396 EGREP=$lt_EGREP
68397
68398 # A literal string matcher.
68399 FGREP=$lt_FGREP
68400
68401 # A BSD- or MS-compatible name lister.
68402 NM=$lt_NM
68403
68404 # Whether we need soft or hard links.
68405 LN_S=$lt_LN_S
68406
68407 # What is the maximum length of a command?
68408 max_cmd_len=$max_cmd_len
68409
68410 # Object file suffix (normally "o").
68411 objext=$ac_objext
68412
68413 # Executable file suffix (normally "").
68414 exeext=$exeext
68415
68416 # whether the shell understands "unset".
68417 lt_unset=$lt_unset
68418
68419 # turn spaces into newlines.
68420 SP2NL=$lt_lt_SP2NL
68421
68422 # turn newlines into spaces.
68423 NL2SP=$lt_lt_NL2SP
68424
68425 # An object symbol dumper.
68426 OBJDUMP=$lt_OBJDUMP
68427
68428 # Method to check whether dependent libraries are shared objects.
68429 deplibs_check_method=$lt_deplibs_check_method
68430
68431 # Command to use when deplibs_check_method == "file_magic".
68432 file_magic_cmd=$lt_file_magic_cmd
68433
68434 # The archiver.
68435 AR=$lt_AR
68436 AR_FLAGS=$lt_AR_FLAGS
68437
68438 # A symbol stripping program.
68439 STRIP=$lt_STRIP
68440
68441 # Commands used to install an old-style archive.
68442 RANLIB=$lt_RANLIB
68443 old_postinstall_cmds=$lt_old_postinstall_cmds
68444 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68445
68446 # Whether to use a lock for old archive extraction.
68447 lock_old_archive_extraction=$lock_old_archive_extraction
68448
68449 # A C compiler.
68450 LTCC=$lt_CC
68451
68452 # LTCC compiler flags.
68453 LTCFLAGS=$lt_CFLAGS
68454
68455 # Take the output of nm and produce a listing of raw symbols and C names.
68456 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68457
68458 # Transform the output of nm in a proper C declaration.
68459 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68460
68461 # Transform the output of nm in a C name address pair.
68462 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68463
68464 # Transform the output of nm in a C name address pair when lib prefix is needed.
68465 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68466
68467 # The name of the directory that contains temporary libtool files.
68468 objdir=$objdir
68469
68470 # Used to examine libraries when file_magic_cmd begins with "file".
68471 MAGIC_CMD=$MAGIC_CMD
68472
68473 # Must we lock files when doing compilation?
68474 need_locks=$lt_need_locks
68475
68476 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68477 DSYMUTIL=$lt_DSYMUTIL
68478
68479 # Tool to change global to local symbols on Mac OS X.
68480 NMEDIT=$lt_NMEDIT
68481
68482 # Tool to manipulate fat objects and archives on Mac OS X.
68483 LIPO=$lt_LIPO
68484
68485 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68486 OTOOL=$lt_OTOOL
68487
68488 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68489 OTOOL64=$lt_OTOOL64
68490
68491 # Old archive suffix (normally "a").
68492 libext=$libext
68493
68494 # Shared library suffix (normally ".so").
68495 shrext_cmds=$lt_shrext_cmds
68496
68497 # The commands to extract the exported symbol list from a shared archive.
68498 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68499
68500 # Variables whose values should be saved in libtool wrapper scripts and
68501 # restored at link time.
68502 variables_saved_for_relink=$lt_variables_saved_for_relink
68503
68504 # Do we need the "lib" prefix for modules?
68505 need_lib_prefix=$need_lib_prefix
68506
68507 # Do we need a version for libraries?
68508 need_version=$need_version
68509
68510 # Library versioning type.
68511 version_type=$version_type
68512
68513 # Shared library runtime path variable.
68514 runpath_var=$runpath_var
68515
68516 # Shared library path variable.
68517 shlibpath_var=$shlibpath_var
68518
68519 # Is shlibpath searched before the hard-coded library search path?
68520 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68521
68522 # Format of library name prefix.
68523 libname_spec=$lt_libname_spec
68524
68525 # List of archive names.  First name is the real one, the rest are links.
68526 # The last name is the one that the linker finds with -lNAME
68527 library_names_spec=$lt_library_names_spec
68528
68529 # The coded name of the library, if different from the real name.
68530 soname_spec=$lt_soname_spec
68531
68532 # Permission mode override for installation of shared libraries.
68533 install_override_mode=$lt_install_override_mode
68534
68535 # Command to use after installation of a shared archive.
68536 postinstall_cmds=$lt_postinstall_cmds
68537
68538 # Command to use after uninstallation of a shared archive.
68539 postuninstall_cmds=$lt_postuninstall_cmds
68540
68541 # Commands used to finish a libtool library installation in a directory.
68542 finish_cmds=$lt_finish_cmds
68543
68544 # As "finish_cmds", except a single script fragment to be evaled but
68545 # not shown.
68546 finish_eval=$lt_finish_eval
68547
68548 # Whether we should hardcode library paths into libraries.
68549 hardcode_into_libs=$hardcode_into_libs
68550
68551 # Compile-time system search path for libraries.
68552 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68553
68554 # Run-time system search path for libraries.
68555 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68556
68557 # Whether dlopen is supported.
68558 dlopen_support=$enable_dlopen
68559
68560 # Whether dlopen of programs is supported.
68561 dlopen_self=$enable_dlopen_self
68562
68563 # Whether dlopen of statically linked programs is supported.
68564 dlopen_self_static=$enable_dlopen_self_static
68565
68566 # Commands to strip libraries.
68567 old_striplib=$lt_old_striplib
68568 striplib=$lt_striplib
68569
68570
68571 # The linker used to build libraries.
68572 LD=$lt_LD
68573
68574 # How to create reloadable object files.
68575 reload_flag=$lt_reload_flag
68576 reload_cmds=$lt_reload_cmds
68577
68578 # Commands used to build an old-style archive.
68579 old_archive_cmds=$lt_old_archive_cmds
68580
68581 # A language specific compiler.
68582 CC=$lt_compiler
68583
68584 # Is the compiler the GNU compiler?
68585 with_gcc=$GCC
68586
68587 # Compiler flag to turn off builtin functions.
68588 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68589
68590 # How to pass a linker flag through the compiler.
68591 wl=$lt_lt_prog_compiler_wl
68592
68593 # Additional compiler flags for building library objects.
68594 pic_flag=$lt_lt_prog_compiler_pic
68595
68596 # Compiler flag to prevent dynamic linking.
68597 link_static_flag=$lt_lt_prog_compiler_static
68598
68599 # Does compiler simultaneously support -c and -o options?
68600 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68601
68602 # Whether or not to add -lc for building shared libraries.
68603 build_libtool_need_lc=$archive_cmds_need_lc
68604
68605 # Whether or not to disallow shared libs when runtime libs are static.
68606 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68607
68608 # Compiler flag to allow reflexive dlopens.
68609 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68610
68611 # Compiler flag to generate shared objects directly from archives.
68612 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68613
68614 # Whether the compiler copes with passing no objects directly.
68615 compiler_needs_object=$lt_compiler_needs_object
68616
68617 # Create an old-style archive from a shared archive.
68618 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68619
68620 # Create a temporary old-style archive to link instead of a shared archive.
68621 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68622
68623 # Commands used to build a shared archive.
68624 archive_cmds=$lt_archive_cmds
68625 archive_expsym_cmds=$lt_archive_expsym_cmds
68626
68627 # Commands used to build a loadable module if different from building
68628 # a shared archive.
68629 module_cmds=$lt_module_cmds
68630 module_expsym_cmds=$lt_module_expsym_cmds
68631
68632 # Whether we are building with GNU ld or not.
68633 with_gnu_ld=$lt_with_gnu_ld
68634
68635 # Flag that allows shared libraries with undefined symbols to be built.
68636 allow_undefined_flag=$lt_allow_undefined_flag
68637
68638 # Flag that enforces no undefined symbols.
68639 no_undefined_flag=$lt_no_undefined_flag
68640
68641 # Flag to hardcode \$libdir into a binary during linking.
68642 # This must work even if \$libdir does not exist
68643 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68644
68645 # If ld is used when linking, flag to hardcode \$libdir into a binary
68646 # during linking.  This must work even if \$libdir does not exist.
68647 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68648
68649 # Whether we need a single "-rpath" flag with a separated argument.
68650 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68651
68652 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68653 # DIR into the resulting binary.
68654 hardcode_direct=$hardcode_direct
68655
68656 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68657 # DIR into the resulting binary and the resulting library dependency is
68658 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68659 # library is relocated.
68660 hardcode_direct_absolute=$hardcode_direct_absolute
68661
68662 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68663 # into the resulting binary.
68664 hardcode_minus_L=$hardcode_minus_L
68665
68666 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68667 # into the resulting binary.
68668 hardcode_shlibpath_var=$hardcode_shlibpath_var
68669
68670 # Set to "yes" if building a shared library automatically hardcodes DIR
68671 # into the library and all subsequent libraries and executables linked
68672 # against it.
68673 hardcode_automatic=$hardcode_automatic
68674
68675 # Set to yes if linker adds runtime paths of dependent libraries
68676 # to runtime path list.
68677 inherit_rpath=$inherit_rpath
68678
68679 # Whether libtool must link a program against all its dependency libraries.
68680 link_all_deplibs=$link_all_deplibs
68681
68682 # Fix the shell variable \$srcfile for the compiler.
68683 fix_srcfile_path=$lt_fix_srcfile_path
68684
68685 # Set to "yes" if exported symbols are required.
68686 always_export_symbols=$always_export_symbols
68687
68688 # The commands to list exported symbols.
68689 export_symbols_cmds=$lt_export_symbols_cmds
68690
68691 # Symbols that should not be listed in the preloaded symbols.
68692 exclude_expsyms=$lt_exclude_expsyms
68693
68694 # Symbols that must always be exported.
68695 include_expsyms=$lt_include_expsyms
68696
68697 # Commands necessary for linking programs (against libraries) with templates.
68698 prelink_cmds=$lt_prelink_cmds
68699
68700 # Specify filename containing input files.
68701 file_list_spec=$lt_file_list_spec
68702
68703 # How to hardcode a shared library path into an executable.
68704 hardcode_action=$hardcode_action
68705
68706 # The directories searched by this compiler when creating a shared library.
68707 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68708
68709 # Dependencies to place before and after the objects being linked to
68710 # create a shared library.
68711 predep_objects=$lt_predep_objects
68712 postdep_objects=$lt_postdep_objects
68713 predeps=$lt_predeps
68714 postdeps=$lt_postdeps
68715
68716 # The library search path used internally by the compiler when linking
68717 # a shared library.
68718 compiler_lib_search_path=$lt_compiler_lib_search_path
68719
68720 # ### END LIBTOOL CONFIG
68721
68722 _LT_EOF
68723
68724   case $host_os in
68725   aix3*)
68726     cat <<\_LT_EOF >> "$cfgfile"
68727 # AIX sometimes has problems with the GCC collect2 program.  For some
68728 # reason, if we set the COLLECT_NAMES environment variable, the problems
68729 # vanish in a puff of smoke.
68730 if test "X${COLLECT_NAMES+set}" != Xset; then
68731   COLLECT_NAMES=
68732   export COLLECT_NAMES
68733 fi
68734 _LT_EOF
68735     ;;
68736   esac
68737
68738
68739 ltmain="$ac_aux_dir/ltmain.sh"
68740
68741
68742   # We use sed instead of cat because bash on DJGPP gets confused if
68743   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
68744   # text mode, it properly converts lines to CR/LF.  This bash problem
68745   # is reportedly fixed, but why not run on old versions too?
68746   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68747     || (rm -f "$cfgfile"; exit 1)
68748
68749   case $xsi_shell in
68750   yes)
68751     cat << \_LT_EOF >> "$cfgfile"
68752
68753 # func_dirname file append nondir_replacement
68754 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68755 # otherwise set result to NONDIR_REPLACEMENT.
68756 func_dirname ()
68757 {
68758   case ${1} in
68759     */*) func_dirname_result="${1%/*}${2}" ;;
68760     *  ) func_dirname_result="${3}" ;;
68761   esac
68762 }
68763
68764 # func_basename file
68765 func_basename ()
68766 {
68767   func_basename_result="${1##*/}"
68768 }
68769
68770 # func_dirname_and_basename file append nondir_replacement
68771 # perform func_basename and func_dirname in a single function
68772 # call:
68773 #   dirname:  Compute the dirname of FILE.  If nonempty,
68774 #             add APPEND to the result, otherwise set result
68775 #             to NONDIR_REPLACEMENT.
68776 #             value returned in "$func_dirname_result"
68777 #   basename: Compute filename of FILE.
68778 #             value retuned in "$func_basename_result"
68779 # Implementation must be kept synchronized with func_dirname
68780 # and func_basename. For efficiency, we do not delegate to
68781 # those functions but instead duplicate the functionality here.
68782 func_dirname_and_basename ()
68783 {
68784   case ${1} in
68785     */*) func_dirname_result="${1%/*}${2}" ;;
68786     *  ) func_dirname_result="${3}" ;;
68787   esac
68788   func_basename_result="${1##*/}"
68789 }
68790
68791 # func_stripname prefix suffix name
68792 # strip PREFIX and SUFFIX off of NAME.
68793 # PREFIX and SUFFIX must not contain globbing or regex special
68794 # characters, hashes, percent signs, but SUFFIX may contain a leading
68795 # dot (in which case that matches only a dot).
68796 func_stripname ()
68797 {
68798   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68799   # positional parameters, so assign one to ordinary parameter first.
68800   func_stripname_result=${3}
68801   func_stripname_result=${func_stripname_result#"${1}"}
68802   func_stripname_result=${func_stripname_result%"${2}"}
68803 }
68804
68805 # func_opt_split
68806 func_opt_split ()
68807 {
68808   func_opt_split_opt=${1%%=*}
68809   func_opt_split_arg=${1#*=}
68810 }
68811
68812 # func_lo2o object
68813 func_lo2o ()
68814 {
68815   case ${1} in
68816     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68817     *)    func_lo2o_result=${1} ;;
68818   esac
68819 }
68820
68821 # func_xform libobj-or-source
68822 func_xform ()
68823 {
68824   func_xform_result=${1%.*}.lo
68825 }
68826
68827 # func_arith arithmetic-term...
68828 func_arith ()
68829 {
68830   func_arith_result=$(( $* ))
68831 }
68832
68833 # func_len string
68834 # STRING may not start with a hyphen.
68835 func_len ()
68836 {
68837   func_len_result=${#1}
68838 }
68839
68840 _LT_EOF
68841     ;;
68842   *) # Bourne compatible functions.
68843     cat << \_LT_EOF >> "$cfgfile"
68844
68845 # func_dirname file append nondir_replacement
68846 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68847 # otherwise set result to NONDIR_REPLACEMENT.
68848 func_dirname ()
68849 {
68850   # Extract subdirectory from the argument.
68851   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68852   if test "X$func_dirname_result" = "X${1}"; then
68853     func_dirname_result="${3}"
68854   else
68855     func_dirname_result="$func_dirname_result${2}"
68856   fi
68857 }
68858
68859 # func_basename file
68860 func_basename ()
68861 {
68862   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68863 }
68864
68865
68866 # func_stripname prefix suffix name
68867 # strip PREFIX and SUFFIX off of NAME.
68868 # PREFIX and SUFFIX must not contain globbing or regex special
68869 # characters, hashes, percent signs, but SUFFIX may contain a leading
68870 # dot (in which case that matches only a dot).
68871 # func_strip_suffix prefix name
68872 func_stripname ()
68873 {
68874   case ${2} in
68875     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68876     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68877   esac
68878 }
68879
68880 # sed scripts:
68881 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68882 my_sed_long_arg='1s/^-[^=]*=//'
68883
68884 # func_opt_split
68885 func_opt_split ()
68886 {
68887   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68888   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68889 }
68890
68891 # func_lo2o object
68892 func_lo2o ()
68893 {
68894   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68895 }
68896
68897 # func_xform libobj-or-source
68898 func_xform ()
68899 {
68900   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68901 }
68902
68903 # func_arith arithmetic-term...
68904 func_arith ()
68905 {
68906   func_arith_result=`expr "$@"`
68907 }
68908
68909 # func_len string
68910 # STRING may not start with a hyphen.
68911 func_len ()
68912 {
68913   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68914 }
68915
68916 _LT_EOF
68917 esac
68918
68919 case $lt_shell_append in
68920   yes)
68921     cat << \_LT_EOF >> "$cfgfile"
68922
68923 # func_append var value
68924 # Append VALUE to the end of shell variable VAR.
68925 func_append ()
68926 {
68927   eval "$1+=\$2"
68928 }
68929 _LT_EOF
68930     ;;
68931   *)
68932     cat << \_LT_EOF >> "$cfgfile"
68933
68934 # func_append var value
68935 # Append VALUE to the end of shell variable VAR.
68936 func_append ()
68937 {
68938   eval "$1=\$$1\$2"
68939 }
68940
68941 _LT_EOF
68942     ;;
68943   esac
68944
68945
68946   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68947     || (rm -f "$cfgfile"; exit 1)
68948
68949   mv -f "$cfgfile" "$ofile" ||
68950     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68951   chmod +x "$ofile"
68952
68953
68954     cat <<_LT_EOF >> "$ofile"
68955
68956 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68957
68958 # The linker used to build libraries.
68959 LD=$lt_LD_CXX
68960
68961 # How to create reloadable object files.
68962 reload_flag=$lt_reload_flag_CXX
68963 reload_cmds=$lt_reload_cmds_CXX
68964
68965 # Commands used to build an old-style archive.
68966 old_archive_cmds=$lt_old_archive_cmds_CXX
68967
68968 # A language specific compiler.
68969 CC=$lt_compiler_CXX
68970
68971 # Is the compiler the GNU compiler?
68972 with_gcc=$GCC_CXX
68973
68974 # Compiler flag to turn off builtin functions.
68975 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68976
68977 # How to pass a linker flag through the compiler.
68978 wl=$lt_lt_prog_compiler_wl_CXX
68979
68980 # Additional compiler flags for building library objects.
68981 pic_flag=$lt_lt_prog_compiler_pic_CXX
68982
68983 # Compiler flag to prevent dynamic linking.
68984 link_static_flag=$lt_lt_prog_compiler_static_CXX
68985
68986 # Does compiler simultaneously support -c and -o options?
68987 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68988
68989 # Whether or not to add -lc for building shared libraries.
68990 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68991
68992 # Whether or not to disallow shared libs when runtime libs are static.
68993 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68994
68995 # Compiler flag to allow reflexive dlopens.
68996 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68997
68998 # Compiler flag to generate shared objects directly from archives.
68999 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
69000
69001 # Whether the compiler copes with passing no objects directly.
69002 compiler_needs_object=$lt_compiler_needs_object_CXX
69003
69004 # Create an old-style archive from a shared archive.
69005 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
69006
69007 # Create a temporary old-style archive to link instead of a shared archive.
69008 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
69009
69010 # Commands used to build a shared archive.
69011 archive_cmds=$lt_archive_cmds_CXX
69012 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
69013
69014 # Commands used to build a loadable module if different from building
69015 # a shared archive.
69016 module_cmds=$lt_module_cmds_CXX
69017 module_expsym_cmds=$lt_module_expsym_cmds_CXX
69018
69019 # Whether we are building with GNU ld or not.
69020 with_gnu_ld=$lt_with_gnu_ld_CXX
69021
69022 # Flag that allows shared libraries with undefined symbols to be built.
69023 allow_undefined_flag=$lt_allow_undefined_flag_CXX
69024
69025 # Flag that enforces no undefined symbols.
69026 no_undefined_flag=$lt_no_undefined_flag_CXX
69027
69028 # Flag to hardcode \$libdir into a binary during linking.
69029 # This must work even if \$libdir does not exist
69030 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
69031
69032 # If ld is used when linking, flag to hardcode \$libdir into a binary
69033 # during linking.  This must work even if \$libdir does not exist.
69034 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
69035
69036 # Whether we need a single "-rpath" flag with a separated argument.
69037 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
69038
69039 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
69040 # DIR into the resulting binary.
69041 hardcode_direct=$hardcode_direct_CXX
69042
69043 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
69044 # DIR into the resulting binary and the resulting library dependency is
69045 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
69046 # library is relocated.
69047 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
69048
69049 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
69050 # into the resulting binary.
69051 hardcode_minus_L=$hardcode_minus_L_CXX
69052
69053 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
69054 # into the resulting binary.
69055 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
69056
69057 # Set to "yes" if building a shared library automatically hardcodes DIR
69058 # into the library and all subsequent libraries and executables linked
69059 # against it.
69060 hardcode_automatic=$hardcode_automatic_CXX
69061
69062 # Set to yes if linker adds runtime paths of dependent libraries
69063 # to runtime path list.
69064 inherit_rpath=$inherit_rpath_CXX
69065
69066 # Whether libtool must link a program against all its dependency libraries.
69067 link_all_deplibs=$link_all_deplibs_CXX
69068
69069 # Fix the shell variable \$srcfile for the compiler.
69070 fix_srcfile_path=$lt_fix_srcfile_path_CXX
69071
69072 # Set to "yes" if exported symbols are required.
69073 always_export_symbols=$always_export_symbols_CXX
69074
69075 # The commands to list exported symbols.
69076 export_symbols_cmds=$lt_export_symbols_cmds_CXX
69077
69078 # Symbols that should not be listed in the preloaded symbols.
69079 exclude_expsyms=$lt_exclude_expsyms_CXX
69080
69081 # Symbols that must always be exported.
69082 include_expsyms=$lt_include_expsyms_CXX
69083
69084 # Commands necessary for linking programs (against libraries) with templates.
69085 prelink_cmds=$lt_prelink_cmds_CXX
69086
69087 # Specify filename containing input files.
69088 file_list_spec=$lt_file_list_spec_CXX
69089
69090 # How to hardcode a shared library path into an executable.
69091 hardcode_action=$hardcode_action_CXX
69092
69093 # The directories searched by this compiler when creating a shared library.
69094 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
69095
69096 # Dependencies to place before and after the objects being linked to
69097 # create a shared library.
69098 predep_objects=$lt_predep_objects_CXX
69099 postdep_objects=$lt_postdep_objects_CXX
69100 predeps=$lt_predeps_CXX
69101 postdeps=$lt_postdeps_CXX
69102
69103 # The library search path used internally by the compiler when linking
69104 # a shared library.
69105 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
69106
69107 # ### END LIBTOOL TAG CONFIG: CXX
69108 _LT_EOF
69109
69110  ;;
69111     "include/gstdint.h":C)
69112 if test "$GCC" = yes; then
69113   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
69114 else
69115   echo "/* generated for $CC */" > tmp-stdint.h
69116 fi
69117
69118 sed 's/^ *//' >> tmp-stdint.h <<EOF
69119
69120   #ifndef GCC_GENERATED_STDINT_H
69121   #define GCC_GENERATED_STDINT_H 1
69122
69123   #include <sys/types.h>
69124 EOF
69125
69126 if test "$acx_cv_header_stdint" != stdint.h; then
69127   echo "#include <stddef.h>" >> tmp-stdint.h
69128 fi
69129 if test "$acx_cv_header_stdint" != stddef.h; then
69130   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
69131 fi
69132
69133 sed 's/^ *//' >> tmp-stdint.h <<EOF
69134   /* glibc uses these symbols as guards to prevent redefinitions.  */
69135   #ifdef __int8_t_defined
69136   #define _INT8_T
69137   #define _INT16_T
69138   #define _INT32_T
69139   #endif
69140   #ifdef __uint32_t_defined
69141   #define _UINT32_T
69142   #endif
69143
69144 EOF
69145
69146 # ----------------- done header, emit basic int types -------------
69147 if test "$acx_cv_header_stdint" = stddef.h; then
69148   sed 's/^ *//' >> tmp-stdint.h <<EOF
69149
69150     #ifndef _UINT8_T
69151     #define _UINT8_T
69152     #ifndef __uint8_t_defined
69153     #define __uint8_t_defined
69154     #ifndef uint8_t
69155     typedef unsigned $acx_cv_type_int8_t uint8_t;
69156     #endif
69157     #endif
69158     #endif
69159
69160     #ifndef _UINT16_T
69161     #define _UINT16_T
69162     #ifndef __uint16_t_defined
69163     #define __uint16_t_defined
69164     #ifndef uint16_t
69165     typedef unsigned $acx_cv_type_int16_t uint16_t;
69166     #endif
69167     #endif
69168     #endif
69169
69170     #ifndef _UINT32_T
69171     #define _UINT32_T
69172     #ifndef __uint32_t_defined
69173     #define __uint32_t_defined
69174     #ifndef uint32_t
69175     typedef unsigned $acx_cv_type_int32_t uint32_t;
69176     #endif
69177     #endif
69178     #endif
69179
69180     #ifndef _INT8_T
69181     #define _INT8_T
69182     #ifndef __int8_t_defined
69183     #define __int8_t_defined
69184     #ifndef int8_t
69185     typedef $acx_cv_type_int8_t int8_t;
69186     #endif
69187     #endif
69188     #endif
69189
69190     #ifndef _INT16_T
69191     #define _INT16_T
69192     #ifndef __int16_t_defined
69193     #define __int16_t_defined
69194     #ifndef int16_t
69195     typedef $acx_cv_type_int16_t int16_t;
69196     #endif
69197     #endif
69198     #endif
69199
69200     #ifndef _INT32_T
69201     #define _INT32_T
69202     #ifndef __int32_t_defined
69203     #define __int32_t_defined
69204     #ifndef int32_t
69205     typedef $acx_cv_type_int32_t int32_t;
69206     #endif
69207     #endif
69208     #endif
69209 EOF
69210 elif test "$ac_cv_type_u_int32_t" = yes; then
69211   sed 's/^ *//' >> tmp-stdint.h <<EOF
69212
69213     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
69214     #ifndef _INT8_T
69215     #define _INT8_T
69216     #endif
69217     #ifndef _INT16_T
69218     #define _INT16_T
69219     #endif
69220     #ifndef _INT32_T
69221     #define _INT32_T
69222     #endif
69223
69224     #ifndef _UINT8_T
69225     #define _UINT8_T
69226     #ifndef __uint8_t_defined
69227     #define __uint8_t_defined
69228     #ifndef uint8_t
69229     typedef u_int8_t uint8_t;
69230     #endif
69231     #endif
69232     #endif
69233
69234     #ifndef _UINT16_T
69235     #define _UINT16_T
69236     #ifndef __uint16_t_defined
69237     #define __uint16_t_defined
69238     #ifndef uint16_t
69239     typedef u_int16_t uint16_t;
69240     #endif
69241     #endif
69242     #endif
69243
69244     #ifndef _UINT32_T
69245     #define _UINT32_T
69246     #ifndef __uint32_t_defined
69247     #define __uint32_t_defined
69248     #ifndef uint32_t
69249     typedef u_int32_t uint32_t;
69250     #endif
69251     #endif
69252     #endif
69253 EOF
69254 else
69255   sed 's/^ *//' >> tmp-stdint.h <<EOF
69256
69257     /* Some systems have guard macros to prevent redefinitions, define them.  */
69258     #ifndef _INT8_T
69259     #define _INT8_T
69260     #endif
69261     #ifndef _INT16_T
69262     #define _INT16_T
69263     #endif
69264     #ifndef _INT32_T
69265     #define _INT32_T
69266     #endif
69267     #ifndef _UINT8_T
69268     #define _UINT8_T
69269     #endif
69270     #ifndef _UINT16_T
69271     #define _UINT16_T
69272     #endif
69273     #ifndef _UINT32_T
69274     #define _UINT32_T
69275     #endif
69276 EOF
69277 fi
69278
69279 # ------------- done basic int types, emit int64_t types ------------
69280 if test "$ac_cv_type_uint64_t" = yes; then
69281   sed 's/^ *//' >> tmp-stdint.h <<EOF
69282
69283     /* system headers have good uint64_t and int64_t */
69284     #ifndef _INT64_T
69285     #define _INT64_T
69286     #endif
69287     #ifndef _UINT64_T
69288     #define _UINT64_T
69289     #endif
69290 EOF
69291 elif test "$ac_cv_type_u_int64_t" = yes; then
69292   sed 's/^ *//' >> tmp-stdint.h <<EOF
69293
69294     /* system headers have an u_int64_t (and int64_t) */
69295     #ifndef _INT64_T
69296     #define _INT64_T
69297     #endif
69298     #ifndef _UINT64_T
69299     #define _UINT64_T
69300     #ifndef __uint64_t_defined
69301     #define __uint64_t_defined
69302     #ifndef uint64_t
69303     typedef u_int64_t uint64_t;
69304     #endif
69305     #endif
69306     #endif
69307 EOF
69308 elif test -n "$acx_cv_type_int64_t"; then
69309   sed 's/^ *//' >> tmp-stdint.h <<EOF
69310
69311     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
69312     #ifndef _INT64_T
69313     #define _INT64_T
69314     #ifndef int64_t
69315     typedef $acx_cv_type_int64_t int64_t;
69316     #endif
69317     #endif
69318     #ifndef _UINT64_T
69319     #define _UINT64_T
69320     #ifndef __uint64_t_defined
69321     #define __uint64_t_defined
69322     #ifndef uint64_t
69323     typedef unsigned $acx_cv_type_int64_t uint64_t;
69324     #endif
69325     #endif
69326     #endif
69327 EOF
69328 else
69329   sed 's/^ *//' >> tmp-stdint.h <<EOF
69330
69331     /* some common heuristics for int64_t, using compiler-specific tests */
69332     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
69333     #ifndef _INT64_T
69334     #define _INT64_T
69335     #ifndef __int64_t_defined
69336     #ifndef int64_t
69337     typedef long long int64_t;
69338     #endif
69339     #endif
69340     #endif
69341     #ifndef _UINT64_T
69342     #define _UINT64_T
69343     #ifndef uint64_t
69344     typedef unsigned long long uint64_t;
69345     #endif
69346     #endif
69347
69348     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
69349     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
69350        does not implement __extension__.  But that compiler doesn't define
69351        __GNUC_MINOR__.  */
69352     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
69353     # define __extension__
69354     # endif
69355
69356     # ifndef _INT64_T
69357     # define _INT64_T
69358     # ifndef int64_t
69359     __extension__ typedef long long int64_t;
69360     # endif
69361     # endif
69362     # ifndef _UINT64_T
69363     # define _UINT64_T
69364     # ifndef uint64_t
69365     __extension__ typedef unsigned long long uint64_t;
69366     # endif
69367     # endif
69368
69369     #elif !defined __STRICT_ANSI__
69370     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
69371
69372     #  ifndef _INT64_T
69373     #  define _INT64_T
69374     #  ifndef int64_t
69375     typedef __int64 int64_t;
69376     #  endif
69377     #  endif
69378     #  ifndef _UINT64_T
69379     #  define _UINT64_T
69380     #  ifndef uint64_t
69381     typedef unsigned __int64 uint64_t;
69382     #  endif
69383     #  endif
69384     # endif /* compiler */
69385
69386     #endif /* ANSI version */
69387 EOF
69388 fi
69389
69390 # ------------- done int64_t types, emit intptr types ------------
69391 if test "$ac_cv_type_uintptr_t" != yes; then
69392   sed 's/^ *//' >> tmp-stdint.h <<EOF
69393
69394     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
69395     #ifndef __uintptr_t_defined
69396     #ifndef uintptr_t
69397     typedef u$acx_cv_type_intptr_t uintptr_t;
69398     #endif
69399     #endif
69400     #ifndef __intptr_t_defined
69401     #ifndef intptr_t
69402     typedef $acx_cv_type_intptr_t  intptr_t;
69403     #endif
69404     #endif
69405 EOF
69406 fi
69407
69408 # ------------- done intptr types, emit int_least types ------------
69409 if test "$ac_cv_type_int_least32_t" != yes; then
69410   sed 's/^ *//' >> tmp-stdint.h <<EOF
69411
69412     /* Define int_least types */
69413     typedef int8_t     int_least8_t;
69414     typedef int16_t    int_least16_t;
69415     typedef int32_t    int_least32_t;
69416     #ifdef _INT64_T
69417     typedef int64_t    int_least64_t;
69418     #endif
69419
69420     typedef uint8_t    uint_least8_t;
69421     typedef uint16_t   uint_least16_t;
69422     typedef uint32_t   uint_least32_t;
69423     #ifdef _UINT64_T
69424     typedef uint64_t   uint_least64_t;
69425     #endif
69426 EOF
69427 fi
69428
69429 # ------------- done intptr types, emit int_fast types ------------
69430 if test "$ac_cv_type_int_fast32_t" != yes; then
69431       sed 's/^ *//' >> tmp-stdint.h <<EOF
69432
69433     /* Define int_fast types.  short is often slow */
69434     typedef int8_t       int_fast8_t;
69435     typedef int          int_fast16_t;
69436     typedef int32_t      int_fast32_t;
69437     #ifdef _INT64_T
69438     typedef int64_t      int_fast64_t;
69439     #endif
69440
69441     typedef uint8_t      uint_fast8_t;
69442     typedef unsigned int uint_fast16_t;
69443     typedef uint32_t     uint_fast32_t;
69444     #ifdef _UINT64_T
69445     typedef uint64_t     uint_fast64_t;
69446     #endif
69447 EOF
69448 fi
69449
69450 if test "$ac_cv_type_uintmax_t" != yes; then
69451   sed 's/^ *//' >> tmp-stdint.h <<EOF
69452
69453     /* Define intmax based on what we found */
69454     #ifndef intmax_t
69455     #ifdef _INT64_T
69456     typedef int64_t       intmax_t;
69457     #else
69458     typedef long          intmax_t;
69459     #endif
69460     #endif
69461     #ifndef uintmax_t
69462     #ifdef _UINT64_T
69463     typedef uint64_t      uintmax_t;
69464     #else
69465     typedef unsigned long uintmax_t;
69466     #endif
69467     #endif
69468 EOF
69469 fi
69470
69471 sed 's/^ *//' >> tmp-stdint.h <<EOF
69472
69473   #endif /* GCC_GENERATED_STDINT_H */
69474 EOF
69475
69476 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69477   rm -f tmp-stdint.h
69478 else
69479   mv -f tmp-stdint.h include/gstdint.h
69480 fi
69481
69482  ;;
69483     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69484     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69485     "include/Makefile":F) cat > vpsed$$ << \_EOF
69486 s!`test -f '$<' || echo '$(srcdir)/'`!!
69487 _EOF
69488    sed -f vpsed$$ $ac_file > tmp$$
69489    mv tmp$$ $ac_file
69490    rm vpsed$$
69491    echo 'MULTISUBDIR =' >> $ac_file
69492    ml_norecursion=yes
69493    . ${multi_basedir}/config-ml.in
69494    { ml_norecursion=; unset ml_norecursion;}
69495  ;;
69496     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69497 s!`test -f '$<' || echo '$(srcdir)/'`!!
69498 _EOF
69499    sed -f vpsed$$ $ac_file > tmp$$
69500    mv tmp$$ $ac_file
69501    rm vpsed$$
69502    echo 'MULTISUBDIR =' >> $ac_file
69503    ml_norecursion=yes
69504    . ${multi_basedir}/config-ml.in
69505    { ml_norecursion=; unset ml_norecursion;}
69506  ;;
69507     "python/Makefile":F) cat > vpsed$$ << \_EOF
69508 s!`test -f '$<' || echo '$(srcdir)/'`!!
69509 _EOF
69510    sed -f vpsed$$ $ac_file > tmp$$
69511    mv tmp$$ $ac_file
69512    rm vpsed$$
69513    echo 'MULTISUBDIR =' >> $ac_file
69514    ml_norecursion=yes
69515    . ${multi_basedir}/config-ml.in
69516    { ml_norecursion=; unset ml_norecursion;}
69517  ;;
69518     "src/Makefile":F) cat > vpsed$$ << \_EOF
69519 s!`test -f '$<' || echo '$(srcdir)/'`!!
69520 _EOF
69521    sed -f vpsed$$ $ac_file > tmp$$
69522    mv tmp$$ $ac_file
69523    rm vpsed$$
69524    echo 'MULTISUBDIR =' >> $ac_file
69525    ml_norecursion=yes
69526    . ${multi_basedir}/config-ml.in
69527    { ml_norecursion=; unset ml_norecursion;}
69528  ;;
69529     "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
69530 s!`test -f '$<' || echo '$(srcdir)/'`!!
69531 _EOF
69532    sed -f vpsed$$ $ac_file > tmp$$
69533    mv tmp$$ $ac_file
69534    rm vpsed$$
69535    echo 'MULTISUBDIR =' >> $ac_file
69536    ml_norecursion=yes
69537    . ${multi_basedir}/config-ml.in
69538    { ml_norecursion=; unset ml_norecursion;}
69539  ;;
69540     "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
69541 s!`test -f '$<' || echo '$(srcdir)/'`!!
69542 _EOF
69543    sed -f vpsed$$ $ac_file > tmp$$
69544    mv tmp$$ $ac_file
69545    rm vpsed$$
69546    echo 'MULTISUBDIR =' >> $ac_file
69547    ml_norecursion=yes
69548    . ${multi_basedir}/config-ml.in
69549    { ml_norecursion=; unset ml_norecursion;}
69550  ;;
69551     "doc/Makefile":F) cat > vpsed$$ << \_EOF
69552 s!`test -f '$<' || echo '$(srcdir)/'`!!
69553 _EOF
69554    sed -f vpsed$$ $ac_file > tmp$$
69555    mv tmp$$ $ac_file
69556    rm vpsed$$
69557    echo 'MULTISUBDIR =' >> $ac_file
69558    ml_norecursion=yes
69559    . ${multi_basedir}/config-ml.in
69560    { ml_norecursion=; unset ml_norecursion;}
69561  ;;
69562     "po/Makefile":F) cat > vpsed$$ << \_EOF
69563 s!`test -f '$<' || echo '$(srcdir)/'`!!
69564 _EOF
69565    sed -f vpsed$$ $ac_file > tmp$$
69566    mv tmp$$ $ac_file
69567    rm vpsed$$
69568    echo 'MULTISUBDIR =' >> $ac_file
69569    ml_norecursion=yes
69570    . ${multi_basedir}/config-ml.in
69571    { ml_norecursion=; unset ml_norecursion;}
69572  ;;
69573     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69574 s!`test -f '$<' || echo '$(srcdir)/'`!!
69575 _EOF
69576    sed -f vpsed$$ $ac_file > tmp$$
69577    mv tmp$$ $ac_file
69578    rm vpsed$$
69579    echo 'MULTISUBDIR =' >> $ac_file
69580    ml_norecursion=yes
69581    . ${multi_basedir}/config-ml.in
69582    { ml_norecursion=; unset ml_norecursion;}
69583  ;;
69584     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69585
69586   esac
69587 done # for ac_tag
69588
69589
69590 as_fn_exit 0
69591 _ACEOF
69592 ac_clean_files=$ac_clean_files_save
69593
69594 test $ac_write_fail = 0 ||
69595   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69596
69597
69598 # configure is writing to config.log, and then calls config.status.
69599 # config.status does its own redirection, appending to config.log.
69600 # Unfortunately, on DOS this fails, as config.log is still kept open
69601 # by configure, so config.status won't be able to write to it; its
69602 # output is simply discarded.  So we exec the FD to /dev/null,
69603 # effectively closing config.log, so it can be properly (re)opened and
69604 # appended to by config.status.  When coming back to configure, we
69605 # need to make the FD available again.
69606 if test "$no_create" != yes; then
69607   ac_cs_success=:
69608   ac_config_status_args=
69609   test "$silent" = yes &&
69610     ac_config_status_args="$ac_config_status_args --quiet"
69611   exec 5>/dev/null
69612   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69613   exec 5>>config.log
69614   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69615   # would make configure fail if this is the last instruction.
69616   $ac_cs_success || as_fn_exit $?
69617 fi
69618 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69619   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69620 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
69621 fi
69622