OSDN Git Service

2013-09-03 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 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 ERROR_CONSTANTS_SRCDIR
614 OS_INC_SRCDIR
615 ABI_TWEAKS_SRCDIR
616 CPU_DEFINES_SRCDIR
617 ATOMIC_FLAGS
618 ATOMIC_WORD_SRCDIR
619 ATOMICITY_SRCDIR
620 BUILD_PDF_FALSE
621 BUILD_PDF_TRUE
622 PDFLATEX
623 DBLATEX
624 BUILD_MAN_FALSE
625 BUILD_MAN_TRUE
626 BUILD_HTML_FALSE
627 BUILD_HTML_TRUE
628 BUILD_XML_FALSE
629 BUILD_XML_TRUE
630 BUILD_EPUB_FALSE
631 BUILD_EPUB_TRUE
632 XSL_STYLE_DIR
633 XMLLINT
634 XSLTPROC
635 DOT
636 DOXYGEN
637 BUILD_INFO_FALSE
638 BUILD_INFO_TRUE
639 baseline_subdir_switch
640 baseline_dir
641 GLIBCXX_LDBL_COMPAT_FALSE
642 GLIBCXX_LDBL_COMPAT_TRUE
643 ENABLE_VISIBILITY_FALSE
644 ENABLE_VISIBILITY_TRUE
645 libtool_VERSION
646 ENABLE_SYMVERS_SUN_FALSE
647 ENABLE_SYMVERS_SUN_TRUE
648 ENABLE_SYMVERS_DARWIN_FALSE
649 ENABLE_SYMVERS_DARWIN_TRUE
650 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
651 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
652 ENABLE_SYMVERS_GNU_FALSE
653 ENABLE_SYMVERS_GNU_TRUE
654 ENABLE_SYMVERS_FALSE
655 ENABLE_SYMVERS_TRUE
656 port_specific_symbol_files
657 SYMVER_FILE
658 CXXFILT
659 LTLIBICONV
660 LIBICONV
661 OPT_LDFLAGS
662 SECTION_LDFLAGS
663 GLIBCXX_LIBS
664 ENABLE_WERROR_FALSE
665 ENABLE_WERROR_TRUE
666 ENABLE_PYTHONDIR_FALSE
667 ENABLE_PYTHONDIR_TRUE
668 python_mod_dir
669 ENABLE_EXTERN_TEMPLATE_FALSE
670 ENABLE_EXTERN_TEMPLATE_TRUE
671 EXTRA_CXX_FLAGS
672 ENABLE_PARALLEL_FALSE
673 ENABLE_PARALLEL_TRUE
674 GLIBCXX_BUILD_DEBUG_FALSE
675 GLIBCXX_BUILD_DEBUG_TRUE
676 DEBUG_FLAGS
677 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
678 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
679 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
680 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
681 GLIBCXX_C_HEADERS_C_STD_FALSE
682 GLIBCXX_C_HEADERS_C_STD_TRUE
683 GLIBCXX_C_HEADERS_C_FALSE
684 GLIBCXX_C_HEADERS_C_TRUE
685 C_INCLUDE_DIR
686 ALLOCATOR_NAME
687 ALLOCATOR_H
688 CLOCALE_INTERNAL_H
689 CLOCALE_CC
690 CTIME_CC
691 CTIME_H
692 CNUMERIC_CC
693 CMONEY_CC
694 CMESSAGES_CC
695 CCTYPE_CC
696 CCOLLATE_CC
697 CCODECVT_CC
698 CMESSAGES_H
699 CLOCALE_H
700 USE_NLS
701 glibcxx_localedir
702 glibcxx_POFILES
703 glibcxx_MOFILES
704 check_msgfmt
705 BASIC_FILE_CC
706 BASIC_FILE_H
707 CSTDIO_H
708 SECTION_FLAGS
709 WERROR
710 glibcxx_PCHFLAGS
711 GLIBCXX_BUILD_PCH_FALSE
712 GLIBCXX_BUILD_PCH_TRUE
713 GLIBCXX_HOSTED_FALSE
714 GLIBCXX_HOSTED_TRUE
715 glibcxx_compiler_shared_flag
716 glibcxx_compiler_pic_flag
717 glibcxx_lt_pic_flag
718 enable_static
719 enable_shared
720 lt_host_flags
721 CXXCPP
722 OTOOL64
723 OTOOL
724 LIPO
725 NMEDIT
726 DSYMUTIL
727 OBJDUMP
728 NM
729 ac_ct_DUMPBIN
730 DUMPBIN
731 LD
732 FGREP
733 SED
734 LIBTOOL
735 EGREP
736 GREP
737 CPP
738 MAINT
739 MAINTAINER_MODE_FALSE
740 MAINTAINER_MODE_TRUE
741 RANLIB
742 AR
743 AS
744 LN_S
745 toplevel_srcdir
746 toplevel_builddir
747 glibcxx_srcdir
748 glibcxx_builddir
749 ac_ct_CXX
750 CXXFLAGS
751 CXX
752 OBJEXT
753 EXEEXT
754 ac_ct_CC
755 CPPFLAGS
756 LDFLAGS
757 CFLAGS
758 CC
759 am__untar
760 am__tar
761 AMTAR
762 am__leading_dot
763 SET_MAKE
764 AWK
765 mkdir_p
766 MKDIR_P
767 INSTALL_STRIP_PROGRAM
768 STRIP
769 install_sh
770 MAKEINFO
771 AUTOHEADER
772 AUTOMAKE
773 AUTOCONF
774 ACLOCAL
775 VERSION
776 PACKAGE
777 CYGPATH_W
778 am__isrc
779 INSTALL_DATA
780 INSTALL_SCRIPT
781 INSTALL_PROGRAM
782 target_os
783 target_vendor
784 target_cpu
785 target
786 host_os
787 host_vendor
788 host_cpu
789 host
790 build_os
791 build_vendor
792 build_cpu
793 build
794 multi_basedir
795 target_alias
796 host_alias
797 build_alias
798 LIBS
799 ECHO_T
800 ECHO_N
801 ECHO_C
802 DEFS
803 mandir
804 localedir
805 libdir
806 psdir
807 pdfdir
808 dvidir
809 htmldir
810 infodir
811 docdir
812 oldincludedir
813 includedir
814 localstatedir
815 sharedstatedir
816 sysconfdir
817 datadir
818 datarootdir
819 libexecdir
820 sbindir
821 bindir
822 program_transform_name
823 prefix
824 exec_prefix
825 PACKAGE_URL
826 PACKAGE_BUGREPORT
827 PACKAGE_STRING
828 PACKAGE_VERSION
829 PACKAGE_TARNAME
830 PACKAGE_NAME
831 PATH_SEPARATOR
832 SHELL'
833 ac_subst_files=''
834 ac_user_opts='
835 enable_option_checking
836 enable_multilib
837 with_target_subdir
838 with_cross_host
839 with_newlib
840 enable_maintainer_mode
841 enable_shared
842 enable_static
843 with_pic
844 enable_fast_install
845 with_gnu_ld
846 enable_libtool_lock
847 enable_hosted_libstdcxx
848 enable_sjlj_exceptions
849 enable_libstdcxx_pch
850 enable_cstdio
851 enable_clocale
852 enable_nls
853 enable_libstdcxx_allocator
854 enable_cheaders
855 enable_long_long
856 enable_wchar_t
857 enable_c99
858 enable_concept_checks
859 enable_libstdcxx_debug_flags
860 enable_libstdcxx_debug
861 enable_cxx_flags
862 enable_fully_dynamic_string
863 enable_extern_template
864 with_python_dir
865 enable_werror
866 enable_libstdcxx_time
867 enable_tls
868 enable_rpath
869 with_libiconv_prefix
870 with_system_libunwind
871 enable_linux_futex
872 enable_symvers
873 enable_libstdcxx_visibility
874 enable_libstdcxx_threads
875 with_gxx_include_dir
876 enable_version_specific_runtime_libs
877 '
878       ac_precious_vars='build_alias
879 host_alias
880 target_alias
881 CC
882 CFLAGS
883 LDFLAGS
884 LIBS
885 CPPFLAGS
886 CXX
887 CXXFLAGS
888 CCC
889 CPP
890 CXXCPP
891 CXXFILT'
892
893
894 # Initialize some variables set by options.
895 ac_init_help=
896 ac_init_version=false
897 ac_unrecognized_opts=
898 ac_unrecognized_sep=
899 # The variables have the same names as the options, with
900 # dashes changed to underlines.
901 cache_file=/dev/null
902 exec_prefix=NONE
903 no_create=
904 no_recursion=
905 prefix=NONE
906 program_prefix=NONE
907 program_suffix=NONE
908 program_transform_name=s,x,x,
909 silent=
910 site=
911 srcdir=
912 verbose=
913 x_includes=NONE
914 x_libraries=NONE
915
916 # Installation directory options.
917 # These are left unexpanded so users can "make install exec_prefix=/foo"
918 # and all the variables that are supposed to be based on exec_prefix
919 # by default will actually change.
920 # Use braces instead of parens because sh, perl, etc. also accept them.
921 # (The list follows the same order as the GNU Coding Standards.)
922 bindir='${exec_prefix}/bin'
923 sbindir='${exec_prefix}/sbin'
924 libexecdir='${exec_prefix}/libexec'
925 datarootdir='${prefix}/share'
926 datadir='${datarootdir}'
927 sysconfdir='${prefix}/etc'
928 sharedstatedir='${prefix}/com'
929 localstatedir='${prefix}/var'
930 includedir='${prefix}/include'
931 oldincludedir='/usr/include'
932 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
933 infodir='${datarootdir}/info'
934 htmldir='${docdir}'
935 dvidir='${docdir}'
936 pdfdir='${docdir}'
937 psdir='${docdir}'
938 libdir='${exec_prefix}/lib'
939 localedir='${datarootdir}/locale'
940 mandir='${datarootdir}/man'
941
942 ac_prev=
943 ac_dashdash=
944 for ac_option
945 do
946   # If the previous option needs an argument, assign it.
947   if test -n "$ac_prev"; then
948     eval $ac_prev=\$ac_option
949     ac_prev=
950     continue
951   fi
952
953   case $ac_option in
954   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
955   *)    ac_optarg=yes ;;
956   esac
957
958   # Accept the important Cygnus configure options, so we can diagnose typos.
959
960   case $ac_dashdash$ac_option in
961   --)
962     ac_dashdash=yes ;;
963
964   -bindir | --bindir | --bindi | --bind | --bin | --bi)
965     ac_prev=bindir ;;
966   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
967     bindir=$ac_optarg ;;
968
969   -build | --build | --buil | --bui | --bu)
970     ac_prev=build_alias ;;
971   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
972     build_alias=$ac_optarg ;;
973
974   -cache-file | --cache-file | --cache-fil | --cache-fi \
975   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
976     ac_prev=cache_file ;;
977   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
978   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
979     cache_file=$ac_optarg ;;
980
981   --config-cache | -C)
982     cache_file=config.cache ;;
983
984   -datadir | --datadir | --datadi | --datad)
985     ac_prev=datadir ;;
986   -datadir=* | --datadir=* | --datadi=* | --datad=*)
987     datadir=$ac_optarg ;;
988
989   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
990   | --dataroo | --dataro | --datar)
991     ac_prev=datarootdir ;;
992   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
993   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
994     datarootdir=$ac_optarg ;;
995
996   -disable-* | --disable-*)
997     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
998     # Reject names that are not valid shell variable names.
999     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1000       as_fn_error "invalid feature name: $ac_useropt"
1001     ac_useropt_orig=$ac_useropt
1002     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003     case $ac_user_opts in
1004       *"
1005 "enable_$ac_useropt"
1006 "*) ;;
1007       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1008          ac_unrecognized_sep=', ';;
1009     esac
1010     eval enable_$ac_useropt=no ;;
1011
1012   -docdir | --docdir | --docdi | --doc | --do)
1013     ac_prev=docdir ;;
1014   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1015     docdir=$ac_optarg ;;
1016
1017   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1018     ac_prev=dvidir ;;
1019   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1020     dvidir=$ac_optarg ;;
1021
1022   -enable-* | --enable-*)
1023     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1024     # Reject names that are not valid shell variable names.
1025     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026       as_fn_error "invalid feature name: $ac_useropt"
1027     ac_useropt_orig=$ac_useropt
1028     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029     case $ac_user_opts in
1030       *"
1031 "enable_$ac_useropt"
1032 "*) ;;
1033       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1034          ac_unrecognized_sep=', ';;
1035     esac
1036     eval enable_$ac_useropt=\$ac_optarg ;;
1037
1038   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1039   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1040   | --exec | --exe | --ex)
1041     ac_prev=exec_prefix ;;
1042   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1043   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1044   | --exec=* | --exe=* | --ex=*)
1045     exec_prefix=$ac_optarg ;;
1046
1047   -gas | --gas | --ga | --g)
1048     # Obsolete; use --with-gas.
1049     with_gas=yes ;;
1050
1051   -help | --help | --hel | --he | -h)
1052     ac_init_help=long ;;
1053   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1054     ac_init_help=recursive ;;
1055   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1056     ac_init_help=short ;;
1057
1058   -host | --host | --hos | --ho)
1059     ac_prev=host_alias ;;
1060   -host=* | --host=* | --hos=* | --ho=*)
1061     host_alias=$ac_optarg ;;
1062
1063   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1064     ac_prev=htmldir ;;
1065   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1066   | --ht=*)
1067     htmldir=$ac_optarg ;;
1068
1069   -includedir | --includedir | --includedi | --included | --include \
1070   | --includ | --inclu | --incl | --inc)
1071     ac_prev=includedir ;;
1072   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1073   | --includ=* | --inclu=* | --incl=* | --inc=*)
1074     includedir=$ac_optarg ;;
1075
1076   -infodir | --infodir | --infodi | --infod | --info | --inf)
1077     ac_prev=infodir ;;
1078   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1079     infodir=$ac_optarg ;;
1080
1081   -libdir | --libdir | --libdi | --libd)
1082     ac_prev=libdir ;;
1083   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1084     libdir=$ac_optarg ;;
1085
1086   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1087   | --libexe | --libex | --libe)
1088     ac_prev=libexecdir ;;
1089   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1090   | --libexe=* | --libex=* | --libe=*)
1091     libexecdir=$ac_optarg ;;
1092
1093   -localedir | --localedir | --localedi | --localed | --locale)
1094     ac_prev=localedir ;;
1095   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1096     localedir=$ac_optarg ;;
1097
1098   -localstatedir | --localstatedir | --localstatedi | --localstated \
1099   | --localstate | --localstat | --localsta | --localst | --locals)
1100     ac_prev=localstatedir ;;
1101   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1102   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1103     localstatedir=$ac_optarg ;;
1104
1105   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1106     ac_prev=mandir ;;
1107   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1108     mandir=$ac_optarg ;;
1109
1110   -nfp | --nfp | --nf)
1111     # Obsolete; use --without-fp.
1112     with_fp=no ;;
1113
1114   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1115   | --no-cr | --no-c | -n)
1116     no_create=yes ;;
1117
1118   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1119   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1120     no_recursion=yes ;;
1121
1122   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1123   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1124   | --oldin | --oldi | --old | --ol | --o)
1125     ac_prev=oldincludedir ;;
1126   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1127   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1128   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1129     oldincludedir=$ac_optarg ;;
1130
1131   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1132     ac_prev=prefix ;;
1133   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1134     prefix=$ac_optarg ;;
1135
1136   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1137   | --program-pre | --program-pr | --program-p)
1138     ac_prev=program_prefix ;;
1139   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1140   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1141     program_prefix=$ac_optarg ;;
1142
1143   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1144   | --program-suf | --program-su | --program-s)
1145     ac_prev=program_suffix ;;
1146   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1147   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1148     program_suffix=$ac_optarg ;;
1149
1150   -program-transform-name | --program-transform-name \
1151   | --program-transform-nam | --program-transform-na \
1152   | --program-transform-n | --program-transform- \
1153   | --program-transform | --program-transfor \
1154   | --program-transfo | --program-transf \
1155   | --program-trans | --program-tran \
1156   | --progr-tra | --program-tr | --program-t)
1157     ac_prev=program_transform_name ;;
1158   -program-transform-name=* | --program-transform-name=* \
1159   | --program-transform-nam=* | --program-transform-na=* \
1160   | --program-transform-n=* | --program-transform-=* \
1161   | --program-transform=* | --program-transfor=* \
1162   | --program-transfo=* | --program-transf=* \
1163   | --program-trans=* | --program-tran=* \
1164   | --progr-tra=* | --program-tr=* | --program-t=*)
1165     program_transform_name=$ac_optarg ;;
1166
1167   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1168     ac_prev=pdfdir ;;
1169   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1170     pdfdir=$ac_optarg ;;
1171
1172   -psdir | --psdir | --psdi | --psd | --ps)
1173     ac_prev=psdir ;;
1174   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1175     psdir=$ac_optarg ;;
1176
1177   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1178   | -silent | --silent | --silen | --sile | --sil)
1179     silent=yes ;;
1180
1181   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1182     ac_prev=sbindir ;;
1183   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1184   | --sbi=* | --sb=*)
1185     sbindir=$ac_optarg ;;
1186
1187   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1188   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1189   | --sharedst | --shareds | --shared | --share | --shar \
1190   | --sha | --sh)
1191     ac_prev=sharedstatedir ;;
1192   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1193   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1194   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1195   | --sha=* | --sh=*)
1196     sharedstatedir=$ac_optarg ;;
1197
1198   -site | --site | --sit)
1199     ac_prev=site ;;
1200   -site=* | --site=* | --sit=*)
1201     site=$ac_optarg ;;
1202
1203   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1204     ac_prev=srcdir ;;
1205   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1206     srcdir=$ac_optarg ;;
1207
1208   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1209   | --syscon | --sysco | --sysc | --sys | --sy)
1210     ac_prev=sysconfdir ;;
1211   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1212   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1213     sysconfdir=$ac_optarg ;;
1214
1215   -target | --target | --targe | --targ | --tar | --ta | --t)
1216     ac_prev=target_alias ;;
1217   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1218     target_alias=$ac_optarg ;;
1219
1220   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1221     verbose=yes ;;
1222
1223   -version | --version | --versio | --versi | --vers | -V)
1224     ac_init_version=: ;;
1225
1226   -with-* | --with-*)
1227     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1228     # Reject names that are not valid shell variable names.
1229     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1230       as_fn_error "invalid package name: $ac_useropt"
1231     ac_useropt_orig=$ac_useropt
1232     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1233     case $ac_user_opts in
1234       *"
1235 "with_$ac_useropt"
1236 "*) ;;
1237       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1238          ac_unrecognized_sep=', ';;
1239     esac
1240     eval with_$ac_useropt=\$ac_optarg ;;
1241
1242   -without-* | --without-*)
1243     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1244     # Reject names that are not valid shell variable names.
1245     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1246       as_fn_error "invalid package name: $ac_useropt"
1247     ac_useropt_orig=$ac_useropt
1248     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249     case $ac_user_opts in
1250       *"
1251 "with_$ac_useropt"
1252 "*) ;;
1253       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1254          ac_unrecognized_sep=', ';;
1255     esac
1256     eval with_$ac_useropt=no ;;
1257
1258   --x)
1259     # Obsolete; use --with-x.
1260     with_x=yes ;;
1261
1262   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1263   | --x-incl | --x-inc | --x-in | --x-i)
1264     ac_prev=x_includes ;;
1265   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1266   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1267     x_includes=$ac_optarg ;;
1268
1269   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1270   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1271     ac_prev=x_libraries ;;
1272   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1273   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1274     x_libraries=$ac_optarg ;;
1275
1276   -*) as_fn_error "unrecognized option: \`$ac_option'
1277 Try \`$0 --help' for more information."
1278     ;;
1279
1280   *=*)
1281     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1282     # Reject names that are not valid shell variable names.
1283     case $ac_envvar in #(
1284       '' | [0-9]* | *[!_$as_cr_alnum]* )
1285       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1286     esac
1287     eval $ac_envvar=\$ac_optarg
1288     export $ac_envvar ;;
1289
1290   *)
1291     # FIXME: should be removed in autoconf 3.0.
1292     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1293     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1294       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1295     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1296     ;;
1297
1298   esac
1299 done
1300
1301 if test -n "$ac_prev"; then
1302   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1303   as_fn_error "missing argument to $ac_option"
1304 fi
1305
1306 if test -n "$ac_unrecognized_opts"; then
1307   case $enable_option_checking in
1308     no) ;;
1309     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1310     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1311   esac
1312 fi
1313
1314 # Check all directory arguments for consistency.
1315 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1316                 datadir sysconfdir sharedstatedir localstatedir includedir \
1317                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1318                 libdir localedir mandir
1319 do
1320   eval ac_val=\$$ac_var
1321   # Remove trailing slashes.
1322   case $ac_val in
1323     */ )
1324       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1325       eval $ac_var=\$ac_val;;
1326   esac
1327   # Be sure to have absolute directory names.
1328   case $ac_val in
1329     [\\/$]* | ?:[\\/]* )  continue;;
1330     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1331   esac
1332   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1333 done
1334
1335 # There might be people who depend on the old broken behavior: `$host'
1336 # used to hold the argument of --host etc.
1337 # FIXME: To remove some day.
1338 build=$build_alias
1339 host=$host_alias
1340 target=$target_alias
1341
1342 # FIXME: To remove some day.
1343 if test "x$host_alias" != x; then
1344   if test "x$build_alias" = x; then
1345     cross_compiling=maybe
1346     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1347     If a cross compiler is detected then cross compile mode will be used." >&2
1348   elif test "x$build_alias" != "x$host_alias"; then
1349     cross_compiling=yes
1350   fi
1351 fi
1352
1353 ac_tool_prefix=
1354 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1355
1356 test "$silent" = yes && exec 6>/dev/null
1357
1358
1359 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1360 ac_ls_di=`ls -di .` &&
1361 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1362   as_fn_error "working directory cannot be determined"
1363 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1364   as_fn_error "pwd does not report name of working directory"
1365
1366
1367 # Find the source files, if location was not specified.
1368 if test -z "$srcdir"; then
1369   ac_srcdir_defaulted=yes
1370   # Try the directory containing this script, then the parent directory.
1371   ac_confdir=`$as_dirname -- "$as_myself" ||
1372 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1373          X"$as_myself" : 'X\(//\)[^/]' \| \
1374          X"$as_myself" : 'X\(//\)$' \| \
1375          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1376 $as_echo X"$as_myself" |
1377     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1378             s//\1/
1379             q
1380           }
1381           /^X\(\/\/\)[^/].*/{
1382             s//\1/
1383             q
1384           }
1385           /^X\(\/\/\)$/{
1386             s//\1/
1387             q
1388           }
1389           /^X\(\/\).*/{
1390             s//\1/
1391             q
1392           }
1393           s/.*/./; q'`
1394   srcdir=$ac_confdir
1395   if test ! -r "$srcdir/$ac_unique_file"; then
1396     srcdir=..
1397   fi
1398 else
1399   ac_srcdir_defaulted=no
1400 fi
1401 if test ! -r "$srcdir/$ac_unique_file"; then
1402   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1403   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1404 fi
1405 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1406 ac_abs_confdir=`(
1407         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1408         pwd)`
1409 # When building in place, set srcdir=.
1410 if test "$ac_abs_confdir" = "$ac_pwd"; then
1411   srcdir=.
1412 fi
1413 # Remove unnecessary trailing slashes from srcdir.
1414 # Double slashes in file names in object file debugging info
1415 # mess up M-x gdb in Emacs.
1416 case $srcdir in
1417 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1418 esac
1419 for ac_var in $ac_precious_vars; do
1420   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1421   eval ac_env_${ac_var}_value=\$${ac_var}
1422   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1423   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1424 done
1425
1426 #
1427 # Report the --help message.
1428 #
1429 if test "$ac_init_help" = "long"; then
1430   # Omit some internal or obsolete options to make the list less imposing.
1431   # This message is too long to be a string in the A/UX 3.1 sh.
1432   cat <<_ACEOF
1433 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1434
1435 Usage: $0 [OPTION]... [VAR=VALUE]...
1436
1437 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1438 VAR=VALUE.  See below for descriptions of some of the useful variables.
1439
1440 Defaults for the options are specified in brackets.
1441
1442 Configuration:
1443   -h, --help              display this help and exit
1444       --help=short        display options specific to this package
1445       --help=recursive    display the short help of all the included packages
1446   -V, --version           display version information and exit
1447   -q, --quiet, --silent   do not print \`checking...' messages
1448       --cache-file=FILE   cache test results in FILE [disabled]
1449   -C, --config-cache      alias for \`--cache-file=config.cache'
1450   -n, --no-create         do not create output files
1451       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1452
1453 Installation directories:
1454   --prefix=PREFIX         install architecture-independent files in PREFIX
1455                           [$ac_default_prefix]
1456   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1457                           [PREFIX]
1458
1459 By default, \`make install' will install all the files in
1460 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1461 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1462 for instance \`--prefix=\$HOME'.
1463
1464 For better control, use the options below.
1465
1466 Fine tuning of the installation directories:
1467   --bindir=DIR            user executables [EPREFIX/bin]
1468   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1469   --libexecdir=DIR        program executables [EPREFIX/libexec]
1470   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1471   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1472   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1473   --libdir=DIR            object code libraries [EPREFIX/lib]
1474   --includedir=DIR        C header files [PREFIX/include]
1475   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1476   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1477   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1478   --infodir=DIR           info documentation [DATAROOTDIR/info]
1479   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1480   --mandir=DIR            man documentation [DATAROOTDIR/man]
1481   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1482   --htmldir=DIR           html documentation [DOCDIR]
1483   --dvidir=DIR            dvi documentation [DOCDIR]
1484   --pdfdir=DIR            pdf documentation [DOCDIR]
1485   --psdir=DIR             ps documentation [DOCDIR]
1486 _ACEOF
1487
1488   cat <<\_ACEOF
1489
1490 Program names:
1491   --program-prefix=PREFIX            prepend PREFIX to installed program names
1492   --program-suffix=SUFFIX            append SUFFIX to installed program names
1493   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1494
1495 System types:
1496   --build=BUILD     configure for building on BUILD [guessed]
1497   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1498   --target=TARGET   configure for building compilers for TARGET [HOST]
1499 _ACEOF
1500 fi
1501
1502 if test -n "$ac_init_help"; then
1503   case $ac_init_help in
1504      short | recursive ) echo "Configuration of package-unused version-unused:";;
1505    esac
1506   cat <<\_ACEOF
1507
1508 Optional Features:
1509   --disable-option-checking  ignore unrecognized --enable/--with options
1510   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1511   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1512   --enable-multilib       build many library versions (default)
1513   --enable-maintainer-mode  enable make rules and dependencies not useful
1514                           (and sometimes confusing) to the casual installer
1515   --enable-shared[=PKGS]  build shared libraries [default=yes]
1516   --enable-static[=PKGS]  build static libraries [default=yes]
1517   --enable-fast-install[=PKGS]
1518                           optimize for fast installation [default=yes]
1519   --disable-libtool-lock  avoid locking (might break parallel builds)
1520   --disable-hosted-libstdcxx
1521                           only build freestanding C++ runtime support
1522   --enable-sjlj-exceptions
1523                           force use of builtin_setjmp for exceptions
1524                           [default=auto]
1525   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1526                           [default=$is_hosted]
1527   --enable-cstdio[=PACKAGE]
1528                           use target-specific I/O package [default=stdio]
1529   --enable-clocale[=MODEL]
1530                           use MODEL for target locale package [default=auto]
1531   --enable-nls            use Native Language Support (default)
1532   --enable-libstdcxx-allocator[=KIND]
1533                           use KIND for target std::allocator base
1534                           [default=auto]
1535   --enable-cheaders[=KIND]
1536                           construct "C" headers for g++ [default=$c_model]
1537   --enable-long-long      enable template specializations for 'long long'
1538                           [default=yes]
1539   --enable-wchar_t        enable template specializations for 'wchar_t'
1540                           [default=yes]
1541   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1542   --enable-concept-checks use Boost-derived template checks [default=no]
1543   --enable-libstdcxx-debug-flags=FLAGS
1544                           pass compiler FLAGS when building debug library
1545                           [default="-gdwarf-4 -g3 -O0"]
1546   --enable-libstdcxx-debug
1547                           build extra debug library [default=no]
1548   --enable-cxx-flags=FLAGS
1549                           pass compiler FLAGS when building library [default=]
1550   --enable-fully-dynamic-string
1551                           do not put empty strings in per-process static
1552                           memory [default=no]
1553   --enable-extern-template
1554                           enable extern template [default=yes]
1555   --enable-werror         turns on -Werror [default=yes]
1556   --enable-libstdcxx-time[=KIND]
1557                           use KIND for check type [default=no]
1558   --enable-tls            Use thread-local storage [default=yes]
1559   --disable-rpath         do not hardcode runtime library paths
1560   --enable-linux-futex    use the Linux futex system call [default=default]
1561   --enable-symvers[=STYLE]
1562                           enables symbol versioning of the shared library
1563                           [default=yes]
1564   --enable-libstdcxx-visibility
1565                           enables visibility safe usage [default=yes]
1566   --enable-libstdcxx-threads
1567                           enable C++11 threads support [default=auto]
1568   --enable-version-specific-runtime-libs
1569                           Specify that runtime libraries should be installed
1570                           in a compiler-specific directory
1571
1572 Optional Packages:
1573   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1574   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1575   --with-target-subdir=SUBDIR
1576                           configuring in a subdirectory
1577   --with-cross-host=HOST  configuring with a cross compiler
1578   --with-newlib           assume newlib as a system C library
1579   --with-pic              try to use only PIC/non-PIC objects [default=use
1580                           both]
1581   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1582   --with-python-dir       the location to install Python modules. This path is
1583                           relative starting from the prefix.
1584   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1585   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1586   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1587   --with-system-libunwind use installed libunwind
1588   --with-gxx-include-dir=DIR
1589                           installation directory for include files
1590
1591 Some influential environment variables:
1592   CC          C compiler command
1593   CFLAGS      C compiler flags
1594   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1595               nonstandard directory <lib dir>
1596   LIBS        libraries to pass to the linker, e.g. -l<library>
1597   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1598               you have headers in a nonstandard directory <include dir>
1599   CXX         C++ compiler command
1600   CXXFLAGS    C++ compiler flags
1601   CPP         C preprocessor
1602   CXXCPP      C++ preprocessor
1603   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1604               `c++filt', `gc++filt' on PATH.
1605
1606 Use these variables to override the choices made by `configure' or to help
1607 it to find libraries and programs with nonstandard names/locations.
1608
1609 Report bugs to the package provider.
1610 _ACEOF
1611 ac_status=$?
1612 fi
1613
1614 if test "$ac_init_help" = "recursive"; then
1615   # If there are subdirs, report their specific --help.
1616   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1617     test -d "$ac_dir" ||
1618       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1619       continue
1620     ac_builddir=.
1621
1622 case "$ac_dir" in
1623 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1624 *)
1625   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1626   # A ".." for each directory in $ac_dir_suffix.
1627   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1628   case $ac_top_builddir_sub in
1629   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1631   esac ;;
1632 esac
1633 ac_abs_top_builddir=$ac_pwd
1634 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1635 # for backward compatibility:
1636 ac_top_builddir=$ac_top_build_prefix
1637
1638 case $srcdir in
1639   .)  # We are building in place.
1640     ac_srcdir=.
1641     ac_top_srcdir=$ac_top_builddir_sub
1642     ac_abs_top_srcdir=$ac_pwd ;;
1643   [\\/]* | ?:[\\/]* )  # Absolute name.
1644     ac_srcdir=$srcdir$ac_dir_suffix;
1645     ac_top_srcdir=$srcdir
1646     ac_abs_top_srcdir=$srcdir ;;
1647   *) # Relative name.
1648     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1649     ac_top_srcdir=$ac_top_build_prefix$srcdir
1650     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1651 esac
1652 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1653
1654     cd "$ac_dir" || { ac_status=$?; continue; }
1655     # Check for guested configure.
1656     if test -f "$ac_srcdir/configure.gnu"; then
1657       echo &&
1658       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1659     elif test -f "$ac_srcdir/configure"; then
1660       echo &&
1661       $SHELL "$ac_srcdir/configure" --help=recursive
1662     else
1663       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1664     fi || ac_status=$?
1665     cd "$ac_pwd" || { ac_status=$?; break; }
1666   done
1667 fi
1668
1669 test -n "$ac_init_help" && exit $ac_status
1670 if $ac_init_version; then
1671   cat <<\_ACEOF
1672 package-unused configure version-unused
1673 generated by GNU Autoconf 2.64
1674
1675 Copyright (C) 2009 Free Software Foundation, Inc.
1676 This configure script is free software; the Free Software Foundation
1677 gives unlimited permission to copy, distribute and modify it.
1678 _ACEOF
1679   exit
1680 fi
1681
1682 ## ------------------------ ##
1683 ## Autoconf initialization. ##
1684 ## ------------------------ ##
1685
1686 # ac_fn_c_try_compile LINENO
1687 # --------------------------
1688 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1689 ac_fn_c_try_compile ()
1690 {
1691   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692   rm -f conftest.$ac_objext
1693   if { { ac_try="$ac_compile"
1694 case "(($ac_try" in
1695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696   *) ac_try_echo=$ac_try;;
1697 esac
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700   (eval "$ac_compile") 2>conftest.err
1701   ac_status=$?
1702   if test -s conftest.err; then
1703     grep -v '^ *+' conftest.err >conftest.er1
1704     cat conftest.er1 >&5
1705     mv -f conftest.er1 conftest.err
1706   fi
1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708   test $ac_status = 0; } && {
1709          test -z "$ac_c_werror_flag" ||
1710          test ! -s conftest.err
1711        } && test -s conftest.$ac_objext; then :
1712   ac_retval=0
1713 else
1714   $as_echo "$as_me: failed program was:" >&5
1715 sed 's/^/| /' conftest.$ac_ext >&5
1716
1717         ac_retval=1
1718 fi
1719   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1720   return $ac_retval
1721
1722 } # ac_fn_c_try_compile
1723
1724 # ac_fn_cxx_try_compile LINENO
1725 # ----------------------------
1726 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1727 ac_fn_cxx_try_compile ()
1728 {
1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730   rm -f conftest.$ac_objext
1731   if { { ac_try="$ac_compile"
1732 case "(($ac_try" in
1733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734   *) ac_try_echo=$ac_try;;
1735 esac
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738   (eval "$ac_compile") 2>conftest.err
1739   ac_status=$?
1740   if test -s conftest.err; then
1741     grep -v '^ *+' conftest.err >conftest.er1
1742     cat conftest.er1 >&5
1743     mv -f conftest.er1 conftest.err
1744   fi
1745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746   test $ac_status = 0; } && {
1747          test -z "$ac_cxx_werror_flag" ||
1748          test ! -s conftest.err
1749        } && test -s conftest.$ac_objext; then :
1750   ac_retval=0
1751 else
1752   $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.$ac_ext >&5
1754
1755         ac_retval=1
1756 fi
1757   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758   return $ac_retval
1759
1760 } # ac_fn_cxx_try_compile
1761
1762 # ac_fn_c_try_cpp LINENO
1763 # ----------------------
1764 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1765 ac_fn_c_try_cpp ()
1766 {
1767   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768   if { { ac_try="$ac_cpp conftest.$ac_ext"
1769 case "(($ac_try" in
1770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1771   *) ac_try_echo=$ac_try;;
1772 esac
1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774 $as_echo "$ac_try_echo"; } >&5
1775   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1776   ac_status=$?
1777   if test -s conftest.err; then
1778     grep -v '^ *+' conftest.err >conftest.er1
1779     cat conftest.er1 >&5
1780     mv -f conftest.er1 conftest.err
1781   fi
1782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783   test $ac_status = 0; } >/dev/null && {
1784          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1785          test ! -s conftest.err
1786        }; then :
1787   ac_retval=0
1788 else
1789   $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.$ac_ext >&5
1791
1792     ac_retval=1
1793 fi
1794   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1795   return $ac_retval
1796
1797 } # ac_fn_c_try_cpp
1798
1799 # ac_fn_c_try_link LINENO
1800 # -----------------------
1801 # Try to link conftest.$ac_ext, and return whether this succeeded.
1802 ac_fn_c_try_link ()
1803 {
1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805   rm -f conftest.$ac_objext conftest$ac_exeext
1806   if { { ac_try="$ac_link"
1807 case "(($ac_try" in
1808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1809   *) ac_try_echo=$ac_try;;
1810 esac
1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812 $as_echo "$ac_try_echo"; } >&5
1813   (eval "$ac_link") 2>conftest.err
1814   ac_status=$?
1815   if test -s conftest.err; then
1816     grep -v '^ *+' conftest.err >conftest.er1
1817     cat conftest.er1 >&5
1818     mv -f conftest.er1 conftest.err
1819   fi
1820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821   test $ac_status = 0; } && {
1822          test -z "$ac_c_werror_flag" ||
1823          test ! -s conftest.err
1824        } && test -s conftest$ac_exeext && {
1825          test "$cross_compiling" = yes ||
1826          $as_test_x conftest$ac_exeext
1827        }; then :
1828   ac_retval=0
1829 else
1830   $as_echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.$ac_ext >&5
1832
1833         ac_retval=1
1834 fi
1835   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1836   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1837   # interfere with the next link command; also delete a directory that is
1838   # left behind by Apple's compiler.  We do this before executing the actions.
1839   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1840   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1841   return $ac_retval
1842
1843 } # ac_fn_c_try_link
1844
1845 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1846 # -------------------------------------------------------
1847 # Tests whether HEADER exists and can be compiled using the include files in
1848 # INCLUDES, setting the cache variable VAR accordingly.
1849 ac_fn_c_check_header_compile ()
1850 {
1851   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1853 $as_echo_n "checking for $2... " >&6; }
1854 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1855   $as_echo_n "(cached) " >&6
1856 else
1857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h.  */
1859 $4
1860 #include <$2>
1861 _ACEOF
1862 if ac_fn_c_try_compile "$LINENO"; then :
1863   eval "$3=yes"
1864 else
1865   eval "$3=no"
1866 fi
1867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1868 fi
1869 eval ac_res=\$$3
1870                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 $as_echo "$ac_res" >&6; }
1872   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1873
1874 } # ac_fn_c_check_header_compile
1875
1876 # ac_fn_c_try_run LINENO
1877 # ----------------------
1878 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1879 # that executables *can* be run.
1880 ac_fn_c_try_run ()
1881 {
1882   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883   if { { ac_try="$ac_link"
1884 case "(($ac_try" in
1885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886   *) ac_try_echo=$ac_try;;
1887 esac
1888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889 $as_echo "$ac_try_echo"; } >&5
1890   (eval "$ac_link") 2>&5
1891   ac_status=$?
1892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1894   { { case "(($ac_try" in
1895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1896   *) ac_try_echo=$ac_try;;
1897 esac
1898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899 $as_echo "$ac_try_echo"; } >&5
1900   (eval "$ac_try") 2>&5
1901   ac_status=$?
1902   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903   test $ac_status = 0; }; }; then :
1904   ac_retval=0
1905 else
1906   $as_echo "$as_me: program exited with status $ac_status" >&5
1907        $as_echo "$as_me: failed program was:" >&5
1908 sed 's/^/| /' conftest.$ac_ext >&5
1909
1910        ac_retval=$ac_status
1911 fi
1912   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1913   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914   return $ac_retval
1915
1916 } # ac_fn_c_try_run
1917
1918 # ac_fn_c_check_func LINENO FUNC VAR
1919 # ----------------------------------
1920 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1921 ac_fn_c_check_func ()
1922 {
1923   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1925 $as_echo_n "checking for $2... " >&6; }
1926 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1927   $as_echo_n "(cached) " >&6
1928 else
1929   if test x$gcc_no_link = xyes; then
1930   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1931 fi
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h.  */
1934 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1935    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1936 #define $2 innocuous_$2
1937
1938 /* System header to define __stub macros and hopefully few prototypes,
1939     which can conflict with char $2 (); below.
1940     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1941     <limits.h> exists even on freestanding compilers.  */
1942
1943 #ifdef __STDC__
1944 # include <limits.h>
1945 #else
1946 # include <assert.h>
1947 #endif
1948
1949 #undef $2
1950
1951 /* Override any GCC internal prototype to avoid an error.
1952    Use char because int might match the return type of a GCC
1953    builtin and then its argument prototype would still apply.  */
1954 #ifdef __cplusplus
1955 extern "C"
1956 #endif
1957 char $2 ();
1958 /* The GNU C library defines this for functions which it implements
1959     to always fail with ENOSYS.  Some functions are actually named
1960     something starting with __ and the normal name is an alias.  */
1961 #if defined __stub_$2 || defined __stub___$2
1962 choke me
1963 #endif
1964
1965 int
1966 main ()
1967 {
1968 return $2 ();
1969   ;
1970   return 0;
1971 }
1972 _ACEOF
1973 if ac_fn_c_try_link "$LINENO"; then :
1974   eval "$3=yes"
1975 else
1976   eval "$3=no"
1977 fi
1978 rm -f core conftest.err conftest.$ac_objext \
1979     conftest$ac_exeext conftest.$ac_ext
1980 fi
1981 eval ac_res=\$$3
1982                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983 $as_echo "$ac_res" >&6; }
1984   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1985
1986 } # ac_fn_c_check_func
1987
1988 # ac_fn_cxx_try_cpp LINENO
1989 # ------------------------
1990 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1991 ac_fn_cxx_try_cpp ()
1992 {
1993   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1994   if { { ac_try="$ac_cpp conftest.$ac_ext"
1995 case "(($ac_try" in
1996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1997   *) ac_try_echo=$ac_try;;
1998 esac
1999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2002   ac_status=$?
2003   if test -s conftest.err; then
2004     grep -v '^ *+' conftest.err >conftest.er1
2005     cat conftest.er1 >&5
2006     mv -f conftest.er1 conftest.err
2007   fi
2008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2009   test $ac_status = 0; } >/dev/null && {
2010          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2011          test ! -s conftest.err
2012        }; then :
2013   ac_retval=0
2014 else
2015   $as_echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.$ac_ext >&5
2017
2018     ac_retval=1
2019 fi
2020   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2021   return $ac_retval
2022
2023 } # ac_fn_cxx_try_cpp
2024
2025 # ac_fn_cxx_try_link LINENO
2026 # -------------------------
2027 # Try to link conftest.$ac_ext, and return whether this succeeded.
2028 ac_fn_cxx_try_link ()
2029 {
2030   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031   rm -f conftest.$ac_objext conftest$ac_exeext
2032   if { { ac_try="$ac_link"
2033 case "(($ac_try" in
2034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2035   *) ac_try_echo=$ac_try;;
2036 esac
2037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2038 $as_echo "$ac_try_echo"; } >&5
2039   (eval "$ac_link") 2>conftest.err
2040   ac_status=$?
2041   if test -s conftest.err; then
2042     grep -v '^ *+' conftest.err >conftest.er1
2043     cat conftest.er1 >&5
2044     mv -f conftest.er1 conftest.err
2045   fi
2046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2047   test $ac_status = 0; } && {
2048          test -z "$ac_cxx_werror_flag" ||
2049          test ! -s conftest.err
2050        } && test -s conftest$ac_exeext && {
2051          test "$cross_compiling" = yes ||
2052          $as_test_x conftest$ac_exeext
2053        }; then :
2054   ac_retval=0
2055 else
2056   $as_echo "$as_me: failed program was:" >&5
2057 sed 's/^/| /' conftest.$ac_ext >&5
2058
2059         ac_retval=1
2060 fi
2061   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2062   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2063   # interfere with the next link command; also delete a directory that is
2064   # left behind by Apple's compiler.  We do this before executing the actions.
2065   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2066   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2067   return $ac_retval
2068
2069 } # ac_fn_cxx_try_link
2070
2071 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2072 # -------------------------------------------------------
2073 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2074 # the include files in INCLUDES and setting the cache variable VAR
2075 # accordingly.
2076 ac_fn_c_check_header_mongrel ()
2077 {
2078   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2079   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2081 $as_echo_n "checking for $2... " >&6; }
2082 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2083   $as_echo_n "(cached) " >&6
2084 fi
2085 eval ac_res=\$$3
2086                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087 $as_echo "$ac_res" >&6; }
2088 else
2089   # Is the header compilable?
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2091 $as_echo_n "checking $2 usability... " >&6; }
2092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h.  */
2094 $4
2095 #include <$2>
2096 _ACEOF
2097 if ac_fn_c_try_compile "$LINENO"; then :
2098   ac_header_compiler=yes
2099 else
2100   ac_header_compiler=no
2101 fi
2102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2104 $as_echo "$ac_header_compiler" >&6; }
2105
2106 # Is the header present?
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2108 $as_echo_n "checking $2 presence... " >&6; }
2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h.  */
2111 #include <$2>
2112 _ACEOF
2113 if ac_fn_c_try_cpp "$LINENO"; then :
2114   ac_header_preproc=yes
2115 else
2116   ac_header_preproc=no
2117 fi
2118 rm -f conftest.err conftest.$ac_ext
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2120 $as_echo "$ac_header_preproc" >&6; }
2121
2122 # So?  What about this header?
2123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2124   yes:no: )
2125     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2126 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2127     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2128 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2129     ;;
2130   no:yes:* )
2131     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2132 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2133     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2134 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2135     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2136 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2137     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2138 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2139     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2140 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2141     ;;
2142 esac
2143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2144 $as_echo_n "checking for $2... " >&6; }
2145 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2146   $as_echo_n "(cached) " >&6
2147 else
2148   eval "$3=\$ac_header_compiler"
2149 fi
2150 eval ac_res=\$$3
2151                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2152 $as_echo "$ac_res" >&6; }
2153 fi
2154   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2155
2156 } # ac_fn_c_check_header_mongrel
2157
2158 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2159 # ---------------------------------------------------------
2160 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2161 # the include files in INCLUDES and setting the cache variable VAR
2162 # accordingly.
2163 ac_fn_cxx_check_header_mongrel ()
2164 {
2165   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2166   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2168 $as_echo_n "checking for $2... " >&6; }
2169 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2170   $as_echo_n "(cached) " >&6
2171 fi
2172 eval ac_res=\$$3
2173                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2174 $as_echo "$ac_res" >&6; }
2175 else
2176   # Is the header compilable?
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2178 $as_echo_n "checking $2 usability... " >&6; }
2179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h.  */
2181 $4
2182 #include <$2>
2183 _ACEOF
2184 if ac_fn_cxx_try_compile "$LINENO"; then :
2185   ac_header_compiler=yes
2186 else
2187   ac_header_compiler=no
2188 fi
2189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2191 $as_echo "$ac_header_compiler" >&6; }
2192
2193 # Is the header present?
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2195 $as_echo_n "checking $2 presence... " >&6; }
2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h.  */
2198 #include <$2>
2199 _ACEOF
2200 if ac_fn_cxx_try_cpp "$LINENO"; then :
2201   ac_header_preproc=yes
2202 else
2203   ac_header_preproc=no
2204 fi
2205 rm -f conftest.err conftest.$ac_ext
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2207 $as_echo "$ac_header_preproc" >&6; }
2208
2209 # So?  What about this header?
2210 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2211   yes:no: )
2212     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2213 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2214     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2215 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2216     ;;
2217   no:yes:* )
2218     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2219 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2220     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2221 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2222     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2223 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2224     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2225 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2226     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2228     ;;
2229 esac
2230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2231 $as_echo_n "checking for $2... " >&6; }
2232 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2233   $as_echo_n "(cached) " >&6
2234 else
2235   eval "$3=\$ac_header_compiler"
2236 fi
2237 eval ac_res=\$$3
2238                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2239 $as_echo "$ac_res" >&6; }
2240 fi
2241   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2242
2243 } # ac_fn_cxx_check_header_mongrel
2244
2245 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2246 # --------------------------------------------
2247 # Tries to find the compile-time value of EXPR in a program that includes
2248 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2249 # computed
2250 ac_fn_c_compute_int ()
2251 {
2252   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2253   if test "$cross_compiling" = yes; then
2254     # Depending upon the size, compute the lo and hi bounds.
2255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2256 /* end confdefs.h.  */
2257 $4
2258 int
2259 main ()
2260 {
2261 static int test_array [1 - 2 * !(($2) >= 0)];
2262 test_array [0] = 0
2263
2264   ;
2265   return 0;
2266 }
2267 _ACEOF
2268 if ac_fn_c_try_compile "$LINENO"; then :
2269   ac_lo=0 ac_mid=0
2270   while :; do
2271     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h.  */
2273 $4
2274 int
2275 main ()
2276 {
2277 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2278 test_array [0] = 0
2279
2280   ;
2281   return 0;
2282 }
2283 _ACEOF
2284 if ac_fn_c_try_compile "$LINENO"; then :
2285   ac_hi=$ac_mid; break
2286 else
2287   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2288                         if test $ac_lo -le $ac_mid; then
2289                           ac_lo= ac_hi=
2290                           break
2291                         fi
2292                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2293 fi
2294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2295   done
2296 else
2297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2298 /* end confdefs.h.  */
2299 $4
2300 int
2301 main ()
2302 {
2303 static int test_array [1 - 2 * !(($2) < 0)];
2304 test_array [0] = 0
2305
2306   ;
2307   return 0;
2308 }
2309 _ACEOF
2310 if ac_fn_c_try_compile "$LINENO"; then :
2311   ac_hi=-1 ac_mid=-1
2312   while :; do
2313     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2314 /* end confdefs.h.  */
2315 $4
2316 int
2317 main ()
2318 {
2319 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2320 test_array [0] = 0
2321
2322   ;
2323   return 0;
2324 }
2325 _ACEOF
2326 if ac_fn_c_try_compile "$LINENO"; then :
2327   ac_lo=$ac_mid; break
2328 else
2329   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2330                         if test $ac_mid -le $ac_hi; then
2331                           ac_lo= ac_hi=
2332                           break
2333                         fi
2334                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2335 fi
2336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2337   done
2338 else
2339   ac_lo= ac_hi=
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 fi
2343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2344 # Binary search between lo and hi bounds.
2345 while test "x$ac_lo" != "x$ac_hi"; do
2346   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2348 /* end confdefs.h.  */
2349 $4
2350 int
2351 main ()
2352 {
2353 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2354 test_array [0] = 0
2355
2356   ;
2357   return 0;
2358 }
2359 _ACEOF
2360 if ac_fn_c_try_compile "$LINENO"; then :
2361   ac_hi=$ac_mid
2362 else
2363   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2364 fi
2365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2366 done
2367 case $ac_lo in #((
2368 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2369 '') ac_retval=1 ;;
2370 esac
2371   else
2372     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2373 /* end confdefs.h.  */
2374 $4
2375 static long int longval () { return $2; }
2376 static unsigned long int ulongval () { return $2; }
2377 #include <stdio.h>
2378 #include <stdlib.h>
2379 int
2380 main ()
2381 {
2382
2383   FILE *f = fopen ("conftest.val", "w");
2384   if (! f)
2385     return 1;
2386   if (($2) < 0)
2387     {
2388       long int i = longval ();
2389       if (i != ($2))
2390         return 1;
2391       fprintf (f, "%ld", i);
2392     }
2393   else
2394     {
2395       unsigned long int i = ulongval ();
2396       if (i != ($2))
2397         return 1;
2398       fprintf (f, "%lu", i);
2399     }
2400   /* Do not output a trailing newline, as this causes \r\n confusion
2401      on some platforms.  */
2402   return ferror (f) || fclose (f) != 0;
2403
2404   ;
2405   return 0;
2406 }
2407 _ACEOF
2408 if ac_fn_c_try_run "$LINENO"; then :
2409   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2410 else
2411   ac_retval=1
2412 fi
2413 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2414   conftest.$ac_objext conftest.beam conftest.$ac_ext
2415 rm -f conftest.val
2416
2417   fi
2418   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2419   return $ac_retval
2420
2421 } # ac_fn_c_compute_int
2422
2423 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2424 # -------------------------------------------
2425 # Tests whether TYPE exists after having included INCLUDES, setting cache
2426 # variable VAR accordingly.
2427 ac_fn_c_check_type ()
2428 {
2429   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2431 $as_echo_n "checking for $2... " >&6; }
2432 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2433   $as_echo_n "(cached) " >&6
2434 else
2435   eval "$3=no"
2436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h.  */
2438 $4
2439 int
2440 main ()
2441 {
2442 if (sizeof ($2))
2443          return 0;
2444   ;
2445   return 0;
2446 }
2447 _ACEOF
2448 if ac_fn_c_try_compile "$LINENO"; then :
2449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450 /* end confdefs.h.  */
2451 $4
2452 int
2453 main ()
2454 {
2455 if (sizeof (($2)))
2456             return 0;
2457   ;
2458   return 0;
2459 }
2460 _ACEOF
2461 if ac_fn_c_try_compile "$LINENO"; then :
2462
2463 else
2464   eval "$3=yes"
2465 fi
2466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2467 fi
2468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2469 fi
2470 eval ac_res=\$$3
2471                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2472 $as_echo "$ac_res" >&6; }
2473   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2474
2475 } # ac_fn_c_check_type
2476 cat >config.log <<_ACEOF
2477 This file contains any messages produced by compilers while
2478 running configure, to aid debugging if configure makes a mistake.
2479
2480 It was created by package-unused $as_me version-unused, which was
2481 generated by GNU Autoconf 2.64.  Invocation command line was
2482
2483   $ $0 $@
2484
2485 _ACEOF
2486 exec 5>>config.log
2487 {
2488 cat <<_ASUNAME
2489 ## --------- ##
2490 ## Platform. ##
2491 ## --------- ##
2492
2493 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2494 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2495 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2496 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2497 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2498
2499 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2500 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2501
2502 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2503 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2504 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2505 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2506 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2507 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2508 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2509
2510 _ASUNAME
2511
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513 for as_dir in $PATH
2514 do
2515   IFS=$as_save_IFS
2516   test -z "$as_dir" && as_dir=.
2517     $as_echo "PATH: $as_dir"
2518   done
2519 IFS=$as_save_IFS
2520
2521 } >&5
2522
2523 cat >&5 <<_ACEOF
2524
2525
2526 ## ----------- ##
2527 ## Core tests. ##
2528 ## ----------- ##
2529
2530 _ACEOF
2531
2532
2533 # Keep a trace of the command line.
2534 # Strip out --no-create and --no-recursion so they do not pile up.
2535 # Strip out --silent because we don't want to record it for future runs.
2536 # Also quote any args containing shell meta-characters.
2537 # Make two passes to allow for proper duplicate-argument suppression.
2538 ac_configure_args=
2539 ac_configure_args0=
2540 ac_configure_args1=
2541 ac_must_keep_next=false
2542 for ac_pass in 1 2
2543 do
2544   for ac_arg
2545   do
2546     case $ac_arg in
2547     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2548     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2549     | -silent | --silent | --silen | --sile | --sil)
2550       continue ;;
2551     *\'*)
2552       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2553     esac
2554     case $ac_pass in
2555     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2556     2)
2557       as_fn_append ac_configure_args1 " '$ac_arg'"
2558       if test $ac_must_keep_next = true; then
2559         ac_must_keep_next=false # Got value, back to normal.
2560       else
2561         case $ac_arg in
2562           *=* | --config-cache | -C | -disable-* | --disable-* \
2563           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2564           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2565           | -with-* | --with-* | -without-* | --without-* | --x)
2566             case "$ac_configure_args0 " in
2567               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2568             esac
2569             ;;
2570           -* ) ac_must_keep_next=true ;;
2571         esac
2572       fi
2573       as_fn_append ac_configure_args " '$ac_arg'"
2574       ;;
2575     esac
2576   done
2577 done
2578 { ac_configure_args0=; unset ac_configure_args0;}
2579 { ac_configure_args1=; unset ac_configure_args1;}
2580
2581 # When interrupted or exit'd, cleanup temporary files, and complete
2582 # config.log.  We remove comments because anyway the quotes in there
2583 # would cause problems or look ugly.
2584 # WARNING: Use '\'' to represent an apostrophe within the trap.
2585 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2586 trap 'exit_status=$?
2587   # Save into config.log some information that might help in debugging.
2588   {
2589     echo
2590
2591     cat <<\_ASBOX
2592 ## ---------------- ##
2593 ## Cache variables. ##
2594 ## ---------------- ##
2595 _ASBOX
2596     echo
2597     # The following way of writing the cache mishandles newlines in values,
2598 (
2599   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2600     eval ac_val=\$$ac_var
2601     case $ac_val in #(
2602     *${as_nl}*)
2603       case $ac_var in #(
2604       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2605 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2606       esac
2607       case $ac_var in #(
2608       _ | IFS | as_nl) ;; #(
2609       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2610       *) { eval $ac_var=; unset $ac_var;} ;;
2611       esac ;;
2612     esac
2613   done
2614   (set) 2>&1 |
2615     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2616     *${as_nl}ac_space=\ *)
2617       sed -n \
2618         "s/'\''/'\''\\\\'\'''\''/g;
2619           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2620       ;; #(
2621     *)
2622       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2623       ;;
2624     esac |
2625     sort
2626 )
2627     echo
2628
2629     cat <<\_ASBOX
2630 ## ----------------- ##
2631 ## Output variables. ##
2632 ## ----------------- ##
2633 _ASBOX
2634     echo
2635     for ac_var in $ac_subst_vars
2636     do
2637       eval ac_val=\$$ac_var
2638       case $ac_val in
2639       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2640       esac
2641       $as_echo "$ac_var='\''$ac_val'\''"
2642     done | sort
2643     echo
2644
2645     if test -n "$ac_subst_files"; then
2646       cat <<\_ASBOX
2647 ## ------------------- ##
2648 ## File substitutions. ##
2649 ## ------------------- ##
2650 _ASBOX
2651       echo
2652       for ac_var in $ac_subst_files
2653       do
2654         eval ac_val=\$$ac_var
2655         case $ac_val in
2656         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2657         esac
2658         $as_echo "$ac_var='\''$ac_val'\''"
2659       done | sort
2660       echo
2661     fi
2662
2663     if test -s confdefs.h; then
2664       cat <<\_ASBOX
2665 ## ----------- ##
2666 ## confdefs.h. ##
2667 ## ----------- ##
2668 _ASBOX
2669       echo
2670       cat confdefs.h
2671       echo
2672     fi
2673     test "$ac_signal" != 0 &&
2674       $as_echo "$as_me: caught signal $ac_signal"
2675     $as_echo "$as_me: exit $exit_status"
2676   } >&5
2677   rm -f core *.core core.conftest.* &&
2678     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2679     exit $exit_status
2680 ' 0
2681 for ac_signal in 1 2 13 15; do
2682   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2683 done
2684 ac_signal=0
2685
2686 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2687 rm -f -r conftest* confdefs.h
2688
2689 $as_echo "/* confdefs.h */" > confdefs.h
2690
2691 # Predefined preprocessor variables.
2692
2693 cat >>confdefs.h <<_ACEOF
2694 #define PACKAGE_NAME "$PACKAGE_NAME"
2695 _ACEOF
2696
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2699 _ACEOF
2700
2701 cat >>confdefs.h <<_ACEOF
2702 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2703 _ACEOF
2704
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE_STRING "$PACKAGE_STRING"
2707 _ACEOF
2708
2709 cat >>confdefs.h <<_ACEOF
2710 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2711 _ACEOF
2712
2713 cat >>confdefs.h <<_ACEOF
2714 #define PACKAGE_URL "$PACKAGE_URL"
2715 _ACEOF
2716
2717
2718 # Let the site file select an alternate cache file if it wants to.
2719 # Prefer an explicitly selected file to automatically selected ones.
2720 ac_site_file1=NONE
2721 ac_site_file2=NONE
2722 if test -n "$CONFIG_SITE"; then
2723   ac_site_file1=$CONFIG_SITE
2724 elif test "x$prefix" != xNONE; then
2725   ac_site_file1=$prefix/share/config.site
2726   ac_site_file2=$prefix/etc/config.site
2727 else
2728   ac_site_file1=$ac_default_prefix/share/config.site
2729   ac_site_file2=$ac_default_prefix/etc/config.site
2730 fi
2731 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2732 do
2733   test "x$ac_site_file" = xNONE && continue
2734   if test -r "$ac_site_file"; then
2735     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2736 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2737     sed 's/^/| /' "$ac_site_file" >&5
2738     . "$ac_site_file"
2739   fi
2740 done
2741
2742 if test -r "$cache_file"; then
2743   # Some versions of bash will fail to source /dev/null (special
2744   # files actually), so we avoid doing that.
2745   if test -f "$cache_file"; then
2746     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2747 $as_echo "$as_me: loading cache $cache_file" >&6;}
2748     case $cache_file in
2749       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2750       *)                      . "./$cache_file";;
2751     esac
2752   fi
2753 else
2754   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2755 $as_echo "$as_me: creating cache $cache_file" >&6;}
2756   >$cache_file
2757 fi
2758
2759 # Check that the precious variables saved in the cache have kept the same
2760 # value.
2761 ac_cache_corrupted=false
2762 for ac_var in $ac_precious_vars; do
2763   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2764   eval ac_new_set=\$ac_env_${ac_var}_set
2765   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2766   eval ac_new_val=\$ac_env_${ac_var}_value
2767   case $ac_old_set,$ac_new_set in
2768     set,)
2769       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2770 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2771       ac_cache_corrupted=: ;;
2772     ,set)
2773       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2774 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2775       ac_cache_corrupted=: ;;
2776     ,);;
2777     *)
2778       if test "x$ac_old_val" != "x$ac_new_val"; then
2779         # differences in whitespace do not lead to failure.
2780         ac_old_val_w=`echo x $ac_old_val`
2781         ac_new_val_w=`echo x $ac_new_val`
2782         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2783           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2784 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2785           ac_cache_corrupted=:
2786         else
2787           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2788 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2789           eval $ac_var=\$ac_old_val
2790         fi
2791         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2792 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2793         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2794 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2795       fi;;
2796   esac
2797   # Pass precious variables to config.status.
2798   if test "$ac_new_set" = set; then
2799     case $ac_new_val in
2800     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2801     *) ac_arg=$ac_var=$ac_new_val ;;
2802     esac
2803     case " $ac_configure_args " in
2804       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2805       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2806     esac
2807   fi
2808 done
2809 if $ac_cache_corrupted; then
2810   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2812   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2813 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2814   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2815 fi
2816 ## -------------------- ##
2817 ## Main body of script. ##
2818 ## -------------------- ##
2819
2820 ac_ext=c
2821 ac_cpp='$CPP $CPPFLAGS'
2822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2825
2826
2827
2828
2829
2830
2831 ac_config_headers="$ac_config_headers config.h"
2832
2833
2834 # This works around the fact that libtool configuration may change LD
2835 # for this particular configuration, but some shells, instead of
2836 # keeping the changes in LD private, export them just because LD is
2837 # exported.  Only used at the end of this file.
2838 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2839
2840 # Find the rest of the source tree framework.
2841 # Default to --enable-multilib
2842 # Check whether --enable-multilib was given.
2843 if test "${enable_multilib+set}" = set; then :
2844   enableval=$enable_multilib; case "$enableval" in
2845   yes) multilib=yes ;;
2846   no)  multilib=no ;;
2847   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2848  esac
2849 else
2850   multilib=yes
2851 fi
2852
2853
2854 # We may get other options which we leave undocumented:
2855 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2856 # See config-ml.in if you want the gory details.
2857
2858 if test "$srcdir" = "."; then
2859   if test "$with_target_subdir" != "."; then
2860     multi_basedir="$srcdir/$with_multisrctop../.."
2861   else
2862     multi_basedir="$srcdir/$with_multisrctop.."
2863   fi
2864 else
2865   multi_basedir="$srcdir/.."
2866 fi
2867
2868
2869 # Even if the default multilib is not a cross compilation,
2870 # it may be that some of the other multilibs are.
2871 if test $cross_compiling = no && test $multilib = yes \
2872    && test "x${with_multisubdir}" != x ; then
2873    cross_compiling=maybe
2874 fi
2875
2876 ac_config_commands="$ac_config_commands default-1"
2877
2878
2879 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2880 #
2881 # You will slowly go insane if you do not grok the following fact:  when
2882 # building v3 as part of the compiler, the top-level /target/ becomes the
2883 # library's /host/.  configure then causes --target to default to --host,
2884 # exactly like any other package using autoconf.  Therefore, 'target' and
2885 # 'host' will always be the same.  This makes sense both for native and
2886 # cross compilers, just think about it for a little while.  :-)
2887 #
2888 # Also, if v3 is being configured as part of a cross compiler, the top-level
2889 # configure script will pass the "real" host as $with_cross_host.
2890 #
2891 # Do not delete or change the following two lines.  For why, see
2892 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2893 ac_aux_dir=
2894 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2895   for ac_t in install-sh install.sh shtool; do
2896     if test -f "$ac_dir/$ac_t"; then
2897       ac_aux_dir=$ac_dir
2898       ac_install_sh="$ac_aux_dir/$ac_t -c"
2899       break 2
2900     fi
2901   done
2902 done
2903 if test -z "$ac_aux_dir"; then
2904   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2905 fi
2906
2907 # These three variables are undocumented and unsupported,
2908 # and are intended to be withdrawn in a future Autoconf release.
2909 # They can cause serious problems if a builder's source tree is in a directory
2910 # whose full name contains unusual characters.
2911 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2912 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2913 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2914
2915
2916 # Make sure we can run config.sub.
2917 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2918   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2919
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2921 $as_echo_n "checking build system type... " >&6; }
2922 if test "${ac_cv_build+set}" = set; then :
2923   $as_echo_n "(cached) " >&6
2924 else
2925   ac_build_alias=$build_alias
2926 test "x$ac_build_alias" = x &&
2927   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2928 test "x$ac_build_alias" = x &&
2929   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2930 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2931   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2932
2933 fi
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2935 $as_echo "$ac_cv_build" >&6; }
2936 case $ac_cv_build in
2937 *-*-*) ;;
2938 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2939 esac
2940 build=$ac_cv_build
2941 ac_save_IFS=$IFS; IFS='-'
2942 set x $ac_cv_build
2943 shift
2944 build_cpu=$1
2945 build_vendor=$2
2946 shift; shift
2947 # Remember, the first character of IFS is used to create $*,
2948 # except with old shells:
2949 build_os=$*
2950 IFS=$ac_save_IFS
2951 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2952
2953
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2955 $as_echo_n "checking host system type... " >&6; }
2956 if test "${ac_cv_host+set}" = set; then :
2957   $as_echo_n "(cached) " >&6
2958 else
2959   if test "x$host_alias" = x; then
2960   ac_cv_host=$ac_cv_build
2961 else
2962   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2963     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2964 fi
2965
2966 fi
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2968 $as_echo "$ac_cv_host" >&6; }
2969 case $ac_cv_host in
2970 *-*-*) ;;
2971 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2972 esac
2973 host=$ac_cv_host
2974 ac_save_IFS=$IFS; IFS='-'
2975 set x $ac_cv_host
2976 shift
2977 host_cpu=$1
2978 host_vendor=$2
2979 shift; shift
2980 # Remember, the first character of IFS is used to create $*,
2981 # except with old shells:
2982 host_os=$*
2983 IFS=$ac_save_IFS
2984 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2985
2986
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2988 $as_echo_n "checking target system type... " >&6; }
2989 if test "${ac_cv_target+set}" = set; then :
2990   $as_echo_n "(cached) " >&6
2991 else
2992   if test "x$target_alias" = x; then
2993   ac_cv_target=$ac_cv_host
2994 else
2995   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2996     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2997 fi
2998
2999 fi
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3001 $as_echo "$ac_cv_target" >&6; }
3002 case $ac_cv_target in
3003 *-*-*) ;;
3004 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3005 esac
3006 target=$ac_cv_target
3007 ac_save_IFS=$IFS; IFS='-'
3008 set x $ac_cv_target
3009 shift
3010 target_cpu=$1
3011 target_vendor=$2
3012 shift; shift
3013 # Remember, the first character of IFS is used to create $*,
3014 # except with old shells:
3015 target_os=$*
3016 IFS=$ac_save_IFS
3017 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3018
3019
3020 # The aliases save the names the user supplied, while $host etc.
3021 # will get canonicalized.
3022 test -n "$target_alias" &&
3023   test "$program_prefix$program_suffix$program_transform_name" = \
3024     NONENONEs,x,x, &&
3025   program_prefix=${target_alias}-
3026
3027 target_alias=${target_alias-$host_alias}
3028
3029 # Handy for debugging:
3030 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3031
3032 if test "$build" != "$host"; then
3033   # We are being configured with some form of cross compiler.
3034   GLIBCXX_IS_NATIVE=false
3035   case "$host","$target" in
3036     # Darwin crosses can use the host system's libraries and headers,
3037     # because of the fat library support.  Of course, it must be the
3038     # same version of Darwin on both sides.  Allow the user to
3039     # just say --target=foo-darwin without a version number to mean
3040     # "the version on this system".
3041       *-*-darwin*,*-*-darwin*)
3042         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3043         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3044         if test $hostos = $targetos -o $targetos = darwin ; then
3045           GLIBCXX_IS_NATIVE=true
3046         fi
3047         ;;
3048
3049       *)
3050
3051         ;;
3052   esac
3053 else
3054   GLIBCXX_IS_NATIVE=true
3055 fi
3056
3057 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3058 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3059 #  1.x:  minimum required version
3060 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3061 #              of other PACKAGE_* variables will, however, and there's nothing
3062 #              we can do about that; they come from AC_INIT).
3063 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3064 #            file in the top srcdir, etc, etc), so stop complaining.
3065 #  no-dependencies:  turns off auto dependency generation (just for now)
3066 #  no-dist:  we don't want 'dist' and related rules.
3067 #  -Wall:  turns on all automake warnings...
3068 #  -Wno-portability:  ...except this one, since GNU make is now required.
3069 am__api_version='1.11'
3070
3071 # Find a good install program.  We prefer a C program (faster),
3072 # so one script is as good as another.  But avoid the broken or
3073 # incompatible versions:
3074 # SysV /etc/install, /usr/sbin/install
3075 # SunOS /usr/etc/install
3076 # IRIX /sbin/install
3077 # AIX /bin/install
3078 # AmigaOS /C/install, which installs bootblocks on floppy discs
3079 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3080 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3081 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3082 # OS/2's system install, which has a completely different semantic
3083 # ./install, which can be erroneously created by make from ./install.sh.
3084 # Reject install programs that cannot install multiple files.
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3086 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3087 if test -z "$INSTALL"; then
3088 if test "${ac_cv_path_install+set}" = set; then :
3089   $as_echo_n "(cached) " >&6
3090 else
3091   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092 for as_dir in $PATH
3093 do
3094   IFS=$as_save_IFS
3095   test -z "$as_dir" && as_dir=.
3096     # Account for people who put trailing slashes in PATH elements.
3097 case $as_dir/ in #((
3098   ./ | .// | /[cC]/* | \
3099   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3100   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3101   /usr/ucb/* ) ;;
3102   *)
3103     # OSF1 and SCO ODT 3.0 have their own names for install.
3104     # Don't use installbsd from OSF since it installs stuff as root
3105     # by default.
3106     for ac_prog in ginstall scoinst install; do
3107       for ac_exec_ext in '' $ac_executable_extensions; do
3108         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3109           if test $ac_prog = install &&
3110             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3111             # AIX install.  It has an incompatible calling convention.
3112             :
3113           elif test $ac_prog = install &&
3114             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3115             # program-specific install script used by HP pwplus--don't use.
3116             :
3117           else
3118             rm -rf conftest.one conftest.two conftest.dir
3119             echo one > conftest.one
3120             echo two > conftest.two
3121             mkdir conftest.dir
3122             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3123               test -s conftest.one && test -s conftest.two &&
3124               test -s conftest.dir/conftest.one &&
3125               test -s conftest.dir/conftest.two
3126             then
3127               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3128               break 3
3129             fi
3130           fi
3131         fi
3132       done
3133     done
3134     ;;
3135 esac
3136
3137   done
3138 IFS=$as_save_IFS
3139
3140 rm -rf conftest.one conftest.two conftest.dir
3141
3142 fi
3143   if test "${ac_cv_path_install+set}" = set; then
3144     INSTALL=$ac_cv_path_install
3145   else
3146     # As a last resort, use the slow shell script.  Don't cache a
3147     # value for INSTALL within a source directory, because that will
3148     # break other packages using the cache if that directory is
3149     # removed, or if the value is a relative name.
3150     INSTALL=$ac_install_sh
3151   fi
3152 fi
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3154 $as_echo "$INSTALL" >&6; }
3155
3156 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3157 # It thinks the first close brace ends the variable substitution.
3158 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3159
3160 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3161
3162 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3163
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3165 $as_echo_n "checking whether build environment is sane... " >&6; }
3166 # Just in case
3167 sleep 1
3168 echo timestamp > conftest.file
3169 # Reject unsafe characters in $srcdir or the absolute working directory
3170 # name.  Accept space and tab only in the latter.
3171 am_lf='
3172 '
3173 case `pwd` in
3174   *[\\\"\#\$\&\'\`$am_lf]*)
3175     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3176 esac
3177 case $srcdir in
3178   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3179     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3180 esac
3181
3182 # Do `set' in a subshell so we don't clobber the current shell's
3183 # arguments.  Must try -L first in case configure is actually a
3184 # symlink; some systems play weird games with the mod time of symlinks
3185 # (eg FreeBSD returns the mod time of the symlink's containing
3186 # directory).
3187 if (
3188    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3189    if test "$*" = "X"; then
3190       # -L didn't work.
3191       set X `ls -t "$srcdir/configure" conftest.file`
3192    fi
3193    rm -f conftest.file
3194    if test "$*" != "X $srcdir/configure conftest.file" \
3195       && test "$*" != "X conftest.file $srcdir/configure"; then
3196
3197       # If neither matched, then we have a broken ls.  This can happen
3198       # if, for instance, CONFIG_SHELL is bash and it inherits a
3199       # broken ls alias from the environment.  This has actually
3200       # happened.  Such a system could not be considered "sane".
3201       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3202 alias in your environment" "$LINENO" 5
3203    fi
3204
3205    test "$2" = conftest.file
3206    )
3207 then
3208    # Ok.
3209    :
3210 else
3211    as_fn_error "newly created file is older than distributed files!
3212 Check your system clock" "$LINENO" 5
3213 fi
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3215 $as_echo "yes" >&6; }
3216 test "$program_prefix" != NONE &&
3217   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3218 # Use a double $ so make ignores it.
3219 test "$program_suffix" != NONE &&
3220   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3221 # Double any \ or $.
3222 # By default was `s,x,x', remove it if useless.
3223 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3224 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3225
3226 # expand $ac_aux_dir to an absolute path
3227 am_aux_dir=`cd $ac_aux_dir && pwd`
3228
3229 if test x"${MISSING+set}" != xset; then
3230   case $am_aux_dir in
3231   *\ * | *\     *)
3232     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3233   *)
3234     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3235   esac
3236 fi
3237 # Use eval to expand $SHELL
3238 if eval "$MISSING --run true"; then
3239   am_missing_run="$MISSING --run "
3240 else
3241   am_missing_run=
3242   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3243 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3244 fi
3245
3246 if test x"${install_sh}" != xset; then
3247   case $am_aux_dir in
3248   *\ * | *\     *)
3249     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3250   *)
3251     install_sh="\${SHELL} $am_aux_dir/install-sh"
3252   esac
3253 fi
3254
3255 # Installed binaries are usually stripped using `strip' when the user
3256 # run `make install-strip'.  However `strip' might not be the right
3257 # tool to use in cross-compilation environments, therefore Automake
3258 # will honor the `STRIP' environment variable to overrule this program.
3259 if test "$cross_compiling" != no; then
3260   if test -n "$ac_tool_prefix"; then
3261   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3262 set dummy ${ac_tool_prefix}strip; ac_word=$2
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3264 $as_echo_n "checking for $ac_word... " >&6; }
3265 if test "${ac_cv_prog_STRIP+set}" = set; then :
3266   $as_echo_n "(cached) " >&6
3267 else
3268   if test -n "$STRIP"; then
3269   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3270 else
3271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3272 for as_dir in $PATH
3273 do
3274   IFS=$as_save_IFS
3275   test -z "$as_dir" && as_dir=.
3276     for ac_exec_ext in '' $ac_executable_extensions; do
3277   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3280     break 2
3281   fi
3282 done
3283   done
3284 IFS=$as_save_IFS
3285
3286 fi
3287 fi
3288 STRIP=$ac_cv_prog_STRIP
3289 if test -n "$STRIP"; then
3290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3291 $as_echo "$STRIP" >&6; }
3292 else
3293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294 $as_echo "no" >&6; }
3295 fi
3296
3297
3298 fi
3299 if test -z "$ac_cv_prog_STRIP"; then
3300   ac_ct_STRIP=$STRIP
3301   # Extract the first word of "strip", so it can be a program name with args.
3302 set dummy strip; ac_word=$2
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3304 $as_echo_n "checking for $ac_word... " >&6; }
3305 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3306   $as_echo_n "(cached) " >&6
3307 else
3308   if test -n "$ac_ct_STRIP"; then
3309   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3310 else
3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3312 for as_dir in $PATH
3313 do
3314   IFS=$as_save_IFS
3315   test -z "$as_dir" && as_dir=.
3316     for ac_exec_ext in '' $ac_executable_extensions; do
3317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3318     ac_cv_prog_ac_ct_STRIP="strip"
3319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3320     break 2
3321   fi
3322 done
3323   done
3324 IFS=$as_save_IFS
3325
3326 fi
3327 fi
3328 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3329 if test -n "$ac_ct_STRIP"; then
3330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3331 $as_echo "$ac_ct_STRIP" >&6; }
3332 else
3333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334 $as_echo "no" >&6; }
3335 fi
3336
3337   if test "x$ac_ct_STRIP" = x; then
3338     STRIP=":"
3339   else
3340     case $cross_compiling:$ac_tool_warned in
3341 yes:)
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3344 ac_tool_warned=yes ;;
3345 esac
3346     STRIP=$ac_ct_STRIP
3347   fi
3348 else
3349   STRIP="$ac_cv_prog_STRIP"
3350 fi
3351
3352 fi
3353 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3354
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3356 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3357 if test -z "$MKDIR_P"; then
3358   if test "${ac_cv_path_mkdir+set}" = set; then :
3359   $as_echo_n "(cached) " >&6
3360 else
3361   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3362 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3363 do
3364   IFS=$as_save_IFS
3365   test -z "$as_dir" && as_dir=.
3366     for ac_prog in mkdir gmkdir; do
3367          for ac_exec_ext in '' $ac_executable_extensions; do
3368            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3369            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3370              'mkdir (GNU coreutils) '* | \
3371              'mkdir (coreutils) '* | \
3372              'mkdir (fileutils) '4.1*)
3373                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3374                break 3;;
3375            esac
3376          done
3377        done
3378   done
3379 IFS=$as_save_IFS
3380
3381 fi
3382
3383   if test "${ac_cv_path_mkdir+set}" = set; then
3384     MKDIR_P="$ac_cv_path_mkdir -p"
3385   else
3386     # As a last resort, use the slow shell script.  Don't cache a
3387     # value for MKDIR_P within a source directory, because that will
3388     # break other packages using the cache if that directory is
3389     # removed, or if the value is a relative name.
3390     test -d ./--version && rmdir ./--version
3391     MKDIR_P="$ac_install_sh -d"
3392   fi
3393 fi
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3395 $as_echo "$MKDIR_P" >&6; }
3396
3397 mkdir_p="$MKDIR_P"
3398 case $mkdir_p in
3399   [\\/$]* | ?:[\\/]*) ;;
3400   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3401 esac
3402
3403 for ac_prog in gawk mawk nawk awk
3404 do
3405   # Extract the first word of "$ac_prog", so it can be a program name with args.
3406 set dummy $ac_prog; ac_word=$2
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3408 $as_echo_n "checking for $ac_word... " >&6; }
3409 if test "${ac_cv_prog_AWK+set}" = set; then :
3410   $as_echo_n "(cached) " >&6
3411 else
3412   if test -n "$AWK"; then
3413   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3414 else
3415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3416 for as_dir in $PATH
3417 do
3418   IFS=$as_save_IFS
3419   test -z "$as_dir" && as_dir=.
3420     for ac_exec_ext in '' $ac_executable_extensions; do
3421   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3422     ac_cv_prog_AWK="$ac_prog"
3423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3424     break 2
3425   fi
3426 done
3427   done
3428 IFS=$as_save_IFS
3429
3430 fi
3431 fi
3432 AWK=$ac_cv_prog_AWK
3433 if test -n "$AWK"; then
3434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3435 $as_echo "$AWK" >&6; }
3436 else
3437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3438 $as_echo "no" >&6; }
3439 fi
3440
3441
3442   test -n "$AWK" && break
3443 done
3444
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3446 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3447 set x ${MAKE-make}
3448 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3449 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3450   $as_echo_n "(cached) " >&6
3451 else
3452   cat >conftest.make <<\_ACEOF
3453 SHELL = /bin/sh
3454 all:
3455         @echo '@@@%%%=$(MAKE)=@@@%%%'
3456 _ACEOF
3457 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3458 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3459   *@@@%%%=?*=@@@%%%*)
3460     eval ac_cv_prog_make_${ac_make}_set=yes;;
3461   *)
3462     eval ac_cv_prog_make_${ac_make}_set=no;;
3463 esac
3464 rm -f conftest.make
3465 fi
3466 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3468 $as_echo "yes" >&6; }
3469   SET_MAKE=
3470 else
3471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3472 $as_echo "no" >&6; }
3473   SET_MAKE="MAKE=${MAKE-make}"
3474 fi
3475
3476 rm -rf .tst 2>/dev/null
3477 mkdir .tst 2>/dev/null
3478 if test -d .tst; then
3479   am__leading_dot=.
3480 else
3481   am__leading_dot=_
3482 fi
3483 rmdir .tst 2>/dev/null
3484
3485 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3486   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3487   # is not polluted with repeated "-I."
3488   am__isrc=' -I$(srcdir)'
3489   # test to see if srcdir already configured
3490   if test -f $srcdir/config.status; then
3491     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3492   fi
3493 fi
3494
3495 # test whether we have cygpath
3496 if test -z "$CYGPATH_W"; then
3497   if (cygpath --version) >/dev/null 2>/dev/null; then
3498     CYGPATH_W='cygpath -w'
3499   else
3500     CYGPATH_W=echo
3501   fi
3502 fi
3503
3504
3505 # Define the identity of the package.
3506  PACKAGE='libstdc++'
3507  VERSION='version-unused'
3508
3509
3510 # Some tools Automake needs.
3511
3512 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3513
3514
3515 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3516
3517
3518 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3519
3520
3521 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3522
3523
3524 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3525
3526 # We need awk for the "check" target.  The system "awk" is bad on
3527 # some platforms.
3528 # Always define AMTAR for backward compatibility.
3529
3530 AMTAR=${AMTAR-"${am_missing_run}tar"}
3531
3532 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3533
3534
3535
3536
3537
3538
3539
3540
3541 # -fno-builtin must be present here so that a non-conflicting form of
3542 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3543
3544 save_CXXFLAGS="$CXXFLAGS"
3545 CXXFLAGS="$CXXFLAGS -fno-builtin"
3546 ac_ext=c
3547 ac_cpp='$CPP $CPPFLAGS'
3548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3551 if test -n "$ac_tool_prefix"; then
3552   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3553 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; }
3556 if test "${ac_cv_prog_CC+set}" = set; then :
3557   $as_echo_n "(cached) " >&6
3558 else
3559   if test -n "$CC"; then
3560   ac_cv_prog_CC="$CC" # Let the user override the test.
3561 else
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3563 for as_dir in $PATH
3564 do
3565   IFS=$as_save_IFS
3566   test -z "$as_dir" && as_dir=.
3567     for ac_exec_ext in '' $ac_executable_extensions; do
3568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3569     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3571     break 2
3572   fi
3573 done
3574   done
3575 IFS=$as_save_IFS
3576
3577 fi
3578 fi
3579 CC=$ac_cv_prog_CC
3580 if test -n "$CC"; then
3581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3582 $as_echo "$CC" >&6; }
3583 else
3584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3586 fi
3587
3588
3589 fi
3590 if test -z "$ac_cv_prog_CC"; then
3591   ac_ct_CC=$CC
3592   # Extract the first word of "gcc", so it can be a program name with args.
3593 set dummy gcc; ac_word=$2
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3595 $as_echo_n "checking for $ac_word... " >&6; }
3596 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3597   $as_echo_n "(cached) " >&6
3598 else
3599   if test -n "$ac_ct_CC"; then
3600   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3601 else
3602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3603 for as_dir in $PATH
3604 do
3605   IFS=$as_save_IFS
3606   test -z "$as_dir" && as_dir=.
3607     for ac_exec_ext in '' $ac_executable_extensions; do
3608   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3609     ac_cv_prog_ac_ct_CC="gcc"
3610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3611     break 2
3612   fi
3613 done
3614   done
3615 IFS=$as_save_IFS
3616
3617 fi
3618 fi
3619 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3620 if test -n "$ac_ct_CC"; then
3621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3622 $as_echo "$ac_ct_CC" >&6; }
3623 else
3624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3625 $as_echo "no" >&6; }
3626 fi
3627
3628   if test "x$ac_ct_CC" = x; then
3629     CC=""
3630   else
3631     case $cross_compiling:$ac_tool_warned in
3632 yes:)
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3635 ac_tool_warned=yes ;;
3636 esac
3637     CC=$ac_ct_CC
3638   fi
3639 else
3640   CC="$ac_cv_prog_CC"
3641 fi
3642
3643 if test -z "$CC"; then
3644           if test -n "$ac_tool_prefix"; then
3645     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3646 set dummy ${ac_tool_prefix}cc; ac_word=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if test "${ac_cv_prog_CC+set}" = set; then :
3650   $as_echo_n "(cached) " >&6
3651 else
3652   if test -n "$CC"; then
3653   ac_cv_prog_CC="$CC" # Let the user override the test.
3654 else
3655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 for as_dir in $PATH
3657 do
3658   IFS=$as_save_IFS
3659   test -z "$as_dir" && as_dir=.
3660     for ac_exec_ext in '' $ac_executable_extensions; do
3661   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3662     ac_cv_prog_CC="${ac_tool_prefix}cc"
3663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664     break 2
3665   fi
3666 done
3667   done
3668 IFS=$as_save_IFS
3669
3670 fi
3671 fi
3672 CC=$ac_cv_prog_CC
3673 if test -n "$CC"; then
3674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3675 $as_echo "$CC" >&6; }
3676 else
3677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3679 fi
3680
3681
3682   fi
3683 fi
3684 if test -z "$CC"; then
3685   # Extract the first word of "cc", so it can be a program name with args.
3686 set dummy cc; ac_word=$2
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3688 $as_echo_n "checking for $ac_word... " >&6; }
3689 if test "${ac_cv_prog_CC+set}" = set; then :
3690   $as_echo_n "(cached) " >&6
3691 else
3692   if test -n "$CC"; then
3693   ac_cv_prog_CC="$CC" # Let the user override the test.
3694 else
3695   ac_prog_rejected=no
3696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697 for as_dir in $PATH
3698 do
3699   IFS=$as_save_IFS
3700   test -z "$as_dir" && as_dir=.
3701     for ac_exec_ext in '' $ac_executable_extensions; do
3702   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3703     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3704        ac_prog_rejected=yes
3705        continue
3706      fi
3707     ac_cv_prog_CC="cc"
3708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3709     break 2
3710   fi
3711 done
3712   done
3713 IFS=$as_save_IFS
3714
3715 if test $ac_prog_rejected = yes; then
3716   # We found a bogon in the path, so make sure we never use it.
3717   set dummy $ac_cv_prog_CC
3718   shift
3719   if test $# != 0; then
3720     # We chose a different compiler from the bogus one.
3721     # However, it has the same basename, so the bogon will be chosen
3722     # first if we set CC to just the basename; use the full file name.
3723     shift
3724     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3725   fi
3726 fi
3727 fi
3728 fi
3729 CC=$ac_cv_prog_CC
3730 if test -n "$CC"; then
3731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3732 $as_echo "$CC" >&6; }
3733 else
3734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3736 fi
3737
3738
3739 fi
3740 if test -z "$CC"; then
3741   if test -n "$ac_tool_prefix"; then
3742   for ac_prog in cl.exe
3743   do
3744     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3745 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if test "${ac_cv_prog_CC+set}" = set; then :
3749   $as_echo_n "(cached) " >&6
3750 else
3751   if test -n "$CC"; then
3752   ac_cv_prog_CC="$CC" # Let the user override the test.
3753 else
3754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755 for as_dir in $PATH
3756 do
3757   IFS=$as_save_IFS
3758   test -z "$as_dir" && as_dir=.
3759     for ac_exec_ext in '' $ac_executable_extensions; do
3760   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3761     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763     break 2
3764   fi
3765 done
3766   done
3767 IFS=$as_save_IFS
3768
3769 fi
3770 fi
3771 CC=$ac_cv_prog_CC
3772 if test -n "$CC"; then
3773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3774 $as_echo "$CC" >&6; }
3775 else
3776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3778 fi
3779
3780
3781     test -n "$CC" && break
3782   done
3783 fi
3784 if test -z "$CC"; then
3785   ac_ct_CC=$CC
3786   for ac_prog in cl.exe
3787 do
3788   # Extract the first word of "$ac_prog", so it can be a program name with args.
3789 set dummy $ac_prog; ac_word=$2
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791 $as_echo_n "checking for $ac_word... " >&6; }
3792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3793   $as_echo_n "(cached) " >&6
3794 else
3795   if test -n "$ac_ct_CC"; then
3796   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3797 else
3798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3799 for as_dir in $PATH
3800 do
3801   IFS=$as_save_IFS
3802   test -z "$as_dir" && as_dir=.
3803     for ac_exec_ext in '' $ac_executable_extensions; do
3804   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3805     ac_cv_prog_ac_ct_CC="$ac_prog"
3806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807     break 2
3808   fi
3809 done
3810   done
3811 IFS=$as_save_IFS
3812
3813 fi
3814 fi
3815 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3816 if test -n "$ac_ct_CC"; then
3817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3818 $as_echo "$ac_ct_CC" >&6; }
3819 else
3820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3822 fi
3823
3824
3825   test -n "$ac_ct_CC" && break
3826 done
3827
3828   if test "x$ac_ct_CC" = x; then
3829     CC=""
3830   else
3831     case $cross_compiling:$ac_tool_warned in
3832 yes:)
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3835 ac_tool_warned=yes ;;
3836 esac
3837     CC=$ac_ct_CC
3838   fi
3839 fi
3840
3841 fi
3842
3843
3844 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3846 as_fn_error "no acceptable C compiler found in \$PATH
3847 See \`config.log' for more details." "$LINENO" 5; }
3848
3849 # Provide some information about the compiler.
3850 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3851 set X $ac_compile
3852 ac_compiler=$2
3853 for ac_option in --version -v -V -qversion; do
3854   { { ac_try="$ac_compiler $ac_option >&5"
3855 case "(($ac_try" in
3856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3857   *) ac_try_echo=$ac_try;;
3858 esac
3859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3860 $as_echo "$ac_try_echo"; } >&5
3861   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3862   ac_status=$?
3863   if test -s conftest.err; then
3864     sed '10a\
3865 ... rest of stderr output deleted ...
3866          10q' conftest.err >conftest.er1
3867     cat conftest.er1 >&5
3868     rm -f conftest.er1 conftest.err
3869   fi
3870   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3871   test $ac_status = 0; }
3872 done
3873
3874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3875 /* end confdefs.h.  */
3876
3877 int
3878 main ()
3879 {
3880
3881   ;
3882   return 0;
3883 }
3884 _ACEOF
3885 # FIXME: Cleanup?
3886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3887   (eval $ac_link) 2>&5
3888   ac_status=$?
3889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890   test $ac_status = 0; }; then :
3891   gcc_no_link=no
3892 else
3893   gcc_no_link=yes
3894 fi
3895 if test x$gcc_no_link = xyes; then
3896   # Setting cross_compile will disable run tests; it will
3897   # also disable AC_CHECK_FILE but that's generally
3898   # correct if we can't link.
3899   cross_compiling=yes
3900   EXEEXT=
3901 else
3902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h.  */
3904
3905 int
3906 main ()
3907 {
3908
3909   ;
3910   return 0;
3911 }
3912 _ACEOF
3913 ac_clean_files_save=$ac_clean_files
3914 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3915 # Try to create an executable without -o first, disregard a.out.
3916 # It will help us diagnose broken compilers, and finding out an intuition
3917 # of exeext.
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3919 $as_echo_n "checking for C compiler default output file name... " >&6; }
3920 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3921
3922 # The possible output files:
3923 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3924
3925 ac_rmfiles=
3926 for ac_file in $ac_files
3927 do
3928   case $ac_file in
3929     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3930     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3931   esac
3932 done
3933 rm -f $ac_rmfiles
3934
3935 if { { ac_try="$ac_link_default"
3936 case "(($ac_try" in
3937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3938   *) ac_try_echo=$ac_try;;
3939 esac
3940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3941 $as_echo "$ac_try_echo"; } >&5
3942   (eval "$ac_link_default") 2>&5
3943   ac_status=$?
3944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3945   test $ac_status = 0; }; then :
3946   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3947 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3948 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3949 # so that the user can short-circuit this test for compilers unknown to
3950 # Autoconf.
3951 for ac_file in $ac_files ''
3952 do
3953   test -f "$ac_file" || continue
3954   case $ac_file in
3955     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3956         ;;
3957     [ab].out )
3958         # We found the default executable, but exeext='' is most
3959         # certainly right.
3960         break;;
3961     *.* )
3962         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3963         then :; else
3964            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3965         fi
3966         # We set ac_cv_exeext here because the later test for it is not
3967         # safe: cross compilers may not add the suffix if given an `-o'
3968         # argument, so we may need to know it at that point already.
3969         # Even if this section looks crufty: it has the advantage of
3970         # actually working.
3971         break;;
3972     * )
3973         break;;
3974   esac
3975 done
3976 test "$ac_cv_exeext" = no && ac_cv_exeext=
3977
3978 else
3979   ac_file=''
3980 fi
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3982 $as_echo "$ac_file" >&6; }
3983 if test -z "$ac_file"; then :
3984   $as_echo "$as_me: failed program was:" >&5
3985 sed 's/^/| /' conftest.$ac_ext >&5
3986
3987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3989 { as_fn_set_status 77
3990 as_fn_error "C compiler cannot create executables
3991 See \`config.log' for more details." "$LINENO" 5; }; }
3992 fi
3993 ac_exeext=$ac_cv_exeext
3994
3995 # Check that the compiler produces executables we can run.  If not, either
3996 # the compiler is broken, or we cross compile.
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3998 $as_echo_n "checking whether the C compiler works... " >&6; }
3999 # If not cross compiling, check that we can run a simple program.
4000 if test "$cross_compiling" != yes; then
4001   if { ac_try='./$ac_file'
4002   { { case "(($ac_try" in
4003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004   *) ac_try_echo=$ac_try;;
4005 esac
4006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4007 $as_echo "$ac_try_echo"; } >&5
4008   (eval "$ac_try") 2>&5
4009   ac_status=$?
4010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4011   test $ac_status = 0; }; }; then
4012     cross_compiling=no
4013   else
4014     if test "$cross_compiling" = maybe; then
4015         cross_compiling=yes
4016     else
4017         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4019 as_fn_error "cannot run C compiled programs.
4020 If you meant to cross compile, use \`--host'.
4021 See \`config.log' for more details." "$LINENO" 5; }
4022     fi
4023   fi
4024 fi
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4026 $as_echo "yes" >&6; }
4027
4028 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4029 ac_clean_files=$ac_clean_files_save
4030 # Check that the compiler produces executables we can run.  If not, either
4031 # the compiler is broken, or we cross compile.
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4033 $as_echo_n "checking whether we are cross compiling... " >&6; }
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4035 $as_echo "$cross_compiling" >&6; }
4036
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4038 $as_echo_n "checking for suffix of executables... " >&6; }
4039 if { { ac_try="$ac_link"
4040 case "(($ac_try" in
4041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042   *) ac_try_echo=$ac_try;;
4043 esac
4044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4045 $as_echo "$ac_try_echo"; } >&5
4046   (eval "$ac_link") 2>&5
4047   ac_status=$?
4048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4049   test $ac_status = 0; }; then :
4050   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4051 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4052 # work properly (i.e., refer to `conftest.exe'), while it won't with
4053 # `rm'.
4054 for ac_file in conftest.exe conftest conftest.*; do
4055   test -f "$ac_file" || continue
4056   case $ac_file in
4057     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4058     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4059           break;;
4060     * ) break;;
4061   esac
4062 done
4063 else
4064   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4066 as_fn_error "cannot compute suffix of executables: cannot compile and link
4067 See \`config.log' for more details." "$LINENO" 5; }
4068 fi
4069 rm -f conftest$ac_cv_exeext
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4071 $as_echo "$ac_cv_exeext" >&6; }
4072
4073 rm -f conftest.$ac_ext
4074 EXEEXT=$ac_cv_exeext
4075 ac_exeext=$EXEEXT
4076 fi
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4078 $as_echo_n "checking for suffix of object files... " >&6; }
4079 if test "${ac_cv_objext+set}" = set; then :
4080   $as_echo_n "(cached) " >&6
4081 else
4082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h.  */
4084
4085 int
4086 main ()
4087 {
4088
4089   ;
4090   return 0;
4091 }
4092 _ACEOF
4093 rm -f conftest.o conftest.obj
4094 if { { ac_try="$ac_compile"
4095 case "(($ac_try" in
4096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097   *) ac_try_echo=$ac_try;;
4098 esac
4099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100 $as_echo "$ac_try_echo"; } >&5
4101   (eval "$ac_compile") 2>&5
4102   ac_status=$?
4103   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104   test $ac_status = 0; }; then :
4105   for ac_file in conftest.o conftest.obj conftest.*; do
4106   test -f "$ac_file" || continue;
4107   case $ac_file in
4108     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4109     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4110        break;;
4111   esac
4112 done
4113 else
4114   $as_echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.$ac_ext >&5
4116
4117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119 as_fn_error "cannot compute suffix of object files: cannot compile
4120 See \`config.log' for more details." "$LINENO" 5; }
4121 fi
4122 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4123 fi
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4125 $as_echo "$ac_cv_objext" >&6; }
4126 OBJEXT=$ac_cv_objext
4127 ac_objext=$OBJEXT
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4129 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4130 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4131   $as_echo_n "(cached) " >&6
4132 else
4133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h.  */
4135
4136 int
4137 main ()
4138 {
4139 #ifndef __GNUC__
4140        choke me
4141 #endif
4142
4143   ;
4144   return 0;
4145 }
4146 _ACEOF
4147 if ac_fn_c_try_compile "$LINENO"; then :
4148   ac_compiler_gnu=yes
4149 else
4150   ac_compiler_gnu=no
4151 fi
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4154
4155 fi
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4157 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4158 if test $ac_compiler_gnu = yes; then
4159   GCC=yes
4160 else
4161   GCC=
4162 fi
4163 ac_test_CFLAGS=${CFLAGS+set}
4164 ac_save_CFLAGS=$CFLAGS
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4166 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4167 if test "${ac_cv_prog_cc_g+set}" = set; then :
4168   $as_echo_n "(cached) " >&6
4169 else
4170   ac_save_c_werror_flag=$ac_c_werror_flag
4171    ac_c_werror_flag=yes
4172    ac_cv_prog_cc_g=no
4173    CFLAGS="-g"
4174    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h.  */
4176
4177 int
4178 main ()
4179 {
4180
4181   ;
4182   return 0;
4183 }
4184 _ACEOF
4185 if ac_fn_c_try_compile "$LINENO"; then :
4186   ac_cv_prog_cc_g=yes
4187 else
4188   CFLAGS=""
4189       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h.  */
4191
4192 int
4193 main ()
4194 {
4195
4196   ;
4197   return 0;
4198 }
4199 _ACEOF
4200 if ac_fn_c_try_compile "$LINENO"; then :
4201
4202 else
4203   ac_c_werror_flag=$ac_save_c_werror_flag
4204          CFLAGS="-g"
4205          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h.  */
4207
4208 int
4209 main ()
4210 {
4211
4212   ;
4213   return 0;
4214 }
4215 _ACEOF
4216 if ac_fn_c_try_compile "$LINENO"; then :
4217   ac_cv_prog_cc_g=yes
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 fi
4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224    ac_c_werror_flag=$ac_save_c_werror_flag
4225 fi
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4227 $as_echo "$ac_cv_prog_cc_g" >&6; }
4228 if test "$ac_test_CFLAGS" = set; then
4229   CFLAGS=$ac_save_CFLAGS
4230 elif test $ac_cv_prog_cc_g = yes; then
4231   if test "$GCC" = yes; then
4232     CFLAGS="-g -O2"
4233   else
4234     CFLAGS="-g"
4235   fi
4236 else
4237   if test "$GCC" = yes; then
4238     CFLAGS="-O2"
4239   else
4240     CFLAGS=
4241   fi
4242 fi
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4244 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4245 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4246   $as_echo_n "(cached) " >&6
4247 else
4248   ac_cv_prog_cc_c89=no
4249 ac_save_CC=$CC
4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h.  */
4252 #include <stdarg.h>
4253 #include <stdio.h>
4254 #include <sys/types.h>
4255 #include <sys/stat.h>
4256 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4257 struct buf { int x; };
4258 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4259 static char *e (p, i)
4260      char **p;
4261      int i;
4262 {
4263   return p[i];
4264 }
4265 static char *f (char * (*g) (char **, int), char **p, ...)
4266 {
4267   char *s;
4268   va_list v;
4269   va_start (v,p);
4270   s = g (p, va_arg (v,int));
4271   va_end (v);
4272   return s;
4273 }
4274
4275 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4276    function prototypes and stuff, but not '\xHH' hex character constants.
4277    These don't provoke an error unfortunately, instead are silently treated
4278    as 'x'.  The following induces an error, until -std is added to get
4279    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4280    array size at least.  It's necessary to write '\x00'==0 to get something
4281    that's true only with -std.  */
4282 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4283
4284 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4285    inside strings and character constants.  */
4286 #define FOO(x) 'x'
4287 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4288
4289 int test (int i, double x);
4290 struct s1 {int (*f) (int a);};
4291 struct s2 {int (*f) (double a);};
4292 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4293 int argc;
4294 char **argv;
4295 int
4296 main ()
4297 {
4298 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4299   ;
4300   return 0;
4301 }
4302 _ACEOF
4303 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4304         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4305 do
4306   CC="$ac_save_CC $ac_arg"
4307   if ac_fn_c_try_compile "$LINENO"; then :
4308   ac_cv_prog_cc_c89=$ac_arg
4309 fi
4310 rm -f core conftest.err conftest.$ac_objext
4311   test "x$ac_cv_prog_cc_c89" != "xno" && break
4312 done
4313 rm -f conftest.$ac_ext
4314 CC=$ac_save_CC
4315
4316 fi
4317 # AC_CACHE_VAL
4318 case "x$ac_cv_prog_cc_c89" in
4319   x)
4320     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4321 $as_echo "none needed" >&6; } ;;
4322   xno)
4323     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4324 $as_echo "unsupported" >&6; } ;;
4325   *)
4326     CC="$CC $ac_cv_prog_cc_c89"
4327     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4328 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4329 esac
4330 if test "x$ac_cv_prog_cc_c89" != xno; then :
4331
4332 fi
4333
4334 ac_ext=c
4335 ac_cpp='$CPP $CPPFLAGS'
4336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4339
4340 ac_ext=cpp
4341 ac_cpp='$CXXCPP $CPPFLAGS'
4342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4345 if test -z "$CXX"; then
4346   if test -n "$CCC"; then
4347     CXX=$CCC
4348   else
4349     if test -n "$ac_tool_prefix"; then
4350   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4351   do
4352     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4353 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4355 $as_echo_n "checking for $ac_word... " >&6; }
4356 if test "${ac_cv_prog_CXX+set}" = set; then :
4357   $as_echo_n "(cached) " >&6
4358 else
4359   if test -n "$CXX"; then
4360   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4361 else
4362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 for as_dir in $PATH
4364 do
4365   IFS=$as_save_IFS
4366   test -z "$as_dir" && as_dir=.
4367     for ac_exec_ext in '' $ac_executable_extensions; do
4368   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4369     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4371     break 2
4372   fi
4373 done
4374   done
4375 IFS=$as_save_IFS
4376
4377 fi
4378 fi
4379 CXX=$ac_cv_prog_CXX
4380 if test -n "$CXX"; then
4381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4382 $as_echo "$CXX" >&6; }
4383 else
4384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4385 $as_echo "no" >&6; }
4386 fi
4387
4388
4389     test -n "$CXX" && break
4390   done
4391 fi
4392 if test -z "$CXX"; then
4393   ac_ct_CXX=$CXX
4394   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4395 do
4396   # Extract the first word of "$ac_prog", so it can be a program name with args.
4397 set dummy $ac_prog; ac_word=$2
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399 $as_echo_n "checking for $ac_word... " >&6; }
4400 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4401   $as_echo_n "(cached) " >&6
4402 else
4403   if test -n "$ac_ct_CXX"; then
4404   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4405 else
4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407 for as_dir in $PATH
4408 do
4409   IFS=$as_save_IFS
4410   test -z "$as_dir" && as_dir=.
4411     for ac_exec_ext in '' $ac_executable_extensions; do
4412   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413     ac_cv_prog_ac_ct_CXX="$ac_prog"
4414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4415     break 2
4416   fi
4417 done
4418   done
4419 IFS=$as_save_IFS
4420
4421 fi
4422 fi
4423 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4424 if test -n "$ac_ct_CXX"; then
4425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4426 $as_echo "$ac_ct_CXX" >&6; }
4427 else
4428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4430 fi
4431
4432
4433   test -n "$ac_ct_CXX" && break
4434 done
4435
4436   if test "x$ac_ct_CXX" = x; then
4437     CXX="g++"
4438   else
4439     case $cross_compiling:$ac_tool_warned in
4440 yes:)
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4443 ac_tool_warned=yes ;;
4444 esac
4445     CXX=$ac_ct_CXX
4446   fi
4447 fi
4448
4449   fi
4450 fi
4451 # Provide some information about the compiler.
4452 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4453 set X $ac_compile
4454 ac_compiler=$2
4455 for ac_option in --version -v -V -qversion; do
4456   { { ac_try="$ac_compiler $ac_option >&5"
4457 case "(($ac_try" in
4458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459   *) ac_try_echo=$ac_try;;
4460 esac
4461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4462 $as_echo "$ac_try_echo"; } >&5
4463   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4464   ac_status=$?
4465   if test -s conftest.err; then
4466     sed '10a\
4467 ... rest of stderr output deleted ...
4468          10q' conftest.err >conftest.er1
4469     cat conftest.er1 >&5
4470     rm -f conftest.er1 conftest.err
4471   fi
4472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4473   test $ac_status = 0; }
4474 done
4475
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4477 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4478 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4479   $as_echo_n "(cached) " >&6
4480 else
4481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h.  */
4483
4484 int
4485 main ()
4486 {
4487 #ifndef __GNUC__
4488        choke me
4489 #endif
4490
4491   ;
4492   return 0;
4493 }
4494 _ACEOF
4495 if ac_fn_cxx_try_compile "$LINENO"; then :
4496   ac_compiler_gnu=yes
4497 else
4498   ac_compiler_gnu=no
4499 fi
4500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4501 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4502
4503 fi
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4505 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4506 if test $ac_compiler_gnu = yes; then
4507   GXX=yes
4508 else
4509   GXX=
4510 fi
4511 ac_test_CXXFLAGS=${CXXFLAGS+set}
4512 ac_save_CXXFLAGS=$CXXFLAGS
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4514 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4515 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4516   $as_echo_n "(cached) " >&6
4517 else
4518   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4519    ac_cxx_werror_flag=yes
4520    ac_cv_prog_cxx_g=no
4521    CXXFLAGS="-g"
4522    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h.  */
4524
4525 int
4526 main ()
4527 {
4528
4529   ;
4530   return 0;
4531 }
4532 _ACEOF
4533 if ac_fn_cxx_try_compile "$LINENO"; then :
4534   ac_cv_prog_cxx_g=yes
4535 else
4536   CXXFLAGS=""
4537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h.  */
4539
4540 int
4541 main ()
4542 {
4543
4544   ;
4545   return 0;
4546 }
4547 _ACEOF
4548 if ac_fn_cxx_try_compile "$LINENO"; then :
4549
4550 else
4551   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4552          CXXFLAGS="-g"
4553          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h.  */
4555
4556 int
4557 main ()
4558 {
4559
4560   ;
4561   return 0;
4562 }
4563 _ACEOF
4564 if ac_fn_cxx_try_compile "$LINENO"; then :
4565   ac_cv_prog_cxx_g=yes
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 fi
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4573 fi
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4575 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4576 if test "$ac_test_CXXFLAGS" = set; then
4577   CXXFLAGS=$ac_save_CXXFLAGS
4578 elif test $ac_cv_prog_cxx_g = yes; then
4579   if test "$GXX" = yes; then
4580     CXXFLAGS="-g -O2"
4581   else
4582     CXXFLAGS="-g"
4583   fi
4584 else
4585   if test "$GXX" = yes; then
4586     CXXFLAGS="-O2"
4587   else
4588     CXXFLAGS=
4589   fi
4590 fi
4591 ac_ext=c
4592 ac_cpp='$CPP $CPPFLAGS'
4593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4596
4597 CXXFLAGS="$save_CXXFLAGS"
4598
4599 # Runs configure.host, and assorted other critical bits.  Sets
4600 # up critical shell variables.
4601
4602 ac_ext=c
4603 ac_cpp='$CPP $CPPFLAGS'
4604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4608 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4609 # On Suns, sometimes $CPP names a directory.
4610 if test -n "$CPP" && test -d "$CPP"; then
4611   CPP=
4612 fi
4613 if test -z "$CPP"; then
4614   if test "${ac_cv_prog_CPP+set}" = set; then :
4615   $as_echo_n "(cached) " >&6
4616 else
4617       # Double quotes because CPP needs to be expanded
4618     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4619     do
4620       ac_preproc_ok=false
4621 for ac_c_preproc_warn_flag in '' yes
4622 do
4623   # Use a header file that comes with gcc, so configuring glibc
4624   # with a fresh cross-compiler works.
4625   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4626   # <limits.h> exists even on freestanding compilers.
4627   # On the NeXT, cc -E runs the code through the compiler's parser,
4628   # not just through cpp. "Syntax error" is here to catch this case.
4629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h.  */
4631 #ifdef __STDC__
4632 # include <limits.h>
4633 #else
4634 # include <assert.h>
4635 #endif
4636                      Syntax error
4637 _ACEOF
4638 if ac_fn_c_try_cpp "$LINENO"; then :
4639
4640 else
4641   # Broken: fails on valid input.
4642 continue
4643 fi
4644 rm -f conftest.err conftest.$ac_ext
4645
4646   # OK, works on sane cases.  Now check whether nonexistent headers
4647   # can be detected and how.
4648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649 /* end confdefs.h.  */
4650 #include <ac_nonexistent.h>
4651 _ACEOF
4652 if ac_fn_c_try_cpp "$LINENO"; then :
4653   # Broken: success on invalid input.
4654 continue
4655 else
4656   # Passes both tests.
4657 ac_preproc_ok=:
4658 break
4659 fi
4660 rm -f conftest.err conftest.$ac_ext
4661
4662 done
4663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4664 rm -f conftest.err conftest.$ac_ext
4665 if $ac_preproc_ok; then :
4666   break
4667 fi
4668
4669     done
4670     ac_cv_prog_CPP=$CPP
4671
4672 fi
4673   CPP=$ac_cv_prog_CPP
4674 else
4675   ac_cv_prog_CPP=$CPP
4676 fi
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4678 $as_echo "$CPP" >&6; }
4679 ac_preproc_ok=false
4680 for ac_c_preproc_warn_flag in '' yes
4681 do
4682   # Use a header file that comes with gcc, so configuring glibc
4683   # with a fresh cross-compiler works.
4684   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4685   # <limits.h> exists even on freestanding compilers.
4686   # On the NeXT, cc -E runs the code through the compiler's parser,
4687   # not just through cpp. "Syntax error" is here to catch this case.
4688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4689 /* end confdefs.h.  */
4690 #ifdef __STDC__
4691 # include <limits.h>
4692 #else
4693 # include <assert.h>
4694 #endif
4695                      Syntax error
4696 _ACEOF
4697 if ac_fn_c_try_cpp "$LINENO"; then :
4698
4699 else
4700   # Broken: fails on valid input.
4701 continue
4702 fi
4703 rm -f conftest.err conftest.$ac_ext
4704
4705   # OK, works on sane cases.  Now check whether nonexistent headers
4706   # can be detected and how.
4707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h.  */
4709 #include <ac_nonexistent.h>
4710 _ACEOF
4711 if ac_fn_c_try_cpp "$LINENO"; then :
4712   # Broken: success on invalid input.
4713 continue
4714 else
4715   # Passes both tests.
4716 ac_preproc_ok=:
4717 break
4718 fi
4719 rm -f conftest.err conftest.$ac_ext
4720
4721 done
4722 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4723 rm -f conftest.err conftest.$ac_ext
4724 if $ac_preproc_ok; then :
4725
4726 else
4727   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4729 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4730 See \`config.log' for more details." "$LINENO" 5; }
4731 fi
4732
4733 ac_ext=c
4734 ac_cpp='$CPP $CPPFLAGS'
4735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4738
4739
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4741 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4742 if test "${ac_cv_path_GREP+set}" = set; then :
4743   $as_echo_n "(cached) " >&6
4744 else
4745   if test -z "$GREP"; then
4746   ac_path_GREP_found=false
4747   # Loop through the user's path and test for each of PROGNAME-LIST
4748   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4749 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4750 do
4751   IFS=$as_save_IFS
4752   test -z "$as_dir" && as_dir=.
4753     for ac_prog in grep ggrep; do
4754     for ac_exec_ext in '' $ac_executable_extensions; do
4755       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4756       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4757 # Check for GNU ac_path_GREP and select it if it is found.
4758   # Check for GNU $ac_path_GREP
4759 case `"$ac_path_GREP" --version 2>&1` in
4760 *GNU*)
4761   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4762 *)
4763   ac_count=0
4764   $as_echo_n 0123456789 >"conftest.in"
4765   while :
4766   do
4767     cat "conftest.in" "conftest.in" >"conftest.tmp"
4768     mv "conftest.tmp" "conftest.in"
4769     cp "conftest.in" "conftest.nl"
4770     $as_echo 'GREP' >> "conftest.nl"
4771     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4772     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4773     as_fn_arith $ac_count + 1 && ac_count=$as_val
4774     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4775       # Best one so far, save it but keep looking for a better one
4776       ac_cv_path_GREP="$ac_path_GREP"
4777       ac_path_GREP_max=$ac_count
4778     fi
4779     # 10*(2^10) chars as input seems more than enough
4780     test $ac_count -gt 10 && break
4781   done
4782   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4783 esac
4784
4785       $ac_path_GREP_found && break 3
4786     done
4787   done
4788   done
4789 IFS=$as_save_IFS
4790   if test -z "$ac_cv_path_GREP"; then
4791     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4792   fi
4793 else
4794   ac_cv_path_GREP=$GREP
4795 fi
4796
4797 fi
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4799 $as_echo "$ac_cv_path_GREP" >&6; }
4800  GREP="$ac_cv_path_GREP"
4801
4802
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4804 $as_echo_n "checking for egrep... " >&6; }
4805 if test "${ac_cv_path_EGREP+set}" = set; then :
4806   $as_echo_n "(cached) " >&6
4807 else
4808   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4809    then ac_cv_path_EGREP="$GREP -E"
4810    else
4811      if test -z "$EGREP"; then
4812   ac_path_EGREP_found=false
4813   # Loop through the user's path and test for each of PROGNAME-LIST
4814   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4815 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4816 do
4817   IFS=$as_save_IFS
4818   test -z "$as_dir" && as_dir=.
4819     for ac_prog in egrep; do
4820     for ac_exec_ext in '' $ac_executable_extensions; do
4821       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4822       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4823 # Check for GNU ac_path_EGREP and select it if it is found.
4824   # Check for GNU $ac_path_EGREP
4825 case `"$ac_path_EGREP" --version 2>&1` in
4826 *GNU*)
4827   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4828 *)
4829   ac_count=0
4830   $as_echo_n 0123456789 >"conftest.in"
4831   while :
4832   do
4833     cat "conftest.in" "conftest.in" >"conftest.tmp"
4834     mv "conftest.tmp" "conftest.in"
4835     cp "conftest.in" "conftest.nl"
4836     $as_echo 'EGREP' >> "conftest.nl"
4837     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4838     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4839     as_fn_arith $ac_count + 1 && ac_count=$as_val
4840     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4841       # Best one so far, save it but keep looking for a better one
4842       ac_cv_path_EGREP="$ac_path_EGREP"
4843       ac_path_EGREP_max=$ac_count
4844     fi
4845     # 10*(2^10) chars as input seems more than enough
4846     test $ac_count -gt 10 && break
4847   done
4848   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4849 esac
4850
4851       $ac_path_EGREP_found && break 3
4852     done
4853   done
4854   done
4855 IFS=$as_save_IFS
4856   if test -z "$ac_cv_path_EGREP"; then
4857     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4858   fi
4859 else
4860   ac_cv_path_EGREP=$EGREP
4861 fi
4862
4863    fi
4864 fi
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4866 $as_echo "$ac_cv_path_EGREP" >&6; }
4867  EGREP="$ac_cv_path_EGREP"
4868
4869
4870
4871   # Keep these sync'd with the list in Makefile.am.  The first provides an
4872   # expandable list at autoconf time; the second provides an expandable list
4873   # (i.e., shell variable) at configure time.
4874
4875   SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4876
4877   # These need to be absolute paths, yet at the same time need to
4878   # canonicalize only relative paths, because then amd will not unmount
4879   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4880   glibcxx_builddir=`${PWDCMD-pwd}`
4881   case $srcdir in
4882     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4883     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4884   esac
4885   toplevel_builddir=${glibcxx_builddir}/..
4886   toplevel_srcdir=${glibcxx_srcdir}/..
4887
4888
4889
4890
4891
4892   # We use these options to decide which functions to include.  They are
4893   # set from the top level.
4894
4895 # Check whether --with-target-subdir was given.
4896 if test "${with_target_subdir+set}" = set; then :
4897   withval=$with_target_subdir;
4898 fi
4899
4900
4901
4902 # Check whether --with-cross-host was given.
4903 if test "${with_cross_host+set}" = set; then :
4904   withval=$with_cross_host;
4905 fi
4906
4907
4908
4909 # Check whether --with-newlib was given.
4910 if test "${with_newlib+set}" = set; then :
4911   withval=$with_newlib;
4912 fi
4913
4914
4915   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4916   # available).  Uncomment the next line to force a particular method.
4917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4918 $as_echo_n "checking whether ln -s works... " >&6; }
4919 LN_S=$as_ln_s
4920 if test "$LN_S" = "ln -s"; then
4921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4922 $as_echo "yes" >&6; }
4923 else
4924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4925 $as_echo "no, using $LN_S" >&6; }
4926 fi
4927
4928   #LN_S='cp -p'
4929
4930   if test -n "$ac_tool_prefix"; then
4931   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4932 set dummy ${ac_tool_prefix}as; ac_word=$2
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if test "${ac_cv_prog_AS+set}" = set; then :
4936   $as_echo_n "(cached) " >&6
4937 else
4938   if test -n "$AS"; then
4939   ac_cv_prog_AS="$AS" # Let the user override the test.
4940 else
4941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 for as_dir in $PATH
4943 do
4944   IFS=$as_save_IFS
4945   test -z "$as_dir" && as_dir=.
4946     for ac_exec_ext in '' $ac_executable_extensions; do
4947   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4948     ac_cv_prog_AS="${ac_tool_prefix}as"
4949     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4950     break 2
4951   fi
4952 done
4953   done
4954 IFS=$as_save_IFS
4955
4956 fi
4957 fi
4958 AS=$ac_cv_prog_AS
4959 if test -n "$AS"; then
4960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4961 $as_echo "$AS" >&6; }
4962 else
4963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4965 fi
4966
4967
4968 fi
4969 if test -z "$ac_cv_prog_AS"; then
4970   ac_ct_AS=$AS
4971   # Extract the first word of "as", so it can be a program name with args.
4972 set dummy as; ac_word=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4976   $as_echo_n "(cached) " >&6
4977 else
4978   if test -n "$ac_ct_AS"; then
4979   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4980 else
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH
4983 do
4984   IFS=$as_save_IFS
4985   test -z "$as_dir" && as_dir=.
4986     for ac_exec_ext in '' $ac_executable_extensions; do
4987   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4988     ac_cv_prog_ac_ct_AS="as"
4989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990     break 2
4991   fi
4992 done
4993   done
4994 IFS=$as_save_IFS
4995
4996 fi
4997 fi
4998 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4999 if test -n "$ac_ct_AS"; then
5000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5001 $as_echo "$ac_ct_AS" >&6; }
5002 else
5003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5005 fi
5006
5007   if test "x$ac_ct_AS" = x; then
5008     AS=""
5009   else
5010     case $cross_compiling:$ac_tool_warned in
5011 yes:)
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5014 ac_tool_warned=yes ;;
5015 esac
5016     AS=$ac_ct_AS
5017   fi
5018 else
5019   AS="$ac_cv_prog_AS"
5020 fi
5021
5022   if test -n "$ac_tool_prefix"; then
5023   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5024 set dummy ${ac_tool_prefix}ar; ac_word=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if test "${ac_cv_prog_AR+set}" = set; then :
5028   $as_echo_n "(cached) " >&6
5029 else
5030   if test -n "$AR"; then
5031   ac_cv_prog_AR="$AR" # Let the user override the test.
5032 else
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034 for as_dir in $PATH
5035 do
5036   IFS=$as_save_IFS
5037   test -z "$as_dir" && as_dir=.
5038     for ac_exec_ext in '' $ac_executable_extensions; do
5039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5040     ac_cv_prog_AR="${ac_tool_prefix}ar"
5041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5042     break 2
5043   fi
5044 done
5045   done
5046 IFS=$as_save_IFS
5047
5048 fi
5049 fi
5050 AR=$ac_cv_prog_AR
5051 if test -n "$AR"; then
5052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5053 $as_echo "$AR" >&6; }
5054 else
5055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5057 fi
5058
5059
5060 fi
5061 if test -z "$ac_cv_prog_AR"; then
5062   ac_ct_AR=$AR
5063   # Extract the first word of "ar", so it can be a program name with args.
5064 set dummy ar; ac_word=$2
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066 $as_echo_n "checking for $ac_word... " >&6; }
5067 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5068   $as_echo_n "(cached) " >&6
5069 else
5070   if test -n "$ac_ct_AR"; then
5071   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5072 else
5073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 for as_dir in $PATH
5075 do
5076   IFS=$as_save_IFS
5077   test -z "$as_dir" && as_dir=.
5078     for ac_exec_ext in '' $ac_executable_extensions; do
5079   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5080     ac_cv_prog_ac_ct_AR="ar"
5081     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5082     break 2
5083   fi
5084 done
5085   done
5086 IFS=$as_save_IFS
5087
5088 fi
5089 fi
5090 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5091 if test -n "$ac_ct_AR"; then
5092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5093 $as_echo "$ac_ct_AR" >&6; }
5094 else
5095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096 $as_echo "no" >&6; }
5097 fi
5098
5099   if test "x$ac_ct_AR" = x; then
5100     AR=""
5101   else
5102     case $cross_compiling:$ac_tool_warned in
5103 yes:)
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5106 ac_tool_warned=yes ;;
5107 esac
5108     AR=$ac_ct_AR
5109   fi
5110 else
5111   AR="$ac_cv_prog_AR"
5112 fi
5113
5114   if test -n "$ac_tool_prefix"; then
5115   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5116 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5118 $as_echo_n "checking for $ac_word... " >&6; }
5119 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5120   $as_echo_n "(cached) " >&6
5121 else
5122   if test -n "$RANLIB"; then
5123   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5124 else
5125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5126 for as_dir in $PATH
5127 do
5128   IFS=$as_save_IFS
5129   test -z "$as_dir" && as_dir=.
5130     for ac_exec_ext in '' $ac_executable_extensions; do
5131   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5132     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134     break 2
5135   fi
5136 done
5137   done
5138 IFS=$as_save_IFS
5139
5140 fi
5141 fi
5142 RANLIB=$ac_cv_prog_RANLIB
5143 if test -n "$RANLIB"; then
5144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5145 $as_echo "$RANLIB" >&6; }
5146 else
5147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148 $as_echo "no" >&6; }
5149 fi
5150
5151
5152 fi
5153 if test -z "$ac_cv_prog_RANLIB"; then
5154   ac_ct_RANLIB=$RANLIB
5155   # Extract the first word of "ranlib", so it can be a program name with args.
5156 set dummy ranlib; ac_word=$2
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158 $as_echo_n "checking for $ac_word... " >&6; }
5159 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5160   $as_echo_n "(cached) " >&6
5161 else
5162   if test -n "$ac_ct_RANLIB"; then
5163   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5164 else
5165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166 for as_dir in $PATH
5167 do
5168   IFS=$as_save_IFS
5169   test -z "$as_dir" && as_dir=.
5170     for ac_exec_ext in '' $ac_executable_extensions; do
5171   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5172     ac_cv_prog_ac_ct_RANLIB="ranlib"
5173     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174     break 2
5175   fi
5176 done
5177   done
5178 IFS=$as_save_IFS
5179
5180 fi
5181 fi
5182 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5183 if test -n "$ac_ct_RANLIB"; then
5184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5185 $as_echo "$ac_ct_RANLIB" >&6; }
5186 else
5187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5189 fi
5190
5191   if test "x$ac_ct_RANLIB" = x; then
5192     RANLIB="ranlib-not-found-in-path-error"
5193   else
5194     case $cross_compiling:$ac_tool_warned in
5195 yes:)
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5198 ac_tool_warned=yes ;;
5199 esac
5200     RANLIB=$ac_ct_RANLIB
5201   fi
5202 else
5203   RANLIB="$ac_cv_prog_RANLIB"
5204 fi
5205
5206
5207
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5209 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5210     # Check whether --enable-maintainer-mode was given.
5211 if test "${enable_maintainer_mode+set}" = set; then :
5212   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5213 else
5214   USE_MAINTAINER_MODE=no
5215 fi
5216
5217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5218 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5219    if test $USE_MAINTAINER_MODE = yes; then
5220   MAINTAINER_MODE_TRUE=
5221   MAINTAINER_MODE_FALSE='#'
5222 else
5223   MAINTAINER_MODE_TRUE='#'
5224   MAINTAINER_MODE_FALSE=
5225 fi
5226
5227   MAINT=$MAINTAINER_MODE_TRUE
5228
5229
5230
5231   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5232   # which are themselves conditionally expanded.
5233   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5234   ## other macros from doing the same.  This should be automated.)  -pme
5235
5236   # Check for C library flavor since GNU/Linux platforms use different
5237   # configuration directories depending on the C library in use.
5238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5239 /* end confdefs.h.  */
5240
5241   #include <stdio.h>
5242   #if __UCLIBC__
5243     _using_uclibc
5244   #endif
5245
5246 _ACEOF
5247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5248   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5249   uclibc=yes
5250 else
5251   uclibc=no
5252 fi
5253 rm -f conftest*
5254
5255
5256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5257 /* end confdefs.h.  */
5258
5259   #include <stdio.h>
5260   #if __BIONIC__
5261     _using_bionic
5262   #endif
5263
5264 _ACEOF
5265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5266   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5267   bionic=yes
5268 else
5269   bionic=no
5270 fi
5271 rm -f conftest*
5272
5273
5274   # Find platform-specific directories containing configuration info.
5275   # Also possibly modify flags used elsewhere, as needed by the platform.
5276
5277   . $glibcxx_srcdir/configure.host
5278   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5279 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5280   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5281 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5282
5283
5284
5285 # Libtool setup.
5286 if test "x${with_newlib}" != "xyes"; then
5287   enable_dlopen=yes
5288
5289
5290
5291 fi
5292 case `pwd` in
5293   *\ * | *\     *)
5294     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5295 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5296 esac
5297
5298
5299
5300 macro_version='2.2.7a'
5301 macro_revision='1.3134'
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315 ltmain="$ac_aux_dir/ltmain.sh"
5316
5317 # Backslashify metacharacters that are still active within
5318 # double-quoted strings.
5319 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5320
5321 # Same as above, but do not quote variable references.
5322 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5323
5324 # Sed substitution to delay expansion of an escaped shell variable in a
5325 # double_quote_subst'ed string.
5326 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5327
5328 # Sed substitution to delay expansion of an escaped single quote.
5329 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5330
5331 # Sed substitution to avoid accidental globbing in evaled expressions
5332 no_glob_subst='s/\*/\\\*/g'
5333
5334 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5335 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5336 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5337
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5339 $as_echo_n "checking how to print strings... " >&6; }
5340 # Test print first, because it will be a builtin if present.
5341 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5342    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5343   ECHO='print -r --'
5344 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5345   ECHO='printf %s\n'
5346 else
5347   # Use this function as a fallback that always works.
5348   func_fallback_echo ()
5349   {
5350     eval 'cat <<_LTECHO_EOF
5351 $1
5352 _LTECHO_EOF'
5353   }
5354   ECHO='func_fallback_echo'
5355 fi
5356
5357 # func_echo_all arg...
5358 # Invoke $ECHO with all args, space-separated.
5359 func_echo_all ()
5360 {
5361     $ECHO ""
5362 }
5363
5364 case "$ECHO" in
5365   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5366 $as_echo "printf" >&6; } ;;
5367   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5368 $as_echo "print -r" >&6; } ;;
5369   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5370 $as_echo "cat" >&6; } ;;
5371 esac
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5387 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5388 if test "${ac_cv_path_SED+set}" = set; then :
5389   $as_echo_n "(cached) " >&6
5390 else
5391             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5392      for ac_i in 1 2 3 4 5 6 7; do
5393        ac_script="$ac_script$as_nl$ac_script"
5394      done
5395      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5396      { ac_script=; unset ac_script;}
5397      if test -z "$SED"; then
5398   ac_path_SED_found=false
5399   # Loop through the user's path and test for each of PROGNAME-LIST
5400   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 for as_dir in $PATH
5402 do
5403   IFS=$as_save_IFS
5404   test -z "$as_dir" && as_dir=.
5405     for ac_prog in sed gsed; do
5406     for ac_exec_ext in '' $ac_executable_extensions; do
5407       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5408       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5409 # Check for GNU ac_path_SED and select it if it is found.
5410   # Check for GNU $ac_path_SED
5411 case `"$ac_path_SED" --version 2>&1` in
5412 *GNU*)
5413   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5414 *)
5415   ac_count=0
5416   $as_echo_n 0123456789 >"conftest.in"
5417   while :
5418   do
5419     cat "conftest.in" "conftest.in" >"conftest.tmp"
5420     mv "conftest.tmp" "conftest.in"
5421     cp "conftest.in" "conftest.nl"
5422     $as_echo '' >> "conftest.nl"
5423     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5424     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5425     as_fn_arith $ac_count + 1 && ac_count=$as_val
5426     if test $ac_count -gt ${ac_path_SED_max-0}; then
5427       # Best one so far, save it but keep looking for a better one
5428       ac_cv_path_SED="$ac_path_SED"
5429       ac_path_SED_max=$ac_count
5430     fi
5431     # 10*(2^10) chars as input seems more than enough
5432     test $ac_count -gt 10 && break
5433   done
5434   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5435 esac
5436
5437       $ac_path_SED_found && break 3
5438     done
5439   done
5440   done
5441 IFS=$as_save_IFS
5442   if test -z "$ac_cv_path_SED"; then
5443     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5444   fi
5445 else
5446   ac_cv_path_SED=$SED
5447 fi
5448
5449 fi
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5451 $as_echo "$ac_cv_path_SED" >&6; }
5452  SED="$ac_cv_path_SED"
5453   rm -f conftest.sed
5454
5455 test -z "$SED" && SED=sed
5456 Xsed="$SED -e 1s/^X//"
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5469 $as_echo_n "checking for fgrep... " >&6; }
5470 if test "${ac_cv_path_FGREP+set}" = set; then :
5471   $as_echo_n "(cached) " >&6
5472 else
5473   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5474    then ac_cv_path_FGREP="$GREP -F"
5475    else
5476      if test -z "$FGREP"; then
5477   ac_path_FGREP_found=false
5478   # Loop through the user's path and test for each of PROGNAME-LIST
5479   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5481 do
5482   IFS=$as_save_IFS
5483   test -z "$as_dir" && as_dir=.
5484     for ac_prog in fgrep; do
5485     for ac_exec_ext in '' $ac_executable_extensions; do
5486       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5487       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5488 # Check for GNU ac_path_FGREP and select it if it is found.
5489   # Check for GNU $ac_path_FGREP
5490 case `"$ac_path_FGREP" --version 2>&1` in
5491 *GNU*)
5492   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5493 *)
5494   ac_count=0
5495   $as_echo_n 0123456789 >"conftest.in"
5496   while :
5497   do
5498     cat "conftest.in" "conftest.in" >"conftest.tmp"
5499     mv "conftest.tmp" "conftest.in"
5500     cp "conftest.in" "conftest.nl"
5501     $as_echo 'FGREP' >> "conftest.nl"
5502     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5503     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5504     as_fn_arith $ac_count + 1 && ac_count=$as_val
5505     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5506       # Best one so far, save it but keep looking for a better one
5507       ac_cv_path_FGREP="$ac_path_FGREP"
5508       ac_path_FGREP_max=$ac_count
5509     fi
5510     # 10*(2^10) chars as input seems more than enough
5511     test $ac_count -gt 10 && break
5512   done
5513   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5514 esac
5515
5516       $ac_path_FGREP_found && break 3
5517     done
5518   done
5519   done
5520 IFS=$as_save_IFS
5521   if test -z "$ac_cv_path_FGREP"; then
5522     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5523   fi
5524 else
5525   ac_cv_path_FGREP=$FGREP
5526 fi
5527
5528    fi
5529 fi
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5531 $as_echo "$ac_cv_path_FGREP" >&6; }
5532  FGREP="$ac_cv_path_FGREP"
5533
5534
5535 test -z "$GREP" && GREP=grep
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555 # Check whether --with-gnu-ld was given.
5556 if test "${with_gnu_ld+set}" = set; then :
5557   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5558 else
5559   with_gnu_ld=no
5560 fi
5561
5562 ac_prog=ld
5563 if test "$GCC" = yes; then
5564   # Check if gcc -print-prog-name=ld gives a path.
5565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5566 $as_echo_n "checking for ld used by $CC... " >&6; }
5567   case $host in
5568   *-*-mingw*)
5569     # gcc leaves a trailing carriage return which upsets mingw
5570     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5571   *)
5572     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5573   esac
5574   case $ac_prog in
5575     # Accept absolute paths.
5576     [\\/]* | ?:[\\/]*)
5577       re_direlt='/[^/][^/]*/\.\./'
5578       # Canonicalize the pathname of ld
5579       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5580       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5581         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5582       done
5583       test -z "$LD" && LD="$ac_prog"
5584       ;;
5585   "")
5586     # If it fails, then pretend we aren't using GCC.
5587     ac_prog=ld
5588     ;;
5589   *)
5590     # If it is relative, then search for the first ld in PATH.
5591     with_gnu_ld=unknown
5592     ;;
5593   esac
5594 elif test "$with_gnu_ld" = yes; then
5595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5596 $as_echo_n "checking for GNU ld... " >&6; }
5597 else
5598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5599 $as_echo_n "checking for non-GNU ld... " >&6; }
5600 fi
5601 if test "${lt_cv_path_LD+set}" = set; then :
5602   $as_echo_n "(cached) " >&6
5603 else
5604   if test -z "$LD"; then
5605   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5606   for ac_dir in $PATH; do
5607     IFS="$lt_save_ifs"
5608     test -z "$ac_dir" && ac_dir=.
5609     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5610       lt_cv_path_LD="$ac_dir/$ac_prog"
5611       # Check to see if the program is GNU ld.  I'd rather use --version,
5612       # but apparently some variants of GNU ld only accept -v.
5613       # Break only if it was the GNU/non-GNU ld that we prefer.
5614       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5615       *GNU* | *'with BFD'*)
5616         test "$with_gnu_ld" != no && break
5617         ;;
5618       *)
5619         test "$with_gnu_ld" != yes && break
5620         ;;
5621       esac
5622     fi
5623   done
5624   IFS="$lt_save_ifs"
5625 else
5626   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5627 fi
5628 fi
5629
5630 LD="$lt_cv_path_LD"
5631 if test -n "$LD"; then
5632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5633 $as_echo "$LD" >&6; }
5634 else
5635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5637 fi
5638 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5640 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5641 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5642   $as_echo_n "(cached) " >&6
5643 else
5644   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5645 case `$LD -v 2>&1 </dev/null` in
5646 *GNU* | *'with BFD'*)
5647   lt_cv_prog_gnu_ld=yes
5648   ;;
5649 *)
5650   lt_cv_prog_gnu_ld=no
5651   ;;
5652 esac
5653 fi
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5655 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5656 with_gnu_ld=$lt_cv_prog_gnu_ld
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5667 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5668 if test "${lt_cv_path_NM+set}" = set; then :
5669   $as_echo_n "(cached) " >&6
5670 else
5671   if test -n "$NM"; then
5672   # Let the user override the test.
5673   lt_cv_path_NM="$NM"
5674 else
5675   lt_nm_to_check="${ac_tool_prefix}nm"
5676   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5677     lt_nm_to_check="$lt_nm_to_check nm"
5678   fi
5679   for lt_tmp_nm in $lt_nm_to_check; do
5680     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5681     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5682       IFS="$lt_save_ifs"
5683       test -z "$ac_dir" && ac_dir=.
5684       tmp_nm="$ac_dir/$lt_tmp_nm"
5685       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5686         # Check to see if the nm accepts a BSD-compat flag.
5687         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5688         #   nm: unknown option "B" ignored
5689         # Tru64's nm complains that /dev/null is an invalid object file
5690         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5691         */dev/null* | *'Invalid file or object type'*)
5692           lt_cv_path_NM="$tmp_nm -B"
5693           break
5694           ;;
5695         *)
5696           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5697           */dev/null*)
5698             lt_cv_path_NM="$tmp_nm -p"
5699             break
5700             ;;
5701           *)
5702             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5703             continue # so that we can try to find one that supports BSD flags
5704             ;;
5705           esac
5706           ;;
5707         esac
5708       fi
5709     done
5710     IFS="$lt_save_ifs"
5711   done
5712   : ${lt_cv_path_NM=no}
5713 fi
5714 fi
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5716 $as_echo "$lt_cv_path_NM" >&6; }
5717 if test "$lt_cv_path_NM" != "no"; then
5718   NM="$lt_cv_path_NM"
5719 else
5720   # Didn't find any BSD compatible name lister, look for dumpbin.
5721   if test -n "$DUMPBIN"; then :
5722     # Let the user override the test.
5723   else
5724     if test -n "$ac_tool_prefix"; then
5725   for ac_prog in dumpbin "link -dump"
5726   do
5727     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5728 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5732   $as_echo_n "(cached) " >&6
5733 else
5734   if test -n "$DUMPBIN"; then
5735   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5736 else
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $PATH
5739 do
5740   IFS=$as_save_IFS
5741   test -z "$as_dir" && as_dir=.
5742     for ac_exec_ext in '' $ac_executable_extensions; do
5743   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5744     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746     break 2
5747   fi
5748 done
5749   done
5750 IFS=$as_save_IFS
5751
5752 fi
5753 fi
5754 DUMPBIN=$ac_cv_prog_DUMPBIN
5755 if test -n "$DUMPBIN"; then
5756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5757 $as_echo "$DUMPBIN" >&6; }
5758 else
5759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5761 fi
5762
5763
5764     test -n "$DUMPBIN" && break
5765   done
5766 fi
5767 if test -z "$DUMPBIN"; then
5768   ac_ct_DUMPBIN=$DUMPBIN
5769   for ac_prog in dumpbin "link -dump"
5770 do
5771   # Extract the first word of "$ac_prog", so it can be a program name with args.
5772 set dummy $ac_prog; ac_word=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774 $as_echo_n "checking for $ac_word... " >&6; }
5775 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5776   $as_echo_n "(cached) " >&6
5777 else
5778   if test -n "$ac_ct_DUMPBIN"; then
5779   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5780 else
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5782 for as_dir in $PATH
5783 do
5784   IFS=$as_save_IFS
5785   test -z "$as_dir" && as_dir=.
5786     for ac_exec_ext in '' $ac_executable_extensions; do
5787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5788     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790     break 2
5791   fi
5792 done
5793   done
5794 IFS=$as_save_IFS
5795
5796 fi
5797 fi
5798 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5799 if test -n "$ac_ct_DUMPBIN"; then
5800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5801 $as_echo "$ac_ct_DUMPBIN" >&6; }
5802 else
5803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5804 $as_echo "no" >&6; }
5805 fi
5806
5807
5808   test -n "$ac_ct_DUMPBIN" && break
5809 done
5810
5811   if test "x$ac_ct_DUMPBIN" = x; then
5812     DUMPBIN=":"
5813   else
5814     case $cross_compiling:$ac_tool_warned in
5815 yes:)
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5818 ac_tool_warned=yes ;;
5819 esac
5820     DUMPBIN=$ac_ct_DUMPBIN
5821   fi
5822 fi
5823
5824     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5825     *COFF*)
5826       DUMPBIN="$DUMPBIN -symbols"
5827       ;;
5828     *)
5829       DUMPBIN=:
5830       ;;
5831     esac
5832   fi
5833
5834   if test "$DUMPBIN" != ":"; then
5835     NM="$DUMPBIN"
5836   fi
5837 fi
5838 test -z "$NM" && NM=nm
5839
5840
5841
5842
5843
5844
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5846 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5847 if test "${lt_cv_nm_interface+set}" = set; then :
5848   $as_echo_n "(cached) " >&6
5849 else
5850   lt_cv_nm_interface="BSD nm"
5851   echo "int some_variable = 0;" > conftest.$ac_ext
5852   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5853   (eval "$ac_compile" 2>conftest.err)
5854   cat conftest.err >&5
5855   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5856   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5857   cat conftest.err >&5
5858   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5859   cat conftest.out >&5
5860   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5861     lt_cv_nm_interface="MS dumpbin"
5862   fi
5863   rm -f conftest*
5864 fi
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5866 $as_echo "$lt_cv_nm_interface" >&6; }
5867
5868 # find the maximum length of command line arguments
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5870 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5871 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5872   $as_echo_n "(cached) " >&6
5873 else
5874     i=0
5875   teststring="ABCD"
5876
5877   case $build_os in
5878   msdosdjgpp*)
5879     # On DJGPP, this test can blow up pretty badly due to problems in libc
5880     # (any single argument exceeding 2000 bytes causes a buffer overrun
5881     # during glob expansion).  Even if it were fixed, the result of this
5882     # check would be larger than it should be.
5883     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5884     ;;
5885
5886   gnu*)
5887     # Under GNU Hurd, this test is not required because there is
5888     # no limit to the length of command line arguments.
5889     # Libtool will interpret -1 as no limit whatsoever
5890     lt_cv_sys_max_cmd_len=-1;
5891     ;;
5892
5893   cygwin* | mingw* | cegcc*)
5894     # On Win9x/ME, this test blows up -- it succeeds, but takes
5895     # about 5 minutes as the teststring grows exponentially.
5896     # Worse, since 9x/ME are not pre-emptively multitasking,
5897     # you end up with a "frozen" computer, even though with patience
5898     # the test eventually succeeds (with a max line length of 256k).
5899     # Instead, let's just punt: use the minimum linelength reported by
5900     # all of the supported platforms: 8192 (on NT/2K/XP).
5901     lt_cv_sys_max_cmd_len=8192;
5902     ;;
5903
5904   mint*)
5905     # On MiNT this can take a long time and run out of memory.
5906     lt_cv_sys_max_cmd_len=8192;
5907     ;;
5908
5909   amigaos*)
5910     # On AmigaOS with pdksh, this test takes hours, literally.
5911     # So we just punt and use a minimum line length of 8192.
5912     lt_cv_sys_max_cmd_len=8192;
5913     ;;
5914
5915   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5916     # This has been around since 386BSD, at least.  Likely further.
5917     if test -x /sbin/sysctl; then
5918       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5919     elif test -x /usr/sbin/sysctl; then
5920       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5921     else
5922       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5923     fi
5924     # And add a safety zone
5925     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5926     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5927     ;;
5928
5929   interix*)
5930     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5931     lt_cv_sys_max_cmd_len=196608
5932     ;;
5933
5934   osf*)
5935     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5936     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5937     # nice to cause kernel panics so lets avoid the loop below.
5938     # First set a reasonable default.
5939     lt_cv_sys_max_cmd_len=16384
5940     #
5941     if test -x /sbin/sysconfig; then
5942       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5943         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5944       esac
5945     fi
5946     ;;
5947   sco3.2v5*)
5948     lt_cv_sys_max_cmd_len=102400
5949     ;;
5950   sysv5* | sco5v6* | sysv4.2uw2*)
5951     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5952     if test -n "$kargmax"; then
5953       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5954     else
5955       lt_cv_sys_max_cmd_len=32768
5956     fi
5957     ;;
5958   *)
5959     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5960     if test -n "$lt_cv_sys_max_cmd_len"; then
5961       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5962       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5963     else
5964       # Make teststring a little bigger before we do anything with it.
5965       # a 1K string should be a reasonable start.
5966       for i in 1 2 3 4 5 6 7 8 ; do
5967         teststring=$teststring$teststring
5968       done
5969       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5970       # If test is not a shell built-in, we'll probably end up computing a
5971       # maximum length that is only half of the actual maximum length, but
5972       # we can't tell.
5973       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5974                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5975               test $i != 17 # 1/2 MB should be enough
5976       do
5977         i=`expr $i + 1`
5978         teststring=$teststring$teststring
5979       done
5980       # Only check the string length outside the loop.
5981       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5982       teststring=
5983       # Add a significant safety factor because C++ compilers can tack on
5984       # massive amounts of additional arguments before passing them to the
5985       # linker.  It appears as though 1/2 is a usable value.
5986       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5987     fi
5988     ;;
5989   esac
5990
5991 fi
5992
5993 if test -n $lt_cv_sys_max_cmd_len ; then
5994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5995 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5996 else
5997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5998 $as_echo "none" >&6; }
5999 fi
6000 max_cmd_len=$lt_cv_sys_max_cmd_len
6001
6002
6003
6004
6005
6006
6007 : ${CP="cp -f"}
6008 : ${MV="mv -f"}
6009 : ${RM="rm -f"}
6010
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6012 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6013 # Try some XSI features
6014 xsi_shell=no
6015 ( _lt_dummy="a/b/c"
6016   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6017       = c,a/b,, \
6018     && eval 'test $(( 1 + 1 )) -eq 2 \
6019     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6020   && xsi_shell=yes
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6022 $as_echo "$xsi_shell" >&6; }
6023
6024
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6026 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6027 lt_shell_append=no
6028 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6029     >/dev/null 2>&1 \
6030   && lt_shell_append=yes
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6032 $as_echo "$lt_shell_append" >&6; }
6033
6034
6035 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6036   lt_unset=unset
6037 else
6038   lt_unset=false
6039 fi
6040
6041
6042
6043
6044
6045 # test EBCDIC or ASCII
6046 case `echo X|tr X '\101'` in
6047  A) # ASCII based system
6048     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6049   lt_SP2NL='tr \040 \012'
6050   lt_NL2SP='tr \015\012 \040\040'
6051   ;;
6052  *) # EBCDIC based system
6053   lt_SP2NL='tr \100 \n'
6054   lt_NL2SP='tr \r\n \100\100'
6055   ;;
6056 esac
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6067 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6068 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6069   $as_echo_n "(cached) " >&6
6070 else
6071   lt_cv_ld_reload_flag='-r'
6072 fi
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6074 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6075 reload_flag=$lt_cv_ld_reload_flag
6076 case $reload_flag in
6077 "" | " "*) ;;
6078 *) reload_flag=" $reload_flag" ;;
6079 esac
6080 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6081 case $host_os in
6082   darwin*)
6083     if test "$GCC" = yes; then
6084       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6085     else
6086       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6087     fi
6088     ;;
6089 esac
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099 if test -n "$ac_tool_prefix"; then
6100   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6101 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6103 $as_echo_n "checking for $ac_word... " >&6; }
6104 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6105   $as_echo_n "(cached) " >&6
6106 else
6107   if test -n "$OBJDUMP"; then
6108   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6109 else
6110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6111 for as_dir in $PATH
6112 do
6113   IFS=$as_save_IFS
6114   test -z "$as_dir" && as_dir=.
6115     for ac_exec_ext in '' $ac_executable_extensions; do
6116   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6117     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6118     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6119     break 2
6120   fi
6121 done
6122   done
6123 IFS=$as_save_IFS
6124
6125 fi
6126 fi
6127 OBJDUMP=$ac_cv_prog_OBJDUMP
6128 if test -n "$OBJDUMP"; then
6129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6130 $as_echo "$OBJDUMP" >&6; }
6131 else
6132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133 $as_echo "no" >&6; }
6134 fi
6135
6136
6137 fi
6138 if test -z "$ac_cv_prog_OBJDUMP"; then
6139   ac_ct_OBJDUMP=$OBJDUMP
6140   # Extract the first word of "objdump", so it can be a program name with args.
6141 set dummy objdump; ac_word=$2
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6143 $as_echo_n "checking for $ac_word... " >&6; }
6144 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6145   $as_echo_n "(cached) " >&6
6146 else
6147   if test -n "$ac_ct_OBJDUMP"; then
6148   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6149 else
6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151 for as_dir in $PATH
6152 do
6153   IFS=$as_save_IFS
6154   test -z "$as_dir" && as_dir=.
6155     for ac_exec_ext in '' $ac_executable_extensions; do
6156   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6157     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6158     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6159     break 2
6160   fi
6161 done
6162   done
6163 IFS=$as_save_IFS
6164
6165 fi
6166 fi
6167 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6168 if test -n "$ac_ct_OBJDUMP"; then
6169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6170 $as_echo "$ac_ct_OBJDUMP" >&6; }
6171 else
6172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6173 $as_echo "no" >&6; }
6174 fi
6175
6176   if test "x$ac_ct_OBJDUMP" = x; then
6177     OBJDUMP="false"
6178   else
6179     case $cross_compiling:$ac_tool_warned in
6180 yes:)
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6183 ac_tool_warned=yes ;;
6184 esac
6185     OBJDUMP=$ac_ct_OBJDUMP
6186   fi
6187 else
6188   OBJDUMP="$ac_cv_prog_OBJDUMP"
6189 fi
6190
6191 test -z "$OBJDUMP" && OBJDUMP=objdump
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6202 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6203 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6204   $as_echo_n "(cached) " >&6
6205 else
6206   lt_cv_file_magic_cmd='$MAGIC_CMD'
6207 lt_cv_file_magic_test_file=
6208 lt_cv_deplibs_check_method='unknown'
6209 # Need to set the preceding variable on all platforms that support
6210 # interlibrary dependencies.
6211 # 'none' -- dependencies not supported.
6212 # `unknown' -- same as none, but documents that we really don't know.
6213 # 'pass_all' -- all dependencies passed with no checks.
6214 # 'test_compile' -- check by making test program.
6215 # 'file_magic [[regex]]' -- check by looking for files in library path
6216 # which responds to the $file_magic_cmd with a given extended regex.
6217 # If you have `file' or equivalent on your system and you're not sure
6218 # whether `pass_all' will *always* work, you probably want this one.
6219
6220 case $host_os in
6221 aix[4-9]*)
6222   lt_cv_deplibs_check_method=pass_all
6223   ;;
6224
6225 beos*)
6226   lt_cv_deplibs_check_method=pass_all
6227   ;;
6228
6229 bsdi[45]*)
6230   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6231   lt_cv_file_magic_cmd='/usr/bin/file -L'
6232   lt_cv_file_magic_test_file=/shlib/libc.so
6233   ;;
6234
6235 cygwin*)
6236   # func_win32_libid is a shell function defined in ltmain.sh
6237   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6238   lt_cv_file_magic_cmd='func_win32_libid'
6239   ;;
6240
6241 mingw* | pw32*)
6242   # Base MSYS/MinGW do not provide the 'file' command needed by
6243   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6244   # unless we find 'file', for example because we are cross-compiling.
6245   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6246   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6247     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6248     lt_cv_file_magic_cmd='func_win32_libid'
6249   else
6250     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6251     lt_cv_file_magic_cmd='$OBJDUMP -f'
6252   fi
6253   ;;
6254
6255 cegcc*)
6256   # use the weaker test based on 'objdump'. See mingw*.
6257   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6258   lt_cv_file_magic_cmd='$OBJDUMP -f'
6259   ;;
6260
6261 darwin* | rhapsody*)
6262   lt_cv_deplibs_check_method=pass_all
6263   ;;
6264
6265 freebsd* | dragonfly*)
6266   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6267     case $host_cpu in
6268     i*86 )
6269       # Not sure whether the presence of OpenBSD here was a mistake.
6270       # Let's accept both of them until this is cleared up.
6271       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6272       lt_cv_file_magic_cmd=/usr/bin/file
6273       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6274       ;;
6275     esac
6276   else
6277     lt_cv_deplibs_check_method=pass_all
6278   fi
6279   ;;
6280
6281 gnu*)
6282   lt_cv_deplibs_check_method=pass_all
6283   ;;
6284
6285 haiku*)
6286   lt_cv_deplibs_check_method=pass_all
6287   ;;
6288
6289 hpux10.20* | hpux11*)
6290   lt_cv_file_magic_cmd=/usr/bin/file
6291   case $host_cpu in
6292   ia64*)
6293     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6294     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6295     ;;
6296   hppa*64*)
6297     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]'
6298     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6299     ;;
6300   *)
6301     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6302     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6303     ;;
6304   esac
6305   ;;
6306
6307 interix[3-9]*)
6308   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6309   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6310   ;;
6311
6312 irix5* | irix6* | nonstopux*)
6313   case $LD in
6314   *-32|*"-32 ") libmagic=32-bit;;
6315   *-n32|*"-n32 ") libmagic=N32;;
6316   *-64|*"-64 ") libmagic=64-bit;;
6317   *) libmagic=never-match;;
6318   esac
6319   lt_cv_deplibs_check_method=pass_all
6320   ;;
6321
6322 # This must be Linux ELF.
6323 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6324   lt_cv_deplibs_check_method=pass_all
6325   ;;
6326
6327 netbsd*)
6328   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6329     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6330   else
6331     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6332   fi
6333   ;;
6334
6335 newos6*)
6336   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6337   lt_cv_file_magic_cmd=/usr/bin/file
6338   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6339   ;;
6340
6341 *nto* | *qnx*)
6342   lt_cv_deplibs_check_method=pass_all
6343   ;;
6344
6345 openbsd*)
6346   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6347     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6348   else
6349     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6350   fi
6351   ;;
6352
6353 osf3* | osf4* | osf5*)
6354   lt_cv_deplibs_check_method=pass_all
6355   ;;
6356
6357 rdos*)
6358   lt_cv_deplibs_check_method=pass_all
6359   ;;
6360
6361 solaris*)
6362   lt_cv_deplibs_check_method=pass_all
6363   ;;
6364
6365 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6366   lt_cv_deplibs_check_method=pass_all
6367   ;;
6368
6369 sysv4 | sysv4.3*)
6370   case $host_vendor in
6371   motorola)
6372     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]'
6373     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6374     ;;
6375   ncr)
6376     lt_cv_deplibs_check_method=pass_all
6377     ;;
6378   sequent)
6379     lt_cv_file_magic_cmd='/bin/file'
6380     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6381     ;;
6382   sni)
6383     lt_cv_file_magic_cmd='/bin/file'
6384     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6385     lt_cv_file_magic_test_file=/lib/libc.so
6386     ;;
6387   siemens)
6388     lt_cv_deplibs_check_method=pass_all
6389     ;;
6390   pc)
6391     lt_cv_deplibs_check_method=pass_all
6392     ;;
6393   esac
6394   ;;
6395
6396 tpf*)
6397   lt_cv_deplibs_check_method=pass_all
6398   ;;
6399 esac
6400
6401 fi
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6403 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6404 file_magic_cmd=$lt_cv_file_magic_cmd
6405 deplibs_check_method=$lt_cv_deplibs_check_method
6406 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419 if test -n "$ac_tool_prefix"; then
6420   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6421 set dummy ${ac_tool_prefix}ar; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if test "${ac_cv_prog_AR+set}" = set; then :
6425   $as_echo_n "(cached) " >&6
6426 else
6427   if test -n "$AR"; then
6428   ac_cv_prog_AR="$AR" # Let the user override the test.
6429 else
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 for as_dir in $PATH
6432 do
6433   IFS=$as_save_IFS
6434   test -z "$as_dir" && as_dir=.
6435     for ac_exec_ext in '' $ac_executable_extensions; do
6436   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6437     ac_cv_prog_AR="${ac_tool_prefix}ar"
6438     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439     break 2
6440   fi
6441 done
6442   done
6443 IFS=$as_save_IFS
6444
6445 fi
6446 fi
6447 AR=$ac_cv_prog_AR
6448 if test -n "$AR"; then
6449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6450 $as_echo "$AR" >&6; }
6451 else
6452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453 $as_echo "no" >&6; }
6454 fi
6455
6456
6457 fi
6458 if test -z "$ac_cv_prog_AR"; then
6459   ac_ct_AR=$AR
6460   # Extract the first word of "ar", so it can be a program name with args.
6461 set dummy ar; ac_word=$2
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6463 $as_echo_n "checking for $ac_word... " >&6; }
6464 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6465   $as_echo_n "(cached) " >&6
6466 else
6467   if test -n "$ac_ct_AR"; then
6468   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6469 else
6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6471 for as_dir in $PATH
6472 do
6473   IFS=$as_save_IFS
6474   test -z "$as_dir" && as_dir=.
6475     for ac_exec_ext in '' $ac_executable_extensions; do
6476   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6477     ac_cv_prog_ac_ct_AR="ar"
6478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479     break 2
6480   fi
6481 done
6482   done
6483 IFS=$as_save_IFS
6484
6485 fi
6486 fi
6487 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6488 if test -n "$ac_ct_AR"; then
6489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6490 $as_echo "$ac_ct_AR" >&6; }
6491 else
6492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6493 $as_echo "no" >&6; }
6494 fi
6495
6496   if test "x$ac_ct_AR" = x; then
6497     AR="false"
6498   else
6499     case $cross_compiling:$ac_tool_warned in
6500 yes:)
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6503 ac_tool_warned=yes ;;
6504 esac
6505     AR=$ac_ct_AR
6506   fi
6507 else
6508   AR="$ac_cv_prog_AR"
6509 fi
6510
6511 test -z "$AR" && AR=ar
6512 test -z "$AR_FLAGS" && AR_FLAGS=cru
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524 if test -n "$ac_tool_prefix"; then
6525   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6526 set dummy ${ac_tool_prefix}strip; ac_word=$2
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6528 $as_echo_n "checking for $ac_word... " >&6; }
6529 if test "${ac_cv_prog_STRIP+set}" = set; then :
6530   $as_echo_n "(cached) " >&6
6531 else
6532   if test -n "$STRIP"; then
6533   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6534 else
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6536 for as_dir in $PATH
6537 do
6538   IFS=$as_save_IFS
6539   test -z "$as_dir" && as_dir=.
6540     for ac_exec_ext in '' $ac_executable_extensions; do
6541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6542     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6544     break 2
6545   fi
6546 done
6547   done
6548 IFS=$as_save_IFS
6549
6550 fi
6551 fi
6552 STRIP=$ac_cv_prog_STRIP
6553 if test -n "$STRIP"; then
6554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6555 $as_echo "$STRIP" >&6; }
6556 else
6557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6558 $as_echo "no" >&6; }
6559 fi
6560
6561
6562 fi
6563 if test -z "$ac_cv_prog_STRIP"; then
6564   ac_ct_STRIP=$STRIP
6565   # Extract the first word of "strip", so it can be a program name with args.
6566 set dummy strip; ac_word=$2
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6568 $as_echo_n "checking for $ac_word... " >&6; }
6569 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6570   $as_echo_n "(cached) " >&6
6571 else
6572   if test -n "$ac_ct_STRIP"; then
6573   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6574 else
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576 for as_dir in $PATH
6577 do
6578   IFS=$as_save_IFS
6579   test -z "$as_dir" && as_dir=.
6580     for ac_exec_ext in '' $ac_executable_extensions; do
6581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6582     ac_cv_prog_ac_ct_STRIP="strip"
6583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6584     break 2
6585   fi
6586 done
6587   done
6588 IFS=$as_save_IFS
6589
6590 fi
6591 fi
6592 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6593 if test -n "$ac_ct_STRIP"; then
6594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6595 $as_echo "$ac_ct_STRIP" >&6; }
6596 else
6597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6598 $as_echo "no" >&6; }
6599 fi
6600
6601   if test "x$ac_ct_STRIP" = x; then
6602     STRIP=":"
6603   else
6604     case $cross_compiling:$ac_tool_warned in
6605 yes:)
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6608 ac_tool_warned=yes ;;
6609 esac
6610     STRIP=$ac_ct_STRIP
6611   fi
6612 else
6613   STRIP="$ac_cv_prog_STRIP"
6614 fi
6615
6616 test -z "$STRIP" && STRIP=:
6617
6618
6619
6620
6621
6622
6623 if test -n "$ac_tool_prefix"; then
6624   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6625 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 $as_echo_n "checking for $ac_word... " >&6; }
6628 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6629   $as_echo_n "(cached) " >&6
6630 else
6631   if test -n "$RANLIB"; then
6632   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6633 else
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6635 for as_dir in $PATH
6636 do
6637   IFS=$as_save_IFS
6638   test -z "$as_dir" && as_dir=.
6639     for ac_exec_ext in '' $ac_executable_extensions; do
6640   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6641     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643     break 2
6644   fi
6645 done
6646   done
6647 IFS=$as_save_IFS
6648
6649 fi
6650 fi
6651 RANLIB=$ac_cv_prog_RANLIB
6652 if test -n "$RANLIB"; then
6653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6654 $as_echo "$RANLIB" >&6; }
6655 else
6656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 $as_echo "no" >&6; }
6658 fi
6659
6660
6661 fi
6662 if test -z "$ac_cv_prog_RANLIB"; then
6663   ac_ct_RANLIB=$RANLIB
6664   # Extract the first word of "ranlib", so it can be a program name with args.
6665 set dummy ranlib; ac_word=$2
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667 $as_echo_n "checking for $ac_word... " >&6; }
6668 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6669   $as_echo_n "(cached) " >&6
6670 else
6671   if test -n "$ac_ct_RANLIB"; then
6672   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6673 else
6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6675 for as_dir in $PATH
6676 do
6677   IFS=$as_save_IFS
6678   test -z "$as_dir" && as_dir=.
6679     for ac_exec_ext in '' $ac_executable_extensions; do
6680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6681     ac_cv_prog_ac_ct_RANLIB="ranlib"
6682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683     break 2
6684   fi
6685 done
6686   done
6687 IFS=$as_save_IFS
6688
6689 fi
6690 fi
6691 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6692 if test -n "$ac_ct_RANLIB"; then
6693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6694 $as_echo "$ac_ct_RANLIB" >&6; }
6695 else
6696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 $as_echo "no" >&6; }
6698 fi
6699
6700   if test "x$ac_ct_RANLIB" = x; then
6701     RANLIB=":"
6702   else
6703     case $cross_compiling:$ac_tool_warned in
6704 yes:)
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6707 ac_tool_warned=yes ;;
6708 esac
6709     RANLIB=$ac_ct_RANLIB
6710   fi
6711 else
6712   RANLIB="$ac_cv_prog_RANLIB"
6713 fi
6714
6715 test -z "$RANLIB" && RANLIB=:
6716
6717
6718
6719
6720
6721
6722 # Determine commands to create old-style static archives.
6723 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6724 old_postinstall_cmds='chmod 644 $oldlib'
6725 old_postuninstall_cmds=
6726
6727 if test -n "$RANLIB"; then
6728   case $host_os in
6729   openbsd*)
6730     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6731     ;;
6732   *)
6733     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6734     ;;
6735   esac
6736   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6737 fi
6738
6739 case $host_os in
6740   darwin*)
6741     lock_old_archive_extraction=yes ;;
6742   *)
6743     lock_old_archive_extraction=no ;;
6744 esac
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
6782
6783
6784 # If no C compiler was specified, use CC.
6785 LTCC=${LTCC-"$CC"}
6786
6787 # If no C compiler flags were specified, use CFLAGS.
6788 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6789
6790 # Allow CC to be a program name with arguments.
6791 compiler=$CC
6792
6793
6794 # Check for command to grab the raw symbol name followed by C symbol from nm.
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6796 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6797 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6798   $as_echo_n "(cached) " >&6
6799 else
6800
6801 # These are sane defaults that work on at least a few old systems.
6802 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6803
6804 # Character class describing NM global symbol codes.
6805 symcode='[BCDEGRST]'
6806
6807 # Regexp to match symbols that can be accessed directly from C.
6808 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6809
6810 # Define system-specific variables.
6811 case $host_os in
6812 aix*)
6813   symcode='[BCDT]'
6814   ;;
6815 cygwin* | mingw* | pw32* | cegcc*)
6816   symcode='[ABCDGISTW]'
6817   ;;
6818 hpux*)
6819   if test "$host_cpu" = ia64; then
6820     symcode='[ABCDEGRST]'
6821   fi
6822   ;;
6823 irix* | nonstopux*)
6824   symcode='[BCDEGRST]'
6825   ;;
6826 osf*)
6827   symcode='[BCDEGQRST]'
6828   ;;
6829 solaris*)
6830   symcode='[BDRT]'
6831   ;;
6832 sco3.2v5*)
6833   symcode='[DT]'
6834   ;;
6835 sysv4.2uw2*)
6836   symcode='[DT]'
6837   ;;
6838 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6839   symcode='[ABDT]'
6840   ;;
6841 sysv4)
6842   symcode='[DFNSTU]'
6843   ;;
6844 esac
6845
6846 # If we're using GNU nm, then use its standard symbol codes.
6847 case `$NM -V 2>&1` in
6848 *GNU* | *'with BFD'*)
6849   symcode='[ABCDGIRSTW]' ;;
6850 esac
6851
6852 # Transform an extracted symbol line into a proper C declaration.
6853 # Some systems (esp. on ia64) link data and code symbols differently,
6854 # so use this general approach.
6855 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6856
6857 # Transform an extracted symbol line into symbol name and symbol address
6858 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6859 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'"
6860
6861 # Handle CRLF in mingw tool chain
6862 opt_cr=
6863 case $build_os in
6864 mingw*)
6865   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6866   ;;
6867 esac
6868
6869 # Try without a prefix underscore, then with it.
6870 for ac_symprfx in "" "_"; do
6871
6872   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6873   symxfrm="\\1 $ac_symprfx\\2 \\2"
6874
6875   # Write the raw and C identifiers.
6876   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6877     # Fake it for dumpbin and say T for any non-static function
6878     # and D for any global variable.
6879     # Also find C++ and __fastcall symbols from MSVC++,
6880     # which start with @ or ?.
6881     lt_cv_sys_global_symbol_pipe="$AWK '"\
6882 "     {last_section=section; section=\$ 3};"\
6883 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6884 "     \$ 0!~/External *\|/{next};"\
6885 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6886 "     {if(hide[section]) next};"\
6887 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6888 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6889 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6890 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6891 "     ' prfx=^$ac_symprfx"
6892   else
6893     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6894   fi
6895
6896   # Check to see that the pipe works correctly.
6897   pipe_works=no
6898
6899   rm -f conftest*
6900   cat > conftest.$ac_ext <<_LT_EOF
6901 #ifdef __cplusplus
6902 extern "C" {
6903 #endif
6904 char nm_test_var;
6905 void nm_test_func(void);
6906 void nm_test_func(void){}
6907 #ifdef __cplusplus
6908 }
6909 #endif
6910 int main(){nm_test_var='a';nm_test_func();return(0);}
6911 _LT_EOF
6912
6913   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6914   (eval $ac_compile) 2>&5
6915   ac_status=$?
6916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6917   test $ac_status = 0; }; then
6918     # Now try to grab the symbols.
6919     nlist=conftest.nm
6920     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6921   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6922   ac_status=$?
6923   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6924   test $ac_status = 0; } && test -s "$nlist"; then
6925       # Try sorting and uniquifying the output.
6926       if sort "$nlist" | uniq > "$nlist"T; then
6927         mv -f "$nlist"T "$nlist"
6928       else
6929         rm -f "$nlist"T
6930       fi
6931
6932       # Make sure that we snagged all the symbols we need.
6933       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6934         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6935           cat <<_LT_EOF > conftest.$ac_ext
6936 #ifdef __cplusplus
6937 extern "C" {
6938 #endif
6939
6940 _LT_EOF
6941           # Now generate the symbol file.
6942           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6943
6944           cat <<_LT_EOF >> conftest.$ac_ext
6945
6946 /* The mapping between symbol names and symbols.  */
6947 const struct {
6948   const char *name;
6949   void       *address;
6950 }
6951 lt__PROGRAM__LTX_preloaded_symbols[] =
6952 {
6953   { "@PROGRAM@", (void *) 0 },
6954 _LT_EOF
6955           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6956           cat <<\_LT_EOF >> conftest.$ac_ext
6957   {0, (void *) 0}
6958 };
6959
6960 /* This works around a problem in FreeBSD linker */
6961 #ifdef FREEBSD_WORKAROUND
6962 static const void *lt_preloaded_setup() {
6963   return lt__PROGRAM__LTX_preloaded_symbols;
6964 }
6965 #endif
6966
6967 #ifdef __cplusplus
6968 }
6969 #endif
6970 _LT_EOF
6971           # Now try linking the two files.
6972           mv conftest.$ac_objext conftstm.$ac_objext
6973           lt_save_LIBS="$LIBS"
6974           lt_save_CFLAGS="$CFLAGS"
6975           LIBS="conftstm.$ac_objext"
6976           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6977           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6978   (eval $ac_link) 2>&5
6979   ac_status=$?
6980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6981   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6982             pipe_works=yes
6983           fi
6984           LIBS="$lt_save_LIBS"
6985           CFLAGS="$lt_save_CFLAGS"
6986         else
6987           echo "cannot find nm_test_func in $nlist" >&5
6988         fi
6989       else
6990         echo "cannot find nm_test_var in $nlist" >&5
6991       fi
6992     else
6993       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6994     fi
6995   else
6996     echo "$progname: failed program was:" >&5
6997     cat conftest.$ac_ext >&5
6998   fi
6999   rm -rf conftest* conftst*
7000
7001   # Do not use the global_symbol_pipe unless it works.
7002   if test "$pipe_works" = yes; then
7003     break
7004   else
7005     lt_cv_sys_global_symbol_pipe=
7006   fi
7007 done
7008
7009 fi
7010
7011 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7012   lt_cv_sys_global_symbol_to_cdecl=
7013 fi
7014 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7016 $as_echo "failed" >&6; }
7017 else
7018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7019 $as_echo "ok" >&6; }
7020 fi
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043 # Check whether --enable-libtool-lock was given.
7044 if test "${enable_libtool_lock+set}" = set; then :
7045   enableval=$enable_libtool_lock;
7046 fi
7047
7048 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7049
7050 # Some flags need to be propagated to the compiler or linker for good
7051 # libtool support.
7052 case $host in
7053 ia64-*-hpux*)
7054   # Find out which ABI we are using.
7055   echo 'int i;' > conftest.$ac_ext
7056   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7057   (eval $ac_compile) 2>&5
7058   ac_status=$?
7059   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7060   test $ac_status = 0; }; then
7061     case `/usr/bin/file conftest.$ac_objext` in
7062       *ELF-32*)
7063         HPUX_IA64_MODE="32"
7064         ;;
7065       *ELF-64*)
7066         HPUX_IA64_MODE="64"
7067         ;;
7068     esac
7069   fi
7070   rm -rf conftest*
7071   ;;
7072 *-*-irix6*)
7073   # Find out which ABI we are using.
7074   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7075   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7076   (eval $ac_compile) 2>&5
7077   ac_status=$?
7078   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7079   test $ac_status = 0; }; then
7080     if test "$lt_cv_prog_gnu_ld" = yes; then
7081       case `/usr/bin/file conftest.$ac_objext` in
7082         *32-bit*)
7083           LD="${LD-ld} -melf32bsmip"
7084           ;;
7085         *N32*)
7086           LD="${LD-ld} -melf32bmipn32"
7087           ;;
7088         *64-bit*)
7089           LD="${LD-ld} -melf64bmip"
7090         ;;
7091       esac
7092     else
7093       case `/usr/bin/file conftest.$ac_objext` in
7094         *32-bit*)
7095           LD="${LD-ld} -32"
7096           ;;
7097         *N32*)
7098           LD="${LD-ld} -n32"
7099           ;;
7100         *64-bit*)
7101           LD="${LD-ld} -64"
7102           ;;
7103       esac
7104     fi
7105   fi
7106   rm -rf conftest*
7107   ;;
7108
7109 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7110 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7111   # Find out which ABI we are using.
7112   echo 'int i;' > conftest.$ac_ext
7113   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7114   (eval $ac_compile) 2>&5
7115   ac_status=$?
7116   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7117   test $ac_status = 0; }; then
7118     case `/usr/bin/file conftest.o` in
7119       *32-bit*)
7120         case $host in
7121           x86_64-*kfreebsd*-gnu)
7122             LD="${LD-ld} -m elf_i386_fbsd"
7123             ;;
7124           x86_64-*linux*)
7125             LD="${LD-ld} -m elf_i386"
7126             ;;
7127           ppc64-*linux*|powerpc64-*linux*)
7128             LD="${LD-ld} -m elf32ppclinux"
7129             ;;
7130           s390x-*linux*)
7131             LD="${LD-ld} -m elf_s390"
7132             ;;
7133           sparc64-*linux*)
7134             LD="${LD-ld} -m elf32_sparc"
7135             ;;
7136         esac
7137         ;;
7138       *64-bit*)
7139         case $host in
7140           x86_64-*kfreebsd*-gnu)
7141             LD="${LD-ld} -m elf_x86_64_fbsd"
7142             ;;
7143           x86_64-*linux*)
7144             LD="${LD-ld} -m elf_x86_64"
7145             ;;
7146           ppc*-*linux*|powerpc*-*linux*)
7147             LD="${LD-ld} -m elf64ppc"
7148             ;;
7149           s390*-*linux*|s390*-*tpf*)
7150             LD="${LD-ld} -m elf64_s390"
7151             ;;
7152           sparc*-*linux*)
7153             LD="${LD-ld} -m elf64_sparc"
7154             ;;
7155         esac
7156         ;;
7157     esac
7158   fi
7159   rm -rf conftest*
7160   ;;
7161
7162 *-*-sco3.2v5*)
7163   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7164   SAVE_CFLAGS="$CFLAGS"
7165   CFLAGS="$CFLAGS -belf"
7166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7167 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7168 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7169   $as_echo_n "(cached) " >&6
7170 else
7171   ac_ext=c
7172 ac_cpp='$CPP $CPPFLAGS'
7173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7176
7177      if test x$gcc_no_link = xyes; then
7178   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7179 fi
7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7181 /* end confdefs.h.  */
7182
7183 int
7184 main ()
7185 {
7186
7187   ;
7188   return 0;
7189 }
7190 _ACEOF
7191 if ac_fn_c_try_link "$LINENO"; then :
7192   lt_cv_cc_needs_belf=yes
7193 else
7194   lt_cv_cc_needs_belf=no
7195 fi
7196 rm -f core conftest.err conftest.$ac_objext \
7197     conftest$ac_exeext conftest.$ac_ext
7198      ac_ext=c
7199 ac_cpp='$CPP $CPPFLAGS'
7200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7203
7204 fi
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7206 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7207   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7208     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7209     CFLAGS="$SAVE_CFLAGS"
7210   fi
7211   ;;
7212 sparc*-*solaris*)
7213   # Find out which ABI we are using.
7214   echo 'int i;' > conftest.$ac_ext
7215   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7216   (eval $ac_compile) 2>&5
7217   ac_status=$?
7218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7219   test $ac_status = 0; }; then
7220     case `/usr/bin/file conftest.o` in
7221     *64-bit*)
7222       case $lt_cv_prog_gnu_ld in
7223       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7224       *)
7225         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7226           LD="${LD-ld} -64"
7227         fi
7228         ;;
7229       esac
7230       ;;
7231     esac
7232   fi
7233   rm -rf conftest*
7234   ;;
7235 esac
7236
7237 need_locks="$enable_libtool_lock"
7238
7239
7240   case $host_os in
7241     rhapsody* | darwin*)
7242     if test -n "$ac_tool_prefix"; then
7243   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7244 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 $as_echo_n "checking for $ac_word... " >&6; }
7247 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7248   $as_echo_n "(cached) " >&6
7249 else
7250   if test -n "$DSYMUTIL"; then
7251   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7252 else
7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 for as_dir in $PATH
7255 do
7256   IFS=$as_save_IFS
7257   test -z "$as_dir" && as_dir=.
7258     for ac_exec_ext in '' $ac_executable_extensions; do
7259   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7260     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7262     break 2
7263   fi
7264 done
7265   done
7266 IFS=$as_save_IFS
7267
7268 fi
7269 fi
7270 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7271 if test -n "$DSYMUTIL"; then
7272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7273 $as_echo "$DSYMUTIL" >&6; }
7274 else
7275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276 $as_echo "no" >&6; }
7277 fi
7278
7279
7280 fi
7281 if test -z "$ac_cv_prog_DSYMUTIL"; then
7282   ac_ct_DSYMUTIL=$DSYMUTIL
7283   # Extract the first word of "dsymutil", so it can be a program name with args.
7284 set dummy dsymutil; ac_word=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 $as_echo_n "checking for $ac_word... " >&6; }
7287 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7288   $as_echo_n "(cached) " >&6
7289 else
7290   if test -n "$ac_ct_DSYMUTIL"; then
7291   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7292 else
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 for as_dir in $PATH
7295 do
7296   IFS=$as_save_IFS
7297   test -z "$as_dir" && as_dir=.
7298     for ac_exec_ext in '' $ac_executable_extensions; do
7299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7300     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302     break 2
7303   fi
7304 done
7305   done
7306 IFS=$as_save_IFS
7307
7308 fi
7309 fi
7310 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7311 if test -n "$ac_ct_DSYMUTIL"; then
7312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7313 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7314 else
7315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 $as_echo "no" >&6; }
7317 fi
7318
7319   if test "x$ac_ct_DSYMUTIL" = x; then
7320     DSYMUTIL=":"
7321   else
7322     case $cross_compiling:$ac_tool_warned in
7323 yes:)
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7326 ac_tool_warned=yes ;;
7327 esac
7328     DSYMUTIL=$ac_ct_DSYMUTIL
7329   fi
7330 else
7331   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7332 fi
7333
7334     if test -n "$ac_tool_prefix"; then
7335   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7336 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7338 $as_echo_n "checking for $ac_word... " >&6; }
7339 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7340   $as_echo_n "(cached) " >&6
7341 else
7342   if test -n "$NMEDIT"; then
7343   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7344 else
7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 for as_dir in $PATH
7347 do
7348   IFS=$as_save_IFS
7349   test -z "$as_dir" && as_dir=.
7350     for ac_exec_ext in '' $ac_executable_extensions; do
7351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7352     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7354     break 2
7355   fi
7356 done
7357   done
7358 IFS=$as_save_IFS
7359
7360 fi
7361 fi
7362 NMEDIT=$ac_cv_prog_NMEDIT
7363 if test -n "$NMEDIT"; then
7364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7365 $as_echo "$NMEDIT" >&6; }
7366 else
7367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7369 fi
7370
7371
7372 fi
7373 if test -z "$ac_cv_prog_NMEDIT"; then
7374   ac_ct_NMEDIT=$NMEDIT
7375   # Extract the first word of "nmedit", so it can be a program name with args.
7376 set dummy nmedit; ac_word=$2
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7378 $as_echo_n "checking for $ac_word... " >&6; }
7379 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7380   $as_echo_n "(cached) " >&6
7381 else
7382   if test -n "$ac_ct_NMEDIT"; then
7383   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7384 else
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 for as_dir in $PATH
7387 do
7388   IFS=$as_save_IFS
7389   test -z "$as_dir" && as_dir=.
7390     for ac_exec_ext in '' $ac_executable_extensions; do
7391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7392     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7393     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7394     break 2
7395   fi
7396 done
7397   done
7398 IFS=$as_save_IFS
7399
7400 fi
7401 fi
7402 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7403 if test -n "$ac_ct_NMEDIT"; then
7404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7405 $as_echo "$ac_ct_NMEDIT" >&6; }
7406 else
7407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 $as_echo "no" >&6; }
7409 fi
7410
7411   if test "x$ac_ct_NMEDIT" = x; then
7412     NMEDIT=":"
7413   else
7414     case $cross_compiling:$ac_tool_warned in
7415 yes:)
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7418 ac_tool_warned=yes ;;
7419 esac
7420     NMEDIT=$ac_ct_NMEDIT
7421   fi
7422 else
7423   NMEDIT="$ac_cv_prog_NMEDIT"
7424 fi
7425
7426     if test -n "$ac_tool_prefix"; then
7427   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7428 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430 $as_echo_n "checking for $ac_word... " >&6; }
7431 if test "${ac_cv_prog_LIPO+set}" = set; then :
7432   $as_echo_n "(cached) " >&6
7433 else
7434   if test -n "$LIPO"; then
7435   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7436 else
7437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 for as_dir in $PATH
7439 do
7440   IFS=$as_save_IFS
7441   test -z "$as_dir" && as_dir=.
7442     for ac_exec_ext in '' $ac_executable_extensions; do
7443   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7444     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7445     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446     break 2
7447   fi
7448 done
7449   done
7450 IFS=$as_save_IFS
7451
7452 fi
7453 fi
7454 LIPO=$ac_cv_prog_LIPO
7455 if test -n "$LIPO"; then
7456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7457 $as_echo "$LIPO" >&6; }
7458 else
7459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7461 fi
7462
7463
7464 fi
7465 if test -z "$ac_cv_prog_LIPO"; then
7466   ac_ct_LIPO=$LIPO
7467   # Extract the first word of "lipo", so it can be a program name with args.
7468 set dummy lipo; ac_word=$2
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7470 $as_echo_n "checking for $ac_word... " >&6; }
7471 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7472   $as_echo_n "(cached) " >&6
7473 else
7474   if test -n "$ac_ct_LIPO"; then
7475   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7476 else
7477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 for as_dir in $PATH
7479 do
7480   IFS=$as_save_IFS
7481   test -z "$as_dir" && as_dir=.
7482     for ac_exec_ext in '' $ac_executable_extensions; do
7483   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7484     ac_cv_prog_ac_ct_LIPO="lipo"
7485     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486     break 2
7487   fi
7488 done
7489   done
7490 IFS=$as_save_IFS
7491
7492 fi
7493 fi
7494 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7495 if test -n "$ac_ct_LIPO"; then
7496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7497 $as_echo "$ac_ct_LIPO" >&6; }
7498 else
7499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7500 $as_echo "no" >&6; }
7501 fi
7502
7503   if test "x$ac_ct_LIPO" = x; then
7504     LIPO=":"
7505   else
7506     case $cross_compiling:$ac_tool_warned in
7507 yes:)
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7510 ac_tool_warned=yes ;;
7511 esac
7512     LIPO=$ac_ct_LIPO
7513   fi
7514 else
7515   LIPO="$ac_cv_prog_LIPO"
7516 fi
7517
7518     if test -n "$ac_tool_prefix"; then
7519   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7520 set dummy ${ac_tool_prefix}otool; ac_word=$2
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7522 $as_echo_n "checking for $ac_word... " >&6; }
7523 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7524   $as_echo_n "(cached) " >&6
7525 else
7526   if test -n "$OTOOL"; then
7527   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7528 else
7529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7530 for as_dir in $PATH
7531 do
7532   IFS=$as_save_IFS
7533   test -z "$as_dir" && as_dir=.
7534     for ac_exec_ext in '' $ac_executable_extensions; do
7535   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7536     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7537     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7538     break 2
7539   fi
7540 done
7541   done
7542 IFS=$as_save_IFS
7543
7544 fi
7545 fi
7546 OTOOL=$ac_cv_prog_OTOOL
7547 if test -n "$OTOOL"; then
7548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7549 $as_echo "$OTOOL" >&6; }
7550 else
7551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7552 $as_echo "no" >&6; }
7553 fi
7554
7555
7556 fi
7557 if test -z "$ac_cv_prog_OTOOL"; then
7558   ac_ct_OTOOL=$OTOOL
7559   # Extract the first word of "otool", so it can be a program name with args.
7560 set dummy otool; ac_word=$2
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7562 $as_echo_n "checking for $ac_word... " >&6; }
7563 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7564   $as_echo_n "(cached) " >&6
7565 else
7566   if test -n "$ac_ct_OTOOL"; then
7567   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7568 else
7569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7570 for as_dir in $PATH
7571 do
7572   IFS=$as_save_IFS
7573   test -z "$as_dir" && as_dir=.
7574     for ac_exec_ext in '' $ac_executable_extensions; do
7575   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7576     ac_cv_prog_ac_ct_OTOOL="otool"
7577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7578     break 2
7579   fi
7580 done
7581   done
7582 IFS=$as_save_IFS
7583
7584 fi
7585 fi
7586 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7587 if test -n "$ac_ct_OTOOL"; then
7588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7589 $as_echo "$ac_ct_OTOOL" >&6; }
7590 else
7591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7592 $as_echo "no" >&6; }
7593 fi
7594
7595   if test "x$ac_ct_OTOOL" = x; then
7596     OTOOL=":"
7597   else
7598     case $cross_compiling:$ac_tool_warned in
7599 yes:)
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7602 ac_tool_warned=yes ;;
7603 esac
7604     OTOOL=$ac_ct_OTOOL
7605   fi
7606 else
7607   OTOOL="$ac_cv_prog_OTOOL"
7608 fi
7609
7610     if test -n "$ac_tool_prefix"; then
7611   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7612 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7614 $as_echo_n "checking for $ac_word... " >&6; }
7615 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7616   $as_echo_n "(cached) " >&6
7617 else
7618   if test -n "$OTOOL64"; then
7619   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7620 else
7621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7622 for as_dir in $PATH
7623 do
7624   IFS=$as_save_IFS
7625   test -z "$as_dir" && as_dir=.
7626     for ac_exec_ext in '' $ac_executable_extensions; do
7627   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7628     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7630     break 2
7631   fi
7632 done
7633   done
7634 IFS=$as_save_IFS
7635
7636 fi
7637 fi
7638 OTOOL64=$ac_cv_prog_OTOOL64
7639 if test -n "$OTOOL64"; then
7640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7641 $as_echo "$OTOOL64" >&6; }
7642 else
7643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7644 $as_echo "no" >&6; }
7645 fi
7646
7647
7648 fi
7649 if test -z "$ac_cv_prog_OTOOL64"; then
7650   ac_ct_OTOOL64=$OTOOL64
7651   # Extract the first word of "otool64", so it can be a program name with args.
7652 set dummy otool64; ac_word=$2
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7654 $as_echo_n "checking for $ac_word... " >&6; }
7655 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7656   $as_echo_n "(cached) " >&6
7657 else
7658   if test -n "$ac_ct_OTOOL64"; then
7659   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7660 else
7661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7662 for as_dir in $PATH
7663 do
7664   IFS=$as_save_IFS
7665   test -z "$as_dir" && as_dir=.
7666     for ac_exec_ext in '' $ac_executable_extensions; do
7667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7668     ac_cv_prog_ac_ct_OTOOL64="otool64"
7669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7670     break 2
7671   fi
7672 done
7673   done
7674 IFS=$as_save_IFS
7675
7676 fi
7677 fi
7678 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7679 if test -n "$ac_ct_OTOOL64"; then
7680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7681 $as_echo "$ac_ct_OTOOL64" >&6; }
7682 else
7683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7684 $as_echo "no" >&6; }
7685 fi
7686
7687   if test "x$ac_ct_OTOOL64" = x; then
7688     OTOOL64=":"
7689   else
7690     case $cross_compiling:$ac_tool_warned in
7691 yes:)
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7694 ac_tool_warned=yes ;;
7695 esac
7696     OTOOL64=$ac_ct_OTOOL64
7697   fi
7698 else
7699   OTOOL64="$ac_cv_prog_OTOOL64"
7700 fi
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
7726
7727
7728     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7729 $as_echo_n "checking for -single_module linker flag... " >&6; }
7730 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7731   $as_echo_n "(cached) " >&6
7732 else
7733   lt_cv_apple_cc_single_mod=no
7734       if test -z "${LT_MULTI_MODULE}"; then
7735         # By default we will add the -single_module flag. You can override
7736         # by either setting the environment variable LT_MULTI_MODULE
7737         # non-empty at configure time, or by adding -multi_module to the
7738         # link flags.
7739         rm -rf libconftest.dylib*
7740         echo "int foo(void){return 1;}" > conftest.c
7741         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7742 -dynamiclib -Wl,-single_module conftest.c" >&5
7743         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7744           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7745         _lt_result=$?
7746         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7747           lt_cv_apple_cc_single_mod=yes
7748         else
7749           cat conftest.err >&5
7750         fi
7751         rm -rf libconftest.dylib*
7752         rm -f conftest.*
7753       fi
7754 fi
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7756 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7757     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7758 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7759 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7760   $as_echo_n "(cached) " >&6
7761 else
7762   lt_cv_ld_exported_symbols_list=no
7763       save_LDFLAGS=$LDFLAGS
7764       echo "_main" > conftest.sym
7765       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7766       if test x$gcc_no_link = xyes; then
7767   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7768 fi
7769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h.  */
7771
7772 int
7773 main ()
7774 {
7775
7776   ;
7777   return 0;
7778 }
7779 _ACEOF
7780 if ac_fn_c_try_link "$LINENO"; then :
7781   lt_cv_ld_exported_symbols_list=yes
7782 else
7783   lt_cv_ld_exported_symbols_list=no
7784 fi
7785 rm -f core conftest.err conftest.$ac_objext \
7786     conftest$ac_exeext conftest.$ac_ext
7787         LDFLAGS="$save_LDFLAGS"
7788
7789 fi
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7791 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7792     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7793 $as_echo_n "checking for -force_load linker flag... " >&6; }
7794 if test "${lt_cv_ld_force_load+set}" = set; then :
7795   $as_echo_n "(cached) " >&6
7796 else
7797   lt_cv_ld_force_load=no
7798       cat > conftest.c << _LT_EOF
7799 int forced_loaded() { return 2;}
7800 _LT_EOF
7801       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7802       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7803       echo "$AR cru libconftest.a conftest.o" >&5
7804       $AR cru libconftest.a conftest.o 2>&5
7805       cat > conftest.c << _LT_EOF
7806 int main() { return 0;}
7807 _LT_EOF
7808       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7809       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7810       _lt_result=$?
7811       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7812         lt_cv_ld_force_load=yes
7813       else
7814         cat conftest.err >&5
7815       fi
7816         rm -f conftest.err libconftest.a conftest conftest.c
7817         rm -rf conftest.dSYM
7818
7819 fi
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7821 $as_echo "$lt_cv_ld_force_load" >&6; }
7822     case $host_os in
7823     rhapsody* | darwin1.[012])
7824       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7825     darwin1.*)
7826       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7827     darwin*) # darwin 5.x on
7828       # if running on 10.5 or later, the deployment target defaults
7829       # to the OS version, if on x86, and 10.4, the deployment
7830       # target defaults to 10.4. Don't you love it?
7831       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7832         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7833           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7834         10.[012]*)
7835           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7836         10.*)
7837           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7838       esac
7839     ;;
7840   esac
7841     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7842       _lt_dar_single_mod='$single_module'
7843     fi
7844     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7845       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7846     else
7847       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7848     fi
7849     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7850       _lt_dsymutil='~$DSYMUTIL $lib || :'
7851     else
7852       _lt_dsymutil=
7853     fi
7854     ;;
7855   esac
7856
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7858 $as_echo_n "checking for ANSI C header files... " >&6; }
7859 if test "${ac_cv_header_stdc+set}" = set; then :
7860   $as_echo_n "(cached) " >&6
7861 else
7862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h.  */
7864 #include <stdlib.h>
7865 #include <stdarg.h>
7866 #include <string.h>
7867 #include <float.h>
7868
7869 int
7870 main ()
7871 {
7872
7873   ;
7874   return 0;
7875 }
7876 _ACEOF
7877 if ac_fn_c_try_compile "$LINENO"; then :
7878   ac_cv_header_stdc=yes
7879 else
7880   ac_cv_header_stdc=no
7881 fi
7882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7883
7884 if test $ac_cv_header_stdc = yes; then
7885   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7887 /* end confdefs.h.  */
7888 #include <string.h>
7889
7890 _ACEOF
7891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7892   $EGREP "memchr" >/dev/null 2>&1; then :
7893
7894 else
7895   ac_cv_header_stdc=no
7896 fi
7897 rm -f conftest*
7898
7899 fi
7900
7901 if test $ac_cv_header_stdc = yes; then
7902   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7904 /* end confdefs.h.  */
7905 #include <stdlib.h>
7906
7907 _ACEOF
7908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7909   $EGREP "free" >/dev/null 2>&1; then :
7910
7911 else
7912   ac_cv_header_stdc=no
7913 fi
7914 rm -f conftest*
7915
7916 fi
7917
7918 if test $ac_cv_header_stdc = yes; then
7919   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7920   if test "$cross_compiling" = yes; then :
7921   :
7922 else
7923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7924 /* end confdefs.h.  */
7925 #include <ctype.h>
7926 #include <stdlib.h>
7927 #if ((' ' & 0x0FF) == 0x020)
7928 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7929 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7930 #else
7931 # define ISLOWER(c) \
7932                    (('a' <= (c) && (c) <= 'i') \
7933                      || ('j' <= (c) && (c) <= 'r') \
7934                      || ('s' <= (c) && (c) <= 'z'))
7935 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7936 #endif
7937
7938 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7939 int
7940 main ()
7941 {
7942   int i;
7943   for (i = 0; i < 256; i++)
7944     if (XOR (islower (i), ISLOWER (i))
7945         || toupper (i) != TOUPPER (i))
7946       return 2;
7947   return 0;
7948 }
7949 _ACEOF
7950 if ac_fn_c_try_run "$LINENO"; then :
7951
7952 else
7953   ac_cv_header_stdc=no
7954 fi
7955 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7956   conftest.$ac_objext conftest.beam conftest.$ac_ext
7957 fi
7958
7959 fi
7960 fi
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7962 $as_echo "$ac_cv_header_stdc" >&6; }
7963 if test $ac_cv_header_stdc = yes; then
7964
7965 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7966
7967 fi
7968
7969 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7970 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7971                   inttypes.h stdint.h unistd.h
7972 do :
7973   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7974 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7975 "
7976 eval as_val=\$$as_ac_Header
7977    if test "x$as_val" = x""yes; then :
7978   cat >>confdefs.h <<_ACEOF
7979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7980 _ACEOF
7981
7982 fi
7983
7984 done
7985
7986
7987 for ac_header in dlfcn.h
7988 do :
7989   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7990 "
7991 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7992   cat >>confdefs.h <<_ACEOF
7993 #define HAVE_DLFCN_H 1
7994 _ACEOF
7995
7996 fi
7997
7998 done
7999
8000
8001
8002
8003
8004
8005 # Set options
8006
8007
8008
8009
8010   enable_win32_dll=no
8011
8012
8013             # Check whether --enable-shared was given.
8014 if test "${enable_shared+set}" = set; then :
8015   enableval=$enable_shared; p=${PACKAGE-default}
8016     case $enableval in
8017     yes) enable_shared=yes ;;
8018     no) enable_shared=no ;;
8019     *)
8020       enable_shared=no
8021       # Look at the argument we got.  We use all the common list separators.
8022       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8023       for pkg in $enableval; do
8024         IFS="$lt_save_ifs"
8025         if test "X$pkg" = "X$p"; then
8026           enable_shared=yes
8027         fi
8028       done
8029       IFS="$lt_save_ifs"
8030       ;;
8031     esac
8032 else
8033   enable_shared=yes
8034 fi
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044   # Check whether --enable-static was given.
8045 if test "${enable_static+set}" = set; then :
8046   enableval=$enable_static; p=${PACKAGE-default}
8047     case $enableval in
8048     yes) enable_static=yes ;;
8049     no) enable_static=no ;;
8050     *)
8051      enable_static=no
8052       # Look at the argument we got.  We use all the common list separators.
8053       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8054       for pkg in $enableval; do
8055         IFS="$lt_save_ifs"
8056         if test "X$pkg" = "X$p"; then
8057           enable_static=yes
8058         fi
8059       done
8060       IFS="$lt_save_ifs"
8061       ;;
8062     esac
8063 else
8064   enable_static=yes
8065 fi
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076 # Check whether --with-pic was given.
8077 if test "${with_pic+set}" = set; then :
8078   withval=$with_pic; pic_mode="$withval"
8079 else
8080   pic_mode=default
8081 fi
8082
8083
8084 test -z "$pic_mode" && pic_mode=default
8085
8086
8087
8088
8089
8090
8091
8092   # Check whether --enable-fast-install was given.
8093 if test "${enable_fast_install+set}" = set; then :
8094   enableval=$enable_fast_install; p=${PACKAGE-default}
8095     case $enableval in
8096     yes) enable_fast_install=yes ;;
8097     no) enable_fast_install=no ;;
8098     *)
8099       enable_fast_install=no
8100       # Look at the argument we got.  We use all the common list separators.
8101       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8102       for pkg in $enableval; do
8103         IFS="$lt_save_ifs"
8104         if test "X$pkg" = "X$p"; then
8105           enable_fast_install=yes
8106         fi
8107       done
8108       IFS="$lt_save_ifs"
8109       ;;
8110     esac
8111 else
8112   enable_fast_install=yes
8113 fi
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125 # This can be used to rebuild libtool when needed
8126 LIBTOOL_DEPS="$ltmain"
8127
8128 # Always use our own libtool.
8129 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156 test -z "$LN_S" && LN_S="ln -s"
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171 if test -n "${ZSH_VERSION+set}" ; then
8172    setopt NO_GLOB_SUBST
8173 fi
8174
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8176 $as_echo_n "checking for objdir... " >&6; }
8177 if test "${lt_cv_objdir+set}" = set; then :
8178   $as_echo_n "(cached) " >&6
8179 else
8180   rm -f .libs 2>/dev/null
8181 mkdir .libs 2>/dev/null
8182 if test -d .libs; then
8183   lt_cv_objdir=.libs
8184 else
8185   # MS-DOS does not allow filenames that begin with a dot.
8186   lt_cv_objdir=_libs
8187 fi
8188 rmdir .libs 2>/dev/null
8189 fi
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8191 $as_echo "$lt_cv_objdir" >&6; }
8192 objdir=$lt_cv_objdir
8193
8194
8195
8196
8197
8198 cat >>confdefs.h <<_ACEOF
8199 #define LT_OBJDIR "$lt_cv_objdir/"
8200 _ACEOF
8201
8202
8203
8204
8205 case $host_os in
8206 aix3*)
8207   # AIX sometimes has problems with the GCC collect2 program.  For some
8208   # reason, if we set the COLLECT_NAMES environment variable, the problems
8209   # vanish in a puff of smoke.
8210   if test "X${COLLECT_NAMES+set}" != Xset; then
8211     COLLECT_NAMES=
8212     export COLLECT_NAMES
8213   fi
8214   ;;
8215 esac
8216
8217 # Global variables:
8218 ofile=libtool
8219 can_build_shared=yes
8220
8221 # All known linkers require a `.a' archive for static linking (except MSVC,
8222 # which needs '.lib').
8223 libext=a
8224
8225 with_gnu_ld="$lt_cv_prog_gnu_ld"
8226
8227 old_CC="$CC"
8228 old_CFLAGS="$CFLAGS"
8229
8230 # Set sane defaults for various variables
8231 test -z "$CC" && CC=cc
8232 test -z "$LTCC" && LTCC=$CC
8233 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8234 test -z "$LD" && LD=ld
8235 test -z "$ac_objext" && ac_objext=o
8236
8237 for cc_temp in $compiler""; do
8238   case $cc_temp in
8239     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8240     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8241     \-*) ;;
8242     *) break;;
8243   esac
8244 done
8245 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8246
8247
8248 # Only perform the check for file, if the check method requires it
8249 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8250 case $deplibs_check_method in
8251 file_magic*)
8252   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8253     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8254 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8255 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8256   $as_echo_n "(cached) " >&6
8257 else
8258   case $MAGIC_CMD in
8259 [\\/*] |  ?:[\\/]*)
8260   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8261   ;;
8262 *)
8263   lt_save_MAGIC_CMD="$MAGIC_CMD"
8264   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8265   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8266   for ac_dir in $ac_dummy; do
8267     IFS="$lt_save_ifs"
8268     test -z "$ac_dir" && ac_dir=.
8269     if test -f $ac_dir/${ac_tool_prefix}file; then
8270       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8271       if test -n "$file_magic_test_file"; then
8272         case $deplibs_check_method in
8273         "file_magic "*)
8274           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8275           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8276           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8277             $EGREP "$file_magic_regex" > /dev/null; then
8278             :
8279           else
8280             cat <<_LT_EOF 1>&2
8281
8282 *** Warning: the command libtool uses to detect shared libraries,
8283 *** $file_magic_cmd, produces output that libtool cannot recognize.
8284 *** The result is that libtool may fail to recognize shared libraries
8285 *** as such.  This will affect the creation of libtool libraries that
8286 *** depend on shared libraries, but programs linked with such libtool
8287 *** libraries will work regardless of this problem.  Nevertheless, you
8288 *** may want to report the problem to your system manager and/or to
8289 *** bug-libtool@gnu.org
8290
8291 _LT_EOF
8292           fi ;;
8293         esac
8294       fi
8295       break
8296     fi
8297   done
8298   IFS="$lt_save_ifs"
8299   MAGIC_CMD="$lt_save_MAGIC_CMD"
8300   ;;
8301 esac
8302 fi
8303
8304 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8305 if test -n "$MAGIC_CMD"; then
8306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8307 $as_echo "$MAGIC_CMD" >&6; }
8308 else
8309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310 $as_echo "no" >&6; }
8311 fi
8312
8313
8314
8315
8316
8317 if test -z "$lt_cv_path_MAGIC_CMD"; then
8318   if test -n "$ac_tool_prefix"; then
8319     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8320 $as_echo_n "checking for file... " >&6; }
8321 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8322   $as_echo_n "(cached) " >&6
8323 else
8324   case $MAGIC_CMD in
8325 [\\/*] |  ?:[\\/]*)
8326   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8327   ;;
8328 *)
8329   lt_save_MAGIC_CMD="$MAGIC_CMD"
8330   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8331   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8332   for ac_dir in $ac_dummy; do
8333     IFS="$lt_save_ifs"
8334     test -z "$ac_dir" && ac_dir=.
8335     if test -f $ac_dir/file; then
8336       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8337       if test -n "$file_magic_test_file"; then
8338         case $deplibs_check_method in
8339         "file_magic "*)
8340           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8341           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8342           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8343             $EGREP "$file_magic_regex" > /dev/null; then
8344             :
8345           else
8346             cat <<_LT_EOF 1>&2
8347
8348 *** Warning: the command libtool uses to detect shared libraries,
8349 *** $file_magic_cmd, produces output that libtool cannot recognize.
8350 *** The result is that libtool may fail to recognize shared libraries
8351 *** as such.  This will affect the creation of libtool libraries that
8352 *** depend on shared libraries, but programs linked with such libtool
8353 *** libraries will work regardless of this problem.  Nevertheless, you
8354 *** may want to report the problem to your system manager and/or to
8355 *** bug-libtool@gnu.org
8356
8357 _LT_EOF
8358           fi ;;
8359         esac
8360       fi
8361       break
8362     fi
8363   done
8364   IFS="$lt_save_ifs"
8365   MAGIC_CMD="$lt_save_MAGIC_CMD"
8366   ;;
8367 esac
8368 fi
8369
8370 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8371 if test -n "$MAGIC_CMD"; then
8372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8373 $as_echo "$MAGIC_CMD" >&6; }
8374 else
8375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8376 $as_echo "no" >&6; }
8377 fi
8378
8379
8380   else
8381     MAGIC_CMD=:
8382   fi
8383 fi
8384
8385   fi
8386   ;;
8387 esac
8388
8389 # Use C for the default configuration in the libtool script
8390
8391 lt_save_CC="$CC"
8392 ac_ext=c
8393 ac_cpp='$CPP $CPPFLAGS'
8394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8397
8398
8399 # Source file extension for C test sources.
8400 ac_ext=c
8401
8402 # Object file extension for compiled C test sources.
8403 objext=o
8404 objext=$objext
8405
8406 # Code to be used in simple compile tests
8407 lt_simple_compile_test_code="int some_variable = 0;"
8408
8409 # Code to be used in simple link tests
8410 lt_simple_link_test_code='int main(){return(0);}'
8411
8412
8413
8414
8415
8416
8417
8418 # If no C compiler was specified, use CC.
8419 LTCC=${LTCC-"$CC"}
8420
8421 # If no C compiler flags were specified, use CFLAGS.
8422 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8423
8424 # Allow CC to be a program name with arguments.
8425 compiler=$CC
8426
8427 # Save the default compiler, since it gets overwritten when the other
8428 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8429 compiler_DEFAULT=$CC
8430
8431 # save warnings/boilerplate of simple test code
8432 ac_outfile=conftest.$ac_objext
8433 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8434 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8435 _lt_compiler_boilerplate=`cat conftest.err`
8436 $RM conftest*
8437
8438 ac_outfile=conftest.$ac_objext
8439 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8440 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8441 _lt_linker_boilerplate=`cat conftest.err`
8442 $RM -r conftest*
8443
8444
8445 ## CAVEAT EMPTOR:
8446 ## There is no encapsulation within the following macros, do not change
8447 ## the running order or otherwise move them around unless you know exactly
8448 ## what you are doing...
8449 if test -n "$compiler"; then
8450
8451 lt_prog_compiler_no_builtin_flag=
8452
8453 if test "$GCC" = yes; then
8454   case $cc_basename in
8455   nvcc*)
8456     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8457   *)
8458     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8459   esac
8460
8461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8462 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8463 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8464   $as_echo_n "(cached) " >&6
8465 else
8466   lt_cv_prog_compiler_rtti_exceptions=no
8467    ac_outfile=conftest.$ac_objext
8468    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8469    lt_compiler_flag="-fno-rtti -fno-exceptions"
8470    # Insert the option either (1) after the last *FLAGS variable, or
8471    # (2) before a word containing "conftest.", or (3) at the end.
8472    # Note that $ac_compile itself does not contain backslashes and begins
8473    # with a dollar sign (not a hyphen), so the echo should work correctly.
8474    # The option is referenced via a variable to avoid confusing sed.
8475    lt_compile=`echo "$ac_compile" | $SED \
8476    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8477    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8478    -e 's:$: $lt_compiler_flag:'`
8479    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8480    (eval "$lt_compile" 2>conftest.err)
8481    ac_status=$?
8482    cat conftest.err >&5
8483    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484    if (exit $ac_status) && test -s "$ac_outfile"; then
8485      # The compiler can only warn and ignore the option if not recognized
8486      # So say no if there are warnings other than the usual output.
8487      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8488      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8489      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8490        lt_cv_prog_compiler_rtti_exceptions=yes
8491      fi
8492    fi
8493    $RM conftest*
8494
8495 fi
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8497 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8498
8499 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8500     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8501 else
8502     :
8503 fi
8504
8505 fi
8506
8507
8508
8509
8510
8511
8512   lt_prog_compiler_wl=
8513 lt_prog_compiler_pic=
8514 lt_prog_compiler_static=
8515
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8517 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8518
8519   if test "$GCC" = yes; then
8520     lt_prog_compiler_wl='-Wl,'
8521     lt_prog_compiler_static='-static'
8522
8523     case $host_os in
8524       aix*)
8525       # All AIX code is PIC.
8526       if test "$host_cpu" = ia64; then
8527         # AIX 5 now supports IA64 processor
8528         lt_prog_compiler_static='-Bstatic'
8529       fi
8530       ;;
8531
8532     amigaos*)
8533       case $host_cpu in
8534       powerpc)
8535             # see comment about AmigaOS4 .so support
8536             lt_prog_compiler_pic='-fPIC'
8537         ;;
8538       m68k)
8539             # FIXME: we need at least 68020 code to build shared libraries, but
8540             # adding the `-m68020' flag to GCC prevents building anything better,
8541             # like `-m68040'.
8542             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8543         ;;
8544       esac
8545       ;;
8546
8547     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8548       # PIC is the default for these OSes.
8549       ;;
8550
8551     mingw* | cygwin* | pw32* | os2* | cegcc*)
8552       # This hack is so that the source file can tell whether it is being
8553       # built for inclusion in a dll (and should export symbols for example).
8554       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8555       # (--disable-auto-import) libraries
8556       lt_prog_compiler_pic='-DDLL_EXPORT'
8557       ;;
8558
8559     darwin* | rhapsody*)
8560       # PIC is the default on this platform
8561       # Common symbols not allowed in MH_DYLIB files
8562       lt_prog_compiler_pic='-fno-common'
8563       ;;
8564
8565     haiku*)
8566       # PIC is the default for Haiku.
8567       # The "-static" flag exists, but is broken.
8568       lt_prog_compiler_static=
8569       ;;
8570
8571     hpux*)
8572       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8573       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8574       # sets the default TLS model and affects inlining.
8575       case $host_cpu in
8576       hppa*64*)
8577         # +Z the default
8578         ;;
8579       *)
8580         lt_prog_compiler_pic='-fPIC'
8581         ;;
8582       esac
8583       ;;
8584
8585     interix[3-9]*)
8586       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8587       # Instead, we relocate shared libraries at runtime.
8588       ;;
8589
8590     msdosdjgpp*)
8591       # Just because we use GCC doesn't mean we suddenly get shared libraries
8592       # on systems that don't support them.
8593       lt_prog_compiler_can_build_shared=no
8594       enable_shared=no
8595       ;;
8596
8597     *nto* | *qnx*)
8598       # QNX uses GNU C++, but need to define -shared option too, otherwise
8599       # it will coredump.
8600       lt_prog_compiler_pic='-fPIC -shared'
8601       ;;
8602
8603     sysv4*MP*)
8604       if test -d /usr/nec; then
8605         lt_prog_compiler_pic=-Kconform_pic
8606       fi
8607       ;;
8608
8609     *)
8610       lt_prog_compiler_pic='-fPIC'
8611       ;;
8612     esac
8613
8614     case $cc_basename in
8615     nvcc*) # Cuda Compiler Driver 2.2
8616       lt_prog_compiler_wl='-Xlinker '
8617       lt_prog_compiler_pic='-Xcompiler -fPIC'
8618       ;;
8619     esac
8620   else
8621     # PORTME Check for flag to pass linker flags through the system compiler.
8622     case $host_os in
8623     aix*)
8624       lt_prog_compiler_wl='-Wl,'
8625       if test "$host_cpu" = ia64; then
8626         # AIX 5 now supports IA64 processor
8627         lt_prog_compiler_static='-Bstatic'
8628       else
8629         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8630       fi
8631       ;;
8632
8633     mingw* | cygwin* | pw32* | os2* | cegcc*)
8634       # This hack is so that the source file can tell whether it is being
8635       # built for inclusion in a dll (and should export symbols for example).
8636       lt_prog_compiler_pic='-DDLL_EXPORT'
8637       ;;
8638
8639     hpux9* | hpux10* | hpux11*)
8640       lt_prog_compiler_wl='-Wl,'
8641       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8642       # not for PA HP-UX.
8643       case $host_cpu in
8644       hppa*64*|ia64*)
8645         # +Z the default
8646         ;;
8647       *)
8648         lt_prog_compiler_pic='+Z'
8649         ;;
8650       esac
8651       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8652       lt_prog_compiler_static='${wl}-a ${wl}archive'
8653       ;;
8654
8655     irix5* | irix6* | nonstopux*)
8656       lt_prog_compiler_wl='-Wl,'
8657       # PIC (with -KPIC) is the default.
8658       lt_prog_compiler_static='-non_shared'
8659       ;;
8660
8661     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8662       case $cc_basename in
8663       # old Intel for x86_64 which still supported -KPIC.
8664       ecc*)
8665         lt_prog_compiler_wl='-Wl,'
8666         lt_prog_compiler_pic='-KPIC'
8667         lt_prog_compiler_static='-static'
8668         ;;
8669       # icc used to be incompatible with GCC.
8670       # ICC 10 doesn't accept -KPIC any more.
8671       icc* | ifort*)
8672         lt_prog_compiler_wl='-Wl,'
8673         lt_prog_compiler_pic='-fPIC'
8674         lt_prog_compiler_static='-static'
8675         ;;
8676       # Lahey Fortran 8.1.
8677       lf95*)
8678         lt_prog_compiler_wl='-Wl,'
8679         lt_prog_compiler_pic='--shared'
8680         lt_prog_compiler_static='--static'
8681         ;;
8682       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8683         # Portland Group compilers (*not* the Pentium gcc compiler,
8684         # which looks to be a dead project)
8685         lt_prog_compiler_wl='-Wl,'
8686         lt_prog_compiler_pic='-fpic'
8687         lt_prog_compiler_static='-Bstatic'
8688         ;;
8689       ccc*)
8690         lt_prog_compiler_wl='-Wl,'
8691         # All Alpha code is PIC.
8692         lt_prog_compiler_static='-non_shared'
8693         ;;
8694       xl* | bgxl* | bgf* | mpixl*)
8695         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8696         lt_prog_compiler_wl='-Wl,'
8697         lt_prog_compiler_pic='-qpic'
8698         lt_prog_compiler_static='-qstaticlink'
8699         ;;
8700       *)
8701         case `$CC -V 2>&1 | sed 5q` in
8702         *Sun\ F* | *Sun*Fortran*)
8703           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8704           lt_prog_compiler_pic='-KPIC'
8705           lt_prog_compiler_static='-Bstatic'
8706           lt_prog_compiler_wl=''
8707           ;;
8708         *Sun\ C*)
8709           # Sun C 5.9
8710           lt_prog_compiler_pic='-KPIC'
8711           lt_prog_compiler_static='-Bstatic'
8712           lt_prog_compiler_wl='-Wl,'
8713           ;;
8714         esac
8715         ;;
8716       esac
8717       ;;
8718
8719     newsos6)
8720       lt_prog_compiler_pic='-KPIC'
8721       lt_prog_compiler_static='-Bstatic'
8722       ;;
8723
8724     *nto* | *qnx*)
8725       # QNX uses GNU C++, but need to define -shared option too, otherwise
8726       # it will coredump.
8727       lt_prog_compiler_pic='-fPIC -shared'
8728       ;;
8729
8730     osf3* | osf4* | osf5*)
8731       lt_prog_compiler_wl='-Wl,'
8732       # All OSF/1 code is PIC.
8733       lt_prog_compiler_static='-non_shared'
8734       ;;
8735
8736     rdos*)
8737       lt_prog_compiler_static='-non_shared'
8738       ;;
8739
8740     solaris*)
8741       lt_prog_compiler_pic='-KPIC'
8742       lt_prog_compiler_static='-Bstatic'
8743       case $cc_basename in
8744       f77* | f90* | f95*)
8745         lt_prog_compiler_wl='-Qoption ld ';;
8746       *)
8747         lt_prog_compiler_wl='-Wl,';;
8748       esac
8749       ;;
8750
8751     sunos4*)
8752       lt_prog_compiler_wl='-Qoption ld '
8753       lt_prog_compiler_pic='-PIC'
8754       lt_prog_compiler_static='-Bstatic'
8755       ;;
8756
8757     sysv4 | sysv4.2uw2* | sysv4.3*)
8758       lt_prog_compiler_wl='-Wl,'
8759       lt_prog_compiler_pic='-KPIC'
8760       lt_prog_compiler_static='-Bstatic'
8761       ;;
8762
8763     sysv4*MP*)
8764       if test -d /usr/nec ;then
8765         lt_prog_compiler_pic='-Kconform_pic'
8766         lt_prog_compiler_static='-Bstatic'
8767       fi
8768       ;;
8769
8770     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8771       lt_prog_compiler_wl='-Wl,'
8772       lt_prog_compiler_pic='-KPIC'
8773       lt_prog_compiler_static='-Bstatic'
8774       ;;
8775
8776     unicos*)
8777       lt_prog_compiler_wl='-Wl,'
8778       lt_prog_compiler_can_build_shared=no
8779       ;;
8780
8781     uts4*)
8782       lt_prog_compiler_pic='-pic'
8783       lt_prog_compiler_static='-Bstatic'
8784       ;;
8785
8786     *)
8787       lt_prog_compiler_can_build_shared=no
8788       ;;
8789     esac
8790   fi
8791
8792 case $host_os in
8793   # For platforms which do not support PIC, -DPIC is meaningless:
8794   *djgpp*)
8795     lt_prog_compiler_pic=
8796     ;;
8797   *)
8798     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8799     ;;
8800 esac
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8802 $as_echo "$lt_prog_compiler_pic" >&6; }
8803
8804
8805
8806
8807
8808
8809 #
8810 # Check to make sure the PIC flag actually works.
8811 #
8812 if test -n "$lt_prog_compiler_pic"; then
8813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8814 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8815 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8816   $as_echo_n "(cached) " >&6
8817 else
8818   lt_cv_prog_compiler_pic_works=no
8819    ac_outfile=conftest.$ac_objext
8820    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8821    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8822    # Insert the option either (1) after the last *FLAGS variable, or
8823    # (2) before a word containing "conftest.", or (3) at the end.
8824    # Note that $ac_compile itself does not contain backslashes and begins
8825    # with a dollar sign (not a hyphen), so the echo should work correctly.
8826    # The option is referenced via a variable to avoid confusing sed.
8827    lt_compile=`echo "$ac_compile" | $SED \
8828    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8829    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8830    -e 's:$: $lt_compiler_flag:'`
8831    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8832    (eval "$lt_compile" 2>conftest.err)
8833    ac_status=$?
8834    cat conftest.err >&5
8835    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836    if (exit $ac_status) && test -s "$ac_outfile"; then
8837      # The compiler can only warn and ignore the option if not recognized
8838      # So say no if there are warnings other than the usual output.
8839      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8840      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8841      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8842        lt_cv_prog_compiler_pic_works=yes
8843      fi
8844    fi
8845    $RM conftest*
8846
8847 fi
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8849 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8850
8851 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8852     case $lt_prog_compiler_pic in
8853      "" | " "*) ;;
8854      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8855      esac
8856 else
8857     lt_prog_compiler_pic=
8858      lt_prog_compiler_can_build_shared=no
8859 fi
8860
8861 fi
8862
8863
8864
8865
8866
8867
8868 #
8869 # Check to make sure the static flag actually works.
8870 #
8871 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8873 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8874 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8875   $as_echo_n "(cached) " >&6
8876 else
8877   lt_cv_prog_compiler_static_works=no
8878    save_LDFLAGS="$LDFLAGS"
8879    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8880    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8881    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8882      # The linker can only warn and ignore the option if not recognized
8883      # So say no if there are warnings
8884      if test -s conftest.err; then
8885        # Append any errors to the config.log.
8886        cat conftest.err 1>&5
8887        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8888        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8889        if diff conftest.exp conftest.er2 >/dev/null; then
8890          lt_cv_prog_compiler_static_works=yes
8891        fi
8892      else
8893        lt_cv_prog_compiler_static_works=yes
8894      fi
8895    fi
8896    $RM -r conftest*
8897    LDFLAGS="$save_LDFLAGS"
8898
8899 fi
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8901 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8902
8903 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8904     :
8905 else
8906     lt_prog_compiler_static=
8907 fi
8908
8909
8910
8911
8912
8913
8914
8915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8916 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8917 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8918   $as_echo_n "(cached) " >&6
8919 else
8920   lt_cv_prog_compiler_c_o=no
8921    $RM -r conftest 2>/dev/null
8922    mkdir conftest
8923    cd conftest
8924    mkdir out
8925    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8926
8927    lt_compiler_flag="-o out/conftest2.$ac_objext"
8928    # Insert the option either (1) after the last *FLAGS variable, or
8929    # (2) before a word containing "conftest.", or (3) at the end.
8930    # Note that $ac_compile itself does not contain backslashes and begins
8931    # with a dollar sign (not a hyphen), so the echo should work correctly.
8932    lt_compile=`echo "$ac_compile" | $SED \
8933    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8934    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8935    -e 's:$: $lt_compiler_flag:'`
8936    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8937    (eval "$lt_compile" 2>out/conftest.err)
8938    ac_status=$?
8939    cat out/conftest.err >&5
8940    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8942    then
8943      # The compiler can only warn and ignore the option if not recognized
8944      # So say no if there are warnings
8945      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8946      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8947      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8948        lt_cv_prog_compiler_c_o=yes
8949      fi
8950    fi
8951    chmod u+w . 2>&5
8952    $RM conftest*
8953    # SGI C++ compiler will create directory out/ii_files/ for
8954    # template instantiation
8955    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8956    $RM out/* && rmdir out
8957    cd ..
8958    $RM -r conftest
8959    $RM conftest*
8960
8961 fi
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8963 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8964
8965
8966
8967
8968
8969
8970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8971 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8972 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8973   $as_echo_n "(cached) " >&6
8974 else
8975   lt_cv_prog_compiler_c_o=no
8976    $RM -r conftest 2>/dev/null
8977    mkdir conftest
8978    cd conftest
8979    mkdir out
8980    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8981
8982    lt_compiler_flag="-o out/conftest2.$ac_objext"
8983    # Insert the option either (1) after the last *FLAGS variable, or
8984    # (2) before a word containing "conftest.", or (3) at the end.
8985    # Note that $ac_compile itself does not contain backslashes and begins
8986    # with a dollar sign (not a hyphen), so the echo should work correctly.
8987    lt_compile=`echo "$ac_compile" | $SED \
8988    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8989    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8990    -e 's:$: $lt_compiler_flag:'`
8991    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8992    (eval "$lt_compile" 2>out/conftest.err)
8993    ac_status=$?
8994    cat out/conftest.err >&5
8995    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8996    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8997    then
8998      # The compiler can only warn and ignore the option if not recognized
8999      # So say no if there are warnings
9000      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9001      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9002      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9003        lt_cv_prog_compiler_c_o=yes
9004      fi
9005    fi
9006    chmod u+w . 2>&5
9007    $RM conftest*
9008    # SGI C++ compiler will create directory out/ii_files/ for
9009    # template instantiation
9010    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9011    $RM out/* && rmdir out
9012    cd ..
9013    $RM -r conftest
9014    $RM conftest*
9015
9016 fi
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9018 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9019
9020
9021
9022
9023 hard_links="nottested"
9024 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9025   # do not overwrite the value of need_locks provided by the user
9026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9027 $as_echo_n "checking if we can lock with hard links... " >&6; }
9028   hard_links=yes
9029   $RM conftest*
9030   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9031   touch conftest.a
9032   ln conftest.a conftest.b 2>&5 || hard_links=no
9033   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9035 $as_echo "$hard_links" >&6; }
9036   if test "$hard_links" = no; then
9037     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9038 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9039     need_locks=warn
9040   fi
9041 else
9042   need_locks=no
9043 fi
9044
9045
9046
9047
9048
9049
9050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9051 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9052
9053   runpath_var=
9054   allow_undefined_flag=
9055   always_export_symbols=no
9056   archive_cmds=
9057   archive_expsym_cmds=
9058   compiler_needs_object=no
9059   enable_shared_with_static_runtimes=no
9060   export_dynamic_flag_spec=
9061   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9062   hardcode_automatic=no
9063   hardcode_direct=no
9064   hardcode_direct_absolute=no
9065   hardcode_libdir_flag_spec=
9066   hardcode_libdir_flag_spec_ld=
9067   hardcode_libdir_separator=
9068   hardcode_minus_L=no
9069   hardcode_shlibpath_var=unsupported
9070   inherit_rpath=no
9071   link_all_deplibs=unknown
9072   module_cmds=
9073   module_expsym_cmds=
9074   old_archive_from_new_cmds=
9075   old_archive_from_expsyms_cmds=
9076   thread_safe_flag_spec=
9077   whole_archive_flag_spec=
9078   # include_expsyms should be a list of space-separated symbols to be *always*
9079   # included in the symbol list
9080   include_expsyms=
9081   # exclude_expsyms can be an extended regexp of symbols to exclude
9082   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9083   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9084   # as well as any symbol that contains `d'.
9085   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9086   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9087   # platforms (ab)use it in PIC code, but their linkers get confused if
9088   # the symbol is explicitly referenced.  Since portable code cannot
9089   # rely on this symbol name, it's probably fine to never include it in
9090   # preloaded symbol tables.
9091   # Exclude shared library initialization/finalization symbols.
9092   extract_expsyms_cmds=
9093
9094   case $host_os in
9095   cygwin* | mingw* | pw32* | cegcc*)
9096     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9097     # When not using gcc, we currently assume that we are using
9098     # Microsoft Visual C++.
9099     if test "$GCC" != yes; then
9100       with_gnu_ld=no
9101     fi
9102     ;;
9103   interix*)
9104     # we just hope/assume this is gcc and not c89 (= MSVC++)
9105     with_gnu_ld=yes
9106     ;;
9107   openbsd*)
9108     with_gnu_ld=no
9109     ;;
9110   esac
9111
9112   ld_shlibs=yes
9113
9114   # On some targets, GNU ld is compatible enough with the native linker
9115   # that we're better off using the native interface for both.
9116   lt_use_gnu_ld_interface=no
9117   if test "$with_gnu_ld" = yes; then
9118     case $host_os in
9119       aix*)
9120         # The AIX port of GNU ld has always aspired to compatibility
9121         # with the native linker.  However, as the warning in the GNU ld
9122         # block says, versions before 2.19.5* couldn't really create working
9123         # shared libraries, regardless of the interface used.
9124         case `$LD -v 2>&1` in
9125           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9126           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9127           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9128           *)
9129             lt_use_gnu_ld_interface=yes
9130             ;;
9131         esac
9132         ;;
9133       *)
9134         lt_use_gnu_ld_interface=yes
9135         ;;
9136     esac
9137   fi
9138
9139   if test "$lt_use_gnu_ld_interface" = yes; then
9140     # If archive_cmds runs LD, not CC, wlarc should be empty
9141     wlarc='${wl}'
9142
9143     # Set some defaults for GNU ld with shared library support. These
9144     # are reset later if shared libraries are not supported. Putting them
9145     # here allows them to be overridden if necessary.
9146     runpath_var=LD_RUN_PATH
9147     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9148     export_dynamic_flag_spec='${wl}--export-dynamic'
9149     # ancient GNU ld didn't support --whole-archive et. al.
9150     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9151       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9152     else
9153       whole_archive_flag_spec=
9154     fi
9155     supports_anon_versioning=no
9156     case `$LD -v 2>&1` in
9157       *GNU\ gold*) supports_anon_versioning=yes ;;
9158       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9159       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9160       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9161       *\ 2.11.*) ;; # other 2.11 versions
9162       *) supports_anon_versioning=yes ;;
9163     esac
9164
9165     # See if GNU ld supports shared libraries.
9166     case $host_os in
9167     aix[3-9]*)
9168       # On AIX/PPC, the GNU linker is very broken
9169       if test "$host_cpu" != ia64; then
9170         ld_shlibs=no
9171         cat <<_LT_EOF 1>&2
9172
9173 *** Warning: the GNU linker, at least up to release 2.19, is reported
9174 *** to be unable to reliably create shared libraries on AIX.
9175 *** Therefore, libtool is disabling shared libraries support.  If you
9176 *** really care for shared libraries, you may want to install binutils
9177 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9178 *** You will then need to restart the configuration process.
9179
9180 _LT_EOF
9181       fi
9182       ;;
9183
9184     amigaos*)
9185       case $host_cpu in
9186       powerpc)
9187             # see comment about AmigaOS4 .so support
9188             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9189             archive_expsym_cmds=''
9190         ;;
9191       m68k)
9192             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)'
9193             hardcode_libdir_flag_spec='-L$libdir'
9194             hardcode_minus_L=yes
9195         ;;
9196       esac
9197       ;;
9198
9199     beos*)
9200       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9201         allow_undefined_flag=unsupported
9202         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9203         # support --undefined.  This deserves some investigation.  FIXME
9204         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9205       else
9206         ld_shlibs=no
9207       fi
9208       ;;
9209
9210     cygwin* | mingw* | pw32* | cegcc*)
9211       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9212       # as there is no search path for DLLs.
9213       hardcode_libdir_flag_spec='-L$libdir'
9214       export_dynamic_flag_spec='${wl}--export-all-symbols'
9215       allow_undefined_flag=unsupported
9216       always_export_symbols=no
9217       enable_shared_with_static_runtimes=yes
9218       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9219
9220       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9221         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9222         # If the export-symbols file already is a .def file (1st line
9223         # is EXPORTS), use it as is; otherwise, prepend...
9224         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9225           cp $export_symbols $output_objdir/$soname.def;
9226         else
9227           echo EXPORTS > $output_objdir/$soname.def;
9228           cat $export_symbols >> $output_objdir/$soname.def;
9229         fi~
9230         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9231       else
9232         ld_shlibs=no
9233       fi
9234       ;;
9235
9236     haiku*)
9237       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9238       link_all_deplibs=yes
9239       ;;
9240
9241     interix[3-9]*)
9242       hardcode_direct=no
9243       hardcode_shlibpath_var=no
9244       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9245       export_dynamic_flag_spec='${wl}-E'
9246       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9247       # Instead, shared libraries are loaded at an image base (0x10000000 by
9248       # default) and relocated if they conflict, which is a slow very memory
9249       # consuming and fragmenting process.  To avoid this, we pick a random,
9250       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9251       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9252       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9253       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'
9254       ;;
9255
9256     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9257       tmp_diet=no
9258       if test "$host_os" = linux-dietlibc; then
9259         case $cc_basename in
9260           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9261         esac
9262       fi
9263       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9264          && test "$tmp_diet" = no
9265       then
9266         tmp_addflag=
9267         tmp_sharedflag='-shared'
9268         case $cc_basename,$host_cpu in
9269         pgcc*)                          # Portland Group C compiler
9270           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9271           tmp_addflag=' $pic_flag'
9272           ;;
9273         pgf77* | pgf90* | pgf95* | pgfortran*)
9274                                         # Portland Group f77 and f90 compilers
9275           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'
9276           tmp_addflag=' $pic_flag -Mnomain' ;;
9277         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9278           tmp_addflag=' -i_dynamic' ;;
9279         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9280           tmp_addflag=' -i_dynamic -nofor_main' ;;
9281         ifc* | ifort*)                  # Intel Fortran compiler
9282           tmp_addflag=' -nofor_main' ;;
9283         lf95*)                          # Lahey Fortran 8.1
9284           whole_archive_flag_spec=
9285           tmp_sharedflag='--shared' ;;
9286         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9287           tmp_sharedflag='-qmkshrobj'
9288           tmp_addflag= ;;
9289         nvcc*)  # Cuda Compiler Driver 2.2
9290           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'
9291           compiler_needs_object=yes
9292           ;;
9293         esac
9294         case `$CC -V 2>&1 | sed 5q` in
9295         *Sun\ C*)                       # Sun C 5.9
9296           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'
9297           compiler_needs_object=yes
9298           tmp_sharedflag='-G' ;;
9299         *Sun\ F*)                       # Sun Fortran 8.3
9300           tmp_sharedflag='-G' ;;
9301         esac
9302         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9303
9304         if test "x$supports_anon_versioning" = xyes; then
9305           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9306             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9307             echo "local: *; };" >> $output_objdir/$libname.ver~
9308             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9309         fi
9310
9311         case $cc_basename in
9312         xlf* | bgf* | bgxlf* | mpixlf*)
9313           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9314           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9315           hardcode_libdir_flag_spec=
9316           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9317           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9318           if test "x$supports_anon_versioning" = xyes; then
9319             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9320               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9321               echo "local: *; };" >> $output_objdir/$libname.ver~
9322               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9323           fi
9324           ;;
9325         esac
9326       else
9327         ld_shlibs=no
9328       fi
9329       ;;
9330
9331     netbsd*)
9332       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9333         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9334         wlarc=
9335       else
9336         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9337         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9338       fi
9339       ;;
9340
9341     solaris*)
9342       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9343         ld_shlibs=no
9344         cat <<_LT_EOF 1>&2
9345
9346 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9347 *** create shared libraries on Solaris systems.  Therefore, libtool
9348 *** is disabling shared libraries support.  We urge you to upgrade GNU
9349 *** binutils to release 2.9.1 or newer.  Another option is to modify
9350 *** your PATH or compiler configuration so that the native linker is
9351 *** used, and then restart.
9352
9353 _LT_EOF
9354       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9355         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9356         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9357       else
9358         ld_shlibs=no
9359       fi
9360       ;;
9361
9362     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9363       case `$LD -v 2>&1` in
9364         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9365         ld_shlibs=no
9366         cat <<_LT_EOF 1>&2
9367
9368 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9369 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9370 *** is disabling shared libraries support.  We urge you to upgrade GNU
9371 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9372 *** your PATH or compiler configuration so that the native linker is
9373 *** used, and then restart.
9374
9375 _LT_EOF
9376         ;;
9377         *)
9378           # For security reasons, it is highly recommended that you always
9379           # use absolute paths for naming shared libraries, and exclude the
9380           # DT_RUNPATH tag from executables and libraries.  But doing so
9381           # requires that you compile everything twice, which is a pain.
9382           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9383             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9384             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9385             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9386           else
9387             ld_shlibs=no
9388           fi
9389         ;;
9390       esac
9391       ;;
9392
9393     sunos4*)
9394       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9395       wlarc=
9396       hardcode_direct=yes
9397       hardcode_shlibpath_var=no
9398       ;;
9399
9400     *)
9401       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9402         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9403         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9404       else
9405         ld_shlibs=no
9406       fi
9407       ;;
9408     esac
9409
9410     if test "$ld_shlibs" = no; then
9411       runpath_var=
9412       hardcode_libdir_flag_spec=
9413       export_dynamic_flag_spec=
9414       whole_archive_flag_spec=
9415     fi
9416   else
9417     # PORTME fill in a description of your system's linker (not GNU ld)
9418     case $host_os in
9419     aix3*)
9420       allow_undefined_flag=unsupported
9421       always_export_symbols=yes
9422       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'
9423       # Note: this linker hardcodes the directories in LIBPATH if there
9424       # are no directories specified by -L.
9425       hardcode_minus_L=yes
9426       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9427         # Neither direct hardcoding nor static linking is supported with a
9428         # broken collect2.
9429         hardcode_direct=unsupported
9430       fi
9431       ;;
9432
9433     aix[4-9]*)
9434       if test "$host_cpu" = ia64; then
9435         # On IA64, the linker does run time linking by default, so we don't
9436         # have to do anything special.
9437         aix_use_runtimelinking=no
9438         exp_sym_flag='-Bexport'
9439         no_entry_flag=""
9440       else
9441         # If we're using GNU nm, then we don't want the "-C" option.
9442         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9443         # Also, AIX nm treats weak defined symbols like other global
9444         # defined symbols, whereas GNU nm marks them as "W".
9445         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9446           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'
9447         else
9448           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'
9449         fi
9450         aix_use_runtimelinking=no
9451
9452         # Test if we are trying to use run time linking or normal
9453         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9454         # need to do runtime linking.
9455         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9456           for ld_flag in $LDFLAGS; do
9457           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9458             aix_use_runtimelinking=yes
9459             break
9460           fi
9461           done
9462           ;;
9463         esac
9464
9465         exp_sym_flag='-bexport'
9466         no_entry_flag='-bnoentry'
9467       fi
9468
9469       # When large executables or shared objects are built, AIX ld can
9470       # have problems creating the table of contents.  If linking a library
9471       # or program results in "error TOC overflow" add -mminimal-toc to
9472       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9473       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9474
9475       archive_cmds=''
9476       hardcode_direct=yes
9477       hardcode_direct_absolute=yes
9478       hardcode_libdir_separator=':'
9479       link_all_deplibs=yes
9480       file_list_spec='${wl}-f,'
9481
9482       if test "$GCC" = yes; then
9483         case $host_os in aix4.[012]|aix4.[012].*)
9484         # We only want to do this on AIX 4.2 and lower, the check
9485         # below for broken collect2 doesn't work under 4.3+
9486           collect2name=`${CC} -print-prog-name=collect2`
9487           if test -f "$collect2name" &&
9488            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9489           then
9490           # We have reworked collect2
9491           :
9492           else
9493           # We have old collect2
9494           hardcode_direct=unsupported
9495           # It fails to find uninstalled libraries when the uninstalled
9496           # path is not listed in the libpath.  Setting hardcode_minus_L
9497           # to unsupported forces relinking
9498           hardcode_minus_L=yes
9499           hardcode_libdir_flag_spec='-L$libdir'
9500           hardcode_libdir_separator=
9501           fi
9502           ;;
9503         esac
9504         shared_flag='-shared'
9505         if test "$aix_use_runtimelinking" = yes; then
9506           shared_flag="$shared_flag "'${wl}-G'
9507         fi
9508       else
9509         # not using gcc
9510         if test "$host_cpu" = ia64; then
9511         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9512         # chokes on -Wl,-G. The following line is correct:
9513           shared_flag='-G'
9514         else
9515           if test "$aix_use_runtimelinking" = yes; then
9516             shared_flag='${wl}-G'
9517           else
9518             shared_flag='${wl}-bM:SRE'
9519           fi
9520         fi
9521       fi
9522
9523       export_dynamic_flag_spec='${wl}-bexpall'
9524       # It seems that -bexpall does not export symbols beginning with
9525       # underscore (_), so it is better to generate a list of symbols to export.
9526       always_export_symbols=yes
9527       if test "$aix_use_runtimelinking" = yes; then
9528         # Warning - without using the other runtime loading flags (-brtl),
9529         # -berok will link without error, but may produce a broken library.
9530         allow_undefined_flag='-berok'
9531         # Determine the default libpath from the value encoded in an
9532         # empty executable.
9533         if test x$gcc_no_link = xyes; then
9534   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9535 fi
9536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h.  */
9538
9539 int
9540 main ()
9541 {
9542
9543   ;
9544   return 0;
9545 }
9546 _ACEOF
9547 if ac_fn_c_try_link "$LINENO"; then :
9548
9549 lt_aix_libpath_sed='
9550     /Import File Strings/,/^$/ {
9551         /^0/ {
9552             s/^0  *\(.*\)$/\1/
9553             p
9554         }
9555     }'
9556 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9557 # Check for a 64-bit object if we didn't find anything.
9558 if test -z "$aix_libpath"; then
9559   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9560 fi
9561 fi
9562 rm -f core conftest.err conftest.$ac_objext \
9563     conftest$ac_exeext conftest.$ac_ext
9564 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9565
9566         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9567         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"
9568       else
9569         if test "$host_cpu" = ia64; then
9570           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9571           allow_undefined_flag="-z nodefs"
9572           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"
9573         else
9574          # Determine the default libpath from the value encoded in an
9575          # empty executable.
9576          if test x$gcc_no_link = xyes; then
9577   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9578 fi
9579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9580 /* end confdefs.h.  */
9581
9582 int
9583 main ()
9584 {
9585
9586   ;
9587   return 0;
9588 }
9589 _ACEOF
9590 if ac_fn_c_try_link "$LINENO"; then :
9591
9592 lt_aix_libpath_sed='
9593     /Import File Strings/,/^$/ {
9594         /^0/ {
9595             s/^0  *\(.*\)$/\1/
9596             p
9597         }
9598     }'
9599 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9600 # Check for a 64-bit object if we didn't find anything.
9601 if test -z "$aix_libpath"; then
9602   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9603 fi
9604 fi
9605 rm -f core conftest.err conftest.$ac_objext \
9606     conftest$ac_exeext conftest.$ac_ext
9607 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9608
9609          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9610           # Warning - without using the other run time loading flags,
9611           # -berok will link without error, but may produce a broken library.
9612           no_undefined_flag=' ${wl}-bernotok'
9613           allow_undefined_flag=' ${wl}-berok'
9614           if test "$with_gnu_ld" = yes; then
9615             # We only use this code for GNU lds that support --whole-archive.
9616             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9617           else
9618             # Exported symbols can be pulled into shared objects from archives
9619             whole_archive_flag_spec='$convenience'
9620           fi
9621           archive_cmds_need_lc=yes
9622           # This is similar to how AIX traditionally builds its shared libraries.
9623           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'
9624         fi
9625       fi
9626       ;;
9627
9628     amigaos*)
9629       case $host_cpu in
9630       powerpc)
9631             # see comment about AmigaOS4 .so support
9632             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9633             archive_expsym_cmds=''
9634         ;;
9635       m68k)
9636             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)'
9637             hardcode_libdir_flag_spec='-L$libdir'
9638             hardcode_minus_L=yes
9639         ;;
9640       esac
9641       ;;
9642
9643     bsdi[45]*)
9644       export_dynamic_flag_spec=-rdynamic
9645       ;;
9646
9647     cygwin* | mingw* | pw32* | cegcc*)
9648       # When not using gcc, we currently assume that we are using
9649       # Microsoft Visual C++.
9650       # hardcode_libdir_flag_spec is actually meaningless, as there is
9651       # no search path for DLLs.
9652       hardcode_libdir_flag_spec=' '
9653       allow_undefined_flag=unsupported
9654       # Tell ltmain to make .lib files, not .a files.
9655       libext=lib
9656       # Tell ltmain to make .dll files, not .so files.
9657       shrext_cmds=".dll"
9658       # FIXME: Setting linknames here is a bad hack.
9659       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9660       # The linker will automatically build a .lib file if we build a DLL.
9661       old_archive_from_new_cmds='true'
9662       # FIXME: Should let the user specify the lib program.
9663       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9664       fix_srcfile_path='`cygpath -w "$srcfile"`'
9665       enable_shared_with_static_runtimes=yes
9666       ;;
9667
9668     darwin* | rhapsody*)
9669
9670
9671   archive_cmds_need_lc=no
9672   hardcode_direct=no
9673   hardcode_automatic=yes
9674   hardcode_shlibpath_var=unsupported
9675   if test "$lt_cv_ld_force_load" = "yes"; then
9676     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\"`'
9677   else
9678     whole_archive_flag_spec=''
9679   fi
9680   link_all_deplibs=yes
9681   allow_undefined_flag="$_lt_dar_allow_undefined"
9682   case $cc_basename in
9683      ifort*) _lt_dar_can_shared=yes ;;
9684      *) _lt_dar_can_shared=$GCC ;;
9685   esac
9686   if test "$_lt_dar_can_shared" = "yes"; then
9687     output_verbose_link_cmd=func_echo_all
9688     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9689     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9690     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}"
9691     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}"
9692
9693   else
9694   ld_shlibs=no
9695   fi
9696
9697       ;;
9698
9699     dgux*)
9700       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9701       hardcode_libdir_flag_spec='-L$libdir'
9702       hardcode_shlibpath_var=no
9703       ;;
9704
9705     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9706     # support.  Future versions do this automatically, but an explicit c++rt0.o
9707     # does not break anything, and helps significantly (at the cost of a little
9708     # extra space).
9709     freebsd2.2*)
9710       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9711       hardcode_libdir_flag_spec='-R$libdir'
9712       hardcode_direct=yes
9713       hardcode_shlibpath_var=no
9714       ;;
9715
9716     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9717     freebsd2.*)
9718       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9719       hardcode_direct=yes
9720       hardcode_minus_L=yes
9721       hardcode_shlibpath_var=no
9722       ;;
9723
9724     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9725     freebsd* | dragonfly*)
9726       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9727       hardcode_libdir_flag_spec='-R$libdir'
9728       hardcode_direct=yes
9729       hardcode_shlibpath_var=no
9730       ;;
9731
9732     hpux9*)
9733       if test "$GCC" = yes; then
9734         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'
9735       else
9736         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'
9737       fi
9738       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9739       hardcode_libdir_separator=:
9740       hardcode_direct=yes
9741
9742       # hardcode_minus_L: Not really in the search PATH,
9743       # but as the default location of the library.
9744       hardcode_minus_L=yes
9745       export_dynamic_flag_spec='${wl}-E'
9746       ;;
9747
9748     hpux10*)
9749       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9750         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9751       else
9752         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9753       fi
9754       if test "$with_gnu_ld" = no; then
9755         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9756         hardcode_libdir_flag_spec_ld='+b $libdir'
9757         hardcode_libdir_separator=:
9758         hardcode_direct=yes
9759         hardcode_direct_absolute=yes
9760         export_dynamic_flag_spec='${wl}-E'
9761         # hardcode_minus_L: Not really in the search PATH,
9762         # but as the default location of the library.
9763         hardcode_minus_L=yes
9764       fi
9765       ;;
9766
9767     hpux11*)
9768       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9769         case $host_cpu in
9770         hppa*64*)
9771           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9772           ;;
9773         ia64*)
9774           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9775           ;;
9776         *)
9777           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9778           ;;
9779         esac
9780       else
9781         case $host_cpu in
9782         hppa*64*)
9783           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9784           ;;
9785         ia64*)
9786           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9787           ;;
9788         *)
9789
9790           # Older versions of the 11.00 compiler do not understand -b yet
9791           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9792           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9793 $as_echo_n "checking if $CC understands -b... " >&6; }
9794 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9795   $as_echo_n "(cached) " >&6
9796 else
9797   lt_cv_prog_compiler__b=no
9798    save_LDFLAGS="$LDFLAGS"
9799    LDFLAGS="$LDFLAGS -b"
9800    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9801    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9802      # The linker can only warn and ignore the option if not recognized
9803      # So say no if there are warnings
9804      if test -s conftest.err; then
9805        # Append any errors to the config.log.
9806        cat conftest.err 1>&5
9807        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9808        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9809        if diff conftest.exp conftest.er2 >/dev/null; then
9810          lt_cv_prog_compiler__b=yes
9811        fi
9812      else
9813        lt_cv_prog_compiler__b=yes
9814      fi
9815    fi
9816    $RM -r conftest*
9817    LDFLAGS="$save_LDFLAGS"
9818
9819 fi
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9821 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9822
9823 if test x"$lt_cv_prog_compiler__b" = xyes; then
9824     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9825 else
9826     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9827 fi
9828
9829           ;;
9830         esac
9831       fi
9832       if test "$with_gnu_ld" = no; then
9833         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9834         hardcode_libdir_separator=:
9835
9836         case $host_cpu in
9837         hppa*64*|ia64*)
9838           hardcode_direct=no
9839           hardcode_shlibpath_var=no
9840           ;;
9841         *)
9842           hardcode_direct=yes
9843           hardcode_direct_absolute=yes
9844           export_dynamic_flag_spec='${wl}-E'
9845
9846           # hardcode_minus_L: Not really in the search PATH,
9847           # but as the default location of the library.
9848           hardcode_minus_L=yes
9849           ;;
9850         esac
9851       fi
9852       ;;
9853
9854     irix5* | irix6* | nonstopux*)
9855       if test "$GCC" = yes; then
9856         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'
9857         # Try to use the -exported_symbol ld option, if it does not
9858         # work, assume that -exports_file does not work either and
9859         # implicitly export all symbols.
9860         save_LDFLAGS="$LDFLAGS"
9861         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9862         if test x$gcc_no_link = xyes; then
9863   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9864 fi
9865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h.  */
9867 int foo(void) {}
9868 _ACEOF
9869 if ac_fn_c_try_link "$LINENO"; then :
9870   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'
9871
9872 fi
9873 rm -f core conftest.err conftest.$ac_objext \
9874     conftest$ac_exeext conftest.$ac_ext
9875         LDFLAGS="$save_LDFLAGS"
9876       else
9877         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'
9878         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'
9879       fi
9880       archive_cmds_need_lc='no'
9881       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9882       hardcode_libdir_separator=:
9883       inherit_rpath=yes
9884       link_all_deplibs=yes
9885       ;;
9886
9887     netbsd*)
9888       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9889         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9890       else
9891         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9892       fi
9893       hardcode_libdir_flag_spec='-R$libdir'
9894       hardcode_direct=yes
9895       hardcode_shlibpath_var=no
9896       ;;
9897
9898     newsos6)
9899       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9900       hardcode_direct=yes
9901       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9902       hardcode_libdir_separator=:
9903       hardcode_shlibpath_var=no
9904       ;;
9905
9906     *nto* | *qnx*)
9907       ;;
9908
9909     openbsd*)
9910       if test -f /usr/libexec/ld.so; then
9911         hardcode_direct=yes
9912         hardcode_shlibpath_var=no
9913         hardcode_direct_absolute=yes
9914         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9915           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9916           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9917           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9918           export_dynamic_flag_spec='${wl}-E'
9919         else
9920           case $host_os in
9921            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9922              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9923              hardcode_libdir_flag_spec='-R$libdir'
9924              ;;
9925            *)
9926              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9927              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9928              ;;
9929           esac
9930         fi
9931       else
9932         ld_shlibs=no
9933       fi
9934       ;;
9935
9936     os2*)
9937       hardcode_libdir_flag_spec='-L$libdir'
9938       hardcode_minus_L=yes
9939       allow_undefined_flag=unsupported
9940       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'
9941       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9942       ;;
9943
9944     osf3*)
9945       if test "$GCC" = yes; then
9946         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9947         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'
9948       else
9949         allow_undefined_flag=' -expect_unresolved \*'
9950         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'
9951       fi
9952       archive_cmds_need_lc='no'
9953       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9954       hardcode_libdir_separator=:
9955       ;;
9956
9957     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9958       if test "$GCC" = yes; then
9959         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9960         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-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'
9961         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9962       else
9963         allow_undefined_flag=' -expect_unresolved \*'
9964         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'
9965         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~
9966         $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'
9967
9968         # Both c and cxx compiler support -rpath directly
9969         hardcode_libdir_flag_spec='-rpath $libdir'
9970       fi
9971       archive_cmds_need_lc='no'
9972       hardcode_libdir_separator=:
9973       ;;
9974
9975     solaris*)
9976       no_undefined_flag=' -z defs'
9977       if test "$GCC" = yes; then
9978         wlarc='${wl}'
9979         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9980         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9981           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9982       else
9983         case `$CC -V 2>&1` in
9984         *"Compilers 5.0"*)
9985           wlarc=''
9986           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9987           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9988           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9989           ;;
9990         *)
9991           wlarc='${wl}'
9992           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9993           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9994           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9995           ;;
9996         esac
9997       fi
9998       hardcode_libdir_flag_spec='-R$libdir'
9999       hardcode_shlibpath_var=no
10000       case $host_os in
10001       solaris2.[0-5] | solaris2.[0-5].*) ;;
10002       *)
10003         # The compiler driver will combine and reorder linker options,
10004         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10005         # but is careful enough not to reorder.
10006         # Supported since Solaris 2.6 (maybe 2.5.1?)
10007         if test "$GCC" = yes; then
10008           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10009         else
10010           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10011         fi
10012         ;;
10013       esac
10014       link_all_deplibs=yes
10015       ;;
10016
10017     sunos4*)
10018       if test "x$host_vendor" = xsequent; then
10019         # Use $CC to link under sequent, because it throws in some extra .o
10020         # files that make .init and .fini sections work.
10021         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10022       else
10023         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10024       fi
10025       hardcode_libdir_flag_spec='-L$libdir'
10026       hardcode_direct=yes
10027       hardcode_minus_L=yes
10028       hardcode_shlibpath_var=no
10029       ;;
10030
10031     sysv4)
10032       case $host_vendor in
10033         sni)
10034           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10035           hardcode_direct=yes # is this really true???
10036         ;;
10037         siemens)
10038           ## LD is ld it makes a PLAMLIB
10039           ## CC just makes a GrossModule.
10040           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10041           reload_cmds='$CC -r -o $output$reload_objs'
10042           hardcode_direct=no
10043         ;;
10044         motorola)
10045           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10046           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10047         ;;
10048       esac
10049       runpath_var='LD_RUN_PATH'
10050       hardcode_shlibpath_var=no
10051       ;;
10052
10053     sysv4.3*)
10054       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10055       hardcode_shlibpath_var=no
10056       export_dynamic_flag_spec='-Bexport'
10057       ;;
10058
10059     sysv4*MP*)
10060       if test -d /usr/nec; then
10061         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10062         hardcode_shlibpath_var=no
10063         runpath_var=LD_RUN_PATH
10064         hardcode_runpath_var=yes
10065         ld_shlibs=yes
10066       fi
10067       ;;
10068
10069     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10070       no_undefined_flag='${wl}-z,text'
10071       archive_cmds_need_lc=no
10072       hardcode_shlibpath_var=no
10073       runpath_var='LD_RUN_PATH'
10074
10075       if test "$GCC" = yes; then
10076         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10077         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10078       else
10079         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10080         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10081       fi
10082       ;;
10083
10084     sysv5* | sco3.2v5* | sco5v6*)
10085       # Note: We can NOT use -z defs as we might desire, because we do not
10086       # link with -lc, and that would cause any symbols used from libc to
10087       # always be unresolved, which means just about no library would
10088       # ever link correctly.  If we're not using GNU ld we use -z text
10089       # though, which does catch some bad symbols but isn't as heavy-handed
10090       # as -z defs.
10091       no_undefined_flag='${wl}-z,text'
10092       allow_undefined_flag='${wl}-z,nodefs'
10093       archive_cmds_need_lc=no
10094       hardcode_shlibpath_var=no
10095       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10096       hardcode_libdir_separator=':'
10097       link_all_deplibs=yes
10098       export_dynamic_flag_spec='${wl}-Bexport'
10099       runpath_var='LD_RUN_PATH'
10100
10101       if test "$GCC" = yes; then
10102         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104       else
10105         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10107       fi
10108       ;;
10109
10110     uts4*)
10111       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10112       hardcode_libdir_flag_spec='-L$libdir'
10113       hardcode_shlibpath_var=no
10114       ;;
10115
10116     *)
10117       ld_shlibs=no
10118       ;;
10119     esac
10120
10121     if test x$host_vendor = xsni; then
10122       case $host in
10123       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10124         export_dynamic_flag_spec='${wl}-Blargedynsym'
10125         ;;
10126       esac
10127     fi
10128   fi
10129
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10131 $as_echo "$ld_shlibs" >&6; }
10132 test "$ld_shlibs" = no && can_build_shared=no
10133
10134 with_gnu_ld=$with_gnu_ld
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150 #
10151 # Do we need to explicitly link libc?
10152 #
10153 case "x$archive_cmds_need_lc" in
10154 x|xyes)
10155   # Assume -lc should be added
10156   archive_cmds_need_lc=yes
10157
10158   if test "$enable_shared" = yes && test "$GCC" = yes; then
10159     case $archive_cmds in
10160     *'~'*)
10161       # FIXME: we may have to deal with multi-command sequences.
10162       ;;
10163     '$CC '*)
10164       # Test whether the compiler implicitly links with -lc since on some
10165       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10166       # to ld, don't add -lc before -lgcc.
10167       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10168 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10169 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10170   $as_echo_n "(cached) " >&6
10171 else
10172   $RM conftest*
10173         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10174
10175         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10176   (eval $ac_compile) 2>&5
10177   ac_status=$?
10178   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10179   test $ac_status = 0; } 2>conftest.err; then
10180           soname=conftest
10181           lib=conftest
10182           libobjs=conftest.$ac_objext
10183           deplibs=
10184           wl=$lt_prog_compiler_wl
10185           pic_flag=$lt_prog_compiler_pic
10186           compiler_flags=-v
10187           linker_flags=-v
10188           verstring=
10189           output_objdir=.
10190           libname=conftest
10191           lt_save_allow_undefined_flag=$allow_undefined_flag
10192           allow_undefined_flag=
10193           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10194   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10195   ac_status=$?
10196   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10197   test $ac_status = 0; }
10198           then
10199             lt_cv_archive_cmds_need_lc=no
10200           else
10201             lt_cv_archive_cmds_need_lc=yes
10202           fi
10203           allow_undefined_flag=$lt_save_allow_undefined_flag
10204         else
10205           cat conftest.err 1>&5
10206         fi
10207         $RM conftest*
10208
10209 fi
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10211 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10212       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10213       ;;
10214     esac
10215   fi
10216   ;;
10217 esac
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
10373
10374
10375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10376 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10377
10378 if test "$GCC" = yes; then
10379   case $host_os in
10380     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10381     *) lt_awk_arg="/^libraries:/" ;;
10382   esac
10383   case $host_os in
10384     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10385     *) lt_sed_strip_eq="s,=/,/,g" ;;
10386   esac
10387   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10388   case $lt_search_path_spec in
10389   *\;*)
10390     # if the path contains ";" then we assume it to be the separator
10391     # otherwise default to the standard path separator (i.e. ":") - it is
10392     # assumed that no part of a normal pathname contains ";" but that should
10393     # okay in the real world where ";" in dirpaths is itself problematic.
10394     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10395     ;;
10396   *)
10397     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10398     ;;
10399   esac
10400   # Ok, now we have the path, separated by spaces, we can step through it
10401   # and add multilib dir if necessary.
10402   lt_tmp_lt_search_path_spec=
10403   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10404   for lt_sys_path in $lt_search_path_spec; do
10405     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10406       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10407     else
10408       test -d "$lt_sys_path" && \
10409         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10410     fi
10411   done
10412   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10413 BEGIN {RS=" "; FS="/|\n";} {
10414   lt_foo="";
10415   lt_count=0;
10416   for (lt_i = NF; lt_i > 0; lt_i--) {
10417     if ($lt_i != "" && $lt_i != ".") {
10418       if ($lt_i == "..") {
10419         lt_count++;
10420       } else {
10421         if (lt_count == 0) {
10422           lt_foo="/" $lt_i lt_foo;
10423         } else {
10424           lt_count--;
10425         }
10426       }
10427     }
10428   }
10429   if (lt_foo != "") { lt_freq[lt_foo]++; }
10430   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10431 }'`
10432   # AWK program above erroneously prepends '/' to C:/dos/paths
10433   # for these hosts.
10434   case $host_os in
10435     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10436       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10437   esac
10438   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10439 else
10440   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10441 fi
10442 library_names_spec=
10443 libname_spec='lib$name'
10444 soname_spec=
10445 shrext_cmds=".so"
10446 postinstall_cmds=
10447 postuninstall_cmds=
10448 finish_cmds=
10449 finish_eval=
10450 shlibpath_var=
10451 shlibpath_overrides_runpath=unknown
10452 version_type=none
10453 dynamic_linker="$host_os ld.so"
10454 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10455 need_lib_prefix=unknown
10456 hardcode_into_libs=no
10457
10458 # when you set need_version to no, make sure it does not cause -set_version
10459 # flags to be left without arguments
10460 need_version=unknown
10461
10462 case $host_os in
10463 aix3*)
10464   version_type=linux
10465   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10466   shlibpath_var=LIBPATH
10467
10468   # AIX 3 has no versioning support, so we append a major version to the name.
10469   soname_spec='${libname}${release}${shared_ext}$major'
10470   ;;
10471
10472 aix[4-9]*)
10473   version_type=linux
10474   need_lib_prefix=no
10475   need_version=no
10476   hardcode_into_libs=yes
10477   if test "$host_cpu" = ia64; then
10478     # AIX 5 supports IA64
10479     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10480     shlibpath_var=LD_LIBRARY_PATH
10481   else
10482     # With GCC up to 2.95.x, collect2 would create an import file
10483     # for dependence libraries.  The import file would start with
10484     # the line `#! .'.  This would cause the generated library to
10485     # depend on `.', always an invalid library.  This was fixed in
10486     # development snapshots of GCC prior to 3.0.
10487     case $host_os in
10488       aix4 | aix4.[01] | aix4.[01].*)
10489       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10490            echo ' yes '
10491            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10492         :
10493       else
10494         can_build_shared=no
10495       fi
10496       ;;
10497     esac
10498     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10499     # soname into executable. Probably we can add versioning support to
10500     # collect2, so additional links can be useful in future.
10501     if test "$aix_use_runtimelinking" = yes; then
10502       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10503       # instead of lib<name>.a to let people know that these are not
10504       # typical AIX shared libraries.
10505       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10506     else
10507       # We preserve .a as extension for shared libraries through AIX4.2
10508       # and later when we are not doing run time linking.
10509       library_names_spec='${libname}${release}.a $libname.a'
10510       soname_spec='${libname}${release}${shared_ext}$major'
10511     fi
10512     shlibpath_var=LIBPATH
10513   fi
10514   ;;
10515
10516 amigaos*)
10517   case $host_cpu in
10518   powerpc)
10519     # Since July 2007 AmigaOS4 officially supports .so libraries.
10520     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10521     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10522     ;;
10523   m68k)
10524     library_names_spec='$libname.ixlibrary $libname.a'
10525     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10526     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'
10527     ;;
10528   esac
10529   ;;
10530
10531 beos*)
10532   library_names_spec='${libname}${shared_ext}'
10533   dynamic_linker="$host_os ld.so"
10534   shlibpath_var=LIBRARY_PATH
10535   ;;
10536
10537 bsdi[45]*)
10538   version_type=linux
10539   need_version=no
10540   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10541   soname_spec='${libname}${release}${shared_ext}$major'
10542   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10543   shlibpath_var=LD_LIBRARY_PATH
10544   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10545   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10546   # the default ld.so.conf also contains /usr/contrib/lib and
10547   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10548   # libtool to hard-code these into programs
10549   ;;
10550
10551 cygwin* | mingw* | pw32* | cegcc*)
10552   version_type=windows
10553   shrext_cmds=".dll"
10554   need_version=no
10555   need_lib_prefix=no
10556
10557   case $GCC,$host_os in
10558   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10559     library_names_spec='$libname.dll.a'
10560     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10561     postinstall_cmds='base_file=`basename \${file}`~
10562       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10563       dldir=$destdir/`dirname \$dlpath`~
10564       test -d \$dldir || mkdir -p \$dldir~
10565       $install_prog $dir/$dlname \$dldir/$dlname~
10566       chmod a+x \$dldir/$dlname~
10567       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10568         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10569       fi'
10570     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10571       dlpath=$dir/\$dldll~
10572        $RM \$dlpath'
10573     shlibpath_overrides_runpath=yes
10574
10575     case $host_os in
10576     cygwin*)
10577       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10578       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10579
10580       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10581       ;;
10582     mingw* | cegcc*)
10583       # MinGW DLLs use traditional 'lib' prefix
10584       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10585       ;;
10586     pw32*)
10587       # pw32 DLLs use 'pw' prefix rather than 'lib'
10588       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10589       ;;
10590     esac
10591     ;;
10592
10593   *)
10594     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10595     ;;
10596   esac
10597   dynamic_linker='Win32 ld.exe'
10598   # FIXME: first we should search . and the directory the executable is in
10599   shlibpath_var=PATH
10600   ;;
10601
10602 darwin* | rhapsody*)
10603   dynamic_linker="$host_os dyld"
10604   version_type=darwin
10605   need_lib_prefix=no
10606   need_version=no
10607   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10608   soname_spec='${libname}${release}${major}$shared_ext'
10609   shlibpath_overrides_runpath=yes
10610   shlibpath_var=DYLD_LIBRARY_PATH
10611   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10612
10613   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10614   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10615   ;;
10616
10617 dgux*)
10618   version_type=linux
10619   need_lib_prefix=no
10620   need_version=no
10621   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10622   soname_spec='${libname}${release}${shared_ext}$major'
10623   shlibpath_var=LD_LIBRARY_PATH
10624   ;;
10625
10626 freebsd* | dragonfly*)
10627   # DragonFly does not have aout.  When/if they implement a new
10628   # versioning mechanism, adjust this.
10629   if test -x /usr/bin/objformat; then
10630     objformat=`/usr/bin/objformat`
10631   else
10632     case $host_os in
10633     freebsd[23].*) objformat=aout ;;
10634     *) objformat=elf ;;
10635     esac
10636   fi
10637   version_type=freebsd-$objformat
10638   case $version_type in
10639     freebsd-elf*)
10640       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10641       need_version=no
10642       need_lib_prefix=no
10643       ;;
10644     freebsd-*)
10645       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10646       need_version=yes
10647       ;;
10648   esac
10649   shlibpath_var=LD_LIBRARY_PATH
10650   case $host_os in
10651   freebsd2.*)
10652     shlibpath_overrides_runpath=yes
10653     ;;
10654   freebsd3.[01]* | freebsdelf3.[01]*)
10655     shlibpath_overrides_runpath=yes
10656     hardcode_into_libs=yes
10657     ;;
10658   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10659   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10660     shlibpath_overrides_runpath=no
10661     hardcode_into_libs=yes
10662     ;;
10663   *) # from 4.6 on, and DragonFly
10664     shlibpath_overrides_runpath=yes
10665     hardcode_into_libs=yes
10666     ;;
10667   esac
10668   ;;
10669
10670 gnu*)
10671   version_type=linux
10672   need_lib_prefix=no
10673   need_version=no
10674   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10675   soname_spec='${libname}${release}${shared_ext}$major'
10676   shlibpath_var=LD_LIBRARY_PATH
10677   hardcode_into_libs=yes
10678   ;;
10679
10680 haiku*)
10681   version_type=linux
10682   need_lib_prefix=no
10683   need_version=no
10684   dynamic_linker="$host_os runtime_loader"
10685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10686   soname_spec='${libname}${release}${shared_ext}$major'
10687   shlibpath_var=LIBRARY_PATH
10688   shlibpath_overrides_runpath=yes
10689   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10690   hardcode_into_libs=yes
10691   ;;
10692
10693 hpux9* | hpux10* | hpux11*)
10694   # Give a soname corresponding to the major version so that dld.sl refuses to
10695   # link against other versions.
10696   version_type=sunos
10697   need_lib_prefix=no
10698   need_version=no
10699   case $host_cpu in
10700   ia64*)
10701     shrext_cmds='.so'
10702     hardcode_into_libs=yes
10703     dynamic_linker="$host_os dld.so"
10704     shlibpath_var=LD_LIBRARY_PATH
10705     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10706     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10707     soname_spec='${libname}${release}${shared_ext}$major'
10708     if test "X$HPUX_IA64_MODE" = X32; then
10709       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10710     else
10711       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10712     fi
10713     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10714     ;;
10715   hppa*64*)
10716     shrext_cmds='.sl'
10717     hardcode_into_libs=yes
10718     dynamic_linker="$host_os dld.sl"
10719     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10720     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10721     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10722     soname_spec='${libname}${release}${shared_ext}$major'
10723     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10724     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10725     ;;
10726   *)
10727     shrext_cmds='.sl'
10728     dynamic_linker="$host_os dld.sl"
10729     shlibpath_var=SHLIB_PATH
10730     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10731     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10732     soname_spec='${libname}${release}${shared_ext}$major'
10733     ;;
10734   esac
10735   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10736   postinstall_cmds='chmod 555 $lib'
10737   # or fails outright, so override atomically:
10738   install_override_mode=555
10739   ;;
10740
10741 interix[3-9]*)
10742   version_type=linux
10743   need_lib_prefix=no
10744   need_version=no
10745   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10746   soname_spec='${libname}${release}${shared_ext}$major'
10747   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10748   shlibpath_var=LD_LIBRARY_PATH
10749   shlibpath_overrides_runpath=no
10750   hardcode_into_libs=yes
10751   ;;
10752
10753 irix5* | irix6* | nonstopux*)
10754   case $host_os in
10755     nonstopux*) version_type=nonstopux ;;
10756     *)
10757         if test "$lt_cv_prog_gnu_ld" = yes; then
10758                 version_type=linux
10759         else
10760                 version_type=irix
10761         fi ;;
10762   esac
10763   need_lib_prefix=no
10764   need_version=no
10765   soname_spec='${libname}${release}${shared_ext}$major'
10766   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10767   case $host_os in
10768   irix5* | nonstopux*)
10769     libsuff= shlibsuff=
10770     ;;
10771   *)
10772     case $LD in # libtool.m4 will add one of these switches to LD
10773     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10774       libsuff= shlibsuff= libmagic=32-bit;;
10775     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10776       libsuff=32 shlibsuff=N32 libmagic=N32;;
10777     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10778       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10779     *) libsuff= shlibsuff= libmagic=never-match;;
10780     esac
10781     ;;
10782   esac
10783   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10784   shlibpath_overrides_runpath=no
10785   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10786   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10787   hardcode_into_libs=yes
10788   ;;
10789
10790 # No shared lib support for Linux oldld, aout, or coff.
10791 linux*oldld* | linux*aout* | linux*coff*)
10792   dynamic_linker=no
10793   ;;
10794
10795 # This must be Linux ELF.
10796 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10797   version_type=linux
10798   need_lib_prefix=no
10799   need_version=no
10800   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10801   soname_spec='${libname}${release}${shared_ext}$major'
10802   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10803   shlibpath_var=LD_LIBRARY_PATH
10804   shlibpath_overrides_runpath=no
10805
10806   # Some binutils ld are patched to set DT_RUNPATH
10807   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10808   $as_echo_n "(cached) " >&6
10809 else
10810   lt_cv_shlibpath_overrides_runpath=no
10811     save_LDFLAGS=$LDFLAGS
10812     save_libdir=$libdir
10813     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10814          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10815     if test x$gcc_no_link = xyes; then
10816   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10817 fi
10818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h.  */
10820
10821 int
10822 main ()
10823 {
10824
10825   ;
10826   return 0;
10827 }
10828 _ACEOF
10829 if ac_fn_c_try_link "$LINENO"; then :
10830   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10831   lt_cv_shlibpath_overrides_runpath=yes
10832 fi
10833 fi
10834 rm -f core conftest.err conftest.$ac_objext \
10835     conftest$ac_exeext conftest.$ac_ext
10836     LDFLAGS=$save_LDFLAGS
10837     libdir=$save_libdir
10838
10839 fi
10840
10841   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10842
10843   # This implies no fast_install, which is unacceptable.
10844   # Some rework will be needed to allow for fast_install
10845   # before this can be enabled.
10846   hardcode_into_libs=yes
10847
10848   # Append ld.so.conf contents to the search path
10849   if test -f /etc/ld.so.conf; then
10850     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' ' '`
10851     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10852   fi
10853
10854   # We used to test for /lib/ld.so.1 and disable shared libraries on
10855   # powerpc, because MkLinux only supported shared libraries with the
10856   # GNU dynamic linker.  Since this was broken with cross compilers,
10857   # most powerpc-linux boxes support dynamic linking these days and
10858   # people can always --disable-shared, the test was removed, and we
10859   # assume the GNU/Linux dynamic linker is in use.
10860   dynamic_linker='GNU/Linux ld.so'
10861   ;;
10862
10863 netbsd*)
10864   version_type=sunos
10865   need_lib_prefix=no
10866   need_version=no
10867   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10868     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10869     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10870     dynamic_linker='NetBSD (a.out) ld.so'
10871   else
10872     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10873     soname_spec='${libname}${release}${shared_ext}$major'
10874     dynamic_linker='NetBSD ld.elf_so'
10875   fi
10876   shlibpath_var=LD_LIBRARY_PATH
10877   shlibpath_overrides_runpath=yes
10878   hardcode_into_libs=yes
10879   ;;
10880
10881 newsos6)
10882   version_type=linux
10883   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10884   shlibpath_var=LD_LIBRARY_PATH
10885   shlibpath_overrides_runpath=yes
10886   ;;
10887
10888 *nto* | *qnx*)
10889   version_type=qnx
10890   need_lib_prefix=no
10891   need_version=no
10892   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10893   soname_spec='${libname}${release}${shared_ext}$major'
10894   shlibpath_var=LD_LIBRARY_PATH
10895   shlibpath_overrides_runpath=no
10896   hardcode_into_libs=yes
10897   dynamic_linker='ldqnx.so'
10898   ;;
10899
10900 openbsd*)
10901   version_type=sunos
10902   sys_lib_dlsearch_path_spec="/usr/lib"
10903   need_lib_prefix=no
10904   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10905   case $host_os in
10906     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10907     *)                          need_version=no  ;;
10908   esac
10909   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10910   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10911   shlibpath_var=LD_LIBRARY_PATH
10912   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10913     case $host_os in
10914       openbsd2.[89] | openbsd2.[89].*)
10915         shlibpath_overrides_runpath=no
10916         ;;
10917       *)
10918         shlibpath_overrides_runpath=yes
10919         ;;
10920       esac
10921   else
10922     shlibpath_overrides_runpath=yes
10923   fi
10924   ;;
10925
10926 os2*)
10927   libname_spec='$name'
10928   shrext_cmds=".dll"
10929   need_lib_prefix=no
10930   library_names_spec='$libname${shared_ext} $libname.a'
10931   dynamic_linker='OS/2 ld.exe'
10932   shlibpath_var=LIBPATH
10933   ;;
10934
10935 osf3* | osf4* | osf5*)
10936   version_type=osf
10937   need_lib_prefix=no
10938   need_version=no
10939   soname_spec='${libname}${release}${shared_ext}$major'
10940   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10941   shlibpath_var=LD_LIBRARY_PATH
10942   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10943   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10944   ;;
10945
10946 rdos*)
10947   dynamic_linker=no
10948   ;;
10949
10950 solaris*)
10951   version_type=linux
10952   need_lib_prefix=no
10953   need_version=no
10954   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10955   soname_spec='${libname}${release}${shared_ext}$major'
10956   shlibpath_var=LD_LIBRARY_PATH
10957   shlibpath_overrides_runpath=yes
10958   hardcode_into_libs=yes
10959   # ldd complains unless libraries are executable
10960   postinstall_cmds='chmod +x $lib'
10961   ;;
10962
10963 sunos4*)
10964   version_type=sunos
10965   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10966   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10967   shlibpath_var=LD_LIBRARY_PATH
10968   shlibpath_overrides_runpath=yes
10969   if test "$with_gnu_ld" = yes; then
10970     need_lib_prefix=no
10971   fi
10972   need_version=yes
10973   ;;
10974
10975 sysv4 | sysv4.3*)
10976   version_type=linux
10977   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978   soname_spec='${libname}${release}${shared_ext}$major'
10979   shlibpath_var=LD_LIBRARY_PATH
10980   case $host_vendor in
10981     sni)
10982       shlibpath_overrides_runpath=no
10983       need_lib_prefix=no
10984       runpath_var=LD_RUN_PATH
10985       ;;
10986     siemens)
10987       need_lib_prefix=no
10988       ;;
10989     motorola)
10990       need_lib_prefix=no
10991       need_version=no
10992       shlibpath_overrides_runpath=no
10993       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10994       ;;
10995   esac
10996   ;;
10997
10998 sysv4*MP*)
10999   if test -d /usr/nec ;then
11000     version_type=linux
11001     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11002     soname_spec='$libname${shared_ext}.$major'
11003     shlibpath_var=LD_LIBRARY_PATH
11004   fi
11005   ;;
11006
11007 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11008   version_type=freebsd-elf
11009   need_lib_prefix=no
11010   need_version=no
11011   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11012   soname_spec='${libname}${release}${shared_ext}$major'
11013   shlibpath_var=LD_LIBRARY_PATH
11014   shlibpath_overrides_runpath=yes
11015   hardcode_into_libs=yes
11016   if test "$with_gnu_ld" = yes; then
11017     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11018   else
11019     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11020     case $host_os in
11021       sco3.2v5*)
11022         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11023         ;;
11024     esac
11025   fi
11026   sys_lib_dlsearch_path_spec='/usr/lib'
11027   ;;
11028
11029 tpf*)
11030   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11031   version_type=linux
11032   need_lib_prefix=no
11033   need_version=no
11034   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035   shlibpath_var=LD_LIBRARY_PATH
11036   shlibpath_overrides_runpath=no
11037   hardcode_into_libs=yes
11038   ;;
11039
11040 uts4*)
11041   version_type=linux
11042   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11043   soname_spec='${libname}${release}${shared_ext}$major'
11044   shlibpath_var=LD_LIBRARY_PATH
11045   ;;
11046
11047 *)
11048   dynamic_linker=no
11049   ;;
11050 esac
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11052 $as_echo "$dynamic_linker" >&6; }
11053 test "$dynamic_linker" = no && can_build_shared=no
11054
11055 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11056 if test "$GCC" = yes; then
11057   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11058 fi
11059
11060 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11061   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11062 fi
11063 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11064   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11065 fi
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
11156
11157
11158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11159 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11160 hardcode_action=
11161 if test -n "$hardcode_libdir_flag_spec" ||
11162    test -n "$runpath_var" ||
11163    test "X$hardcode_automatic" = "Xyes" ; then
11164
11165   # We can hardcode non-existent directories.
11166   if test "$hardcode_direct" != no &&
11167      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11168      # have to relink, otherwise we might link with an installed library
11169      # when we should be linking with a yet-to-be-installed one
11170      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11171      test "$hardcode_minus_L" != no; then
11172     # Linking always hardcodes the temporary library directory.
11173     hardcode_action=relink
11174   else
11175     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11176     hardcode_action=immediate
11177   fi
11178 else
11179   # We cannot hardcode anything, or else we can only hardcode existing
11180   # directories.
11181   hardcode_action=unsupported
11182 fi
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11184 $as_echo "$hardcode_action" >&6; }
11185
11186 if test "$hardcode_action" = relink ||
11187    test "$inherit_rpath" = yes; then
11188   # Fast installation is not supported
11189   enable_fast_install=no
11190 elif test "$shlibpath_overrides_runpath" = yes ||
11191      test "$enable_shared" = no; then
11192   # Fast installation is not necessary
11193   enable_fast_install=needless
11194 fi
11195
11196
11197
11198
11199
11200
11201   if test "x$enable_dlopen" != xyes; then
11202   enable_dlopen=unknown
11203   enable_dlopen_self=unknown
11204   enable_dlopen_self_static=unknown
11205 else
11206   lt_cv_dlopen=no
11207   lt_cv_dlopen_libs=
11208
11209   case $host_os in
11210   beos*)
11211     lt_cv_dlopen="load_add_on"
11212     lt_cv_dlopen_libs=
11213     lt_cv_dlopen_self=yes
11214     ;;
11215
11216   mingw* | pw32* | cegcc*)
11217     lt_cv_dlopen="LoadLibrary"
11218     lt_cv_dlopen_libs=
11219     ;;
11220
11221   cygwin*)
11222     lt_cv_dlopen="dlopen"
11223     lt_cv_dlopen_libs=
11224     ;;
11225
11226   darwin*)
11227   # if libdl is installed we need to link against it
11228     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11229 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11230 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11231   $as_echo_n "(cached) " >&6
11232 else
11233   ac_check_lib_save_LIBS=$LIBS
11234 LIBS="-ldl  $LIBS"
11235 if test x$gcc_no_link = xyes; then
11236   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11237 fi
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h.  */
11240
11241 /* Override any GCC internal prototype to avoid an error.
11242    Use char because int might match the return type of a GCC
11243    builtin and then its argument prototype would still apply.  */
11244 #ifdef __cplusplus
11245 extern "C"
11246 #endif
11247 char dlopen ();
11248 int
11249 main ()
11250 {
11251 return dlopen ();
11252   ;
11253   return 0;
11254 }
11255 _ACEOF
11256 if ac_fn_c_try_link "$LINENO"; then :
11257   ac_cv_lib_dl_dlopen=yes
11258 else
11259   ac_cv_lib_dl_dlopen=no
11260 fi
11261 rm -f core conftest.err conftest.$ac_objext \
11262     conftest$ac_exeext conftest.$ac_ext
11263 LIBS=$ac_check_lib_save_LIBS
11264 fi
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11266 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11267 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11268   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11269 else
11270
11271     lt_cv_dlopen="dyld"
11272     lt_cv_dlopen_libs=
11273     lt_cv_dlopen_self=yes
11274
11275 fi
11276
11277     ;;
11278
11279   *)
11280     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11281 if test "x$ac_cv_func_shl_load" = x""yes; then :
11282   lt_cv_dlopen="shl_load"
11283 else
11284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11285 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11286 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11287   $as_echo_n "(cached) " >&6
11288 else
11289   ac_check_lib_save_LIBS=$LIBS
11290 LIBS="-ldld  $LIBS"
11291 if test x$gcc_no_link = xyes; then
11292   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11293 fi
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h.  */
11296
11297 /* Override any GCC internal prototype to avoid an error.
11298    Use char because int might match the return type of a GCC
11299    builtin and then its argument prototype would still apply.  */
11300 #ifdef __cplusplus
11301 extern "C"
11302 #endif
11303 char shl_load ();
11304 int
11305 main ()
11306 {
11307 return shl_load ();
11308   ;
11309   return 0;
11310 }
11311 _ACEOF
11312 if ac_fn_c_try_link "$LINENO"; then :
11313   ac_cv_lib_dld_shl_load=yes
11314 else
11315   ac_cv_lib_dld_shl_load=no
11316 fi
11317 rm -f core conftest.err conftest.$ac_objext \
11318     conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11320 fi
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11322 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11323 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11324   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11325 else
11326   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11327 if test "x$ac_cv_func_dlopen" = x""yes; then :
11328   lt_cv_dlopen="dlopen"
11329 else
11330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11331 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11332 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11333   $as_echo_n "(cached) " >&6
11334 else
11335   ac_check_lib_save_LIBS=$LIBS
11336 LIBS="-ldl  $LIBS"
11337 if test x$gcc_no_link = xyes; then
11338   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11339 fi
11340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11341 /* end confdefs.h.  */
11342
11343 /* Override any GCC internal prototype to avoid an error.
11344    Use char because int might match the return type of a GCC
11345    builtin and then its argument prototype would still apply.  */
11346 #ifdef __cplusplus
11347 extern "C"
11348 #endif
11349 char dlopen ();
11350 int
11351 main ()
11352 {
11353 return dlopen ();
11354   ;
11355   return 0;
11356 }
11357 _ACEOF
11358 if ac_fn_c_try_link "$LINENO"; then :
11359   ac_cv_lib_dl_dlopen=yes
11360 else
11361   ac_cv_lib_dl_dlopen=no
11362 fi
11363 rm -f core conftest.err conftest.$ac_objext \
11364     conftest$ac_exeext conftest.$ac_ext
11365 LIBS=$ac_check_lib_save_LIBS
11366 fi
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11368 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11369 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11370   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11371 else
11372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11373 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11374 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11375   $as_echo_n "(cached) " >&6
11376 else
11377   ac_check_lib_save_LIBS=$LIBS
11378 LIBS="-lsvld  $LIBS"
11379 if test x$gcc_no_link = xyes; then
11380   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11381 fi
11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h.  */
11384
11385 /* Override any GCC internal prototype to avoid an error.
11386    Use char because int might match the return type of a GCC
11387    builtin and then its argument prototype would still apply.  */
11388 #ifdef __cplusplus
11389 extern "C"
11390 #endif
11391 char dlopen ();
11392 int
11393 main ()
11394 {
11395 return dlopen ();
11396   ;
11397   return 0;
11398 }
11399 _ACEOF
11400 if ac_fn_c_try_link "$LINENO"; then :
11401   ac_cv_lib_svld_dlopen=yes
11402 else
11403   ac_cv_lib_svld_dlopen=no
11404 fi
11405 rm -f core conftest.err conftest.$ac_objext \
11406     conftest$ac_exeext conftest.$ac_ext
11407 LIBS=$ac_check_lib_save_LIBS
11408 fi
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11410 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11411 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11412   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11413 else
11414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11415 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11416 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11417   $as_echo_n "(cached) " >&6
11418 else
11419   ac_check_lib_save_LIBS=$LIBS
11420 LIBS="-ldld  $LIBS"
11421 if test x$gcc_no_link = xyes; then
11422   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11423 fi
11424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11425 /* end confdefs.h.  */
11426
11427 /* Override any GCC internal prototype to avoid an error.
11428    Use char because int might match the return type of a GCC
11429    builtin and then its argument prototype would still apply.  */
11430 #ifdef __cplusplus
11431 extern "C"
11432 #endif
11433 char dld_link ();
11434 int
11435 main ()
11436 {
11437 return dld_link ();
11438   ;
11439   return 0;
11440 }
11441 _ACEOF
11442 if ac_fn_c_try_link "$LINENO"; then :
11443   ac_cv_lib_dld_dld_link=yes
11444 else
11445   ac_cv_lib_dld_dld_link=no
11446 fi
11447 rm -f core conftest.err conftest.$ac_objext \
11448     conftest$ac_exeext conftest.$ac_ext
11449 LIBS=$ac_check_lib_save_LIBS
11450 fi
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11452 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11453 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11454   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11455 fi
11456
11457
11458 fi
11459
11460
11461 fi
11462
11463
11464 fi
11465
11466
11467 fi
11468
11469
11470 fi
11471
11472     ;;
11473   esac
11474
11475   if test "x$lt_cv_dlopen" != xno; then
11476     enable_dlopen=yes
11477   else
11478     enable_dlopen=no
11479   fi
11480
11481   case $lt_cv_dlopen in
11482   dlopen)
11483     save_CPPFLAGS="$CPPFLAGS"
11484     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11485
11486     save_LDFLAGS="$LDFLAGS"
11487     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11488
11489     save_LIBS="$LIBS"
11490     LIBS="$lt_cv_dlopen_libs $LIBS"
11491
11492     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11493 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11494 if test "${lt_cv_dlopen_self+set}" = set; then :
11495   $as_echo_n "(cached) " >&6
11496 else
11497           if test "$cross_compiling" = yes; then :
11498   lt_cv_dlopen_self=cross
11499 else
11500   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11501   lt_status=$lt_dlunknown
11502   cat > conftest.$ac_ext <<_LT_EOF
11503 #line 11503 "configure"
11504 #include "confdefs.h"
11505
11506 #if HAVE_DLFCN_H
11507 #include <dlfcn.h>
11508 #endif
11509
11510 #include <stdio.h>
11511
11512 #ifdef RTLD_GLOBAL
11513 #  define LT_DLGLOBAL           RTLD_GLOBAL
11514 #else
11515 #  ifdef DL_GLOBAL
11516 #    define LT_DLGLOBAL         DL_GLOBAL
11517 #  else
11518 #    define LT_DLGLOBAL         0
11519 #  endif
11520 #endif
11521
11522 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11523    find out it does not work in some platform. */
11524 #ifndef LT_DLLAZY_OR_NOW
11525 #  ifdef RTLD_LAZY
11526 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11527 #  else
11528 #    ifdef DL_LAZY
11529 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11530 #    else
11531 #      ifdef RTLD_NOW
11532 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11533 #      else
11534 #        ifdef DL_NOW
11535 #          define LT_DLLAZY_OR_NOW      DL_NOW
11536 #        else
11537 #          define LT_DLLAZY_OR_NOW      0
11538 #        endif
11539 #      endif
11540 #    endif
11541 #  endif
11542 #endif
11543
11544 /* When -fvisbility=hidden is used, assume the code has been annotated
11545    correspondingly for the symbols needed.  */
11546 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11547 void fnord () __attribute__((visibility("default")));
11548 #endif
11549
11550 void fnord () { int i=42; }
11551 int main ()
11552 {
11553   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11554   int status = $lt_dlunknown;
11555
11556   if (self)
11557     {
11558       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11559       else
11560         {
11561           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11562           else puts (dlerror ());
11563         }
11564       /* dlclose (self); */
11565     }
11566   else
11567     puts (dlerror ());
11568
11569   return status;
11570 }
11571 _LT_EOF
11572   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11573   (eval $ac_link) 2>&5
11574   ac_status=$?
11575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11576   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11577     (./conftest; exit; ) >&5 2>/dev/null
11578     lt_status=$?
11579     case x$lt_status in
11580       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11581       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11582       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11583     esac
11584   else :
11585     # compilation failed
11586     lt_cv_dlopen_self=no
11587   fi
11588 fi
11589 rm -fr conftest*
11590
11591
11592 fi
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11594 $as_echo "$lt_cv_dlopen_self" >&6; }
11595
11596     if test "x$lt_cv_dlopen_self" = xyes; then
11597       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11598       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11599 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11600 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11601   $as_echo_n "(cached) " >&6
11602 else
11603           if test "$cross_compiling" = yes; then :
11604   lt_cv_dlopen_self_static=cross
11605 else
11606   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11607   lt_status=$lt_dlunknown
11608   cat > conftest.$ac_ext <<_LT_EOF
11609 #line 11609 "configure"
11610 #include "confdefs.h"
11611
11612 #if HAVE_DLFCN_H
11613 #include <dlfcn.h>
11614 #endif
11615
11616 #include <stdio.h>
11617
11618 #ifdef RTLD_GLOBAL
11619 #  define LT_DLGLOBAL           RTLD_GLOBAL
11620 #else
11621 #  ifdef DL_GLOBAL
11622 #    define LT_DLGLOBAL         DL_GLOBAL
11623 #  else
11624 #    define LT_DLGLOBAL         0
11625 #  endif
11626 #endif
11627
11628 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11629    find out it does not work in some platform. */
11630 #ifndef LT_DLLAZY_OR_NOW
11631 #  ifdef RTLD_LAZY
11632 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11633 #  else
11634 #    ifdef DL_LAZY
11635 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11636 #    else
11637 #      ifdef RTLD_NOW
11638 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11639 #      else
11640 #        ifdef DL_NOW
11641 #          define LT_DLLAZY_OR_NOW      DL_NOW
11642 #        else
11643 #          define LT_DLLAZY_OR_NOW      0
11644 #        endif
11645 #      endif
11646 #    endif
11647 #  endif
11648 #endif
11649
11650 /* When -fvisbility=hidden is used, assume the code has been annotated
11651    correspondingly for the symbols needed.  */
11652 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11653 void fnord () __attribute__((visibility("default")));
11654 #endif
11655
11656 void fnord () { int i=42; }
11657 int main ()
11658 {
11659   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11660   int status = $lt_dlunknown;
11661
11662   if (self)
11663     {
11664       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11665       else
11666         {
11667           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11668           else puts (dlerror ());
11669         }
11670       /* dlclose (self); */
11671     }
11672   else
11673     puts (dlerror ());
11674
11675   return status;
11676 }
11677 _LT_EOF
11678   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11679   (eval $ac_link) 2>&5
11680   ac_status=$?
11681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11682   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11683     (./conftest; exit; ) >&5 2>/dev/null
11684     lt_status=$?
11685     case x$lt_status in
11686       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11687       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11688       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11689     esac
11690   else :
11691     # compilation failed
11692     lt_cv_dlopen_self_static=no
11693   fi
11694 fi
11695 rm -fr conftest*
11696
11697
11698 fi
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11700 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11701     fi
11702
11703     CPPFLAGS="$save_CPPFLAGS"
11704     LDFLAGS="$save_LDFLAGS"
11705     LIBS="$save_LIBS"
11706     ;;
11707   esac
11708
11709   case $lt_cv_dlopen_self in
11710   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11711   *) enable_dlopen_self=unknown ;;
11712   esac
11713
11714   case $lt_cv_dlopen_self_static in
11715   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11716   *) enable_dlopen_self_static=unknown ;;
11717   esac
11718 fi
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736 striplib=
11737 old_striplib=
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11739 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11740 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11741   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11742   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11744 $as_echo "yes" >&6; }
11745 else
11746 # FIXME - insert some real tests, host_os isn't really good enough
11747   case $host_os in
11748   darwin*)
11749     if test -n "$STRIP" ; then
11750       striplib="$STRIP -x"
11751       old_striplib="$STRIP -S"
11752       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11753 $as_echo "yes" >&6; }
11754     else
11755       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11756 $as_echo "no" >&6; }
11757     fi
11758     ;;
11759   *)
11760     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11761 $as_echo "no" >&6; }
11762     ;;
11763   esac
11764 fi
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777   # Report which library types will actually be built
11778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11779 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11781 $as_echo "$can_build_shared" >&6; }
11782
11783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11784 $as_echo_n "checking whether to build shared libraries... " >&6; }
11785   test "$can_build_shared" = "no" && enable_shared=no
11786
11787   # On AIX, shared libraries and static libraries use the same namespace, and
11788   # are all built from PIC.
11789   case $host_os in
11790   aix3*)
11791     test "$enable_shared" = yes && enable_static=no
11792     if test -n "$RANLIB"; then
11793       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11794       postinstall_cmds='$RANLIB $lib'
11795     fi
11796     ;;
11797
11798   aix[4-9]*)
11799     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11800       test "$enable_shared" = yes && enable_static=no
11801     fi
11802     ;;
11803   esac
11804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11805 $as_echo "$enable_shared" >&6; }
11806
11807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11808 $as_echo_n "checking whether to build static libraries... " >&6; }
11809   # Make sure either enable_shared or enable_static is yes.
11810   test "$enable_shared" = yes || enable_static=yes
11811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11812 $as_echo "$enable_static" >&6; }
11813
11814
11815
11816
11817 fi
11818 ac_ext=c
11819 ac_cpp='$CPP $CPPFLAGS'
11820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11823
11824 CC="$lt_save_CC"
11825
11826       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11827     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11828     (test "X$CXX" != "Xg++"))) ; then
11829   ac_ext=cpp
11830 ac_cpp='$CXXCPP $CPPFLAGS'
11831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11835 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11836 if test -z "$CXXCPP"; then
11837   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11838   $as_echo_n "(cached) " >&6
11839 else
11840       # Double quotes because CXXCPP needs to be expanded
11841     for CXXCPP in "$CXX -E" "/lib/cpp"
11842     do
11843       ac_preproc_ok=false
11844 for ac_cxx_preproc_warn_flag in '' yes
11845 do
11846   # Use a header file that comes with gcc, so configuring glibc
11847   # with a fresh cross-compiler works.
11848   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11849   # <limits.h> exists even on freestanding compilers.
11850   # On the NeXT, cc -E runs the code through the compiler's parser,
11851   # not just through cpp. "Syntax error" is here to catch this case.
11852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h.  */
11854 #ifdef __STDC__
11855 # include <limits.h>
11856 #else
11857 # include <assert.h>
11858 #endif
11859                      Syntax error
11860 _ACEOF
11861 if ac_fn_cxx_try_cpp "$LINENO"; then :
11862
11863 else
11864   # Broken: fails on valid input.
11865 continue
11866 fi
11867 rm -f conftest.err conftest.$ac_ext
11868
11869   # OK, works on sane cases.  Now check whether nonexistent headers
11870   # can be detected and how.
11871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h.  */
11873 #include <ac_nonexistent.h>
11874 _ACEOF
11875 if ac_fn_cxx_try_cpp "$LINENO"; then :
11876   # Broken: success on invalid input.
11877 continue
11878 else
11879   # Passes both tests.
11880 ac_preproc_ok=:
11881 break
11882 fi
11883 rm -f conftest.err conftest.$ac_ext
11884
11885 done
11886 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11887 rm -f conftest.err conftest.$ac_ext
11888 if $ac_preproc_ok; then :
11889   break
11890 fi
11891
11892     done
11893     ac_cv_prog_CXXCPP=$CXXCPP
11894
11895 fi
11896   CXXCPP=$ac_cv_prog_CXXCPP
11897 else
11898   ac_cv_prog_CXXCPP=$CXXCPP
11899 fi
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11901 $as_echo "$CXXCPP" >&6; }
11902 ac_preproc_ok=false
11903 for ac_cxx_preproc_warn_flag in '' yes
11904 do
11905   # Use a header file that comes with gcc, so configuring glibc
11906   # with a fresh cross-compiler works.
11907   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11908   # <limits.h> exists even on freestanding compilers.
11909   # On the NeXT, cc -E runs the code through the compiler's parser,
11910   # not just through cpp. "Syntax error" is here to catch this case.
11911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11912 /* end confdefs.h.  */
11913 #ifdef __STDC__
11914 # include <limits.h>
11915 #else
11916 # include <assert.h>
11917 #endif
11918                      Syntax error
11919 _ACEOF
11920 if ac_fn_cxx_try_cpp "$LINENO"; then :
11921
11922 else
11923   # Broken: fails on valid input.
11924 continue
11925 fi
11926 rm -f conftest.err conftest.$ac_ext
11927
11928   # OK, works on sane cases.  Now check whether nonexistent headers
11929   # can be detected and how.
11930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h.  */
11932 #include <ac_nonexistent.h>
11933 _ACEOF
11934 if ac_fn_cxx_try_cpp "$LINENO"; then :
11935   # Broken: success on invalid input.
11936 continue
11937 else
11938   # Passes both tests.
11939 ac_preproc_ok=:
11940 break
11941 fi
11942 rm -f conftest.err conftest.$ac_ext
11943
11944 done
11945 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11946 rm -f conftest.err conftest.$ac_ext
11947 if $ac_preproc_ok; then :
11948
11949 else
11950   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11951 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11952 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11953 See \`config.log' for more details." "$LINENO" 5; }
11954 fi
11955
11956 ac_ext=c
11957 ac_cpp='$CPP $CPPFLAGS'
11958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11961
11962 else
11963   _lt_caught_CXX_error=yes
11964 fi
11965
11966 ac_ext=cpp
11967 ac_cpp='$CXXCPP $CPPFLAGS'
11968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11971
11972 archive_cmds_need_lc_CXX=no
11973 allow_undefined_flag_CXX=
11974 always_export_symbols_CXX=no
11975 archive_expsym_cmds_CXX=
11976 compiler_needs_object_CXX=no
11977 export_dynamic_flag_spec_CXX=
11978 hardcode_direct_CXX=no
11979 hardcode_direct_absolute_CXX=no
11980 hardcode_libdir_flag_spec_CXX=
11981 hardcode_libdir_flag_spec_ld_CXX=
11982 hardcode_libdir_separator_CXX=
11983 hardcode_minus_L_CXX=no
11984 hardcode_shlibpath_var_CXX=unsupported
11985 hardcode_automatic_CXX=no
11986 inherit_rpath_CXX=no
11987 module_cmds_CXX=
11988 module_expsym_cmds_CXX=
11989 link_all_deplibs_CXX=unknown
11990 old_archive_cmds_CXX=$old_archive_cmds
11991 reload_flag_CXX=$reload_flag
11992 reload_cmds_CXX=$reload_cmds
11993 no_undefined_flag_CXX=
11994 whole_archive_flag_spec_CXX=
11995 enable_shared_with_static_runtimes_CXX=no
11996
11997 # Source file extension for C++ test sources.
11998 ac_ext=cpp
11999
12000 # Object file extension for compiled C++ test sources.
12001 objext=o
12002 objext_CXX=$objext
12003
12004 # No sense in running all these tests if we already determined that
12005 # the CXX compiler isn't working.  Some variables (like enable_shared)
12006 # are currently assumed to apply to all compilers on this platform,
12007 # and will be corrupted by setting them based on a non-working compiler.
12008 if test "$_lt_caught_CXX_error" != yes; then
12009   # Code to be used in simple compile tests
12010   lt_simple_compile_test_code="int some_variable = 0;"
12011
12012   # Code to be used in simple link tests
12013   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12014
12015   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12016
12017
12018
12019
12020
12021
12022 # If no C compiler was specified, use CC.
12023 LTCC=${LTCC-"$CC"}
12024
12025 # If no C compiler flags were specified, use CFLAGS.
12026 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12027
12028 # Allow CC to be a program name with arguments.
12029 compiler=$CC
12030
12031
12032   # save warnings/boilerplate of simple test code
12033   ac_outfile=conftest.$ac_objext
12034 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12035 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12036 _lt_compiler_boilerplate=`cat conftest.err`
12037 $RM conftest*
12038
12039   ac_outfile=conftest.$ac_objext
12040 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12041 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12042 _lt_linker_boilerplate=`cat conftest.err`
12043 $RM -r conftest*
12044
12045
12046   # Allow CC to be a program name with arguments.
12047   lt_save_CC=$CC
12048   lt_save_LD=$LD
12049   lt_save_GCC=$GCC
12050   GCC=$GXX
12051   lt_save_with_gnu_ld=$with_gnu_ld
12052   lt_save_path_LD=$lt_cv_path_LD
12053   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12054     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12055   else
12056     $as_unset lt_cv_prog_gnu_ld
12057   fi
12058   if test -n "${lt_cv_path_LDCXX+set}"; then
12059     lt_cv_path_LD=$lt_cv_path_LDCXX
12060   else
12061     $as_unset lt_cv_path_LD
12062   fi
12063   test -z "${LDCXX+set}" || LD=$LDCXX
12064   CC=${CXX-"c++"}
12065   compiler=$CC
12066   compiler_CXX=$CC
12067   for cc_temp in $compiler""; do
12068   case $cc_temp in
12069     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12070     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12071     \-*) ;;
12072     *) break;;
12073   esac
12074 done
12075 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12076
12077
12078   if test -n "$compiler"; then
12079     # We don't want -fno-exception when compiling C++ code, so set the
12080     # no_builtin_flag separately
12081     if test "$GXX" = yes; then
12082       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12083     else
12084       lt_prog_compiler_no_builtin_flag_CXX=
12085     fi
12086
12087     if test "$GXX" = yes; then
12088       # Set up default GNU C++ configuration
12089
12090
12091
12092 # Check whether --with-gnu-ld was given.
12093 if test "${with_gnu_ld+set}" = set; then :
12094   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12095 else
12096   with_gnu_ld=no
12097 fi
12098
12099 ac_prog=ld
12100 if test "$GCC" = yes; then
12101   # Check if gcc -print-prog-name=ld gives a path.
12102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12103 $as_echo_n "checking for ld used by $CC... " >&6; }
12104   case $host in
12105   *-*-mingw*)
12106     # gcc leaves a trailing carriage return which upsets mingw
12107     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12108   *)
12109     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12110   esac
12111   case $ac_prog in
12112     # Accept absolute paths.
12113     [\\/]* | ?:[\\/]*)
12114       re_direlt='/[^/][^/]*/\.\./'
12115       # Canonicalize the pathname of ld
12116       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12117       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12118         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12119       done
12120       test -z "$LD" && LD="$ac_prog"
12121       ;;
12122   "")
12123     # If it fails, then pretend we aren't using GCC.
12124     ac_prog=ld
12125     ;;
12126   *)
12127     # If it is relative, then search for the first ld in PATH.
12128     with_gnu_ld=unknown
12129     ;;
12130   esac
12131 elif test "$with_gnu_ld" = yes; then
12132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12133 $as_echo_n "checking for GNU ld... " >&6; }
12134 else
12135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12136 $as_echo_n "checking for non-GNU ld... " >&6; }
12137 fi
12138 if test "${lt_cv_path_LD+set}" = set; then :
12139   $as_echo_n "(cached) " >&6
12140 else
12141   if test -z "$LD"; then
12142   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12143   for ac_dir in $PATH; do
12144     IFS="$lt_save_ifs"
12145     test -z "$ac_dir" && ac_dir=.
12146     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12147       lt_cv_path_LD="$ac_dir/$ac_prog"
12148       # Check to see if the program is GNU ld.  I'd rather use --version,
12149       # but apparently some variants of GNU ld only accept -v.
12150       # Break only if it was the GNU/non-GNU ld that we prefer.
12151       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12152       *GNU* | *'with BFD'*)
12153         test "$with_gnu_ld" != no && break
12154         ;;
12155       *)
12156         test "$with_gnu_ld" != yes && break
12157         ;;
12158       esac
12159     fi
12160   done
12161   IFS="$lt_save_ifs"
12162 else
12163   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12164 fi
12165 fi
12166
12167 LD="$lt_cv_path_LD"
12168 if test -n "$LD"; then
12169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12170 $as_echo "$LD" >&6; }
12171 else
12172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12173 $as_echo "no" >&6; }
12174 fi
12175 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12177 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12178 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12179   $as_echo_n "(cached) " >&6
12180 else
12181   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12182 case `$LD -v 2>&1 </dev/null` in
12183 *GNU* | *'with BFD'*)
12184   lt_cv_prog_gnu_ld=yes
12185   ;;
12186 *)
12187   lt_cv_prog_gnu_ld=no
12188   ;;
12189 esac
12190 fi
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12192 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12193 with_gnu_ld=$lt_cv_prog_gnu_ld
12194
12195
12196
12197
12198
12199
12200
12201       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12202       # archiving commands below assume that GNU ld is being used.
12203       if test "$with_gnu_ld" = yes; then
12204         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12205         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'
12206
12207         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12208         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12209
12210         # If archive_cmds runs LD, not CC, wlarc should be empty
12211         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12212         #     investigate it a little bit more. (MM)
12213         wlarc='${wl}'
12214
12215         # ancient GNU ld didn't support --whole-archive et. al.
12216         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12217           $GREP 'no-whole-archive' > /dev/null; then
12218           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12219         else
12220           whole_archive_flag_spec_CXX=
12221         fi
12222       else
12223         with_gnu_ld=no
12224         wlarc=
12225
12226         # A generic and very simple default shared library creation
12227         # command for GNU C++ for the case where it uses the native
12228         # linker, instead of GNU ld.  If possible, this setting should
12229         # overridden to take advantage of the native linker features on
12230         # the platform it is being used on.
12231         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12232       fi
12233
12234       # Commands to make compiler produce verbose output that lists
12235       # what "hidden" libraries, object files and flags are used when
12236       # linking a shared library.
12237       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12238
12239     else
12240       GXX=no
12241       with_gnu_ld=no
12242       wlarc=
12243     fi
12244
12245     # PORTME: fill in a description of your system's C++ link characteristics
12246     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12247 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12248     ld_shlibs_CXX=yes
12249     case $host_os in
12250       aix3*)
12251         # FIXME: insert proper C++ library support
12252         ld_shlibs_CXX=no
12253         ;;
12254       aix[4-9]*)
12255         if test "$host_cpu" = ia64; then
12256           # On IA64, the linker does run time linking by default, so we don't
12257           # have to do anything special.
12258           aix_use_runtimelinking=no
12259           exp_sym_flag='-Bexport'
12260           no_entry_flag=""
12261         else
12262           aix_use_runtimelinking=no
12263
12264           # Test if we are trying to use run time linking or normal
12265           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12266           # need to do runtime linking.
12267           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12268             for ld_flag in $LDFLAGS; do
12269               case $ld_flag in
12270               *-brtl*)
12271                 aix_use_runtimelinking=yes
12272                 break
12273                 ;;
12274               esac
12275             done
12276             ;;
12277           esac
12278
12279           exp_sym_flag='-bexport'
12280           no_entry_flag='-bnoentry'
12281         fi
12282
12283         # When large executables or shared objects are built, AIX ld can
12284         # have problems creating the table of contents.  If linking a library
12285         # or program results in "error TOC overflow" add -mminimal-toc to
12286         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12287         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12288
12289         archive_cmds_CXX=''
12290         hardcode_direct_CXX=yes
12291         hardcode_direct_absolute_CXX=yes
12292         hardcode_libdir_separator_CXX=':'
12293         link_all_deplibs_CXX=yes
12294         file_list_spec_CXX='${wl}-f,'
12295
12296         if test "$GXX" = yes; then
12297           case $host_os in aix4.[012]|aix4.[012].*)
12298           # We only want to do this on AIX 4.2 and lower, the check
12299           # below for broken collect2 doesn't work under 4.3+
12300           collect2name=`${CC} -print-prog-name=collect2`
12301           if test -f "$collect2name" &&
12302              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12303           then
12304             # We have reworked collect2
12305             :
12306           else
12307             # We have old collect2
12308             hardcode_direct_CXX=unsupported
12309             # It fails to find uninstalled libraries when the uninstalled
12310             # path is not listed in the libpath.  Setting hardcode_minus_L
12311             # to unsupported forces relinking
12312             hardcode_minus_L_CXX=yes
12313             hardcode_libdir_flag_spec_CXX='-L$libdir'
12314             hardcode_libdir_separator_CXX=
12315           fi
12316           esac
12317           shared_flag='-shared'
12318           if test "$aix_use_runtimelinking" = yes; then
12319             shared_flag="$shared_flag "'${wl}-G'
12320           fi
12321         else
12322           # not using gcc
12323           if test "$host_cpu" = ia64; then
12324           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12325           # chokes on -Wl,-G. The following line is correct:
12326           shared_flag='-G'
12327           else
12328             if test "$aix_use_runtimelinking" = yes; then
12329               shared_flag='${wl}-G'
12330             else
12331               shared_flag='${wl}-bM:SRE'
12332             fi
12333           fi
12334         fi
12335
12336         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12337         # It seems that -bexpall does not export symbols beginning with
12338         # underscore (_), so it is better to generate a list of symbols to
12339         # export.
12340         always_export_symbols_CXX=yes
12341         if test "$aix_use_runtimelinking" = yes; then
12342           # Warning - without using the other runtime loading flags (-brtl),
12343           # -berok will link without error, but may produce a broken library.
12344           allow_undefined_flag_CXX='-berok'
12345           # Determine the default libpath from the value encoded in an empty
12346           # executable.
12347           if test x$gcc_no_link = xyes; then
12348   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12349 fi
12350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12351 /* end confdefs.h.  */
12352
12353 int
12354 main ()
12355 {
12356
12357   ;
12358   return 0;
12359 }
12360 _ACEOF
12361 if ac_fn_cxx_try_link "$LINENO"; then :
12362
12363 lt_aix_libpath_sed='
12364     /Import File Strings/,/^$/ {
12365         /^0/ {
12366             s/^0  *\(.*\)$/\1/
12367             p
12368         }
12369     }'
12370 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12371 # Check for a 64-bit object if we didn't find anything.
12372 if test -z "$aix_libpath"; then
12373   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12374 fi
12375 fi
12376 rm -f core conftest.err conftest.$ac_objext \
12377     conftest$ac_exeext conftest.$ac_ext
12378 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12379
12380           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12381
12382           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"
12383         else
12384           if test "$host_cpu" = ia64; then
12385             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12386             allow_undefined_flag_CXX="-z nodefs"
12387             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"
12388           else
12389             # Determine the default libpath from the value encoded in an
12390             # empty executable.
12391             if test x$gcc_no_link = xyes; then
12392   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12393 fi
12394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12395 /* end confdefs.h.  */
12396
12397 int
12398 main ()
12399 {
12400
12401   ;
12402   return 0;
12403 }
12404 _ACEOF
12405 if ac_fn_cxx_try_link "$LINENO"; then :
12406
12407 lt_aix_libpath_sed='
12408     /Import File Strings/,/^$/ {
12409         /^0/ {
12410             s/^0  *\(.*\)$/\1/
12411             p
12412         }
12413     }'
12414 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12415 # Check for a 64-bit object if we didn't find anything.
12416 if test -z "$aix_libpath"; then
12417   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12418 fi
12419 fi
12420 rm -f core conftest.err conftest.$ac_objext \
12421     conftest$ac_exeext conftest.$ac_ext
12422 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12423
12424             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12425             # Warning - without using the other run time loading flags,
12426             # -berok will link without error, but may produce a broken library.
12427             no_undefined_flag_CXX=' ${wl}-bernotok'
12428             allow_undefined_flag_CXX=' ${wl}-berok'
12429             if test "$with_gnu_ld" = yes; then
12430               # We only use this code for GNU lds that support --whole-archive.
12431               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12432             else
12433               # Exported symbols can be pulled into shared objects from archives
12434               whole_archive_flag_spec_CXX='$convenience'
12435             fi
12436             archive_cmds_need_lc_CXX=yes
12437             # This is similar to how AIX traditionally builds its shared
12438             # libraries.
12439             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'
12440           fi
12441         fi
12442         ;;
12443
12444       beos*)
12445         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12446           allow_undefined_flag_CXX=unsupported
12447           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12448           # support --undefined.  This deserves some investigation.  FIXME
12449           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12450         else
12451           ld_shlibs_CXX=no
12452         fi
12453         ;;
12454
12455       chorus*)
12456         case $cc_basename in
12457           *)
12458           # FIXME: insert proper C++ library support
12459           ld_shlibs_CXX=no
12460           ;;
12461         esac
12462         ;;
12463
12464       cygwin* | mingw* | pw32* | cegcc*)
12465         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12466         # as there is no search path for DLLs.
12467         hardcode_libdir_flag_spec_CXX='-L$libdir'
12468         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12469         allow_undefined_flag_CXX=unsupported
12470         always_export_symbols_CXX=no
12471         enable_shared_with_static_runtimes_CXX=yes
12472
12473         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12474           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'
12475           # If the export-symbols file already is a .def file (1st line
12476           # is EXPORTS), use it as is; otherwise, prepend...
12477           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12478             cp $export_symbols $output_objdir/$soname.def;
12479           else
12480             echo EXPORTS > $output_objdir/$soname.def;
12481             cat $export_symbols >> $output_objdir/$soname.def;
12482           fi~
12483           $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'
12484         else
12485           ld_shlibs_CXX=no
12486         fi
12487         ;;
12488       darwin* | rhapsody*)
12489
12490
12491   archive_cmds_need_lc_CXX=no
12492   hardcode_direct_CXX=no
12493   hardcode_automatic_CXX=yes
12494   hardcode_shlibpath_var_CXX=unsupported
12495   if test "$lt_cv_ld_force_load" = "yes"; then
12496     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\"`'
12497   else
12498     whole_archive_flag_spec_CXX=''
12499   fi
12500   link_all_deplibs_CXX=yes
12501   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12502   case $cc_basename in
12503      ifort*) _lt_dar_can_shared=yes ;;
12504      *) _lt_dar_can_shared=$GCC ;;
12505   esac
12506   if test "$_lt_dar_can_shared" = "yes"; then
12507     output_verbose_link_cmd=func_echo_all
12508     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}"
12509     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12510     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}"
12511     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}"
12512        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12513       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}"
12514       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}"
12515     fi
12516
12517   else
12518   ld_shlibs_CXX=no
12519   fi
12520
12521         ;;
12522
12523       dgux*)
12524         case $cc_basename in
12525           ec++*)
12526             # FIXME: insert proper C++ library support
12527             ld_shlibs_CXX=no
12528             ;;
12529           ghcx*)
12530             # Green Hills C++ Compiler
12531             # FIXME: insert proper C++ library support
12532             ld_shlibs_CXX=no
12533             ;;
12534           *)
12535             # FIXME: insert proper C++ library support
12536             ld_shlibs_CXX=no
12537             ;;
12538         esac
12539         ;;
12540
12541       freebsd2.*)
12542         # C++ shared libraries reported to be fairly broken before
12543         # switch to ELF
12544         ld_shlibs_CXX=no
12545         ;;
12546
12547       freebsd-elf*)
12548         archive_cmds_need_lc_CXX=no
12549         ;;
12550
12551       freebsd* | dragonfly*)
12552         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12553         # conventions
12554         ld_shlibs_CXX=yes
12555         ;;
12556
12557       gnu*)
12558         ;;
12559
12560       haiku*)
12561         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12562         link_all_deplibs_CXX=yes
12563         ;;
12564
12565       hpux9*)
12566         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12567         hardcode_libdir_separator_CXX=:
12568         export_dynamic_flag_spec_CXX='${wl}-E'
12569         hardcode_direct_CXX=yes
12570         hardcode_minus_L_CXX=yes # Not in the search PATH,
12571                                              # but as the default
12572                                              # location of the library.
12573
12574         case $cc_basename in
12575           CC*)
12576             # FIXME: insert proper C++ library support
12577             ld_shlibs_CXX=no
12578             ;;
12579           aCC*)
12580             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'
12581             # Commands to make compiler produce verbose output that lists
12582             # what "hidden" libraries, object files and flags are used when
12583             # linking a shared library.
12584             #
12585             # There doesn't appear to be a way to prevent this compiler from
12586             # explicitly linking system object files so we need to strip them
12587             # from the output so that they don't get included in the library
12588             # dependencies.
12589             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"'
12590             ;;
12591           *)
12592             if test "$GXX" = yes; then
12593               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'
12594             else
12595               # FIXME: insert proper C++ library support
12596               ld_shlibs_CXX=no
12597             fi
12598             ;;
12599         esac
12600         ;;
12601
12602       hpux10*|hpux11*)
12603         if test $with_gnu_ld = no; then
12604           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12605           hardcode_libdir_separator_CXX=:
12606
12607           case $host_cpu in
12608             hppa*64*|ia64*)
12609               ;;
12610             *)
12611               export_dynamic_flag_spec_CXX='${wl}-E'
12612               ;;
12613           esac
12614         fi
12615         case $host_cpu in
12616           hppa*64*|ia64*)
12617             hardcode_direct_CXX=no
12618             hardcode_shlibpath_var_CXX=no
12619             ;;
12620           *)
12621             hardcode_direct_CXX=yes
12622             hardcode_direct_absolute_CXX=yes
12623             hardcode_minus_L_CXX=yes # Not in the search PATH,
12624                                                  # but as the default
12625                                                  # location of the library.
12626             ;;
12627         esac
12628
12629         case $cc_basename in
12630           CC*)
12631             # FIXME: insert proper C++ library support
12632             ld_shlibs_CXX=no
12633             ;;
12634           aCC*)
12635             case $host_cpu in
12636               hppa*64*)
12637                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12638                 ;;
12639               ia64*)
12640                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12641                 ;;
12642               *)
12643                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12644                 ;;
12645             esac
12646             # Commands to make compiler produce verbose output that lists
12647             # what "hidden" libraries, object files and flags are used when
12648             # linking a shared library.
12649             #
12650             # There doesn't appear to be a way to prevent this compiler from
12651             # explicitly linking system object files so we need to strip them
12652             # from the output so that they don't get included in the library
12653             # dependencies.
12654             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"'
12655             ;;
12656           *)
12657             if test "$GXX" = yes; then
12658               if test $with_gnu_ld = no; then
12659                 case $host_cpu in
12660                   hppa*64*)
12661                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12662                     ;;
12663                   ia64*)
12664                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12665                     ;;
12666                   *)
12667                     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'
12668                     ;;
12669                 esac
12670               fi
12671             else
12672               # FIXME: insert proper C++ library support
12673               ld_shlibs_CXX=no
12674             fi
12675             ;;
12676         esac
12677         ;;
12678
12679       interix[3-9]*)
12680         hardcode_direct_CXX=no
12681         hardcode_shlibpath_var_CXX=no
12682         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12683         export_dynamic_flag_spec_CXX='${wl}-E'
12684         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12685         # Instead, shared libraries are loaded at an image base (0x10000000 by
12686         # default) and relocated if they conflict, which is a slow very memory
12687         # consuming and fragmenting process.  To avoid this, we pick a random,
12688         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12689         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12690         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'
12691         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'
12692         ;;
12693       irix5* | irix6*)
12694         case $cc_basename in
12695           CC*)
12696             # SGI C++
12697             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'
12698
12699             # Archives containing C++ object files must be created using
12700             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12701             # necessary to make sure instantiated templates are included
12702             # in the archive.
12703             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12704             ;;
12705           *)
12706             if test "$GXX" = yes; then
12707               if test "$with_gnu_ld" = no; then
12708                 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'
12709               else
12710                 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'
12711               fi
12712             fi
12713             link_all_deplibs_CXX=yes
12714             ;;
12715         esac
12716         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12717         hardcode_libdir_separator_CXX=:
12718         inherit_rpath_CXX=yes
12719         ;;
12720
12721       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12722         case $cc_basename in
12723           KCC*)
12724             # Kuck and Associates, Inc. (KAI) C++ Compiler
12725
12726             # KCC will only create a shared library if the output file
12727             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12728             # to its proper name (with version) after linking.
12729             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'
12730             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'
12731             # Commands to make compiler produce verbose output that lists
12732             # what "hidden" libraries, object files and flags are used when
12733             # linking a shared library.
12734             #
12735             # There doesn't appear to be a way to prevent this compiler from
12736             # explicitly linking system object files so we need to strip them
12737             # from the output so that they don't get included in the library
12738             # dependencies.
12739             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"'
12740
12741             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12742             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12743
12744             # Archives containing C++ object files must be created using
12745             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12746             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12747             ;;
12748           icpc* | ecpc* )
12749             # Intel C++
12750             with_gnu_ld=yes
12751             # version 8.0 and above of icpc choke on multiply defined symbols
12752             # if we add $predep_objects and $postdep_objects, however 7.1 and
12753             # earlier do not add the objects themselves.
12754             case `$CC -V 2>&1` in
12755               *"Version 7."*)
12756                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12757                 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'
12758                 ;;
12759               *)  # Version 8.0 or newer
12760                 tmp_idyn=
12761                 case $host_cpu in
12762                   ia64*) tmp_idyn=' -i_dynamic';;
12763                 esac
12764                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12765                 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'
12766                 ;;
12767             esac
12768             archive_cmds_need_lc_CXX=no
12769             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12770             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12771             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12772             ;;
12773           pgCC* | pgcpp*)
12774             # Portland Group C++ compiler
12775             case `$CC -V` in
12776             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12777               prelink_cmds_CXX='tpldir=Template.dir~
12778                 rm -rf $tpldir~
12779                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12780                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12781               old_archive_cmds_CXX='tpldir=Template.dir~
12782                 rm -rf $tpldir~
12783                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12784                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12785                 $RANLIB $oldlib'
12786               archive_cmds_CXX='tpldir=Template.dir~
12787                 rm -rf $tpldir~
12788                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12789                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12790               archive_expsym_cmds_CXX='tpldir=Template.dir~
12791                 rm -rf $tpldir~
12792                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12793                 $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'
12794               ;;
12795             *) # Version 6 and above use weak symbols
12796               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12797               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'
12798               ;;
12799             esac
12800
12801             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12802             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12803             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'
12804             ;;
12805           cxx*)
12806             # Compaq C++
12807             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12808             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'
12809
12810             runpath_var=LD_RUN_PATH
12811             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12812             hardcode_libdir_separator_CXX=:
12813
12814             # Commands to make compiler produce verbose output that lists
12815             # what "hidden" libraries, object files and flags are used when
12816             # linking a shared library.
12817             #
12818             # There doesn't appear to be a way to prevent this compiler from
12819             # explicitly linking system object files so we need to strip them
12820             # from the output so that they don't get included in the library
12821             # dependencies.
12822             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'
12823             ;;
12824           xl* | mpixl* | bgxl*)
12825             # IBM XL 8.0 on PPC, with GNU ld
12826             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12827             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12828             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12829             if test "x$supports_anon_versioning" = xyes; then
12830               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12831                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12832                 echo "local: *; };" >> $output_objdir/$libname.ver~
12833                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12834             fi
12835             ;;
12836           *)
12837             case `$CC -V 2>&1 | sed 5q` in
12838             *Sun\ C*)
12839               # Sun C++ 5.9
12840               no_undefined_flag_CXX=' -zdefs'
12841               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12842               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'
12843               hardcode_libdir_flag_spec_CXX='-R$libdir'
12844               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'
12845               compiler_needs_object_CXX=yes
12846
12847               # Not sure whether something based on
12848               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12849               # would be better.
12850               output_verbose_link_cmd='func_echo_all'
12851
12852               # Archives containing C++ object files must be created using
12853               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12854               # necessary to make sure instantiated templates are included
12855               # in the archive.
12856               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12857               ;;
12858             esac
12859             ;;
12860         esac
12861         ;;
12862
12863       lynxos*)
12864         # FIXME: insert proper C++ library support
12865         ld_shlibs_CXX=no
12866         ;;
12867
12868       m88k*)
12869         # FIXME: insert proper C++ library support
12870         ld_shlibs_CXX=no
12871         ;;
12872
12873       mvs*)
12874         case $cc_basename in
12875           cxx*)
12876             # FIXME: insert proper C++ library support
12877             ld_shlibs_CXX=no
12878             ;;
12879           *)
12880             # FIXME: insert proper C++ library support
12881             ld_shlibs_CXX=no
12882             ;;
12883         esac
12884         ;;
12885
12886       netbsd*)
12887         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12888           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12889           wlarc=
12890           hardcode_libdir_flag_spec_CXX='-R$libdir'
12891           hardcode_direct_CXX=yes
12892           hardcode_shlibpath_var_CXX=no
12893         fi
12894         # Workaround some broken pre-1.5 toolchains
12895         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12896         ;;
12897
12898       *nto* | *qnx*)
12899         ld_shlibs_CXX=yes
12900         ;;
12901
12902       openbsd2*)
12903         # C++ shared libraries are fairly broken
12904         ld_shlibs_CXX=no
12905         ;;
12906
12907       openbsd*)
12908         if test -f /usr/libexec/ld.so; then
12909           hardcode_direct_CXX=yes
12910           hardcode_shlibpath_var_CXX=no
12911           hardcode_direct_absolute_CXX=yes
12912           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12913           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12914           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12915             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12916             export_dynamic_flag_spec_CXX='${wl}-E'
12917             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12918           fi
12919           output_verbose_link_cmd=func_echo_all
12920         else
12921           ld_shlibs_CXX=no
12922         fi
12923         ;;
12924
12925       osf3* | osf4* | osf5*)
12926         case $cc_basename in
12927           KCC*)
12928             # Kuck and Associates, Inc. (KAI) C++ Compiler
12929
12930             # KCC will only create a shared library if the output file
12931             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12932             # to its proper name (with version) after linking.
12933             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'
12934
12935             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12936             hardcode_libdir_separator_CXX=:
12937
12938             # Archives containing C++ object files must be created using
12939             # the KAI C++ compiler.
12940             case $host in
12941               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12942               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12943             esac
12944             ;;
12945           RCC*)
12946             # Rational C++ 2.4.1
12947             # FIXME: insert proper C++ library support
12948             ld_shlibs_CXX=no
12949             ;;
12950           cxx*)
12951             case $host in
12952               osf3*)
12953                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12954                 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'
12955                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12956                 ;;
12957               *)
12958                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12959                 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'
12960                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12961                   echo "-hidden">> $lib.exp~
12962                   $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~
12963                   $RM $lib.exp'
12964                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12965                 ;;
12966             esac
12967
12968             hardcode_libdir_separator_CXX=:
12969
12970             # Commands to make compiler produce verbose output that lists
12971             # what "hidden" libraries, object files and flags are used when
12972             # linking a shared library.
12973             #
12974             # There doesn't appear to be a way to prevent this compiler from
12975             # explicitly linking system object files so we need to strip them
12976             # from the output so that they don't get included in the library
12977             # dependencies.
12978             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"'
12979             ;;
12980           *)
12981             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12982               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12983               case $host in
12984                 osf3*)
12985                   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'
12986                   ;;
12987                 *)
12988                   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'
12989                   ;;
12990               esac
12991
12992               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12993               hardcode_libdir_separator_CXX=:
12994
12995               # Commands to make compiler produce verbose output that lists
12996               # what "hidden" libraries, object files and flags are used when
12997               # linking a shared library.
12998               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12999
13000             else
13001               # FIXME: insert proper C++ library support
13002               ld_shlibs_CXX=no
13003             fi
13004             ;;
13005         esac
13006         ;;
13007
13008       psos*)
13009         # FIXME: insert proper C++ library support
13010         ld_shlibs_CXX=no
13011         ;;
13012
13013       sunos4*)
13014         case $cc_basename in
13015           CC*)
13016             # Sun C++ 4.x
13017             # FIXME: insert proper C++ library support
13018             ld_shlibs_CXX=no
13019             ;;
13020           lcc*)
13021             # Lucid
13022             # FIXME: insert proper C++ library support
13023             ld_shlibs_CXX=no
13024             ;;
13025           *)
13026             # FIXME: insert proper C++ library support
13027             ld_shlibs_CXX=no
13028             ;;
13029         esac
13030         ;;
13031
13032       solaris*)
13033         case $cc_basename in
13034           CC*)
13035             # Sun C++ 4.2, 5.x and Centerline C++
13036             archive_cmds_need_lc_CXX=yes
13037             no_undefined_flag_CXX=' -zdefs'
13038             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13039             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13040               $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'
13041
13042             hardcode_libdir_flag_spec_CXX='-R$libdir'
13043             hardcode_shlibpath_var_CXX=no
13044             case $host_os in
13045               solaris2.[0-5] | solaris2.[0-5].*) ;;
13046               *)
13047                 # The compiler driver will combine and reorder linker options,
13048                 # but understands `-z linker_flag'.
13049                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13050                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13051                 ;;
13052             esac
13053             link_all_deplibs_CXX=yes
13054
13055             output_verbose_link_cmd='func_echo_all'
13056
13057             # Archives containing C++ object files must be created using
13058             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13059             # necessary to make sure instantiated templates are included
13060             # in the archive.
13061             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13062             ;;
13063           gcx*)
13064             # Green Hills C++ Compiler
13065             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13066
13067             # The C++ compiler must be used to create the archive.
13068             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13069             ;;
13070           *)
13071             # GNU C++ compiler with Solaris linker
13072             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13073               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13074               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13075                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13076                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13077                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13078
13079                 # Commands to make compiler produce verbose output that lists
13080                 # what "hidden" libraries, object files and flags are used when
13081                 # linking a shared library.
13082                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13083               else
13084                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13085                 # platform.
13086                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13087                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13088                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13089
13090                 # Commands to make compiler produce verbose output that lists
13091                 # what "hidden" libraries, object files and flags are used when
13092                 # linking a shared library.
13093                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13094               fi
13095
13096               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13097               case $host_os in
13098                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13099                 *)
13100                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13101                   ;;
13102               esac
13103             fi
13104             ;;
13105         esac
13106         ;;
13107
13108     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13109       no_undefined_flag_CXX='${wl}-z,text'
13110       archive_cmds_need_lc_CXX=no
13111       hardcode_shlibpath_var_CXX=no
13112       runpath_var='LD_RUN_PATH'
13113
13114       case $cc_basename in
13115         CC*)
13116           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13117           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13118           ;;
13119         *)
13120           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13121           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13122           ;;
13123       esac
13124       ;;
13125
13126       sysv5* | sco3.2v5* | sco5v6*)
13127         # Note: We can NOT use -z defs as we might desire, because we do not
13128         # link with -lc, and that would cause any symbols used from libc to
13129         # always be unresolved, which means just about no library would
13130         # ever link correctly.  If we're not using GNU ld we use -z text
13131         # though, which does catch some bad symbols but isn't as heavy-handed
13132         # as -z defs.
13133         no_undefined_flag_CXX='${wl}-z,text'
13134         allow_undefined_flag_CXX='${wl}-z,nodefs'
13135         archive_cmds_need_lc_CXX=no
13136         hardcode_shlibpath_var_CXX=no
13137         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13138         hardcode_libdir_separator_CXX=':'
13139         link_all_deplibs_CXX=yes
13140         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13141         runpath_var='LD_RUN_PATH'
13142
13143         case $cc_basename in
13144           CC*)
13145             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13146             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13147             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13148               '"$old_archive_cmds_CXX"
13149             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13150               '"$reload_cmds_CXX"
13151             ;;
13152           *)
13153             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13154             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13155             ;;
13156         esac
13157       ;;
13158
13159       tandem*)
13160         case $cc_basename in
13161           NCC*)
13162             # NonStop-UX NCC 3.20
13163             # FIXME: insert proper C++ library support
13164             ld_shlibs_CXX=no
13165             ;;
13166           *)
13167             # FIXME: insert proper C++ library support
13168             ld_shlibs_CXX=no
13169             ;;
13170         esac
13171         ;;
13172
13173       vxworks*)
13174         # FIXME: insert proper C++ library support
13175         ld_shlibs_CXX=no
13176         ;;
13177
13178       *)
13179         # FIXME: insert proper C++ library support
13180         ld_shlibs_CXX=no
13181         ;;
13182     esac
13183
13184     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13185 $as_echo "$ld_shlibs_CXX" >&6; }
13186     test "$ld_shlibs_CXX" = no && can_build_shared=no
13187
13188     GCC_CXX="$GXX"
13189     LD_CXX="$LD"
13190
13191     ## CAVEAT EMPTOR:
13192     ## There is no encapsulation within the following macros, do not change
13193     ## the running order or otherwise move them around unless you know exactly
13194     ## what you are doing...
13195     # Dependencies to place before and after the object being linked:
13196 predep_objects_CXX=
13197 postdep_objects_CXX=
13198 predeps_CXX=
13199 postdeps_CXX=
13200 compiler_lib_search_path_CXX=
13201
13202 cat > conftest.$ac_ext <<_LT_EOF
13203 class Foo
13204 {
13205 public:
13206   Foo (void) { a = 0; }
13207 private:
13208   int a;
13209 };
13210 _LT_EOF
13211
13212 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13213   (eval $ac_compile) 2>&5
13214   ac_status=$?
13215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13216   test $ac_status = 0; }; then
13217   # Parse the compiler output and extract the necessary
13218   # objects, libraries and library flags.
13219
13220   # Sentinel used to keep track of whether or not we are before
13221   # the conftest object file.
13222   pre_test_object_deps_done=no
13223
13224   for p in `eval "$output_verbose_link_cmd"`; do
13225     case $p in
13226
13227     -L* | -R* | -l*)
13228        # Some compilers place space between "-{L,R}" and the path.
13229        # Remove the space.
13230        if test $p = "-L" ||
13231           test $p = "-R"; then
13232          prev=$p
13233          continue
13234        else
13235          prev=
13236        fi
13237
13238        if test "$pre_test_object_deps_done" = no; then
13239          case $p in
13240          -L* | -R*)
13241            # Internal compiler library paths should come after those
13242            # provided the user.  The postdeps already come after the
13243            # user supplied libs so there is no need to process them.
13244            if test -z "$compiler_lib_search_path_CXX"; then
13245              compiler_lib_search_path_CXX="${prev}${p}"
13246            else
13247              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13248            fi
13249            ;;
13250          # The "-l" case would never come before the object being
13251          # linked, so don't bother handling this case.
13252          esac
13253        else
13254          if test -z "$postdeps_CXX"; then
13255            postdeps_CXX="${prev}${p}"
13256          else
13257            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13258          fi
13259        fi
13260        ;;
13261
13262     *.$objext)
13263        # This assumes that the test object file only shows up
13264        # once in the compiler output.
13265        if test "$p" = "conftest.$objext"; then
13266          pre_test_object_deps_done=yes
13267          continue
13268        fi
13269
13270        if test "$pre_test_object_deps_done" = no; then
13271          if test -z "$predep_objects_CXX"; then
13272            predep_objects_CXX="$p"
13273          else
13274            predep_objects_CXX="$predep_objects_CXX $p"
13275          fi
13276        else
13277          if test -z "$postdep_objects_CXX"; then
13278            postdep_objects_CXX="$p"
13279          else
13280            postdep_objects_CXX="$postdep_objects_CXX $p"
13281          fi
13282        fi
13283        ;;
13284
13285     *) ;; # Ignore the rest.
13286
13287     esac
13288   done
13289
13290   # Clean up.
13291   rm -f a.out a.exe
13292 else
13293   echo "libtool.m4: error: problem compiling CXX test program"
13294 fi
13295
13296 $RM -f confest.$objext
13297
13298 # PORTME: override above test on systems where it is broken
13299 case $host_os in
13300 interix[3-9]*)
13301   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13302   # hack all around it, let's just trust "g++" to DTRT.
13303   predep_objects_CXX=
13304   postdep_objects_CXX=
13305   postdeps_CXX=
13306   ;;
13307
13308 linux*)
13309   case `$CC -V 2>&1 | sed 5q` in
13310   *Sun\ C*)
13311     # Sun C++ 5.9
13312
13313     # The more standards-conforming stlport4 library is
13314     # incompatible with the Cstd library. Avoid specifying
13315     # it if it's in CXXFLAGS. Ignore libCrun as
13316     # -library=stlport4 depends on it.
13317     case " $CXX $CXXFLAGS " in
13318     *" -library=stlport4 "*)
13319       solaris_use_stlport4=yes
13320       ;;
13321     esac
13322
13323     if test "$solaris_use_stlport4" != yes; then
13324       postdeps_CXX='-library=Cstd -library=Crun'
13325     fi
13326     ;;
13327   esac
13328   ;;
13329
13330 solaris*)
13331   case $cc_basename in
13332   CC*)
13333     # The more standards-conforming stlport4 library is
13334     # incompatible with the Cstd library. Avoid specifying
13335     # it if it's in CXXFLAGS. Ignore libCrun as
13336     # -library=stlport4 depends on it.
13337     case " $CXX $CXXFLAGS " in
13338     *" -library=stlport4 "*)
13339       solaris_use_stlport4=yes
13340       ;;
13341     esac
13342
13343     # Adding this requires a known-good setup of shared libraries for
13344     # Sun compiler versions before 5.6, else PIC objects from an old
13345     # archive will be linked into the output, leading to subtle bugs.
13346     if test "$solaris_use_stlport4" != yes; then
13347       postdeps_CXX='-library=Cstd -library=Crun'
13348     fi
13349     ;;
13350   esac
13351   ;;
13352 esac
13353
13354
13355 case " $postdeps_CXX " in
13356 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13357 esac
13358  compiler_lib_search_dirs_CXX=
13359 if test -n "${compiler_lib_search_path_CXX}"; then
13360  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13361 fi
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
13391
13392
13393     lt_prog_compiler_wl_CXX=
13394 lt_prog_compiler_pic_CXX=
13395 lt_prog_compiler_static_CXX=
13396
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13398 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13399
13400   # C++ specific cases for pic, static, wl, etc.
13401   if test "$GXX" = yes; then
13402     lt_prog_compiler_wl_CXX='-Wl,'
13403     lt_prog_compiler_static_CXX='-static'
13404
13405     case $host_os in
13406     aix*)
13407       # All AIX code is PIC.
13408       if test "$host_cpu" = ia64; then
13409         # AIX 5 now supports IA64 processor
13410         lt_prog_compiler_static_CXX='-Bstatic'
13411       fi
13412       ;;
13413
13414     amigaos*)
13415       case $host_cpu in
13416       powerpc)
13417             # see comment about AmigaOS4 .so support
13418             lt_prog_compiler_pic_CXX='-fPIC'
13419         ;;
13420       m68k)
13421             # FIXME: we need at least 68020 code to build shared libraries, but
13422             # adding the `-m68020' flag to GCC prevents building anything better,
13423             # like `-m68040'.
13424             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13425         ;;
13426       esac
13427       ;;
13428
13429     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13430       # PIC is the default for these OSes.
13431       ;;
13432     mingw* | cygwin* | os2* | pw32* | cegcc*)
13433       # This hack is so that the source file can tell whether it is being
13434       # built for inclusion in a dll (and should export symbols for example).
13435       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13436       # (--disable-auto-import) libraries
13437       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13438       ;;
13439     darwin* | rhapsody*)
13440       # PIC is the default on this platform
13441       # Common symbols not allowed in MH_DYLIB files
13442       lt_prog_compiler_pic_CXX='-fno-common'
13443       ;;
13444     *djgpp*)
13445       # DJGPP does not support shared libraries at all
13446       lt_prog_compiler_pic_CXX=
13447       ;;
13448     haiku*)
13449       # PIC is the default for Haiku.
13450       # The "-static" flag exists, but is broken.
13451       lt_prog_compiler_static_CXX=
13452       ;;
13453     interix[3-9]*)
13454       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13455       # Instead, we relocate shared libraries at runtime.
13456       ;;
13457     sysv4*MP*)
13458       if test -d /usr/nec; then
13459         lt_prog_compiler_pic_CXX=-Kconform_pic
13460       fi
13461       ;;
13462     hpux*)
13463       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13464       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13465       # sets the default TLS model and affects inlining.
13466       case $host_cpu in
13467       hppa*64*)
13468         ;;
13469       *)
13470         lt_prog_compiler_pic_CXX='-fPIC'
13471         ;;
13472       esac
13473       ;;
13474     *qnx* | *nto*)
13475       # QNX uses GNU C++, but need to define -shared option too, otherwise
13476       # it will coredump.
13477       lt_prog_compiler_pic_CXX='-fPIC -shared'
13478       ;;
13479     *)
13480       lt_prog_compiler_pic_CXX='-fPIC'
13481       ;;
13482     esac
13483   else
13484     case $host_os in
13485       aix[4-9]*)
13486         # All AIX code is PIC.
13487         if test "$host_cpu" = ia64; then
13488           # AIX 5 now supports IA64 processor
13489           lt_prog_compiler_static_CXX='-Bstatic'
13490         else
13491           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13492         fi
13493         ;;
13494       chorus*)
13495         case $cc_basename in
13496         cxch68*)
13497           # Green Hills C++ Compiler
13498           # _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"
13499           ;;
13500         esac
13501         ;;
13502       dgux*)
13503         case $cc_basename in
13504           ec++*)
13505             lt_prog_compiler_pic_CXX='-KPIC'
13506             ;;
13507           ghcx*)
13508             # Green Hills C++ Compiler
13509             lt_prog_compiler_pic_CXX='-pic'
13510             ;;
13511           *)
13512             ;;
13513         esac
13514         ;;
13515       freebsd* | dragonfly*)
13516         # FreeBSD uses GNU C++
13517         ;;
13518       hpux9* | hpux10* | hpux11*)
13519         case $cc_basename in
13520           CC*)
13521             lt_prog_compiler_wl_CXX='-Wl,'
13522             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13523             if test "$host_cpu" != ia64; then
13524               lt_prog_compiler_pic_CXX='+Z'
13525             fi
13526             ;;
13527           aCC*)
13528             lt_prog_compiler_wl_CXX='-Wl,'
13529             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13530             case $host_cpu in
13531             hppa*64*|ia64*)
13532               # +Z the default
13533               ;;
13534             *)
13535               lt_prog_compiler_pic_CXX='+Z'
13536               ;;
13537             esac
13538             ;;
13539           *)
13540             ;;
13541         esac
13542         ;;
13543       interix*)
13544         # This is c89, which is MS Visual C++ (no shared libs)
13545         # Anyone wants to do a port?
13546         ;;
13547       irix5* | irix6* | nonstopux*)
13548         case $cc_basename in
13549           CC*)
13550             lt_prog_compiler_wl_CXX='-Wl,'
13551             lt_prog_compiler_static_CXX='-non_shared'
13552             # CC pic flag -KPIC is the default.
13553             ;;
13554           *)
13555             ;;
13556         esac
13557         ;;
13558       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13559         case $cc_basename in
13560           KCC*)
13561             # KAI C++ Compiler
13562             lt_prog_compiler_wl_CXX='--backend -Wl,'
13563             lt_prog_compiler_pic_CXX='-fPIC'
13564             ;;
13565           ecpc* )
13566             # old Intel C++ for x86_64 which still supported -KPIC.
13567             lt_prog_compiler_wl_CXX='-Wl,'
13568             lt_prog_compiler_pic_CXX='-KPIC'
13569             lt_prog_compiler_static_CXX='-static'
13570             ;;
13571           icpc* )
13572             # Intel C++, used to be incompatible with GCC.
13573             # ICC 10 doesn't accept -KPIC any more.
13574             lt_prog_compiler_wl_CXX='-Wl,'
13575             lt_prog_compiler_pic_CXX='-fPIC'
13576             lt_prog_compiler_static_CXX='-static'
13577             ;;
13578           pgCC* | pgcpp*)
13579             # Portland Group C++ compiler
13580             lt_prog_compiler_wl_CXX='-Wl,'
13581             lt_prog_compiler_pic_CXX='-fpic'
13582             lt_prog_compiler_static_CXX='-Bstatic'
13583             ;;
13584           cxx*)
13585             # Compaq C++
13586             # Make sure the PIC flag is empty.  It appears that all Alpha
13587             # Linux and Compaq Tru64 Unix objects are PIC.
13588             lt_prog_compiler_pic_CXX=
13589             lt_prog_compiler_static_CXX='-non_shared'
13590             ;;
13591           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13592             # IBM XL 8.0, 9.0 on PPC and BlueGene
13593             lt_prog_compiler_wl_CXX='-Wl,'
13594             lt_prog_compiler_pic_CXX='-qpic'
13595             lt_prog_compiler_static_CXX='-qstaticlink'
13596             ;;
13597           *)
13598             case `$CC -V 2>&1 | sed 5q` in
13599             *Sun\ C*)
13600               # Sun C++ 5.9
13601               lt_prog_compiler_pic_CXX='-KPIC'
13602               lt_prog_compiler_static_CXX='-Bstatic'
13603               lt_prog_compiler_wl_CXX='-Qoption ld '
13604               ;;
13605             esac
13606             ;;
13607         esac
13608         ;;
13609       lynxos*)
13610         ;;
13611       m88k*)
13612         ;;
13613       mvs*)
13614         case $cc_basename in
13615           cxx*)
13616             lt_prog_compiler_pic_CXX='-W c,exportall'
13617             ;;
13618           *)
13619             ;;
13620         esac
13621         ;;
13622       netbsd*)
13623         ;;
13624       *qnx* | *nto*)
13625         # QNX uses GNU C++, but need to define -shared option too, otherwise
13626         # it will coredump.
13627         lt_prog_compiler_pic_CXX='-fPIC -shared'
13628         ;;
13629       osf3* | osf4* | osf5*)
13630         case $cc_basename in
13631           KCC*)
13632             lt_prog_compiler_wl_CXX='--backend -Wl,'
13633             ;;
13634           RCC*)
13635             # Rational C++ 2.4.1
13636             lt_prog_compiler_pic_CXX='-pic'
13637             ;;
13638           cxx*)
13639             # Digital/Compaq C++
13640             lt_prog_compiler_wl_CXX='-Wl,'
13641             # Make sure the PIC flag is empty.  It appears that all Alpha
13642             # Linux and Compaq Tru64 Unix objects are PIC.
13643             lt_prog_compiler_pic_CXX=
13644             lt_prog_compiler_static_CXX='-non_shared'
13645             ;;
13646           *)
13647             ;;
13648         esac
13649         ;;
13650       psos*)
13651         ;;
13652       solaris*)
13653         case $cc_basename in
13654           CC*)
13655             # Sun C++ 4.2, 5.x and Centerline C++
13656             lt_prog_compiler_pic_CXX='-KPIC'
13657             lt_prog_compiler_static_CXX='-Bstatic'
13658             lt_prog_compiler_wl_CXX='-Qoption ld '
13659             ;;
13660           gcx*)
13661             # Green Hills C++ Compiler
13662             lt_prog_compiler_pic_CXX='-PIC'
13663             ;;
13664           *)
13665             ;;
13666         esac
13667         ;;
13668       sunos4*)
13669         case $cc_basename in
13670           CC*)
13671             # Sun C++ 4.x
13672             lt_prog_compiler_pic_CXX='-pic'
13673             lt_prog_compiler_static_CXX='-Bstatic'
13674             ;;
13675           lcc*)
13676             # Lucid
13677             lt_prog_compiler_pic_CXX='-pic'
13678             ;;
13679           *)
13680             ;;
13681         esac
13682         ;;
13683       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13684         case $cc_basename in
13685           CC*)
13686             lt_prog_compiler_wl_CXX='-Wl,'
13687             lt_prog_compiler_pic_CXX='-KPIC'
13688             lt_prog_compiler_static_CXX='-Bstatic'
13689             ;;
13690         esac
13691         ;;
13692       tandem*)
13693         case $cc_basename in
13694           NCC*)
13695             # NonStop-UX NCC 3.20
13696             lt_prog_compiler_pic_CXX='-KPIC'
13697             ;;
13698           *)
13699             ;;
13700         esac
13701         ;;
13702       vxworks*)
13703         ;;
13704       *)
13705         lt_prog_compiler_can_build_shared_CXX=no
13706         ;;
13707     esac
13708   fi
13709
13710 case $host_os in
13711   # For platforms which do not support PIC, -DPIC is meaningless:
13712   *djgpp*)
13713     lt_prog_compiler_pic_CXX=
13714     ;;
13715   *)
13716     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13717     ;;
13718 esac
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13720 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13721
13722
13723
13724 #
13725 # Check to make sure the PIC flag actually works.
13726 #
13727 if test -n "$lt_prog_compiler_pic_CXX"; then
13728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13729 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13730 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13731   $as_echo_n "(cached) " >&6
13732 else
13733   lt_cv_prog_compiler_pic_works_CXX=no
13734    ac_outfile=conftest.$ac_objext
13735    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13736    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13737    # Insert the option either (1) after the last *FLAGS variable, or
13738    # (2) before a word containing "conftest.", or (3) at the end.
13739    # Note that $ac_compile itself does not contain backslashes and begins
13740    # with a dollar sign (not a hyphen), so the echo should work correctly.
13741    # The option is referenced via a variable to avoid confusing sed.
13742    lt_compile=`echo "$ac_compile" | $SED \
13743    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13744    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13745    -e 's:$: $lt_compiler_flag:'`
13746    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13747    (eval "$lt_compile" 2>conftest.err)
13748    ac_status=$?
13749    cat conftest.err >&5
13750    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751    if (exit $ac_status) && test -s "$ac_outfile"; then
13752      # The compiler can only warn and ignore the option if not recognized
13753      # So say no if there are warnings other than the usual output.
13754      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13755      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13756      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13757        lt_cv_prog_compiler_pic_works_CXX=yes
13758      fi
13759    fi
13760    $RM conftest*
13761
13762 fi
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13764 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13765
13766 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13767     case $lt_prog_compiler_pic_CXX in
13768      "" | " "*) ;;
13769      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13770      esac
13771 else
13772     lt_prog_compiler_pic_CXX=
13773      lt_prog_compiler_can_build_shared_CXX=no
13774 fi
13775
13776 fi
13777
13778
13779
13780 #
13781 # Check to make sure the static flag actually works.
13782 #
13783 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13785 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13786 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13787   $as_echo_n "(cached) " >&6
13788 else
13789   lt_cv_prog_compiler_static_works_CXX=no
13790    save_LDFLAGS="$LDFLAGS"
13791    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13792    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13793    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13794      # The linker can only warn and ignore the option if not recognized
13795      # So say no if there are warnings
13796      if test -s conftest.err; then
13797        # Append any errors to the config.log.
13798        cat conftest.err 1>&5
13799        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13800        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13801        if diff conftest.exp conftest.er2 >/dev/null; then
13802          lt_cv_prog_compiler_static_works_CXX=yes
13803        fi
13804      else
13805        lt_cv_prog_compiler_static_works_CXX=yes
13806      fi
13807    fi
13808    $RM -r conftest*
13809    LDFLAGS="$save_LDFLAGS"
13810
13811 fi
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13813 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13814
13815 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13816     :
13817 else
13818     lt_prog_compiler_static_CXX=
13819 fi
13820
13821
13822
13823
13824     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13825 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13826 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13827   $as_echo_n "(cached) " >&6
13828 else
13829   lt_cv_prog_compiler_c_o_CXX=no
13830    $RM -r conftest 2>/dev/null
13831    mkdir conftest
13832    cd conftest
13833    mkdir out
13834    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13835
13836    lt_compiler_flag="-o out/conftest2.$ac_objext"
13837    # Insert the option either (1) after the last *FLAGS variable, or
13838    # (2) before a word containing "conftest.", or (3) at the end.
13839    # Note that $ac_compile itself does not contain backslashes and begins
13840    # with a dollar sign (not a hyphen), so the echo should work correctly.
13841    lt_compile=`echo "$ac_compile" | $SED \
13842    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13843    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13844    -e 's:$: $lt_compiler_flag:'`
13845    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13846    (eval "$lt_compile" 2>out/conftest.err)
13847    ac_status=$?
13848    cat out/conftest.err >&5
13849    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13851    then
13852      # The compiler can only warn and ignore the option if not recognized
13853      # So say no if there are warnings
13854      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13855      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13856      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13857        lt_cv_prog_compiler_c_o_CXX=yes
13858      fi
13859    fi
13860    chmod u+w . 2>&5
13861    $RM conftest*
13862    # SGI C++ compiler will create directory out/ii_files/ for
13863    # template instantiation
13864    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13865    $RM out/* && rmdir out
13866    cd ..
13867    $RM -r conftest
13868    $RM conftest*
13869
13870 fi
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13872 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13873
13874
13875
13876     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13877 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13878 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13879   $as_echo_n "(cached) " >&6
13880 else
13881   lt_cv_prog_compiler_c_o_CXX=no
13882    $RM -r conftest 2>/dev/null
13883    mkdir conftest
13884    cd conftest
13885    mkdir out
13886    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13887
13888    lt_compiler_flag="-o out/conftest2.$ac_objext"
13889    # Insert the option either (1) after the last *FLAGS variable, or
13890    # (2) before a word containing "conftest.", or (3) at the end.
13891    # Note that $ac_compile itself does not contain backslashes and begins
13892    # with a dollar sign (not a hyphen), so the echo should work correctly.
13893    lt_compile=`echo "$ac_compile" | $SED \
13894    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13895    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13896    -e 's:$: $lt_compiler_flag:'`
13897    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13898    (eval "$lt_compile" 2>out/conftest.err)
13899    ac_status=$?
13900    cat out/conftest.err >&5
13901    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13903    then
13904      # The compiler can only warn and ignore the option if not recognized
13905      # So say no if there are warnings
13906      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13907      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13908      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13909        lt_cv_prog_compiler_c_o_CXX=yes
13910      fi
13911    fi
13912    chmod u+w . 2>&5
13913    $RM conftest*
13914    # SGI C++ compiler will create directory out/ii_files/ for
13915    # template instantiation
13916    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13917    $RM out/* && rmdir out
13918    cd ..
13919    $RM -r conftest
13920    $RM conftest*
13921
13922 fi
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13924 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13925
13926
13927
13928
13929 hard_links="nottested"
13930 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13931   # do not overwrite the value of need_locks provided by the user
13932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13933 $as_echo_n "checking if we can lock with hard links... " >&6; }
13934   hard_links=yes
13935   $RM conftest*
13936   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13937   touch conftest.a
13938   ln conftest.a conftest.b 2>&5 || hard_links=no
13939   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13941 $as_echo "$hard_links" >&6; }
13942   if test "$hard_links" = no; then
13943     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13944 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13945     need_locks=warn
13946   fi
13947 else
13948   need_locks=no
13949 fi
13950
13951
13952
13953     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13954 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13955
13956   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13957   case $host_os in
13958   aix[4-9]*)
13959     # If we're using GNU nm, then we don't want the "-C" option.
13960     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13961     # Also, AIX nm treats weak defined symbols like other global defined
13962     # symbols, whereas GNU nm marks them as "W".
13963     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13964       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'
13965     else
13966       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'
13967     fi
13968     ;;
13969   pw32*)
13970     export_symbols_cmds_CXX="$ltdll_cmds"
13971   ;;
13972   cygwin* | mingw* | cegcc*)
13973     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'
13974   ;;
13975   *)
13976     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13977   ;;
13978   esac
13979   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13980
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13982 $as_echo "$ld_shlibs_CXX" >&6; }
13983 test "$ld_shlibs_CXX" = no && can_build_shared=no
13984
13985 with_gnu_ld_CXX=$with_gnu_ld
13986
13987
13988
13989
13990
13991
13992 #
13993 # Do we need to explicitly link libc?
13994 #
13995 case "x$archive_cmds_need_lc_CXX" in
13996 x|xyes)
13997   # Assume -lc should be added
13998   archive_cmds_need_lc_CXX=yes
13999
14000   if test "$enable_shared" = yes && test "$GCC" = yes; then
14001     case $archive_cmds_CXX in
14002     *'~'*)
14003       # FIXME: we may have to deal with multi-command sequences.
14004       ;;
14005     '$CC '*)
14006       # Test whether the compiler implicitly links with -lc since on some
14007       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14008       # to ld, don't add -lc before -lgcc.
14009       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14010 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14011 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14012   $as_echo_n "(cached) " >&6
14013 else
14014   $RM conftest*
14015         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14016
14017         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14018   (eval $ac_compile) 2>&5
14019   ac_status=$?
14020   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14021   test $ac_status = 0; } 2>conftest.err; then
14022           soname=conftest
14023           lib=conftest
14024           libobjs=conftest.$ac_objext
14025           deplibs=
14026           wl=$lt_prog_compiler_wl_CXX
14027           pic_flag=$lt_prog_compiler_pic_CXX
14028           compiler_flags=-v
14029           linker_flags=-v
14030           verstring=
14031           output_objdir=.
14032           libname=conftest
14033           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14034           allow_undefined_flag_CXX=
14035           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14036   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14037   ac_status=$?
14038   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14039   test $ac_status = 0; }
14040           then
14041             lt_cv_archive_cmds_need_lc_CXX=no
14042           else
14043             lt_cv_archive_cmds_need_lc_CXX=yes
14044           fi
14045           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14046         else
14047           cat conftest.err 1>&5
14048         fi
14049         $RM conftest*
14050
14051 fi
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14053 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14054       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14055       ;;
14056     esac
14057   fi
14058   ;;
14059 esac
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
14122
14123
14124     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14125 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14126
14127 library_names_spec=
14128 libname_spec='lib$name'
14129 soname_spec=
14130 shrext_cmds=".so"
14131 postinstall_cmds=
14132 postuninstall_cmds=
14133 finish_cmds=
14134 finish_eval=
14135 shlibpath_var=
14136 shlibpath_overrides_runpath=unknown
14137 version_type=none
14138 dynamic_linker="$host_os ld.so"
14139 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14140 need_lib_prefix=unknown
14141 hardcode_into_libs=no
14142
14143 # when you set need_version to no, make sure it does not cause -set_version
14144 # flags to be left without arguments
14145 need_version=unknown
14146
14147 case $host_os in
14148 aix3*)
14149   version_type=linux
14150   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14151   shlibpath_var=LIBPATH
14152
14153   # AIX 3 has no versioning support, so we append a major version to the name.
14154   soname_spec='${libname}${release}${shared_ext}$major'
14155   ;;
14156
14157 aix[4-9]*)
14158   version_type=linux
14159   need_lib_prefix=no
14160   need_version=no
14161   hardcode_into_libs=yes
14162   if test "$host_cpu" = ia64; then
14163     # AIX 5 supports IA64
14164     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14165     shlibpath_var=LD_LIBRARY_PATH
14166   else
14167     # With GCC up to 2.95.x, collect2 would create an import file
14168     # for dependence libraries.  The import file would start with
14169     # the line `#! .'.  This would cause the generated library to
14170     # depend on `.', always an invalid library.  This was fixed in
14171     # development snapshots of GCC prior to 3.0.
14172     case $host_os in
14173       aix4 | aix4.[01] | aix4.[01].*)
14174       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14175            echo ' yes '
14176            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14177         :
14178       else
14179         can_build_shared=no
14180       fi
14181       ;;
14182     esac
14183     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14184     # soname into executable. Probably we can add versioning support to
14185     # collect2, so additional links can be useful in future.
14186     if test "$aix_use_runtimelinking" = yes; then
14187       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14188       # instead of lib<name>.a to let people know that these are not
14189       # typical AIX shared libraries.
14190       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14191     else
14192       # We preserve .a as extension for shared libraries through AIX4.2
14193       # and later when we are not doing run time linking.
14194       library_names_spec='${libname}${release}.a $libname.a'
14195       soname_spec='${libname}${release}${shared_ext}$major'
14196     fi
14197     shlibpath_var=LIBPATH
14198   fi
14199   ;;
14200
14201 amigaos*)
14202   case $host_cpu in
14203   powerpc)
14204     # Since July 2007 AmigaOS4 officially supports .so libraries.
14205     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14206     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14207     ;;
14208   m68k)
14209     library_names_spec='$libname.ixlibrary $libname.a'
14210     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14211     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'
14212     ;;
14213   esac
14214   ;;
14215
14216 beos*)
14217   library_names_spec='${libname}${shared_ext}'
14218   dynamic_linker="$host_os ld.so"
14219   shlibpath_var=LIBRARY_PATH
14220   ;;
14221
14222 bsdi[45]*)
14223   version_type=linux
14224   need_version=no
14225   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14226   soname_spec='${libname}${release}${shared_ext}$major'
14227   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14228   shlibpath_var=LD_LIBRARY_PATH
14229   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14230   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14231   # the default ld.so.conf also contains /usr/contrib/lib and
14232   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14233   # libtool to hard-code these into programs
14234   ;;
14235
14236 cygwin* | mingw* | pw32* | cegcc*)
14237   version_type=windows
14238   shrext_cmds=".dll"
14239   need_version=no
14240   need_lib_prefix=no
14241
14242   case $GCC,$host_os in
14243   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14244     library_names_spec='$libname.dll.a'
14245     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14246     postinstall_cmds='base_file=`basename \${file}`~
14247       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14248       dldir=$destdir/`dirname \$dlpath`~
14249       test -d \$dldir || mkdir -p \$dldir~
14250       $install_prog $dir/$dlname \$dldir/$dlname~
14251       chmod a+x \$dldir/$dlname~
14252       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14253         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14254       fi'
14255     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14256       dlpath=$dir/\$dldll~
14257        $RM \$dlpath'
14258     shlibpath_overrides_runpath=yes
14259
14260     case $host_os in
14261     cygwin*)
14262       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14263       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14264
14265       ;;
14266     mingw* | cegcc*)
14267       # MinGW DLLs use traditional 'lib' prefix
14268       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14269       ;;
14270     pw32*)
14271       # pw32 DLLs use 'pw' prefix rather than 'lib'
14272       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14273       ;;
14274     esac
14275     ;;
14276
14277   *)
14278     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14279     ;;
14280   esac
14281   dynamic_linker='Win32 ld.exe'
14282   # FIXME: first we should search . and the directory the executable is in
14283   shlibpath_var=PATH
14284   ;;
14285
14286 darwin* | rhapsody*)
14287   dynamic_linker="$host_os dyld"
14288   version_type=darwin
14289   need_lib_prefix=no
14290   need_version=no
14291   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14292   soname_spec='${libname}${release}${major}$shared_ext'
14293   shlibpath_overrides_runpath=yes
14294   shlibpath_var=DYLD_LIBRARY_PATH
14295   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14296
14297   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14298   ;;
14299
14300 dgux*)
14301   version_type=linux
14302   need_lib_prefix=no
14303   need_version=no
14304   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14305   soname_spec='${libname}${release}${shared_ext}$major'
14306   shlibpath_var=LD_LIBRARY_PATH
14307   ;;
14308
14309 freebsd* | dragonfly*)
14310   # DragonFly does not have aout.  When/if they implement a new
14311   # versioning mechanism, adjust this.
14312   if test -x /usr/bin/objformat; then
14313     objformat=`/usr/bin/objformat`
14314   else
14315     case $host_os in
14316     freebsd[23].*) objformat=aout ;;
14317     *) objformat=elf ;;
14318     esac
14319   fi
14320   version_type=freebsd-$objformat
14321   case $version_type in
14322     freebsd-elf*)
14323       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14324       need_version=no
14325       need_lib_prefix=no
14326       ;;
14327     freebsd-*)
14328       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14329       need_version=yes
14330       ;;
14331   esac
14332   shlibpath_var=LD_LIBRARY_PATH
14333   case $host_os in
14334   freebsd2.*)
14335     shlibpath_overrides_runpath=yes
14336     ;;
14337   freebsd3.[01]* | freebsdelf3.[01]*)
14338     shlibpath_overrides_runpath=yes
14339     hardcode_into_libs=yes
14340     ;;
14341   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14342   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14343     shlibpath_overrides_runpath=no
14344     hardcode_into_libs=yes
14345     ;;
14346   *) # from 4.6 on, and DragonFly
14347     shlibpath_overrides_runpath=yes
14348     hardcode_into_libs=yes
14349     ;;
14350   esac
14351   ;;
14352
14353 gnu*)
14354   version_type=linux
14355   need_lib_prefix=no
14356   need_version=no
14357   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14358   soname_spec='${libname}${release}${shared_ext}$major'
14359   shlibpath_var=LD_LIBRARY_PATH
14360   hardcode_into_libs=yes
14361   ;;
14362
14363 haiku*)
14364   version_type=linux
14365   need_lib_prefix=no
14366   need_version=no
14367   dynamic_linker="$host_os runtime_loader"
14368   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14369   soname_spec='${libname}${release}${shared_ext}$major'
14370   shlibpath_var=LIBRARY_PATH
14371   shlibpath_overrides_runpath=yes
14372   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14373   hardcode_into_libs=yes
14374   ;;
14375
14376 hpux9* | hpux10* | hpux11*)
14377   # Give a soname corresponding to the major version so that dld.sl refuses to
14378   # link against other versions.
14379   version_type=sunos
14380   need_lib_prefix=no
14381   need_version=no
14382   case $host_cpu in
14383   ia64*)
14384     shrext_cmds='.so'
14385     hardcode_into_libs=yes
14386     dynamic_linker="$host_os dld.so"
14387     shlibpath_var=LD_LIBRARY_PATH
14388     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14389     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14390     soname_spec='${libname}${release}${shared_ext}$major'
14391     if test "X$HPUX_IA64_MODE" = X32; then
14392       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14393     else
14394       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14395     fi
14396     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14397     ;;
14398   hppa*64*)
14399     shrext_cmds='.sl'
14400     hardcode_into_libs=yes
14401     dynamic_linker="$host_os dld.sl"
14402     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14403     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14404     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14405     soname_spec='${libname}${release}${shared_ext}$major'
14406     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14407     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14408     ;;
14409   *)
14410     shrext_cmds='.sl'
14411     dynamic_linker="$host_os dld.sl"
14412     shlibpath_var=SHLIB_PATH
14413     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14414     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14415     soname_spec='${libname}${release}${shared_ext}$major'
14416     ;;
14417   esac
14418   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14419   postinstall_cmds='chmod 555 $lib'
14420   # or fails outright, so override atomically:
14421   install_override_mode=555
14422   ;;
14423
14424 interix[3-9]*)
14425   version_type=linux
14426   need_lib_prefix=no
14427   need_version=no
14428   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14429   soname_spec='${libname}${release}${shared_ext}$major'
14430   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14431   shlibpath_var=LD_LIBRARY_PATH
14432   shlibpath_overrides_runpath=no
14433   hardcode_into_libs=yes
14434   ;;
14435
14436 irix5* | irix6* | nonstopux*)
14437   case $host_os in
14438     nonstopux*) version_type=nonstopux ;;
14439     *)
14440         if test "$lt_cv_prog_gnu_ld" = yes; then
14441                 version_type=linux
14442         else
14443                 version_type=irix
14444         fi ;;
14445   esac
14446   need_lib_prefix=no
14447   need_version=no
14448   soname_spec='${libname}${release}${shared_ext}$major'
14449   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14450   case $host_os in
14451   irix5* | nonstopux*)
14452     libsuff= shlibsuff=
14453     ;;
14454   *)
14455     case $LD in # libtool.m4 will add one of these switches to LD
14456     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14457       libsuff= shlibsuff= libmagic=32-bit;;
14458     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14459       libsuff=32 shlibsuff=N32 libmagic=N32;;
14460     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14461       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14462     *) libsuff= shlibsuff= libmagic=never-match;;
14463     esac
14464     ;;
14465   esac
14466   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14467   shlibpath_overrides_runpath=no
14468   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14469   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14470   hardcode_into_libs=yes
14471   ;;
14472
14473 # No shared lib support for Linux oldld, aout, or coff.
14474 linux*oldld* | linux*aout* | linux*coff*)
14475   dynamic_linker=no
14476   ;;
14477
14478 # This must be Linux ELF.
14479 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14480   version_type=linux
14481   need_lib_prefix=no
14482   need_version=no
14483   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14484   soname_spec='${libname}${release}${shared_ext}$major'
14485   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14486   shlibpath_var=LD_LIBRARY_PATH
14487   shlibpath_overrides_runpath=no
14488
14489   # Some binutils ld are patched to set DT_RUNPATH
14490   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14491   $as_echo_n "(cached) " >&6
14492 else
14493   lt_cv_shlibpath_overrides_runpath=no
14494     save_LDFLAGS=$LDFLAGS
14495     save_libdir=$libdir
14496     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14497          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14498     if test x$gcc_no_link = xyes; then
14499   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14500 fi
14501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14502 /* end confdefs.h.  */
14503
14504 int
14505 main ()
14506 {
14507
14508   ;
14509   return 0;
14510 }
14511 _ACEOF
14512 if ac_fn_cxx_try_link "$LINENO"; then :
14513   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14514   lt_cv_shlibpath_overrides_runpath=yes
14515 fi
14516 fi
14517 rm -f core conftest.err conftest.$ac_objext \
14518     conftest$ac_exeext conftest.$ac_ext
14519     LDFLAGS=$save_LDFLAGS
14520     libdir=$save_libdir
14521
14522 fi
14523
14524   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14525
14526   # This implies no fast_install, which is unacceptable.
14527   # Some rework will be needed to allow for fast_install
14528   # before this can be enabled.
14529   hardcode_into_libs=yes
14530
14531   # Append ld.so.conf contents to the search path
14532   if test -f /etc/ld.so.conf; then
14533     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' ' '`
14534     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14535   fi
14536
14537   # We used to test for /lib/ld.so.1 and disable shared libraries on
14538   # powerpc, because MkLinux only supported shared libraries with the
14539   # GNU dynamic linker.  Since this was broken with cross compilers,
14540   # most powerpc-linux boxes support dynamic linking these days and
14541   # people can always --disable-shared, the test was removed, and we
14542   # assume the GNU/Linux dynamic linker is in use.
14543   dynamic_linker='GNU/Linux ld.so'
14544   ;;
14545
14546 netbsd*)
14547   version_type=sunos
14548   need_lib_prefix=no
14549   need_version=no
14550   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14551     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14552     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14553     dynamic_linker='NetBSD (a.out) ld.so'
14554   else
14555     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14556     soname_spec='${libname}${release}${shared_ext}$major'
14557     dynamic_linker='NetBSD ld.elf_so'
14558   fi
14559   shlibpath_var=LD_LIBRARY_PATH
14560   shlibpath_overrides_runpath=yes
14561   hardcode_into_libs=yes
14562   ;;
14563
14564 newsos6)
14565   version_type=linux
14566   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14567   shlibpath_var=LD_LIBRARY_PATH
14568   shlibpath_overrides_runpath=yes
14569   ;;
14570
14571 *nto* | *qnx*)
14572   version_type=qnx
14573   need_lib_prefix=no
14574   need_version=no
14575   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14576   soname_spec='${libname}${release}${shared_ext}$major'
14577   shlibpath_var=LD_LIBRARY_PATH
14578   shlibpath_overrides_runpath=no
14579   hardcode_into_libs=yes
14580   dynamic_linker='ldqnx.so'
14581   ;;
14582
14583 openbsd*)
14584   version_type=sunos
14585   sys_lib_dlsearch_path_spec="/usr/lib"
14586   need_lib_prefix=no
14587   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14588   case $host_os in
14589     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14590     *)                          need_version=no  ;;
14591   esac
14592   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14593   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14594   shlibpath_var=LD_LIBRARY_PATH
14595   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14596     case $host_os in
14597       openbsd2.[89] | openbsd2.[89].*)
14598         shlibpath_overrides_runpath=no
14599         ;;
14600       *)
14601         shlibpath_overrides_runpath=yes
14602         ;;
14603       esac
14604   else
14605     shlibpath_overrides_runpath=yes
14606   fi
14607   ;;
14608
14609 os2*)
14610   libname_spec='$name'
14611   shrext_cmds=".dll"
14612   need_lib_prefix=no
14613   library_names_spec='$libname${shared_ext} $libname.a'
14614   dynamic_linker='OS/2 ld.exe'
14615   shlibpath_var=LIBPATH
14616   ;;
14617
14618 osf3* | osf4* | osf5*)
14619   version_type=osf
14620   need_lib_prefix=no
14621   need_version=no
14622   soname_spec='${libname}${release}${shared_ext}$major'
14623   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14624   shlibpath_var=LD_LIBRARY_PATH
14625   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14626   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14627   ;;
14628
14629 rdos*)
14630   dynamic_linker=no
14631   ;;
14632
14633 solaris*)
14634   version_type=linux
14635   need_lib_prefix=no
14636   need_version=no
14637   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14638   soname_spec='${libname}${release}${shared_ext}$major'
14639   shlibpath_var=LD_LIBRARY_PATH
14640   shlibpath_overrides_runpath=yes
14641   hardcode_into_libs=yes
14642   # ldd complains unless libraries are executable
14643   postinstall_cmds='chmod +x $lib'
14644   ;;
14645
14646 sunos4*)
14647   version_type=sunos
14648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14649   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14650   shlibpath_var=LD_LIBRARY_PATH
14651   shlibpath_overrides_runpath=yes
14652   if test "$with_gnu_ld" = yes; then
14653     need_lib_prefix=no
14654   fi
14655   need_version=yes
14656   ;;
14657
14658 sysv4 | sysv4.3*)
14659   version_type=linux
14660   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14661   soname_spec='${libname}${release}${shared_ext}$major'
14662   shlibpath_var=LD_LIBRARY_PATH
14663   case $host_vendor in
14664     sni)
14665       shlibpath_overrides_runpath=no
14666       need_lib_prefix=no
14667       runpath_var=LD_RUN_PATH
14668       ;;
14669     siemens)
14670       need_lib_prefix=no
14671       ;;
14672     motorola)
14673       need_lib_prefix=no
14674       need_version=no
14675       shlibpath_overrides_runpath=no
14676       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14677       ;;
14678   esac
14679   ;;
14680
14681 sysv4*MP*)
14682   if test -d /usr/nec ;then
14683     version_type=linux
14684     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14685     soname_spec='$libname${shared_ext}.$major'
14686     shlibpath_var=LD_LIBRARY_PATH
14687   fi
14688   ;;
14689
14690 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14691   version_type=freebsd-elf
14692   need_lib_prefix=no
14693   need_version=no
14694   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14695   soname_spec='${libname}${release}${shared_ext}$major'
14696   shlibpath_var=LD_LIBRARY_PATH
14697   shlibpath_overrides_runpath=yes
14698   hardcode_into_libs=yes
14699   if test "$with_gnu_ld" = yes; then
14700     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14701   else
14702     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14703     case $host_os in
14704       sco3.2v5*)
14705         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14706         ;;
14707     esac
14708   fi
14709   sys_lib_dlsearch_path_spec='/usr/lib'
14710   ;;
14711
14712 tpf*)
14713   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14714   version_type=linux
14715   need_lib_prefix=no
14716   need_version=no
14717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14718   shlibpath_var=LD_LIBRARY_PATH
14719   shlibpath_overrides_runpath=no
14720   hardcode_into_libs=yes
14721   ;;
14722
14723 uts4*)
14724   version_type=linux
14725   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14726   soname_spec='${libname}${release}${shared_ext}$major'
14727   shlibpath_var=LD_LIBRARY_PATH
14728   ;;
14729
14730 *)
14731   dynamic_linker=no
14732   ;;
14733 esac
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14735 $as_echo "$dynamic_linker" >&6; }
14736 test "$dynamic_linker" = no && can_build_shared=no
14737
14738 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14739 if test "$GCC" = yes; then
14740   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14741 fi
14742
14743 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14744   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14745 fi
14746 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14747   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14748 fi
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
14785
14786
14787     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14788 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14789 hardcode_action_CXX=
14790 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14791    test -n "$runpath_var_CXX" ||
14792    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14793
14794   # We can hardcode non-existent directories.
14795   if test "$hardcode_direct_CXX" != no &&
14796      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14797      # have to relink, otherwise we might link with an installed library
14798      # when we should be linking with a yet-to-be-installed one
14799      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14800      test "$hardcode_minus_L_CXX" != no; then
14801     # Linking always hardcodes the temporary library directory.
14802     hardcode_action_CXX=relink
14803   else
14804     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14805     hardcode_action_CXX=immediate
14806   fi
14807 else
14808   # We cannot hardcode anything, or else we can only hardcode existing
14809   # directories.
14810   hardcode_action_CXX=unsupported
14811 fi
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14813 $as_echo "$hardcode_action_CXX" >&6; }
14814
14815 if test "$hardcode_action_CXX" = relink ||
14816    test "$inherit_rpath_CXX" = yes; then
14817   # Fast installation is not supported
14818   enable_fast_install=no
14819 elif test "$shlibpath_overrides_runpath" = yes ||
14820      test "$enable_shared" = no; then
14821   # Fast installation is not necessary
14822   enable_fast_install=needless
14823 fi
14824
14825
14826
14827
14828
14829
14830
14831   fi # test -n "$compiler"
14832
14833   CC=$lt_save_CC
14834   LDCXX=$LD
14835   LD=$lt_save_LD
14836   GCC=$lt_save_GCC
14837   with_gnu_ld=$lt_save_with_gnu_ld
14838   lt_cv_path_LDCXX=$lt_cv_path_LD
14839   lt_cv_path_LD=$lt_save_path_LD
14840   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14841   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14842 fi # test "$_lt_caught_CXX_error" != yes
14843
14844 ac_ext=c
14845 ac_cpp='$CPP $CPPFLAGS'
14846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862         ac_config_commands="$ac_config_commands libtool"
14863
14864
14865
14866
14867 # Only expand once:
14868
14869
14870
14871
14872
14873 case $host in
14874   *-cygwin* | *-mingw*)
14875     # 'host' will be top-level target in the case of a target lib,
14876     # we must compare to with_cross_host to decide if this is a native
14877     # or cross-compiler and select where to install dlls appropriately.
14878     if test -n "$with_cross_host" &&
14879         test x"$with_cross_host" != x"no"; then
14880       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14881     else
14882       lt_host_flags='-no-undefined -bindir "$(bindir)"';
14883     fi
14884     ;;
14885   *)
14886     lt_host_flags=
14887     ;;
14888 esac
14889
14890
14891
14892
14893
14894
14895 # libtool variables for C++ shared and position-independent compiles.
14896 #
14897 # Use glibcxx_lt_pic_flag to designate the automake variable
14898 # used to encapsulate the default libtool approach to creating objects
14899 # with position-independent code. Default: -prefer-pic.
14900 #
14901 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14902 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14903 #
14904 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14905 # creating position-independent objects. This varies with the target
14906 # hardware and operating system, but is often: -DPIC -fPIC.
14907 if test "$enable_shared" = yes; then
14908   glibcxx_lt_pic_flag="-prefer-pic"
14909   glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14910   glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14911
14912 else
14913   glibcxx_lt_pic_flag=
14914   glibcxx_compiler_pic_flag=
14915   glibcxx_compiler_shared_flag=
14916 fi
14917
14918
14919
14920
14921 # Override the libtool's pic_flag and pic_mode.
14922 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14923 # NB: this impacts --with-pic and --without-pic.
14924 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14925 pic_mode='default'
14926
14927 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14928 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14929
14930 # Possibly disable most of the library.
14931 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14932 ## than just ignoring the results.  Faster /and/ more correct, win win.
14933
14934   # Check whether --enable-hosted-libstdcxx was given.
14935 if test "${enable_hosted_libstdcxx+set}" = set; then :
14936   enableval=$enable_hosted_libstdcxx;
14937 else
14938   case "$host" in
14939         arm*-*-symbianelf*)
14940             enable_hosted_libstdcxx=no
14941             ;;
14942         *)
14943             enable_hosted_libstdcxx=yes
14944             ;;
14945      esac
14946 fi
14947
14948   if test "$enable_hosted_libstdcxx" = no; then
14949     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14950 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14951     is_hosted=no
14952     hosted_define=0
14953     enable_abi_check=no
14954     enable_libstdcxx_pch=no
14955   else
14956     is_hosted=yes
14957     hosted_define=1
14958   fi
14959
14960
14961 cat >>confdefs.h <<_ACEOF
14962 #define _GLIBCXX_HOSTED $hosted_define
14963 _ACEOF
14964
14965
14966
14967 # Enable compiler support that doesn't require linking.
14968
14969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14970 $as_echo_n "checking for exception model to use... " >&6; }
14971
14972   ac_ext=cpp
14973 ac_cpp='$CXXCPP $CPPFLAGS'
14974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14977
14978    # Check whether --enable-sjlj-exceptions was given.
14979 if test "${enable_sjlj_exceptions+set}" = set; then :
14980   enableval=$enable_sjlj_exceptions;
14981       case "$enableval" in
14982        yes|no|auto) ;;
14983        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14984                         esac
14985
14986 else
14987   enable_sjlj_exceptions=auto
14988 fi
14989
14990
14991
14992   if test $enable_sjlj_exceptions = auto; then
14993     # Botheration.  Now we've got to detect the exception model.  Link tests
14994     # against libgcc.a are problematic since we've not been given proper -L
14995     # bits for single-tree newlib and libgloss.
14996     #
14997     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14998     cat > conftest.$ac_ext << EOF
14999 #line 14999 "configure"
15000 struct S { ~S(); };
15001 void bar();
15002 void foo()
15003 {
15004   S s;
15005   bar();
15006 }
15007 EOF
15008     old_CXXFLAGS="$CXXFLAGS"
15009     CXXFLAGS=-S
15010     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15011   (eval $ac_compile) 2>&5
15012   ac_status=$?
15013   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15014   test $ac_status = 0; }; then
15015       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15016         enable_sjlj_exceptions=yes
15017       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15018         enable_sjlj_exceptions=no
15019       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15020         enable_sjlj_exceptions=no
15021       fi
15022     fi
15023     CXXFLAGS="$old_CXXFLAGS"
15024     rm -f conftest*
15025   fi
15026
15027   # This is a tad weird, for hysterical raisins.  We have to map
15028   # enable/disable to two different models.
15029   case $enable_sjlj_exceptions in
15030     yes)
15031
15032 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15033
15034       ac_exception_model_name=sjlj
15035       ;;
15036     no)
15037       ac_exception_model_name="call frame"
15038       ;;
15039     *)
15040       as_fn_error "unable to detect exception model" "$LINENO" 5
15041       ;;
15042   esac
15043  ac_ext=c
15044 ac_cpp='$CPP $CPPFLAGS'
15045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15048
15049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15050 $as_echo "$ac_exception_model_name" >&6; }
15051
15052
15053    # Check whether --enable-libstdcxx-pch was given.
15054 if test "${enable_libstdcxx_pch+set}" = set; then :
15055   enableval=$enable_libstdcxx_pch;
15056       case "$enableval" in
15057        yes|no) ;;
15058        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15059       esac
15060
15061 else
15062   enable_libstdcxx_pch=$is_hosted
15063 fi
15064
15065
15066   if test $enable_libstdcxx_pch = yes; then
15067     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15068 $as_echo_n "checking for compiler with PCH support... " >&6; }
15069 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15070   $as_echo_n "(cached) " >&6
15071 else
15072   ac_save_CXXFLAGS="$CXXFLAGS"
15073        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15074
15075        ac_ext=cpp
15076 ac_cpp='$CXXCPP $CPPFLAGS'
15077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15080
15081        echo '#include <math.h>' > conftest.h
15082        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15083                           -o conftest.h.gch 1>&5 2>&1 &&
15084                 echo '#error "pch failed"' > conftest.h &&
15085           echo '#include "conftest.h"' > conftest.cc &&
15086                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15087        then
15088          glibcxx_cv_prog_CXX_pch=yes
15089        else
15090          glibcxx_cv_prog_CXX_pch=no
15091        fi
15092        rm -f conftest*
15093        CXXFLAGS=$ac_save_CXXFLAGS
15094        ac_ext=c
15095 ac_cpp='$CPP $CPPFLAGS'
15096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15099
15100
15101 fi
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15103 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15104     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15105   fi
15106
15107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15108 $as_echo_n "checking for enabled PCH... " >&6; }
15109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15110 $as_echo "$enable_libstdcxx_pch" >&6; }
15111
15112
15113   if test $enable_libstdcxx_pch = yes; then
15114     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15115   else
15116     glibcxx_PCHFLAGS=""
15117   fi
15118
15119
15120
15121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15122 $as_echo_n "checking for thread model used by GCC... " >&6; }
15123   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15125 $as_echo "$target_thread_file" >&6; }
15126
15127
15128
15129   ac_ext=cpp
15130 ac_cpp='$CXXCPP $CPPFLAGS'
15131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15134
15135   old_CXXFLAGS="$CXXFLAGS"
15136
15137   # Do link tests if possible, instead asm tests, limited to some platforms
15138   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15139   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15140   atomic_builtins_link_tests=no
15141   if test x$gcc_no_link != xyes; then
15142     # Can do link tests. Limit to some tested platforms
15143     case "$host" in
15144       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15145         atomic_builtins_link_tests=yes
15146         ;;
15147     esac
15148   fi
15149
15150   if test x$atomic_builtins_link_tests = xyes; then
15151
15152   # Do link tests.
15153
15154   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15155
15156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15157 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15158   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15159   $as_echo_n "(cached) " >&6
15160 else
15161
15162     if test x$gcc_no_link = xyes; then
15163   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15164 fi
15165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h.  */
15167
15168 int
15169 main ()
15170 {
15171 typedef bool atomic_type;
15172        atomic_type c1;
15173        atomic_type c2;
15174        atomic_type c3(0);
15175        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15176        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15177                                    __ATOMIC_RELAXED);
15178        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15179        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15180
15181   ;
15182   return 0;
15183 }
15184 _ACEOF
15185 if ac_fn_cxx_try_link "$LINENO"; then :
15186   glibcxx_cv_atomic_bool=yes
15187 else
15188   glibcxx_cv_atomic_bool=no
15189 fi
15190 rm -f core conftest.err conftest.$ac_objext \
15191     conftest$ac_exeext conftest.$ac_ext
15192
15193 fi
15194
15195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15196 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15197
15198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15199 $as_echo_n "checking for atomic builtins for short... " >&6; }
15200   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15201   $as_echo_n "(cached) " >&6
15202 else
15203
15204     if test x$gcc_no_link = xyes; then
15205   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15206 fi
15207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15208 /* end confdefs.h.  */
15209
15210 int
15211 main ()
15212 {
15213 typedef short atomic_type;
15214        atomic_type c1;
15215        atomic_type c2;
15216        atomic_type c3(0);
15217        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15218        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15219                                    __ATOMIC_RELAXED);
15220        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15221        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15222
15223   ;
15224   return 0;
15225 }
15226 _ACEOF
15227 if ac_fn_cxx_try_link "$LINENO"; then :
15228   glibcxx_cv_atomic_short=yes
15229 else
15230   glibcxx_cv_atomic_short=no
15231 fi
15232 rm -f core conftest.err conftest.$ac_objext \
15233     conftest$ac_exeext conftest.$ac_ext
15234
15235 fi
15236
15237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15238 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15239
15240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15241 $as_echo_n "checking for atomic builtins for int... " >&6; }
15242   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15243   $as_echo_n "(cached) " >&6
15244 else
15245
15246     if test x$gcc_no_link = xyes; then
15247   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15248 fi
15249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15250 /* end confdefs.h.  */
15251
15252 int
15253 main ()
15254 {
15255 typedef int atomic_type;
15256        atomic_type c1;
15257        atomic_type c2;
15258        atomic_type c3(0);
15259        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15260        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15261                                    __ATOMIC_RELAXED);
15262        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15263        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15264
15265   ;
15266   return 0;
15267 }
15268 _ACEOF
15269 if ac_fn_cxx_try_link "$LINENO"; then :
15270   glibcxx_cv_atomic_int=yes
15271 else
15272   glibcxx_cv_atomic_int=no
15273 fi
15274 rm -f core conftest.err conftest.$ac_objext \
15275     conftest$ac_exeext conftest.$ac_ext
15276
15277 fi
15278
15279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15280 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15281
15282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15283 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15284   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15285   $as_echo_n "(cached) " >&6
15286 else
15287
15288     if test x$gcc_no_link = xyes; then
15289   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15290 fi
15291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15292 /* end confdefs.h.  */
15293
15294 int
15295 main ()
15296 {
15297 typedef long long atomic_type;
15298        atomic_type c1;
15299        atomic_type c2;
15300        atomic_type c3(0);
15301        __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15302        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15303                                    __ATOMIC_RELAXED);
15304        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15305        __atomic_load_n(&c1, __ATOMIC_RELAXED);
15306
15307   ;
15308   return 0;
15309 }
15310 _ACEOF
15311 if ac_fn_cxx_try_link "$LINENO"; then :
15312   glibcxx_cv_atomic_long_long=yes
15313 else
15314   glibcxx_cv_atomic_long_long=no
15315 fi
15316 rm -f core conftest.err conftest.$ac_objext \
15317     conftest$ac_exeext conftest.$ac_ext
15318
15319 fi
15320
15321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15322 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15323
15324   else
15325
15326   # Do asm tests.
15327
15328   # Compile unoptimized.
15329   CXXFLAGS='-O0 -S'
15330
15331   # Fake what AC_TRY_COMPILE does.
15332
15333     cat > conftest.$ac_ext << EOF
15334 #line 15334 "configure"
15335 int main()
15336 {
15337   typedef bool 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 bool" >&5
15352 $as_echo_n "checking for atomic builtins for bool... " >&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_bool=no
15360       else
15361         glibcxx_cv_atomic_bool=yes
15362       fi
15363     fi
15364     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15365 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15366     rm -f conftest*
15367
15368     cat > conftest.$ac_ext << EOF
15369 #line 15369 "configure"
15370 int main()
15371 {
15372   typedef short atomic_type;
15373   atomic_type c1;
15374   atomic_type c2;
15375   atomic_type c3(0);
15376   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15377   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15378                               __ATOMIC_RELAXED);
15379   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15380   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15381
15382   return 0;
15383 }
15384 EOF
15385
15386     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15387 $as_echo_n "checking for atomic builtins for short... " >&6; }
15388     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15389   (eval $ac_compile) 2>&5
15390   ac_status=$?
15391   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15392   test $ac_status = 0; }; then
15393       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15394         glibcxx_cv_atomic_short=no
15395       else
15396         glibcxx_cv_atomic_short=yes
15397       fi
15398     fi
15399     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15400 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15401     rm -f conftest*
15402
15403     cat > conftest.$ac_ext << EOF
15404 #line 15404 "configure"
15405 int main()
15406 {
15407   // NB: _Atomic_word not necessarily int.
15408   typedef int 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 int" >&5
15423 $as_echo_n "checking for atomic builtins for int... " >&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_int=no
15431       else
15432         glibcxx_cv_atomic_int=yes
15433       fi
15434     fi
15435     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15436 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15437     rm -f conftest*
15438
15439     cat > conftest.$ac_ext << EOF
15440 #line 15440 "configure"
15441 int main()
15442 {
15443   typedef long long atomic_type;
15444   atomic_type c1;
15445   atomic_type c2;
15446   atomic_type c3(0);
15447   __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15448   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15449                               __ATOMIC_RELAXED);
15450   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15451   __atomic_load_n(&c1, __ATOMIC_RELAXED);
15452
15453   return 0;
15454 }
15455 EOF
15456
15457     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15458 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15459     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15460   (eval $ac_compile) 2>&5
15461   ac_status=$?
15462   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15463   test $ac_status = 0; }; then
15464       if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15465         glibcxx_cv_atomic_long_long=no
15466       else
15467         glibcxx_cv_atomic_long_long=yes
15468       fi
15469     fi
15470     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15471 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15472     rm -f conftest*
15473
15474   fi
15475
15476   CXXFLAGS="$old_CXXFLAGS"
15477   ac_ext=c
15478 ac_cpp='$CPP $CPPFLAGS'
15479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15482
15483
15484   # Set atomicity_dir to builtins if all but the long long test above passes.
15485   if test $glibcxx_cv_atomic_bool = yes \
15486      && test $glibcxx_cv_atomic_short = yes \
15487      && test $glibcxx_cv_atomic_int = yes; then
15488
15489 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15490
15491     atomicity_dir=cpu/generic/atomicity_builtins
15492   fi
15493
15494   # If still generic, set to mutex.
15495   if test $atomicity_dir = "cpu/generic" ; then
15496     atomicity_dir=cpu/generic/atomicity_mutex
15497     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15498 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15499       if test "x$target_thread_file" = xsingle; then
15500         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15501 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15502         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15503 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15504       else
15505         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15506 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15507         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15508 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15509       fi
15510   fi
15511
15512
15513
15514
15515   # Fake what AC_TRY_COMPILE does, without linking as this is
15516   # unnecessary for this test.
15517
15518     cat > conftest.$ac_ext << EOF
15519 #line 15519 "configure"
15520 int main()
15521 {
15522   _Decimal32 d1;
15523   _Decimal64 d2;
15524   _Decimal128 d3;
15525   return 0;
15526 }
15527 EOF
15528
15529     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15530 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15531     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15532   (eval $ac_compile) 2>&5
15533   ac_status=$?
15534   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15535   test $ac_status = 0; }; then
15536
15537 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15538
15539       enable_dfp=yes
15540     else
15541       enable_dfp=no
15542     fi
15543     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15544 $as_echo "$enable_dfp" >&6; }
15545     rm -f conftest*
15546
15547
15548
15549
15550   ac_ext=cpp
15551 ac_cpp='$CXXCPP $CPPFLAGS'
15552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15555
15556
15557   # Fake what AC_TRY_COMPILE does, without linking as this is
15558   # unnecessary for this test.
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<long, __int128>::type                i1;
15572   typename same<long long, __int128>::type           i2;
15573 }
15574 EOF
15575
15576     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15577 $as_echo_n "checking for __int128... " >&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_INT128 1" >>confdefs.h
15585
15586       enable_int128=yes
15587     else
15588       enable_int128=no
15589     fi
15590     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15591 $as_echo "$enable_int128" >&6; }
15592     rm -f conftest*
15593
15594     cat > conftest.$ac_ext << EOF
15595 #line 15595 "configure"
15596 template<typename T1, typename T2>
15597   struct same
15598   { typedef T2 type; };
15599
15600 template<typename T>
15601   struct same<T, T>;
15602
15603 int main()
15604 {
15605   typename same<double, __float128>::type      f1;
15606   typename same<long double, __float128>::type f2;
15607 }
15608 EOF
15609
15610     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15611 $as_echo_n "checking for __float128... " >&6; }
15612     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15613   (eval $ac_compile) 2>&5
15614   ac_status=$?
15615   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15616   test $ac_status = 0; }; then
15617
15618 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15619
15620       enable_float128=yes
15621     else
15622       enable_float128=no
15623     fi
15624     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15625 $as_echo "$enable_float128" >&6; }
15626     rm -f conftest*
15627
15628   ac_ext=c
15629 ac_cpp='$CPP $CPPFLAGS'
15630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15633
15634
15635
15636 # Checks for compiler support that doesn't require linking.
15637
15638   # All these tests are for C++; save the language and the compiler flags.
15639   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15640   # found in GLIBCXX_CONFIGURE.
15641
15642   ac_ext=cpp
15643 ac_cpp='$CXXCPP $CPPFLAGS'
15644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15647
15648   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15649   ac_save_CXXFLAGS="$CXXFLAGS"
15650
15651   # Check for maintainer-mode bits.
15652   if test x"$USE_MAINTAINER_MODE" = xno; then
15653     WERROR=''
15654   else
15655     WERROR='-Werror'
15656   fi
15657
15658   # Check for -ffunction-sections -fdata-sections
15659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15660 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15661   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h.  */
15664 int foo; void bar() { };
15665 int
15666 main ()
15667 {
15668
15669   ;
15670   return 0;
15671 }
15672 _ACEOF
15673 if ac_fn_cxx_try_compile "$LINENO"; then :
15674   ac_fdsections=yes
15675 else
15676   ac_fdsections=no
15677 fi
15678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15679   if test "$ac_test_CXXFLAGS" = set; then
15680     CXXFLAGS="$ac_save_CXXFLAGS"
15681   else
15682     # this is the suspicious part
15683     CXXFLAGS=''
15684   fi
15685   if test x"$ac_fdsections" = x"yes"; then
15686     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15687   fi
15688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15689 $as_echo "$ac_fdsections" >&6; }
15690
15691   ac_ext=c
15692 ac_cpp='$CPP $CPPFLAGS'
15693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15696
15697
15698
15699
15700
15701 # Enable all the variable C++ runtime options that don't require linking.
15702
15703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15704 $as_echo_n "checking for underlying I/O to use... " >&6; }
15705    # Check whether --enable-cstdio was given.
15706 if test "${enable_cstdio+set}" = set; then :
15707   enableval=$enable_cstdio;
15708       case "$enableval" in
15709        stdio) ;;
15710        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15711                         esac
15712
15713 else
15714   enable_cstdio=stdio
15715 fi
15716
15717
15718
15719   # Now that libio has been removed, you can have any color you want as long
15720   # as it's black.  This is one big no-op until other packages are added, but
15721   # showing the framework never hurts.
15722   case ${enable_cstdio} in
15723     stdio)
15724       CSTDIO_H=config/io/c_io_stdio.h
15725       BASIC_FILE_H=config/io/basic_file_stdio.h
15726       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15727       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15728 $as_echo "stdio" >&6; }
15729       ;;
15730   esac
15731
15732
15733
15734
15735
15736
15737    # Check whether --enable-clocale was given.
15738 if test "${enable_clocale+set}" = set; then :
15739   enableval=$enable_clocale;
15740       case "$enableval" in
15741        generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15742        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15743                         esac
15744
15745 else
15746   enable_clocale=auto
15747 fi
15748
15749
15750
15751   # Deal with gettext issues.  Default to not using it (=no) until we detect
15752   # support for it later.  Let the user turn it off via --e/d, but let that
15753   # default to on for easier handling.
15754   USE_NLS=no
15755   # Check whether --enable-nls was given.
15756 if test "${enable_nls+set}" = set; then :
15757   enableval=$enable_nls;
15758 else
15759   enable_nls=yes
15760 fi
15761
15762
15763   # Either a known package, or "auto"
15764   if test $enable_clocale = no || test $enable_clocale = yes; then
15765      enable_clocale=auto
15766   fi
15767   enable_clocale_flag=$enable_clocale
15768
15769   # Probe for locale model to use if none specified.
15770   # Default to "generic".
15771   if test $enable_clocale_flag = auto; then
15772     case ${target_os} in
15773       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15774         enable_clocale_flag=gnu
15775         ;;
15776       darwin* | freebsd*)
15777         enable_clocale_flag=darwin
15778         ;;
15779       *)
15780         if test x"$with_newlib" = x"yes"; then
15781           enable_clocale_flag=newlib
15782         else
15783           enable_clocale_flag=generic
15784         fi
15785         ;;
15786     esac
15787   fi
15788
15789   # Sanity check model, and test for special functionality.
15790   if test $enable_clocale_flag = gnu; then
15791     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h.  */
15793
15794     #include <features.h>
15795     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15796       _GLIBCXX_ok
15797     #endif
15798
15799 _ACEOF
15800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15801   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15802   enable_clocale_flag=gnu
15803 else
15804   enable_clocale_flag=generic
15805 fi
15806 rm -f conftest*
15807
15808
15809     # Set it to scream when it hurts.
15810     ac_save_CFLAGS="$CFLAGS"
15811     CFLAGS="-Wimplicit-function-declaration -Werror"
15812
15813     # Use strxfrm_l if available.
15814     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15815 /* end confdefs.h.  */
15816 #define _GNU_SOURCE 1
15817                     #include <string.h>
15818                     #include <locale.h>
15819 int
15820 main ()
15821 {
15822 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15823   ;
15824   return 0;
15825 }
15826 _ACEOF
15827 if ac_fn_c_try_compile "$LINENO"; then :
15828
15829 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15830
15831 fi
15832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15833
15834     # Use strerror_l if available.
15835     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15836 /* end confdefs.h.  */
15837 #define _GNU_SOURCE 1
15838                     #include <string.h>
15839                     #include <locale.h>
15840 int
15841 main ()
15842 {
15843 __locale_t loc; strerror_l(5, loc);
15844   ;
15845   return 0;
15846 }
15847 _ACEOF
15848 if ac_fn_c_try_compile "$LINENO"; then :
15849
15850 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15851
15852 fi
15853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15854
15855     CFLAGS="$ac_save_CFLAGS"
15856   fi
15857
15858   # Perhaps use strerror_r if available, and strerror_l isn't.
15859   ac_save_CFLAGS="$CFLAGS"
15860   CFLAGS="-Wimplicit-function-declaration -Werror"
15861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15862 /* end confdefs.h.  */
15863 #define _GNU_SOURCE 1
15864                   #include <string.h>
15865                   #include <locale.h>
15866 int
15867 main ()
15868 {
15869 char s[128]; strerror_r(5, s, 128);
15870   ;
15871   return 0;
15872 }
15873 _ACEOF
15874 if ac_fn_c_try_compile "$LINENO"; then :
15875
15876 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15877
15878 fi
15879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15880   CFLAGS="$ac_save_CFLAGS"
15881
15882   # Set configure bits for specified locale package
15883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15884 $as_echo_n "checking for C locale to use... " >&6; }
15885   case ${enable_clocale_flag} in
15886     generic)
15887       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15888 $as_echo "generic" >&6; }
15889
15890       CLOCALE_H=config/locale/generic/c_locale.h
15891       CLOCALE_CC=config/locale/generic/c_locale.cc
15892       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15893       CCOLLATE_CC=config/locale/generic/collate_members.cc
15894       CCTYPE_CC=config/locale/generic/ctype_members.cc
15895       CMESSAGES_H=config/locale/generic/messages_members.h
15896       CMESSAGES_CC=config/locale/generic/messages_members.cc
15897       CMONEY_CC=config/locale/generic/monetary_members.cc
15898       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15899       CTIME_H=config/locale/generic/time_members.h
15900       CTIME_CC=config/locale/generic/time_members.cc
15901       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15902       ;;
15903     darwin)
15904       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15905 $as_echo "darwin or freebsd" >&6; }
15906
15907       CLOCALE_H=config/locale/generic/c_locale.h
15908       CLOCALE_CC=config/locale/generic/c_locale.cc
15909       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15910       CCOLLATE_CC=config/locale/generic/collate_members.cc
15911       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15912       CMESSAGES_H=config/locale/generic/messages_members.h
15913       CMESSAGES_CC=config/locale/generic/messages_members.cc
15914       CMONEY_CC=config/locale/generic/monetary_members.cc
15915       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15916       CTIME_H=config/locale/generic/time_members.h
15917       CTIME_CC=config/locale/generic/time_members.cc
15918       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15919       ;;
15920
15921     gnu)
15922       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15923 $as_echo "gnu" >&6; }
15924
15925       # Declare intention to use gettext, and add support for specific
15926       # languages.
15927       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15928       ALL_LINGUAS="de fr"
15929
15930       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15931       # Extract the first word of "msgfmt", so it can be a program name with args.
15932 set dummy msgfmt; ac_word=$2
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15934 $as_echo_n "checking for $ac_word... " >&6; }
15935 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15936   $as_echo_n "(cached) " >&6
15937 else
15938   if test -n "$check_msgfmt"; then
15939   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15940 else
15941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15942 for as_dir in $PATH
15943 do
15944   IFS=$as_save_IFS
15945   test -z "$as_dir" && as_dir=.
15946     for ac_exec_ext in '' $ac_executable_extensions; do
15947   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15948     ac_cv_prog_check_msgfmt="yes"
15949     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15950     break 2
15951   fi
15952 done
15953   done
15954 IFS=$as_save_IFS
15955
15956   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15957 fi
15958 fi
15959 check_msgfmt=$ac_cv_prog_check_msgfmt
15960 if test -n "$check_msgfmt"; then
15961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15962 $as_echo "$check_msgfmt" >&6; }
15963 else
15964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15965 $as_echo "no" >&6; }
15966 fi
15967
15968
15969       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15970         USE_NLS=yes
15971       fi
15972       # Export the build objects.
15973       for ling in $ALL_LINGUAS; do \
15974         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15975         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15976       done
15977
15978
15979
15980       CLOCALE_H=config/locale/gnu/c_locale.h
15981       CLOCALE_CC=config/locale/gnu/c_locale.cc
15982       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15983       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15984       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15985       CMESSAGES_H=config/locale/gnu/messages_members.h
15986       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15987       CMONEY_CC=config/locale/gnu/monetary_members.cc
15988       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15989       CTIME_H=config/locale/gnu/time_members.h
15990       CTIME_CC=config/locale/gnu/time_members.cc
15991       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15992       ;;
15993     ieee_1003.1-2001)
15994       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15995 $as_echo "IEEE 1003.1" >&6; }
15996
15997       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15998       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15999       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16000       CCOLLATE_CC=config/locale/generic/collate_members.cc
16001       CCTYPE_CC=config/locale/generic/ctype_members.cc
16002       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16003       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16004       CMONEY_CC=config/locale/generic/monetary_members.cc
16005       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16006       CTIME_H=config/locale/generic/time_members.h
16007       CTIME_CC=config/locale/generic/time_members.cc
16008       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16009       ;;
16010     newlib)
16011       { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16012 $as_echo "newlib" >&6; }
16013
16014       CLOCALE_H=config/locale/generic/c_locale.h
16015       CLOCALE_CC=config/locale/generic/c_locale.cc
16016       CCODECVT_CC=config/locale/generic/codecvt_members.cc
16017       CCOLLATE_CC=config/locale/generic/collate_members.cc
16018       CCTYPE_CC=config/locale/newlib/ctype_members.cc
16019       CMESSAGES_H=config/locale/generic/messages_members.h
16020       CMESSAGES_CC=config/locale/generic/messages_members.cc
16021       CMONEY_CC=config/locale/generic/monetary_members.cc
16022       CNUMERIC_CC=config/locale/generic/numeric_members.cc
16023       CTIME_H=config/locale/generic/time_members.h
16024       CTIME_CC=config/locale/generic/time_members.cc
16025       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16026       ;;
16027   esac
16028
16029   # This is where the testsuite looks for locale catalogs, using the
16030   # -DLOCALEDIR define during testsuite compilation.
16031   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16032
16033
16034   # A standalone libintl (e.g., GNU libintl) may be in use.
16035   if test $USE_NLS = yes; then
16036     for ac_header in libintl.h
16037 do :
16038   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16039 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16040   cat >>confdefs.h <<_ACEOF
16041 #define HAVE_LIBINTL_H 1
16042 _ACEOF
16043
16044 else
16045   USE_NLS=no
16046 fi
16047
16048 done
16049
16050     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16051 $as_echo_n "checking for library containing gettext... " >&6; }
16052 if test "${ac_cv_search_gettext+set}" = set; then :
16053   $as_echo_n "(cached) " >&6
16054 else
16055   ac_func_search_save_LIBS=$LIBS
16056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16057 /* end confdefs.h.  */
16058
16059 /* Override any GCC internal prototype to avoid an error.
16060    Use char because int might match the return type of a GCC
16061    builtin and then its argument prototype would still apply.  */
16062 #ifdef __cplusplus
16063 extern "C"
16064 #endif
16065 char gettext ();
16066 int
16067 main ()
16068 {
16069 return gettext ();
16070   ;
16071   return 0;
16072 }
16073 _ACEOF
16074 for ac_lib in '' intl; do
16075   if test -z "$ac_lib"; then
16076     ac_res="none required"
16077   else
16078     ac_res=-l$ac_lib
16079     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16080   fi
16081   if test x$gcc_no_link = xyes; then
16082   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16083 fi
16084 if ac_fn_c_try_link "$LINENO"; then :
16085   ac_cv_search_gettext=$ac_res
16086 fi
16087 rm -f core conftest.err conftest.$ac_objext \
16088     conftest$ac_exeext
16089   if test "${ac_cv_search_gettext+set}" = set; then :
16090   break
16091 fi
16092 done
16093 if test "${ac_cv_search_gettext+set}" = set; then :
16094
16095 else
16096   ac_cv_search_gettext=no
16097 fi
16098 rm conftest.$ac_ext
16099 LIBS=$ac_func_search_save_LIBS
16100 fi
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16102 $as_echo "$ac_cv_search_gettext" >&6; }
16103 ac_res=$ac_cv_search_gettext
16104 if test "$ac_res" != no; then :
16105   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16106
16107 else
16108   USE_NLS=no
16109 fi
16110
16111   fi
16112   if test $USE_NLS = yes; then
16113
16114 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16115
16116   fi
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16134 $as_echo_n "checking for std::allocator base class... " >&6; }
16135    # Check whether --enable-libstdcxx-allocator was given.
16136 if test "${enable_libstdcxx_allocator+set}" = set; then :
16137   enableval=$enable_libstdcxx_allocator;
16138       case "$enableval" in
16139        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16140        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16141                         esac
16142
16143 else
16144   enable_libstdcxx_allocator=auto
16145 fi
16146
16147
16148
16149   # If they didn't use this option switch, or if they specified --enable
16150   # with no specific model, we'll have to look for one.  If they
16151   # specified --disable (???), do likewise.
16152   if test $enable_libstdcxx_allocator = no ||
16153      test $enable_libstdcxx_allocator = yes;
16154   then
16155      enable_libstdcxx_allocator=auto
16156   fi
16157
16158   # Either a known package, or "auto". Auto implies the default choice
16159   # for a particular platform.
16160   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16161
16162   # Probe for host-specific support if no specific model is specified.
16163   # Default to "new".
16164   if test $enable_libstdcxx_allocator_flag = auto; then
16165     case ${target_os} in
16166       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16167         enable_libstdcxx_allocator_flag=new
16168         ;;
16169       *)
16170         enable_libstdcxx_allocator_flag=new
16171         ;;
16172     esac
16173   fi
16174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16175 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16176
16177
16178   # Set configure bits for specified locale package
16179   case ${enable_libstdcxx_allocator_flag} in
16180     bitmap)
16181       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16182       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16183       ;;
16184     malloc)
16185       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16186       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16187       ;;
16188     mt)
16189       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16190       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16191       ;;
16192     new)
16193       ALLOCATOR_H=config/allocator/new_allocator_base.h
16194       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16195       ;;
16196     pool)
16197       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16198       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16199       ;;
16200   esac
16201
16202
16203
16204
16205
16206    # Check whether --enable-cheaders was given.
16207 if test "${enable_cheaders+set}" = set; then :
16208   enableval=$enable_cheaders;
16209       case "$enableval" in
16210        c|c_std|c_global) ;;
16211        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16212                         esac
16213
16214 else
16215   enable_cheaders=$c_model
16216 fi
16217
16218
16219   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16220 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16221
16222   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16223
16224   # Allow overrides to configure.host here.
16225   if test $enable_cheaders = c_global; then
16226      c_compatibility=yes
16227   fi
16228
16229
16230
16231
16232
16233
16234
16235    # Check whether --enable-long-long was given.
16236 if test "${enable_long_long+set}" = set; then :
16237   enableval=$enable_long_long;
16238       case "$enableval" in
16239        yes|no) ;;
16240        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16241       esac
16242
16243 else
16244   enable_long_long=yes
16245 fi
16246
16247
16248   if test $enable_long_long = yes; then
16249
16250 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16251
16252   fi
16253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16254 $as_echo_n "checking for enabled long long specializations... " >&6; }
16255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16256 $as_echo "$enable_long_long" >&6; }
16257
16258
16259    # Check whether --enable-wchar_t was given.
16260 if test "${enable_wchar_t+set}" = set; then :
16261   enableval=$enable_wchar_t;
16262       case "$enableval" in
16263        yes|no) ;;
16264        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16265       esac
16266
16267 else
16268   enable_wchar_t=yes
16269 fi
16270
16271
16272
16273   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16274   for ac_header in wchar.h
16275 do :
16276   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16277 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16278   cat >>confdefs.h <<_ACEOF
16279 #define HAVE_WCHAR_H 1
16280 _ACEOF
16281  ac_has_wchar_h=yes
16282 else
16283   ac_has_wchar_h=no
16284 fi
16285
16286 done
16287
16288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16289 $as_echo_n "checking for mbstate_t... " >&6; }
16290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h.  */
16292 #include <wchar.h>
16293 int
16294 main ()
16295 {
16296 mbstate_t teststate;
16297   ;
16298   return 0;
16299 }
16300 _ACEOF
16301 if ac_fn_c_try_compile "$LINENO"; then :
16302   have_mbstate_t=yes
16303 else
16304   have_mbstate_t=no
16305 fi
16306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16308 $as_echo "$have_mbstate_t" >&6; }
16309   if test x"$have_mbstate_t" = xyes; then
16310
16311 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16312
16313   fi
16314
16315   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16316   # ac_has_wchar_h.
16317   for ac_header in wctype.h
16318 do :
16319   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16320 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16321   cat >>confdefs.h <<_ACEOF
16322 #define HAVE_WCTYPE_H 1
16323 _ACEOF
16324  ac_has_wctype_h=yes
16325 else
16326   ac_has_wctype_h=no
16327 fi
16328
16329 done
16330
16331
16332   if test x"$enable_wchar_t" = x"yes"; then
16333
16334
16335     ac_ext=cpp
16336 ac_cpp='$CXXCPP $CPPFLAGS'
16337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16340
16341
16342     if test x"$ac_has_wchar_h" = xyes &&
16343        test x"$ac_has_wctype_h" = xyes; then
16344       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16345 /* end confdefs.h.  */
16346 #include <wchar.h>
16347                       #include <stddef.h>
16348                       wint_t i;
16349                       long l = WEOF;
16350                       long j = WCHAR_MIN;
16351                       long k = WCHAR_MAX;
16352                       namespace test
16353                       {
16354                         using ::btowc;
16355                         using ::fgetwc;
16356                         using ::fgetws;
16357                         using ::fputwc;
16358                         using ::fputws;
16359                         using ::fwide;
16360                         using ::fwprintf;
16361                         using ::fwscanf;
16362                         using ::getwc;
16363                         using ::getwchar;
16364                         using ::mbrlen;
16365                         using ::mbrtowc;
16366                         using ::mbsinit;
16367                         using ::mbsrtowcs;
16368                         using ::putwc;
16369                         using ::putwchar;
16370                         using ::swprintf;
16371                         using ::swscanf;
16372                         using ::ungetwc;
16373                         using ::vfwprintf;
16374                         using ::vswprintf;
16375                         using ::vwprintf;
16376                         using ::wcrtomb;
16377                         using ::wcscat;
16378                         using ::wcschr;
16379                         using ::wcscmp;
16380                         using ::wcscoll;
16381                         using ::wcscpy;
16382                         using ::wcscspn;
16383                         using ::wcsftime;
16384                         using ::wcslen;
16385                         using ::wcsncat;
16386                         using ::wcsncmp;
16387                         using ::wcsncpy;
16388                         using ::wcspbrk;
16389                         using ::wcsrchr;
16390                         using ::wcsrtombs;
16391                         using ::wcsspn;
16392                         using ::wcsstr;
16393                         using ::wcstod;
16394                         using ::wcstok;
16395                         using ::wcstol;
16396                         using ::wcstoul;
16397                         using ::wcsxfrm;
16398                         using ::wctob;
16399                         using ::wmemchr;
16400                         using ::wmemcmp;
16401                         using ::wmemcpy;
16402                         using ::wmemmove;
16403                         using ::wmemset;
16404                         using ::wprintf;
16405                         using ::wscanf;
16406                       }
16407
16408 int
16409 main ()
16410 {
16411
16412   ;
16413   return 0;
16414 }
16415 _ACEOF
16416 if ac_fn_cxx_try_compile "$LINENO"; then :
16417
16418 else
16419   enable_wchar_t=no
16420 fi
16421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16422     else
16423       enable_wchar_t=no
16424     fi
16425
16426     ac_ext=c
16427 ac_cpp='$CPP $CPPFLAGS'
16428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16431
16432   fi
16433
16434   if test x"$enable_wchar_t" = x"yes"; then
16435
16436 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16437
16438   fi
16439
16440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16441 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16443 $as_echo "$enable_wchar_t" >&6; }
16444
16445
16446
16447    # Check whether --enable-c99 was given.
16448 if test "${enable_c99+set}" = set; then :
16449   enableval=$enable_c99;
16450       case "$enableval" in
16451        yes|no) ;;
16452        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16453       esac
16454
16455 else
16456   enable_c99=yes
16457 fi
16458
16459
16460
16461   if test x"$enable_c99" = x"yes"; then
16462
16463
16464   ac_ext=cpp
16465 ac_cpp='$CXXCPP $CPPFLAGS'
16466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16469
16470
16471   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16472   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16473   # spuriously enabled.
16474   # Long term, -std=c++0x could be even better, could manage to explicitely
16475   # request C99 facilities to the underlying C headers.
16476   ac_save_CXXFLAGS="$CXXFLAGS"
16477   CXXFLAGS="$CXXFLAGS -std=c++98"
16478   ac_save_LIBS="$LIBS"
16479   ac_save_gcc_no_link="$gcc_no_link"
16480
16481   if test x$gcc_no_link != xyes; then
16482     # Use -fno-exceptions to that the C driver can link these tests without
16483     # hitting undefined references to personality routines.
16484     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16485     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16486 $as_echo_n "checking for sin in -lm... " >&6; }
16487 if test "${ac_cv_lib_m_sin+set}" = set; then :
16488   $as_echo_n "(cached) " >&6
16489 else
16490   ac_check_lib_save_LIBS=$LIBS
16491 LIBS="-lm  $LIBS"
16492 if test x$gcc_no_link = xyes; then
16493   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16494 fi
16495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16496 /* end confdefs.h.  */
16497
16498 /* Override any GCC internal prototype to avoid an error.
16499    Use char because int might match the return type of a GCC
16500    builtin and then its argument prototype would still apply.  */
16501 #ifdef __cplusplus
16502 extern "C"
16503 #endif
16504 char sin ();
16505 int
16506 main ()
16507 {
16508 return sin ();
16509   ;
16510   return 0;
16511 }
16512 _ACEOF
16513 if ac_fn_cxx_try_link "$LINENO"; then :
16514   ac_cv_lib_m_sin=yes
16515 else
16516   ac_cv_lib_m_sin=no
16517 fi
16518 rm -f core conftest.err conftest.$ac_objext \
16519     conftest$ac_exeext conftest.$ac_ext
16520 LIBS=$ac_check_lib_save_LIBS
16521 fi
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16523 $as_echo "$ac_cv_lib_m_sin" >&6; }
16524 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16525
16526       LIBS="$LIBS -lm"
16527
16528 else
16529
16530       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16531       gcc_no_link=yes
16532
16533 fi
16534
16535   fi
16536
16537   # Check for the existence of <math.h> functions used if C99 is enabled.
16538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16539 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16540   if test "${glibcxx_cv_c99_math+set}" = set; then :
16541   $as_echo_n "(cached) " >&6
16542 else
16543
16544   if test x$gcc_no_link = xyes; then
16545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16546 /* end confdefs.h.  */
16547 #include <math.h>
16548       volatile double d1, d2;
16549       volatile int i;
16550 int
16551 main ()
16552 {
16553 i = fpclassify(d1);
16554       i = isfinite(d1);
16555       i = isinf(d1);
16556       i = isnan(d1);
16557       i = isnormal(d1);
16558       i = signbit(d1);
16559       i = isgreater(d1, d2);
16560       i = isgreaterequal(d1, d2);
16561       i = isless(d1, d2);
16562       i = islessequal(d1, d2);
16563       i = islessgreater(d1, d2);
16564       i = islessgreater(d1, d2);
16565       i = isunordered(d1, d2);
16566
16567   ;
16568   return 0;
16569 }
16570 _ACEOF
16571 if ac_fn_cxx_try_compile "$LINENO"; then :
16572   glibcxx_cv_c99_math=yes
16573 else
16574   glibcxx_cv_c99_math=no
16575 fi
16576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16577 else
16578   if test x$gcc_no_link = xyes; then
16579   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16580 fi
16581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16582 /* end confdefs.h.  */
16583 #include <math.h>
16584       volatile double d1, d2;
16585       volatile int i;
16586 int
16587 main ()
16588 {
16589 i = fpclassify(d1);
16590       i = isfinite(d1);
16591       i = isinf(d1);
16592       i = isnan(d1);
16593       i = isnormal(d1);
16594       i = signbit(d1);
16595       i = isgreater(d1, d2);
16596       i = isgreaterequal(d1, d2);
16597       i = isless(d1, d2);
16598       i = islessequal(d1, d2);
16599       i = islessgreater(d1, d2);
16600       i = islessgreater(d1, d2);
16601       i = isunordered(d1, d2);
16602
16603   ;
16604   return 0;
16605 }
16606 _ACEOF
16607 if ac_fn_cxx_try_link "$LINENO"; then :
16608   glibcxx_cv_c99_math=yes
16609 else
16610   glibcxx_cv_c99_math=no
16611 fi
16612 rm -f core conftest.err conftest.$ac_objext \
16613     conftest$ac_exeext conftest.$ac_ext
16614 fi
16615
16616 fi
16617
16618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16619 $as_echo "$glibcxx_cv_c99_math" >&6; }
16620   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16621
16622 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16623
16624   fi
16625
16626   # Check for the existence of <complex.h> complex math functions.
16627   # This is necessary even though libstdc++ uses the builtin versions
16628   # of these functions, because if the builtin cannot be used, a reference
16629   # to the library function is emitted.
16630   for ac_header in tgmath.h
16631 do :
16632   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16633 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16634   cat >>confdefs.h <<_ACEOF
16635 #define HAVE_TGMATH_H 1
16636 _ACEOF
16637  ac_has_tgmath_h=yes
16638 else
16639   ac_has_tgmath_h=no
16640 fi
16641
16642 done
16643
16644   for ac_header in complex.h
16645 do :
16646   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16647 if test "x$ac_cv_header_complex_h" = x""yes; then :
16648   cat >>confdefs.h <<_ACEOF
16649 #define HAVE_COMPLEX_H 1
16650 _ACEOF
16651  ac_has_complex_h=yes
16652 else
16653   ac_has_complex_h=no
16654 fi
16655
16656 done
16657
16658   glibcxx_cv_c99_complex=no;
16659   if test x"$ac_has_complex_h" = x"yes"; then
16660     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16661 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16662     if test x$gcc_no_link = xyes; then
16663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h.  */
16665 #include <complex.h>
16666         typedef __complex__ float float_type;
16667         typedef __complex__ double double_type;
16668         typedef __complex__ long double ld_type;
16669         volatile float_type tmpf;
16670         volatile double_type tmpd;
16671         volatile ld_type tmpld;
16672         volatile float f;
16673         volatile double d;
16674         volatile long double ld;
16675 int
16676 main ()
16677 {
16678 f = cabsf(tmpf);
16679         f = cargf(tmpf);
16680         tmpf = ccosf(tmpf);
16681         tmpf = ccoshf(tmpf);
16682         tmpf = cexpf(tmpf);
16683         tmpf = clogf(tmpf);
16684         tmpf = csinf(tmpf);
16685         tmpf = csinhf(tmpf);
16686         tmpf = csqrtf(tmpf);
16687         tmpf = ctanf(tmpf);
16688         tmpf = ctanhf(tmpf);
16689         tmpf = cpowf(tmpf, tmpf);
16690         tmpf = cprojf(tmpf);
16691         d = cabs(tmpd);
16692         d = carg(tmpd);
16693         tmpd = ccos(tmpd);
16694         tmpd = ccosh(tmpd);
16695         tmpd = cexp(tmpd);
16696         tmpd = clog(tmpd);
16697         tmpd = csin(tmpd);
16698         tmpd = csinh(tmpd);
16699         tmpd = csqrt(tmpd);
16700         tmpd = ctan(tmpd);
16701         tmpd = ctanh(tmpd);
16702         tmpd = cpow(tmpd, tmpd);
16703         tmpd = cproj(tmpd);
16704         ld = cabsl(tmpld);
16705         ld = cargl(tmpld);
16706         tmpld = ccosl(tmpld);
16707         tmpld = ccoshl(tmpld);
16708         tmpld = cexpl(tmpld);
16709         tmpld = clogl(tmpld);
16710         tmpld = csinl(tmpld);
16711         tmpld = csinhl(tmpld);
16712         tmpld = csqrtl(tmpld);
16713         tmpld = ctanl(tmpld);
16714         tmpld = ctanhl(tmpld);
16715         tmpld = cpowl(tmpld, tmpld);
16716         tmpld = cprojl(tmpld);
16717
16718   ;
16719   return 0;
16720 }
16721 _ACEOF
16722 if ac_fn_cxx_try_compile "$LINENO"; then :
16723   glibcxx_cv_c99_complex=yes
16724 else
16725   glibcxx_cv_c99_complex=no
16726 fi
16727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16728 else
16729   if test x$gcc_no_link = xyes; then
16730   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16731 fi
16732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16733 /* end confdefs.h.  */
16734 #include <complex.h>
16735         typedef __complex__ float float_type;
16736         typedef __complex__ double double_type;
16737         typedef __complex__ long double ld_type;
16738         volatile float_type tmpf;
16739         volatile double_type tmpd;
16740         volatile ld_type tmpld;
16741         volatile float f;
16742         volatile double d;
16743         volatile long double ld;
16744 int
16745 main ()
16746 {
16747 f = cabsf(tmpf);
16748         f = cargf(tmpf);
16749         tmpf = ccosf(tmpf);
16750         tmpf = ccoshf(tmpf);
16751         tmpf = cexpf(tmpf);
16752         tmpf = clogf(tmpf);
16753         tmpf = csinf(tmpf);
16754         tmpf = csinhf(tmpf);
16755         tmpf = csqrtf(tmpf);
16756         tmpf = ctanf(tmpf);
16757         tmpf = ctanhf(tmpf);
16758         tmpf = cpowf(tmpf, tmpf);
16759         tmpf = cprojf(tmpf);
16760         d = cabs(tmpd);
16761         d = carg(tmpd);
16762         tmpd = ccos(tmpd);
16763         tmpd = ccosh(tmpd);
16764         tmpd = cexp(tmpd);
16765         tmpd = clog(tmpd);
16766         tmpd = csin(tmpd);
16767         tmpd = csinh(tmpd);
16768         tmpd = csqrt(tmpd);
16769         tmpd = ctan(tmpd);
16770         tmpd = ctanh(tmpd);
16771         tmpd = cpow(tmpd, tmpd);
16772         tmpd = cproj(tmpd);
16773         ld = cabsl(tmpld);
16774         ld = cargl(tmpld);
16775         tmpld = ccosl(tmpld);
16776         tmpld = ccoshl(tmpld);
16777         tmpld = cexpl(tmpld);
16778         tmpld = clogl(tmpld);
16779         tmpld = csinl(tmpld);
16780         tmpld = csinhl(tmpld);
16781         tmpld = csqrtl(tmpld);
16782         tmpld = ctanl(tmpld);
16783         tmpld = ctanhl(tmpld);
16784         tmpld = cpowl(tmpld, tmpld);
16785         tmpld = cprojl(tmpld);
16786
16787   ;
16788   return 0;
16789 }
16790 _ACEOF
16791 if ac_fn_cxx_try_link "$LINENO"; then :
16792   glibcxx_cv_c99_complex=yes
16793 else
16794   glibcxx_cv_c99_complex=no
16795 fi
16796 rm -f core conftest.err conftest.$ac_objext \
16797     conftest$ac_exeext conftest.$ac_ext
16798 fi
16799   fi
16800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16801 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16802   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16803
16804 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16805
16806   fi
16807
16808   # Check for the existence in <stdio.h> of vscanf, et. al.
16809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16810 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16811   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16812   $as_echo_n "(cached) " >&6
16813 else
16814
16815   if test x$gcc_no_link = xyes; then
16816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16817 /* end confdefs.h.  */
16818 #include <stdio.h>
16819       #include <stdarg.h>
16820       void foo(char* fmt, ...)
16821       {
16822         va_list args; va_start(args, fmt);
16823         vfscanf(stderr, "%i", args);
16824         vscanf("%i", args);
16825         vsnprintf(fmt, 0, "%i", args);
16826         vsscanf(fmt, "%i", args);
16827       }
16828 int
16829 main ()
16830 {
16831 snprintf("12", 0, "%i");
16832   ;
16833   return 0;
16834 }
16835 _ACEOF
16836 if ac_fn_cxx_try_compile "$LINENO"; then :
16837   glibcxx_cv_c99_stdio=yes
16838 else
16839   glibcxx_cv_c99_stdio=no
16840 fi
16841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16842 else
16843   if test x$gcc_no_link = xyes; then
16844   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16845 fi
16846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16847 /* end confdefs.h.  */
16848 #include <stdio.h>
16849       #include <stdarg.h>
16850       void foo(char* fmt, ...)
16851       {
16852         va_list args; va_start(args, fmt);
16853         vfscanf(stderr, "%i", args);
16854         vscanf("%i", args);
16855         vsnprintf(fmt, 0, "%i", args);
16856         vsscanf(fmt, "%i", args);
16857       }
16858 int
16859 main ()
16860 {
16861 snprintf("12", 0, "%i");
16862   ;
16863   return 0;
16864 }
16865 _ACEOF
16866 if ac_fn_cxx_try_link "$LINENO"; then :
16867   glibcxx_cv_c99_stdio=yes
16868 else
16869   glibcxx_cv_c99_stdio=no
16870 fi
16871 rm -f core conftest.err conftest.$ac_objext \
16872     conftest$ac_exeext conftest.$ac_ext
16873 fi
16874
16875 fi
16876
16877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16878 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16879
16880   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16882 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16883   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16884   $as_echo_n "(cached) " >&6
16885 else
16886
16887   if test x$gcc_no_link = xyes; then
16888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h.  */
16890 #include <stdlib.h>
16891       volatile float f;
16892       volatile long double ld;
16893       volatile unsigned long long ll;
16894       lldiv_t mydivt;
16895 int
16896 main ()
16897 {
16898 char* tmp;
16899       f = strtof("gnu", &tmp);
16900       ld = strtold("gnu", &tmp);
16901       ll = strtoll("gnu", &tmp, 10);
16902       ll = strtoull("gnu", &tmp, 10);
16903       ll = llabs(10);
16904       mydivt = lldiv(10,1);
16905       ll = mydivt.quot;
16906       ll = mydivt.rem;
16907       ll = atoll("10");
16908       _Exit(0);
16909
16910   ;
16911   return 0;
16912 }
16913 _ACEOF
16914 if ac_fn_cxx_try_compile "$LINENO"; then :
16915   glibcxx_cv_c99_stdlib=yes
16916 else
16917   glibcxx_cv_c99_stdlib=no
16918 fi
16919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16920 else
16921   if test x$gcc_no_link = xyes; then
16922   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16923 fi
16924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h.  */
16926 #include <stdlib.h>
16927       volatile float f;
16928       volatile long double ld;
16929       volatile unsigned long long ll;
16930       lldiv_t mydivt;
16931 int
16932 main ()
16933 {
16934 char* tmp;
16935       f = strtof("gnu", &tmp);
16936       ld = strtold("gnu", &tmp);
16937       ll = strtoll("gnu", &tmp, 10);
16938       ll = strtoull("gnu", &tmp, 10);
16939       ll = llabs(10);
16940       mydivt = lldiv(10,1);
16941       ll = mydivt.quot;
16942       ll = mydivt.rem;
16943       ll = atoll("10");
16944       _Exit(0);
16945
16946   ;
16947   return 0;
16948 }
16949 _ACEOF
16950 if ac_fn_cxx_try_link "$LINENO"; then :
16951   glibcxx_cv_c99_stdlib=yes
16952 else
16953   glibcxx_cv_c99_stdlib=no
16954 fi
16955 rm -f core conftest.err conftest.$ac_objext \
16956     conftest$ac_exeext conftest.$ac_ext
16957 fi
16958
16959 fi
16960
16961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16962 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16963
16964   # Check for the existence in <wchar.h> of wcstold, etc.
16965   glibcxx_cv_c99_wchar=no;
16966   if test x"$ac_has_wchar_h" = xyes &&
16967      test x"$ac_has_wctype_h" = xyes; then
16968     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16969 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16970     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16971 /* end confdefs.h.  */
16972 #include <wchar.h>
16973                     namespace test
16974                     {
16975                       using ::wcstold;
16976                       using ::wcstoll;
16977                       using ::wcstoull;
16978                     }
16979
16980 int
16981 main ()
16982 {
16983
16984   ;
16985   return 0;
16986 }
16987 _ACEOF
16988 if ac_fn_cxx_try_compile "$LINENO"; then :
16989   glibcxx_cv_c99_wchar=yes
16990 else
16991   glibcxx_cv_c99_wchar=no
16992 fi
16993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16994
16995     # Checks for wide character functions that may not be present.
16996     # Injection of these is wrapped with guard macros.
16997     # NB: only put functions here, instead of immediately above, if
16998     # absolutely necessary.
16999     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17000 /* end confdefs.h.  */
17001 #include <wchar.h>
17002                     namespace test { using ::vfwscanf; }
17003 int
17004 main ()
17005 {
17006
17007   ;
17008   return 0;
17009 }
17010 _ACEOF
17011 if ac_fn_cxx_try_compile "$LINENO"; then :
17012
17013 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17014
17015 fi
17016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17017
17018     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17019 /* end confdefs.h.  */
17020 #include <wchar.h>
17021                     namespace test { using ::vswscanf; }
17022 int
17023 main ()
17024 {
17025
17026   ;
17027   return 0;
17028 }
17029 _ACEOF
17030 if ac_fn_cxx_try_compile "$LINENO"; then :
17031
17032 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17033
17034 fi
17035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17036
17037     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h.  */
17039 #include <wchar.h>
17040                     namespace test { using ::vwscanf; }
17041 int
17042 main ()
17043 {
17044
17045   ;
17046   return 0;
17047 }
17048 _ACEOF
17049 if ac_fn_cxx_try_compile "$LINENO"; then :
17050
17051 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17052
17053 fi
17054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17055
17056     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17057 /* end confdefs.h.  */
17058 #include <wchar.h>
17059                     namespace test { using ::wcstof; }
17060 int
17061 main ()
17062 {
17063
17064   ;
17065   return 0;
17066 }
17067 _ACEOF
17068 if ac_fn_cxx_try_compile "$LINENO"; then :
17069
17070 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17071
17072 fi
17073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17074
17075     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17076 /* end confdefs.h.  */
17077 #include <wctype.h>
17078 int
17079 main ()
17080 {
17081  wint_t t; int i = iswblank(t);
17082   ;
17083   return 0;
17084 }
17085 _ACEOF
17086 if ac_fn_cxx_try_compile "$LINENO"; then :
17087
17088 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17089
17090 fi
17091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17092
17093     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17094 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17095   fi
17096
17097   # Option parsed, now set things appropriately.
17098   if test x"$glibcxx_cv_c99_math" = x"no" ||
17099      test x"$glibcxx_cv_c99_complex" = x"no" ||
17100      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17101      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17102      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17103     enable_c99=no;
17104   else
17105
17106 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17107
17108   fi
17109
17110   gcc_no_link="$ac_save_gcc_no_link"
17111   LIBS="$ac_save_LIBS"
17112   CXXFLAGS="$ac_save_CXXFLAGS"
17113   ac_ext=c
17114 ac_cpp='$CPP $CPPFLAGS'
17115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17118
17119   fi
17120
17121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17122 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17124 $as_echo "$enable_c99" >&6; }
17125
17126
17127    # Check whether --enable-concept-checks was given.
17128 if test "${enable_concept_checks+set}" = set; then :
17129   enableval=$enable_concept_checks;
17130       case "$enableval" in
17131        yes|no) ;;
17132        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17133       esac
17134
17135 else
17136   enable_concept_checks=no
17137 fi
17138
17139
17140   if test $enable_concept_checks = yes; then
17141
17142 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17143
17144   fi
17145
17146
17147    # Check whether --enable-libstdcxx-debug-flags was given.
17148 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17149   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17150       xno | x)    enable_libstdcxx_debug_flags= ;;
17151       x-*)        ;;
17152       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17153      esac
17154 else
17155   enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17156 fi
17157
17158
17159
17160   # Option parsed, now set things appropriately
17161   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17162
17163
17164   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17165 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17166
17167
17168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17169 $as_echo_n "checking for additional debug build... " >&6; }
17170    # Check whether --enable-libstdcxx-debug was given.
17171 if test "${enable_libstdcxx_debug+set}" = set; then :
17172   enableval=$enable_libstdcxx_debug;
17173       case "$enableval" in
17174        yes|no) ;;
17175        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17176       esac
17177
17178 else
17179   enable_libstdcxx_debug=no
17180 fi
17181
17182
17183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17184 $as_echo "$enable_libstdcxx_debug" >&6; }
17185
17186
17187
17188
17189   enable_parallel=no;
17190
17191   # See if configured libgomp/omp.h exists. (libgomp may be in
17192   # noconfigdirs but not explicitly disabled.)
17193   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17194     enable_parallel=yes;
17195   else
17196     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17197 $as_echo "$as_me: target-libgomp not built" >&6;}
17198   fi
17199
17200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17201 $as_echo_n "checking for parallel mode support... " >&6; }
17202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17203 $as_echo "$enable_parallel" >&6; }
17204
17205
17206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17207 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17208    # Check whether --enable-cxx-flags was given.
17209 if test "${enable_cxx_flags+set}" = set; then :
17210   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17211       xno | x)   enable_cxx_flags= ;;
17212       x-*)       ;;
17213       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17214      esac
17215 else
17216   enable_cxx_flags=
17217 fi
17218
17219
17220
17221   # Run through flags (either default or command-line) and set anything
17222   # extra (e.g., #defines) that must accompany particular g++ options.
17223   if test -n "$enable_cxx_flags"; then
17224     for f in $enable_cxx_flags; do
17225       case "$f" in
17226         -fhonor-std)  ;;
17227         -*)  ;;
17228         *)   # and we're trying to pass /what/ exactly?
17229              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17230       esac
17231     done
17232   fi
17233
17234   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17236 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17237
17238
17239
17240    # Check whether --enable-fully-dynamic-string was given.
17241 if test "${enable_fully_dynamic_string+set}" = set; then :
17242   enableval=$enable_fully_dynamic_string;
17243       case "$enableval" in
17244        yes|no) ;;
17245        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17246       esac
17247
17248 else
17249   enable_fully_dynamic_string=no
17250 fi
17251
17252
17253   if test $enable_fully_dynamic_string = yes; then
17254     enable_fully_dynamic_string_def=1
17255   else
17256     enable_fully_dynamic_string_def=0
17257   fi
17258
17259 cat >>confdefs.h <<_ACEOF
17260 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17261 _ACEOF
17262
17263
17264
17265
17266    # Check whether --enable-extern-template was given.
17267 if test "${enable_extern_template+set}" = set; then :
17268   enableval=$enable_extern_template;
17269       case "$enableval" in
17270        yes|no) ;;
17271        *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17272       esac
17273
17274 else
17275   enable_extern_template=yes
17276 fi
17277
17278
17279
17280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17281 $as_echo_n "checking for extern template support... " >&6; }
17282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17283 $as_echo "$enable_extern_template" >&6; }
17284
17285
17286
17287
17288
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17290 $as_echo_n "checking for custom python install directory... " >&6; }
17291
17292 # Check whether --with-python-dir was given.
17293 if test "${with_python_dir+set}" = set; then :
17294   withval=$with_python_dir; with_python_dir=$withval
17295 else
17296   with_python_dir="no"
17297 fi
17298
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17300 $as_echo "${with_python_dir}" >&6; }
17301
17302 # Needed for installing Python modules during make install.
17303 python_mod_dir="${with_python_dir}"
17304
17305
17306
17307
17308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17309 $as_echo_n "checking for -Werror... " >&6; }
17310    # Check whether --enable-werror was given.
17311 if test "${enable_werror+set}" = set; then :
17312   enableval=$enable_werror;
17313       case "$enableval" in
17314        yes|no) ;;
17315        *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17316       esac
17317
17318 else
17319   enable_werror=yes
17320 fi
17321
17322
17323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17324 $as_echo "$enable_werror" >&6; }
17325
17326
17327
17328 # Checks for operating systems support that doesn't require linking.
17329
17330
17331
17332   ac_ext=cpp
17333 ac_cpp='$CXXCPP $CPPFLAGS'
17334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17337
17338
17339   case "$host" in
17340     *-*-solaris2.*)
17341       # Solaris 8 FCS only had an overload for double std::abs(double) in
17342       # <iso/math_iso.h>.  Patches 111721-04 (SPARC) and 112757-01 (x86)
17343       # introduced the full set also found from Solaris 9 onwards.
17344       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17345 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17346       if test "${glibcxx_cv_abs_float+set}" = set; then :
17347   $as_echo_n "(cached) " >&6
17348 else
17349
17350         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17351 /* end confdefs.h.  */
17352 #include <math.h>
17353            namespace std {
17354              inline float abs(float __x)
17355              {  return __builtin_fabsf(__x); }
17356            }
17357
17358 _ACEOF
17359 if ac_fn_cxx_try_compile "$LINENO"; then :
17360   glibcxx_cv_abs_float=no
17361 else
17362   glibcxx_cv_abs_float=yes
17363
17364 fi
17365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17366 fi
17367
17368
17369       # autoheader cannot handle indented templates.
17370
17371
17372
17373       if test $glibcxx_cv_abs_float = yes; then
17374         $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17375
17376       else
17377         $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17378
17379       fi
17380       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17381 $as_echo "$glibcxx_cv_abs_float" >&6; }
17382       ;;
17383   esac
17384
17385   ac_ext=c
17386 ac_cpp='$CPP $CPPFLAGS'
17387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17390
17391
17392
17393
17394
17395   ac_ext=cpp
17396 ac_cpp='$CXXCPP $CPPFLAGS'
17397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17400
17401
17402   case "$host" in
17403     *-*-solaris2.*)
17404       # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17405       # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>.  Patches 109607-02
17406       # (SPARC) and 109608-02 (x86) introduced them.
17407       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17408 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17409       if test "${glibcxx_cv_abs_long+set}" = set; then :
17410   $as_echo_n "(cached) " >&6
17411 else
17412
17413         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17414 /* end confdefs.h.  */
17415 #include <stdlib.h>
17416            namespace std {
17417              inline long
17418              abs(long __i) { return labs(__i); }
17419            }
17420
17421 _ACEOF
17422 if ac_fn_cxx_try_compile "$LINENO"; then :
17423   glibcxx_cv_abs_long=no
17424 else
17425   glibcxx_cv_abs_long=yes
17426
17427 fi
17428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17429 fi
17430
17431
17432       # autoheader cannot handle indented templates.
17433
17434       if test $glibcxx_cv_abs_long = yes; then
17435         $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17436
17437       fi
17438       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17439 $as_echo "$glibcxx_cv_abs_long" >&6; }
17440       ;;
17441   esac
17442
17443   ac_ext=c
17444 ac_cpp='$CPP $CPPFLAGS'
17445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17448
17449
17450
17451
17452
17453   ac_ext=cpp
17454 ac_cpp='$CXXCPP $CPPFLAGS'
17455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17458
17459
17460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17461 $as_echo_n "checking for gets declaration... " >&6; }
17462   if test "${glibcxx_cv_gets+set}" = set; then :
17463   $as_echo_n "(cached) " >&6
17464 else
17465
17466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17467 /* end confdefs.h.  */
17468 #include <stdio.h>
17469            namespace test
17470            {
17471               using ::gets;
17472            }
17473
17474 _ACEOF
17475 if ac_fn_cxx_try_compile "$LINENO"; then :
17476   glibcxx_cv_gets=yes
17477 else
17478   glibcxx_cv_gets=no
17479
17480 fi
17481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17482 fi
17483
17484
17485   if test $glibcxx_cv_gets = yes; then
17486
17487 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17488
17489   fi
17490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17491 $as_echo "$glibcxx_cv_gets" >&6; }
17492
17493   ac_ext=c
17494 ac_cpp='$CPP $CPPFLAGS'
17495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17498
17499
17500
17501
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17503 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17504 if test "${glibcxx_cv_system_error1+set}" = set; then :
17505   $as_echo_n "(cached) " >&6
17506 else
17507
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h.  */
17510 #include <errno.h>
17511 int
17512 main ()
17513 {
17514 int i = EOWNERDEAD;
17515   ;
17516   return 0;
17517 }
17518 _ACEOF
17519 if ac_fn_c_try_compile "$LINENO"; then :
17520   glibcxx_cv_system_error1=yes
17521 else
17522   glibcxx_cv_system_error1=no
17523 fi
17524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17525
17526 fi
17527
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17529 $as_echo "$glibcxx_cv_system_error1" >&6; }
17530 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17531
17532 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17533
17534 fi
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17536 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17537 if test "${glibcxx_cv_system_error2+set}" = set; then :
17538   $as_echo_n "(cached) " >&6
17539 else
17540
17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17542 /* end confdefs.h.  */
17543 #include <errno.h>
17544 int
17545 main ()
17546 {
17547 int i = ENOTRECOVERABLE;
17548   ;
17549   return 0;
17550 }
17551 _ACEOF
17552 if ac_fn_c_try_compile "$LINENO"; then :
17553   glibcxx_cv_system_error2=yes
17554 else
17555   glibcxx_cv_system_error2=no
17556 fi
17557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17558
17559 fi
17560
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17562 $as_echo "$glibcxx_cv_system_error2" >&6; }
17563 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17564
17565 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17566
17567 fi
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17569 $as_echo_n "checking for ENOLINK... " >&6; }
17570 if test "${glibcxx_cv_system_error3+set}" = set; then :
17571   $as_echo_n "(cached) " >&6
17572 else
17573
17574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17575 /* end confdefs.h.  */
17576 #include <errno.h>
17577 int
17578 main ()
17579 {
17580 int i = ENOLINK;
17581   ;
17582   return 0;
17583 }
17584 _ACEOF
17585 if ac_fn_c_try_compile "$LINENO"; then :
17586   glibcxx_cv_system_error3=yes
17587 else
17588   glibcxx_cv_system_error3=no
17589 fi
17590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17591
17592 fi
17593
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17595 $as_echo "$glibcxx_cv_system_error3" >&6; }
17596 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17597
17598 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17599
17600 fi
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17602 $as_echo_n "checking for EPROTO... " >&6; }
17603 if test "${glibcxx_cv_system_error4+set}" = set; then :
17604   $as_echo_n "(cached) " >&6
17605 else
17606
17607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17608 /* end confdefs.h.  */
17609 #include <errno.h>
17610 int
17611 main ()
17612 {
17613 int i = EPROTO;
17614   ;
17615   return 0;
17616 }
17617 _ACEOF
17618 if ac_fn_c_try_compile "$LINENO"; then :
17619   glibcxx_cv_system_error4=yes
17620 else
17621   glibcxx_cv_system_error4=no
17622 fi
17623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17624
17625 fi
17626
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17628 $as_echo "$glibcxx_cv_system_error4" >&6; }
17629 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17630
17631 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17632
17633 fi
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17635 $as_echo_n "checking for ENODATA... " >&6; }
17636 if test "${glibcxx_cv_system_error5+set}" = set; then :
17637   $as_echo_n "(cached) " >&6
17638 else
17639
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h.  */
17642 #include <errno.h>
17643 int
17644 main ()
17645 {
17646 int i = ENODATA;
17647   ;
17648   return 0;
17649 }
17650 _ACEOF
17651 if ac_fn_c_try_compile "$LINENO"; then :
17652   glibcxx_cv_system_error5=yes
17653 else
17654   glibcxx_cv_system_error5=no
17655 fi
17656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17657
17658 fi
17659
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17661 $as_echo "$glibcxx_cv_system_error5" >&6; }
17662 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17663
17664 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17665
17666 fi
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17668 $as_echo_n "checking for ENOSR... " >&6; }
17669 if test "${glibcxx_cv_system_error6+set}" = set; then :
17670   $as_echo_n "(cached) " >&6
17671 else
17672
17673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h.  */
17675 #include <errno.h>
17676 int
17677 main ()
17678 {
17679 int i = ENOSR;
17680   ;
17681   return 0;
17682 }
17683 _ACEOF
17684 if ac_fn_c_try_compile "$LINENO"; then :
17685   glibcxx_cv_system_error6=yes
17686 else
17687   glibcxx_cv_system_error6=no
17688 fi
17689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17690
17691 fi
17692
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17694 $as_echo "$glibcxx_cv_system_error6" >&6; }
17695 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17696
17697 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17698
17699 fi
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17701 $as_echo_n "checking for ENOSTR... " >&6; }
17702 if test "${glibcxx_cv_system_error7+set}" = set; then :
17703   $as_echo_n "(cached) " >&6
17704 else
17705
17706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17707 /* end confdefs.h.  */
17708 #include <errno.h>
17709 int
17710 main ()
17711 {
17712 int i = ENOSTR;
17713   ;
17714   return 0;
17715 }
17716 _ACEOF
17717 if ac_fn_c_try_compile "$LINENO"; then :
17718   glibcxx_cv_system_error7=yes
17719 else
17720   glibcxx_cv_system_error7=no
17721 fi
17722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17723
17724 fi
17725
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17727 $as_echo "$glibcxx_cv_system_error7" >&6; }
17728 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17729
17730 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17731
17732 fi
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17734 $as_echo_n "checking for ETIME... " >&6; }
17735 if test "${glibcxx_cv_system_error8+set}" = set; then :
17736   $as_echo_n "(cached) " >&6
17737 else
17738
17739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17740 /* end confdefs.h.  */
17741 #include <errno.h>
17742 int
17743 main ()
17744 {
17745 int i = ETIME;
17746   ;
17747   return 0;
17748 }
17749 _ACEOF
17750 if ac_fn_c_try_compile "$LINENO"; then :
17751   glibcxx_cv_system_error8=yes
17752 else
17753   glibcxx_cv_system_error8=no
17754 fi
17755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17756
17757 fi
17758
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17760 $as_echo "$glibcxx_cv_system_error8" >&6; }
17761 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17762
17763 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17764
17765 fi
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17767 $as_echo_n "checking for EBADMSG... " >&6; }
17768 if test "${glibcxx_cv_system_error9+set}" = set; then :
17769   $as_echo_n "(cached) " >&6
17770 else
17771
17772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17773 /* end confdefs.h.  */
17774 #include <errno.h>
17775 int
17776 main ()
17777 {
17778 int i = EBADMSG;
17779   ;
17780   return 0;
17781 }
17782 _ACEOF
17783 if ac_fn_c_try_compile "$LINENO"; then :
17784   glibcxx_cv_system_error9=yes
17785 else
17786   glibcxx_cv_system_error9=no
17787 fi
17788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17789
17790 fi
17791
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17793 $as_echo "$glibcxx_cv_system_error9" >&6; }
17794 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17795
17796 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17797
17798 fi
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17800 $as_echo_n "checking for ECANCELED... " >&6; }
17801 if test "${glibcxx_cv_system_error10+set}" = set; then :
17802   $as_echo_n "(cached) " >&6
17803 else
17804
17805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17806 /* end confdefs.h.  */
17807 #include <errno.h>
17808 int
17809 main ()
17810 {
17811 int i = ECANCELED;
17812   ;
17813   return 0;
17814 }
17815 _ACEOF
17816 if ac_fn_c_try_compile "$LINENO"; then :
17817   glibcxx_cv_system_error10=yes
17818 else
17819   glibcxx_cv_system_error10=no
17820 fi
17821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17822
17823 fi
17824
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17826 $as_echo "$glibcxx_cv_system_error10" >&6; }
17827 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17828
17829 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17830
17831 fi
17832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17833 $as_echo_n "checking for EOVERFLOW... " >&6; }
17834 if test "${glibcxx_cv_system_error11+set}" = set; then :
17835   $as_echo_n "(cached) " >&6
17836 else
17837
17838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17839 /* end confdefs.h.  */
17840 #include <errno.h>
17841 int
17842 main ()
17843 {
17844 int i = EOVERFLOW;
17845   ;
17846   return 0;
17847 }
17848 _ACEOF
17849 if ac_fn_c_try_compile "$LINENO"; then :
17850   glibcxx_cv_system_error11=yes
17851 else
17852   glibcxx_cv_system_error11=no
17853 fi
17854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17855
17856 fi
17857
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17859 $as_echo "$glibcxx_cv_system_error11" >&6; }
17860 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17861
17862 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17863
17864 fi
17865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17866 $as_echo_n "checking for ENOTSUP... " >&6; }
17867 if test "${glibcxx_cv_system_error12+set}" = set; then :
17868   $as_echo_n "(cached) " >&6
17869 else
17870
17871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17872 /* end confdefs.h.  */
17873 #include <errno.h>
17874 int
17875 main ()
17876 {
17877 int i = ENOTSUP;
17878   ;
17879   return 0;
17880 }
17881 _ACEOF
17882 if ac_fn_c_try_compile "$LINENO"; then :
17883   glibcxx_cv_system_error12=yes
17884 else
17885   glibcxx_cv_system_error12=no
17886 fi
17887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17888
17889 fi
17890
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17892 $as_echo "$glibcxx_cv_system_error12" >&6; }
17893 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17894
17895 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17896
17897 fi
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17899 $as_echo_n "checking for EIDRM... " >&6; }
17900 if test "${glibcxx_cv_system_error13+set}" = set; then :
17901   $as_echo_n "(cached) " >&6
17902 else
17903
17904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17905 /* end confdefs.h.  */
17906 #include <errno.h>
17907 int
17908 main ()
17909 {
17910 int i = EIDRM;
17911   ;
17912   return 0;
17913 }
17914 _ACEOF
17915 if ac_fn_c_try_compile "$LINENO"; then :
17916   glibcxx_cv_system_error13=yes
17917 else
17918   glibcxx_cv_system_error13=no
17919 fi
17920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17921
17922 fi
17923
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17925 $as_echo "$glibcxx_cv_system_error13" >&6; }
17926 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17927
17928 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17929
17930 fi
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17932 $as_echo_n "checking for ETXTBSY... " >&6; }
17933 if test "${glibcxx_cv_system_error14+set}" = set; then :
17934   $as_echo_n "(cached) " >&6
17935 else
17936
17937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17938 /* end confdefs.h.  */
17939 #include <errno.h>
17940 int
17941 main ()
17942 {
17943 int i = ETXTBSY;
17944   ;
17945   return 0;
17946 }
17947 _ACEOF
17948 if ac_fn_c_try_compile "$LINENO"; then :
17949   glibcxx_cv_system_error14=yes
17950 else
17951   glibcxx_cv_system_error14=no
17952 fi
17953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17954
17955 fi
17956
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17958 $as_echo "$glibcxx_cv_system_error14" >&6; }
17959 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17960
17961 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17962
17963 fi
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17965 $as_echo_n "checking for ECHILD... " >&6; }
17966 if test "${glibcxx_cv_system_error15+set}" = set; then :
17967   $as_echo_n "(cached) " >&6
17968 else
17969
17970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17971 /* end confdefs.h.  */
17972 #include <errno.h>
17973 int
17974 main ()
17975 {
17976 int i = ECHILD;
17977   ;
17978   return 0;
17979 }
17980 _ACEOF
17981 if ac_fn_c_try_compile "$LINENO"; then :
17982   glibcxx_cv_system_error15=yes
17983 else
17984   glibcxx_cv_system_error15=no
17985 fi
17986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17987
17988 fi
17989
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17991 $as_echo "$glibcxx_cv_system_error15" >&6; }
17992 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17993
17994 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17995
17996 fi
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17998 $as_echo_n "checking for ENOSPC... " >&6; }
17999 if test "${glibcxx_cv_system_error16+set}" = set; then :
18000   $as_echo_n "(cached) " >&6
18001 else
18002
18003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18004 /* end confdefs.h.  */
18005 #include <errno.h>
18006 int
18007 main ()
18008 {
18009 int i = ENOSPC;
18010   ;
18011   return 0;
18012 }
18013 _ACEOF
18014 if ac_fn_c_try_compile "$LINENO"; then :
18015   glibcxx_cv_system_error16=yes
18016 else
18017   glibcxx_cv_system_error16=no
18018 fi
18019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18020
18021 fi
18022
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18024 $as_echo "$glibcxx_cv_system_error16" >&6; }
18025 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18026
18027 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18028
18029 fi
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18031 $as_echo_n "checking for EPERM... " >&6; }
18032 if test "${glibcxx_cv_system_error17+set}" = set; then :
18033   $as_echo_n "(cached) " >&6
18034 else
18035
18036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18037 /* end confdefs.h.  */
18038 #include <errno.h>
18039 int
18040 main ()
18041 {
18042 int i = EPERM;
18043   ;
18044   return 0;
18045 }
18046 _ACEOF
18047 if ac_fn_c_try_compile "$LINENO"; then :
18048   glibcxx_cv_system_error17=yes
18049 else
18050   glibcxx_cv_system_error17=no
18051 fi
18052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18053
18054 fi
18055
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18057 $as_echo "$glibcxx_cv_system_error17" >&6; }
18058 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18059
18060 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18061
18062 fi
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18064 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18065 if test "${glibcxx_cv_system_error18+set}" = set; then :
18066   $as_echo_n "(cached) " >&6
18067 else
18068
18069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18070 /* end confdefs.h.  */
18071 #include <errno.h>
18072 int
18073 main ()
18074 {
18075 int i = ETIMEDOUT;
18076   ;
18077   return 0;
18078 }
18079 _ACEOF
18080 if ac_fn_c_try_compile "$LINENO"; then :
18081   glibcxx_cv_system_error18=yes
18082 else
18083   glibcxx_cv_system_error18=no
18084 fi
18085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18086
18087 fi
18088
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18090 $as_echo "$glibcxx_cv_system_error18" >&6; }
18091 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18092
18093 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18094
18095 fi
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18097 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18098 if test "${glibcxx_cv_system_error19+set}" = set; then :
18099   $as_echo_n "(cached) " >&6
18100 else
18101
18102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18103 /* end confdefs.h.  */
18104 #include <errno.h>
18105 int
18106 main ()
18107 {
18108 int i = EWOULDBLOCK;
18109   ;
18110   return 0;
18111 }
18112 _ACEOF
18113 if ac_fn_c_try_compile "$LINENO"; then :
18114   glibcxx_cv_system_error19=yes
18115 else
18116   glibcxx_cv_system_error19=no
18117 fi
18118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18119
18120 fi
18121
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18123 $as_echo "$glibcxx_cv_system_error19" >&6; }
18124 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18125
18126 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18127
18128 fi
18129
18130
18131
18132 # For the streamoff typedef.
18133
18134
18135
18136   ac_ext=cpp
18137 ac_cpp='$CXXCPP $CPPFLAGS'
18138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18141
18142
18143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18144 $as_echo_n "checking for int64_t... " >&6; }
18145   if test "${glibcxx_cv_INT64_T+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 int
18153 main ()
18154 {
18155 int64_t var;
18156   ;
18157   return 0;
18158 }
18159 _ACEOF
18160 if ac_fn_cxx_try_compile "$LINENO"; then :
18161   glibcxx_cv_INT64_T=yes
18162 else
18163   glibcxx_cv_INT64_T=no
18164 fi
18165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18166
18167 fi
18168
18169
18170   if test $glibcxx_cv_INT64_T = yes; then
18171
18172 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18173
18174     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18175 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18176
18177     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18178 $as_echo_n "checking for int64_t as long... " >&6; }
18179     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18180   $as_echo_n "(cached) " >&6
18181 else
18182
18183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18184 /* end confdefs.h.  */
18185 #include <stdint.h>
18186         template<typename, typename> struct same { enum { value = -1 }; };
18187         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18188         int array[same<int64_t, long>::value];
18189 int
18190 main ()
18191 {
18192
18193   ;
18194   return 0;
18195 }
18196 _ACEOF
18197 if ac_fn_cxx_try_compile "$LINENO"; then :
18198   glibcxx_cv_int64_t_long=yes
18199 else
18200   glibcxx_cv_int64_t_long=no
18201 fi
18202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18203
18204 fi
18205
18206
18207     if test $glibcxx_cv_int64_t_long = yes; then
18208
18209 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18210
18211       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18212 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18213     fi
18214
18215     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18216 $as_echo_n "checking for int64_t as long long... " >&6; }
18217     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18218   $as_echo_n "(cached) " >&6
18219 else
18220
18221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18222 /* end confdefs.h.  */
18223 #include <stdint.h>
18224         template<typename, typename> struct same { enum { value = -1 }; };
18225         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18226         int array[same<int64_t, long long>::value];
18227 int
18228 main ()
18229 {
18230
18231   ;
18232   return 0;
18233 }
18234 _ACEOF
18235 if ac_fn_cxx_try_compile "$LINENO"; then :
18236   glibcxx_cv_int64_t_long_long=yes
18237 else
18238   glibcxx_cv_int64_t_long_long=no
18239 fi
18240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18241
18242 fi
18243
18244
18245     if test $glibcxx_cv_int64_t_long_long = yes; then
18246
18247 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18248
18249       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18250 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18251     fi
18252   fi
18253
18254   ac_ext=c
18255 ac_cpp='$CPP $CPPFLAGS'
18256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18259
18260
18261
18262 # For LFS support.
18263
18264
18265   ac_ext=cpp
18266 ac_cpp='$CXXCPP $CPPFLAGS'
18267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18270
18271   ac_save_CXXFLAGS="$CXXFLAGS"
18272   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18274 $as_echo_n "checking for LFS support... " >&6; }
18275   if test "${glibcxx_cv_LFS+set}" = set; then :
18276   $as_echo_n "(cached) " >&6
18277 else
18278
18279     if test x$gcc_no_link = xyes; then
18280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18281 /* end confdefs.h.  */
18282 #include <unistd.h>
18283        #include <stdio.h>
18284        #include <sys/stat.h>
18285
18286 int
18287 main ()
18288 {
18289 FILE* fp;
18290        fopen64("t", "w");
18291        fseeko64(fp, 0, SEEK_CUR);
18292        ftello64(fp);
18293        lseek64(1, 0, SEEK_CUR);
18294        struct stat64 buf;
18295        fstat64(1, &buf);
18296   ;
18297   return 0;
18298 }
18299 _ACEOF
18300 if ac_fn_cxx_try_compile "$LINENO"; then :
18301   glibcxx_cv_LFS=yes
18302 else
18303   glibcxx_cv_LFS=no
18304 fi
18305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18306 else
18307   if test x$gcc_no_link = xyes; then
18308   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18309 fi
18310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18311 /* end confdefs.h.  */
18312 #include <unistd.h>
18313        #include <stdio.h>
18314        #include <sys/stat.h>
18315
18316 int
18317 main ()
18318 {
18319 FILE* fp;
18320        fopen64("t", "w");
18321        fseeko64(fp, 0, SEEK_CUR);
18322        ftello64(fp);
18323        lseek64(1, 0, SEEK_CUR);
18324        struct stat64 buf;
18325        fstat64(1, &buf);
18326   ;
18327   return 0;
18328 }
18329 _ACEOF
18330 if ac_fn_cxx_try_link "$LINENO"; then :
18331   glibcxx_cv_LFS=yes
18332 else
18333   glibcxx_cv_LFS=no
18334 fi
18335 rm -f core conftest.err conftest.$ac_objext \
18336     conftest$ac_exeext conftest.$ac_ext
18337 fi
18338
18339 fi
18340
18341   if test $glibcxx_cv_LFS = yes; then
18342
18343 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18344
18345   fi
18346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18347 $as_echo "$glibcxx_cv_LFS" >&6; }
18348   CXXFLAGS="$ac_save_CXXFLAGS"
18349   ac_ext=c
18350 ac_cpp='$CPP $CPPFLAGS'
18351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18354
18355
18356
18357 # For showmanyc_helper().
18358 for ac_header in sys/ioctl.h sys/filio.h
18359 do :
18360   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18361 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18362 eval as_val=\$$as_ac_Header
18363    if test "x$as_val" = x""yes; then :
18364   cat >>confdefs.h <<_ACEOF
18365 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18366 _ACEOF
18367
18368 fi
18369
18370 done
18371
18372
18373
18374
18375   ac_ext=cpp
18376 ac_cpp='$CXXCPP $CPPFLAGS'
18377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18380
18381   ac_save_CXXFLAGS="$CXXFLAGS"
18382   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18383
18384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18385 $as_echo_n "checking for poll... " >&6; }
18386   if test "${glibcxx_cv_POLL+set}" = set; then :
18387   $as_echo_n "(cached) " >&6
18388 else
18389
18390     if test x$gcc_no_link = xyes; then
18391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h.  */
18393 #include <poll.h>
18394 int
18395 main ()
18396 {
18397 struct pollfd pfd[1];
18398        pfd[0].events = POLLIN;
18399        poll(pfd, 1, 0);
18400   ;
18401   return 0;
18402 }
18403 _ACEOF
18404 if ac_fn_cxx_try_compile "$LINENO"; then :
18405   glibcxx_cv_POLL=yes
18406 else
18407   glibcxx_cv_POLL=no
18408 fi
18409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18410 else
18411   if test x$gcc_no_link = xyes; then
18412   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18413 fi
18414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18415 /* end confdefs.h.  */
18416 #include <poll.h>
18417 int
18418 main ()
18419 {
18420 struct pollfd pfd[1];
18421        pfd[0].events = POLLIN;
18422        poll(pfd, 1, 0);
18423   ;
18424   return 0;
18425 }
18426 _ACEOF
18427 if ac_fn_cxx_try_link "$LINENO"; then :
18428   glibcxx_cv_POLL=yes
18429 else
18430   glibcxx_cv_POLL=no
18431 fi
18432 rm -f core conftest.err conftest.$ac_objext \
18433     conftest$ac_exeext conftest.$ac_ext
18434 fi
18435
18436 fi
18437
18438   if test $glibcxx_cv_POLL = yes; then
18439
18440 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18441
18442   fi
18443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18444 $as_echo "$glibcxx_cv_POLL" >&6; }
18445
18446   CXXFLAGS="$ac_save_CXXFLAGS"
18447   ac_ext=c
18448 ac_cpp='$CPP $CPPFLAGS'
18449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18452
18453
18454
18455
18456
18457   ac_ext=cpp
18458 ac_cpp='$CXXCPP $CPPFLAGS'
18459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18462
18463   ac_save_CXXFLAGS="$CXXFLAGS"
18464   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18465
18466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18467 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18468   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18469   $as_echo_n "(cached) " >&6
18470 else
18471
18472     if test x$gcc_no_link = xyes; then
18473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18474 /* end confdefs.h.  */
18475 #include <sys/stat.h>
18476 int
18477 main ()
18478 {
18479 struct stat buffer;
18480        fstat(0, &buffer);
18481        S_ISREG(buffer.st_mode);
18482   ;
18483   return 0;
18484 }
18485 _ACEOF
18486 if ac_fn_cxx_try_compile "$LINENO"; then :
18487   glibcxx_cv_S_ISREG=yes
18488 else
18489   glibcxx_cv_S_ISREG=no
18490 fi
18491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18492 else
18493   if test x$gcc_no_link = xyes; then
18494   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18495 fi
18496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18497 /* end confdefs.h.  */
18498 #include <sys/stat.h>
18499 int
18500 main ()
18501 {
18502 struct stat buffer;
18503        fstat(0, &buffer);
18504        S_ISREG(buffer.st_mode);
18505   ;
18506   return 0;
18507 }
18508 _ACEOF
18509 if ac_fn_cxx_try_link "$LINENO"; then :
18510   glibcxx_cv_S_ISREG=yes
18511 else
18512   glibcxx_cv_S_ISREG=no
18513 fi
18514 rm -f core conftest.err conftest.$ac_objext \
18515     conftest$ac_exeext conftest.$ac_ext
18516 fi
18517
18518 fi
18519
18520   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18521   $as_echo_n "(cached) " >&6
18522 else
18523
18524     if test x$gcc_no_link = xyes; then
18525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18526 /* end confdefs.h.  */
18527 #include <sys/stat.h>
18528 int
18529 main ()
18530 {
18531 struct stat buffer;
18532        fstat(0, &buffer);
18533        S_IFREG & buffer.st_mode;
18534   ;
18535   return 0;
18536 }
18537 _ACEOF
18538 if ac_fn_cxx_try_compile "$LINENO"; then :
18539   glibcxx_cv_S_IFREG=yes
18540 else
18541   glibcxx_cv_S_IFREG=no
18542 fi
18543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18544 else
18545   if test x$gcc_no_link = xyes; then
18546   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18547 fi
18548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18549 /* end confdefs.h.  */
18550 #include <sys/stat.h>
18551 int
18552 main ()
18553 {
18554 struct stat buffer;
18555        fstat(0, &buffer);
18556        S_IFREG & buffer.st_mode;
18557   ;
18558   return 0;
18559 }
18560 _ACEOF
18561 if ac_fn_cxx_try_link "$LINENO"; then :
18562   glibcxx_cv_S_IFREG=yes
18563 else
18564   glibcxx_cv_S_IFREG=no
18565 fi
18566 rm -f core conftest.err conftest.$ac_objext \
18567     conftest$ac_exeext conftest.$ac_ext
18568 fi
18569
18570 fi
18571
18572   res=no
18573   if test $glibcxx_cv_S_ISREG = yes; then
18574
18575 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18576
18577     res=S_ISREG
18578   elif test $glibcxx_cv_S_IFREG = yes; then
18579
18580 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18581
18582     res=S_IFREG
18583   fi
18584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18585 $as_echo "$res" >&6; }
18586
18587   CXXFLAGS="$ac_save_CXXFLAGS"
18588   ac_ext=c
18589 ac_cpp='$CPP $CPPFLAGS'
18590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18593
18594
18595
18596 # For xsputn_2().
18597 for ac_header in sys/uio.h
18598 do :
18599   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18600 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18601   cat >>confdefs.h <<_ACEOF
18602 #define HAVE_SYS_UIO_H 1
18603 _ACEOF
18604
18605 fi
18606
18607 done
18608
18609
18610
18611
18612   ac_ext=cpp
18613 ac_cpp='$CXXCPP $CPPFLAGS'
18614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18617
18618   ac_save_CXXFLAGS="$CXXFLAGS"
18619   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18620
18621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18622 $as_echo_n "checking for writev... " >&6; }
18623   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18624   $as_echo_n "(cached) " >&6
18625 else
18626
18627     if test x$gcc_no_link = xyes; then
18628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18629 /* end confdefs.h.  */
18630 #include <sys/uio.h>
18631 int
18632 main ()
18633 {
18634 struct iovec iov[2];
18635        writev(0, iov, 0);
18636   ;
18637   return 0;
18638 }
18639 _ACEOF
18640 if ac_fn_cxx_try_compile "$LINENO"; then :
18641   glibcxx_cv_WRITEV=yes
18642 else
18643   glibcxx_cv_WRITEV=no
18644 fi
18645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18646 else
18647   if test x$gcc_no_link = xyes; then
18648   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18649 fi
18650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18651 /* end confdefs.h.  */
18652 #include <sys/uio.h>
18653 int
18654 main ()
18655 {
18656 struct iovec iov[2];
18657        writev(0, iov, 0);
18658   ;
18659   return 0;
18660 }
18661 _ACEOF
18662 if ac_fn_cxx_try_link "$LINENO"; then :
18663   glibcxx_cv_WRITEV=yes
18664 else
18665   glibcxx_cv_WRITEV=no
18666 fi
18667 rm -f core conftest.err conftest.$ac_objext \
18668     conftest$ac_exeext conftest.$ac_ext
18669 fi
18670
18671 fi
18672
18673   if test $glibcxx_cv_WRITEV = yes; then
18674
18675 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18676
18677   fi
18678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18679 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18680
18681   CXXFLAGS="$ac_save_CXXFLAGS"
18682   ac_ext=c
18683 ac_cpp='$CPP $CPPFLAGS'
18684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18687
18688
18689
18690 # For C99 support to TR1.
18691
18692
18693
18694   ac_ext=cpp
18695 ac_cpp='$CXXCPP $CPPFLAGS'
18696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18699
18700
18701   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18702   # undefined and fake C99 facilities may be spuriously enabled.
18703   ac_save_CXXFLAGS="$CXXFLAGS"
18704   CXXFLAGS="$CXXFLAGS -std=c++98"
18705
18706   # Check for the existence of <complex.h> complex math functions used
18707   # by tr1/complex.
18708   for ac_header in complex.h
18709 do :
18710   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18711 if test "x$ac_cv_header_complex_h" = x""yes; then :
18712   cat >>confdefs.h <<_ACEOF
18713 #define HAVE_COMPLEX_H 1
18714 _ACEOF
18715  ac_has_complex_h=yes
18716 else
18717   ac_has_complex_h=no
18718 fi
18719
18720 done
18721
18722   ac_c99_complex_tr1=no;
18723   if test x"$ac_has_complex_h" = x"yes"; then
18724     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18725 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18726     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18727 /* end confdefs.h.  */
18728 #include <complex.h>
18729 int
18730 main ()
18731 {
18732 typedef __complex__ float float_type; float_type tmpf;
18733                     cacosf(tmpf);
18734                     casinf(tmpf);
18735                     catanf(tmpf);
18736                     cacoshf(tmpf);
18737                     casinhf(tmpf);
18738                     catanhf(tmpf);
18739                     typedef __complex__ double double_type; double_type tmpd;
18740                     cacos(tmpd);
18741                     casin(tmpd);
18742                     catan(tmpd);
18743                     cacosh(tmpd);
18744                     casinh(tmpd);
18745                     catanh(tmpd);
18746                     typedef __complex__ long double ld_type; ld_type tmpld;
18747                     cacosl(tmpld);
18748                     casinl(tmpld);
18749                     catanl(tmpld);
18750                     cacoshl(tmpld);
18751                     casinhl(tmpld);
18752                     catanhl(tmpld);
18753
18754   ;
18755   return 0;
18756 }
18757 _ACEOF
18758 if ac_fn_cxx_try_compile "$LINENO"; then :
18759   ac_c99_complex_tr1=yes
18760 else
18761   ac_c99_complex_tr1=no
18762 fi
18763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18764   fi
18765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18766 $as_echo "$ac_c99_complex_tr1" >&6; }
18767   if test x"$ac_c99_complex_tr1" = x"yes"; then
18768
18769 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18770
18771   fi
18772
18773   # Check for the existence of <ctype.h> functions.
18774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18775 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18776   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18777   $as_echo_n "(cached) " >&6
18778 else
18779
18780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18781 /* end confdefs.h.  */
18782 #include <ctype.h>
18783 int
18784 main ()
18785 {
18786 int ch;
18787                   int ret;
18788                   ret = isblank(ch);
18789
18790   ;
18791   return 0;
18792 }
18793 _ACEOF
18794 if ac_fn_cxx_try_compile "$LINENO"; then :
18795   glibcxx_cv_c99_ctype_tr1=yes
18796 else
18797   glibcxx_cv_c99_ctype_tr1=no
18798 fi
18799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800
18801 fi
18802
18803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18804 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18805   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18806
18807 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18808
18809   fi
18810
18811   # Check for the existence of <fenv.h> functions.
18812   for ac_header in fenv.h
18813 do :
18814   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18815 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18816   cat >>confdefs.h <<_ACEOF
18817 #define HAVE_FENV_H 1
18818 _ACEOF
18819  ac_has_fenv_h=yes
18820 else
18821   ac_has_fenv_h=no
18822 fi
18823
18824 done
18825
18826   ac_c99_fenv_tr1=no;
18827   if test x"$ac_has_fenv_h" = x"yes"; then
18828     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18829 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18830     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18831 /* end confdefs.h.  */
18832 #include <fenv.h>
18833 int
18834 main ()
18835 {
18836 int except, mode;
18837                     fexcept_t* pflag;
18838                     fenv_t* penv;
18839                     int ret;
18840                     ret = feclearexcept(except);
18841                     ret = fegetexceptflag(pflag, except);
18842                     ret = feraiseexcept(except);
18843                     ret = fesetexceptflag(pflag, except);
18844                     ret = fetestexcept(except);
18845                     ret = fegetround();
18846                     ret = fesetround(mode);
18847                     ret = fegetenv(penv);
18848                     ret = feholdexcept(penv);
18849                     ret = fesetenv(penv);
18850                     ret = feupdateenv(penv);
18851
18852   ;
18853   return 0;
18854 }
18855 _ACEOF
18856 if ac_fn_cxx_try_compile "$LINENO"; then :
18857   ac_c99_fenv_tr1=yes
18858 else
18859   ac_c99_fenv_tr1=no
18860 fi
18861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18862   fi
18863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18864 $as_echo "$ac_c99_fenv_tr1" >&6; }
18865   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18866
18867 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18868
18869   fi
18870
18871   # Check for the existence of <stdint.h> types.
18872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18873 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18874   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18875   $as_echo_n "(cached) " >&6
18876 else
18877
18878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18879 /* end confdefs.h.  */
18880 #define __STDC_LIMIT_MACROS
18881                   #define __STDC_CONSTANT_MACROS
18882                   #include <stdint.h>
18883 int
18884 main ()
18885 {
18886 typedef int8_t          my_int8_t;
18887                   my_int8_t               i8 = INT8_MIN;
18888                   i8 = INT8_MAX;
18889                   typedef int16_t         my_int16_t;
18890                   my_int16_t              i16 = INT16_MIN;
18891                   i16 = INT16_MAX;
18892                   typedef int32_t         my_int32_t;
18893                   my_int32_t              i32 = INT32_MIN;
18894                   i32 = INT32_MAX;
18895                   typedef int64_t         my_int64_t;
18896                   my_int64_t              i64 = INT64_MIN;
18897                   i64 = INT64_MAX;
18898                   typedef int_fast8_t     my_int_fast8_t;
18899                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18900                   if8 = INT_FAST8_MAX;
18901                   typedef int_fast16_t    my_int_fast16_t;
18902                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18903                   if16 = INT_FAST16_MAX;
18904                   typedef int_fast32_t    my_int_fast32_t;
18905                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18906                   if32 = INT_FAST32_MAX;
18907                   typedef int_fast64_t    my_int_fast64_t;
18908                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18909                   if64 = INT_FAST64_MAX;
18910                   typedef int_least8_t    my_int_least8_t;
18911                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18912                   il8 = INT_LEAST8_MAX;
18913                   typedef int_least16_t   my_int_least16_t;
18914                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18915                   il16 = INT_LEAST16_MAX;
18916                   typedef int_least32_t   my_int_least32_t;
18917                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18918                   il32 = INT_LEAST32_MAX;
18919                   typedef int_least64_t   my_int_least64_t;
18920                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18921                   il64 = INT_LEAST64_MAX;
18922                   typedef intmax_t        my_intmax_t;
18923                   my_intmax_t             im = INTMAX_MAX;
18924                   im = INTMAX_MIN;
18925                   typedef intptr_t        my_intptr_t;
18926                   my_intptr_t             ip = INTPTR_MAX;
18927                   ip = INTPTR_MIN;
18928                   typedef uint8_t         my_uint8_t;
18929                   my_uint8_t              ui8 = UINT8_MAX;
18930                   ui8 = UINT8_MAX;
18931                   typedef uint16_t        my_uint16_t;
18932                   my_uint16_t             ui16 = UINT16_MAX;
18933                   ui16 = UINT16_MAX;
18934                   typedef uint32_t        my_uint32_t;
18935                   my_uint32_t             ui32 = UINT32_MAX;
18936                   ui32 = UINT32_MAX;
18937                   typedef uint64_t        my_uint64_t;
18938                   my_uint64_t             ui64 = UINT64_MAX;
18939                   ui64 = UINT64_MAX;
18940                   typedef uint_fast8_t    my_uint_fast8_t;
18941                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18942                   uif8 = UINT_FAST8_MAX;
18943                   typedef uint_fast16_t   my_uint_fast16_t;
18944                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18945                   uif16 = UINT_FAST16_MAX;
18946                   typedef uint_fast32_t   my_uint_fast32_t;
18947                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18948                   uif32 = UINT_FAST32_MAX;
18949                   typedef uint_fast64_t   my_uint_fast64_t;
18950                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18951                   uif64 = UINT_FAST64_MAX;
18952                   typedef uint_least8_t   my_uint_least8_t;
18953                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18954                   uil8 = UINT_LEAST8_MAX;
18955                   typedef uint_least16_t  my_uint_least16_t;
18956                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18957                   uil16 = UINT_LEAST16_MAX;
18958                   typedef uint_least32_t  my_uint_least32_t;
18959                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18960                   uil32 = UINT_LEAST32_MAX;
18961                   typedef uint_least64_t  my_uint_least64_t;
18962                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18963                   uil64 = UINT_LEAST64_MAX;
18964                   typedef uintmax_t       my_uintmax_t;
18965                   my_uintmax_t            uim = UINTMAX_MAX;
18966                   uim = UINTMAX_MAX;
18967                   typedef uintptr_t       my_uintptr_t;
18968                   my_uintptr_t            uip = UINTPTR_MAX;
18969                   uip = UINTPTR_MAX;
18970
18971   ;
18972   return 0;
18973 }
18974 _ACEOF
18975 if ac_fn_cxx_try_compile "$LINENO"; then :
18976   glibcxx_cv_c99_stdint_tr1=yes
18977 else
18978   glibcxx_cv_c99_stdint_tr1=no
18979 fi
18980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18981
18982 fi
18983
18984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18985 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18986   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18987
18988 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18989
18990   fi
18991
18992   # Check for the existence of <math.h> functions.
18993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18994 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18995   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18996   $as_echo_n "(cached) " >&6
18997 else
18998
18999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19000 /* end confdefs.h.  */
19001 #include <math.h>
19002 int
19003 main ()
19004 {
19005 typedef double_t  my_double_t;
19006                   typedef float_t   my_float_t;
19007                   acosh(0.0);
19008                   acoshf(0.0f);
19009                   acoshl(0.0l);
19010                   asinh(0.0);
19011                   asinhf(0.0f);
19012                   asinhl(0.0l);
19013                   atanh(0.0);
19014                   atanhf(0.0f);
19015                   atanhl(0.0l);
19016                   cbrt(0.0);
19017                   cbrtf(0.0f);
19018                   cbrtl(0.0l);
19019                   copysign(0.0, 0.0);
19020                   copysignf(0.0f, 0.0f);
19021                   copysignl(0.0l, 0.0l);
19022                   erf(0.0);
19023                   erff(0.0f);
19024                   erfl(0.0l);
19025                   erfc(0.0);
19026                   erfcf(0.0f);
19027                   erfcl(0.0l);
19028                   exp2(0.0);
19029                   exp2f(0.0f);
19030                   exp2l(0.0l);
19031                   expm1(0.0);
19032                   expm1f(0.0f);
19033                   expm1l(0.0l);
19034                   fdim(0.0, 0.0);
19035                   fdimf(0.0f, 0.0f);
19036                   fdiml(0.0l, 0.0l);
19037                   fma(0.0, 0.0, 0.0);
19038                   fmaf(0.0f, 0.0f, 0.0f);
19039                   fmal(0.0l, 0.0l, 0.0l);
19040                   fmax(0.0, 0.0);
19041                   fmaxf(0.0f, 0.0f);
19042                   fmaxl(0.0l, 0.0l);
19043                   fmin(0.0, 0.0);
19044                   fminf(0.0f, 0.0f);
19045                   fminl(0.0l, 0.0l);
19046                   hypot(0.0, 0.0);
19047                   hypotf(0.0f, 0.0f);
19048                   hypotl(0.0l, 0.0l);
19049                   ilogb(0.0);
19050                   ilogbf(0.0f);
19051                   ilogbl(0.0l);
19052                   lgamma(0.0);
19053                   lgammaf(0.0f);
19054                   lgammal(0.0l);
19055                   llrint(0.0);
19056                   llrintf(0.0f);
19057                   llrintl(0.0l);
19058                   llround(0.0);
19059                   llroundf(0.0f);
19060                   llroundl(0.0l);
19061                   log1p(0.0);
19062                   log1pf(0.0f);
19063                   log1pl(0.0l);
19064                   log2(0.0);
19065                   log2f(0.0f);
19066                   log2l(0.0l);
19067                   logb(0.0);
19068                   logbf(0.0f);
19069                   logbl(0.0l);
19070                   lrint(0.0);
19071                   lrintf(0.0f);
19072                   lrintl(0.0l);
19073                   lround(0.0);
19074                   lroundf(0.0f);
19075                   lroundl(0.0l);
19076                   nan(0);
19077                   nanf(0);
19078                   nanl(0);
19079                   nearbyint(0.0);
19080                   nearbyintf(0.0f);
19081                   nearbyintl(0.0l);
19082                   nextafter(0.0, 0.0);
19083                   nextafterf(0.0f, 0.0f);
19084                   nextafterl(0.0l, 0.0l);
19085                   nexttoward(0.0, 0.0);
19086                   nexttowardf(0.0f, 0.0f);
19087                   nexttowardl(0.0l, 0.0l);
19088                   remainder(0.0, 0.0);
19089                   remainderf(0.0f, 0.0f);
19090                   remainderl(0.0l, 0.0l);
19091                   remquo(0.0, 0.0, 0);
19092                   remquof(0.0f, 0.0f, 0);
19093                   remquol(0.0l, 0.0l, 0);
19094                   rint(0.0);
19095                   rintf(0.0f);
19096                   rintl(0.0l);
19097                   round(0.0);
19098                   roundf(0.0f);
19099                   roundl(0.0l);
19100                   scalbln(0.0, 0l);
19101                   scalblnf(0.0f, 0l);
19102                   scalblnl(0.0l, 0l);
19103                   scalbn(0.0, 0);
19104                   scalbnf(0.0f, 0);
19105                   scalbnl(0.0l, 0);
19106                   tgamma(0.0);
19107                   tgammaf(0.0f);
19108                   tgammal(0.0l);
19109                   trunc(0.0);
19110                   truncf(0.0f);
19111                   truncl(0.0l);
19112
19113   ;
19114   return 0;
19115 }
19116 _ACEOF
19117 if ac_fn_cxx_try_compile "$LINENO"; then :
19118   glibcxx_cv_c99_math_tr1=yes
19119 else
19120   glibcxx_cv_c99_math_tr1=no
19121 fi
19122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19123
19124 fi
19125
19126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19127 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19128   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19129
19130 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19131
19132   fi
19133
19134   # Check for the existence of <inttypes.h> functions (NB: doesn't make
19135   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19136   ac_c99_inttypes_tr1=no;
19137   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19138     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19139 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19140     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h.  */
19142 #include <inttypes.h>
19143 int
19144 main ()
19145 {
19146 intmax_t i, numer, denom, base;
19147                     const char* s;
19148                     char** endptr;
19149                     intmax_t ret = imaxabs(i);
19150                     imaxdiv_t dret = imaxdiv(numer, denom);
19151                     ret = strtoimax(s, endptr, base);
19152                     uintmax_t uret = strtoumax(s, endptr, base);
19153
19154   ;
19155   return 0;
19156 }
19157 _ACEOF
19158 if ac_fn_cxx_try_compile "$LINENO"; then :
19159   ac_c99_inttypes_tr1=yes
19160 else
19161   ac_c99_inttypes_tr1=no
19162 fi
19163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19164   fi
19165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19166 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19167   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19168
19169 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19170
19171   fi
19172
19173   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19174   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19175   ac_c99_inttypes_wchar_t_tr1=no;
19176   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19177     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19178 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19179     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19180 /* end confdefs.h.  */
19181 #include <inttypes.h>
19182 int
19183 main ()
19184 {
19185 intmax_t base;
19186                     const wchar_t* s;
19187                     wchar_t** endptr;
19188                     intmax_t ret = wcstoimax(s, endptr, base);
19189                     uintmax_t uret = wcstoumax(s, endptr, base);
19190
19191   ;
19192   return 0;
19193 }
19194 _ACEOF
19195 if ac_fn_cxx_try_compile "$LINENO"; then :
19196   ac_c99_inttypes_wchar_t_tr1=yes
19197 else
19198   ac_c99_inttypes_wchar_t_tr1=no
19199 fi
19200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19201   fi
19202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19203 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19204   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19205
19206 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19207
19208   fi
19209
19210   # Check for the existence of the <stdbool.h> header.
19211   for ac_header in stdbool.h
19212 do :
19213   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19214 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19215   cat >>confdefs.h <<_ACEOF
19216 #define HAVE_STDBOOL_H 1
19217 _ACEOF
19218
19219 fi
19220
19221 done
19222
19223
19224   # Check for the existence of the <stdalign.h> header.
19225   for ac_header in stdalign.h
19226 do :
19227   ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19228 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19229   cat >>confdefs.h <<_ACEOF
19230 #define HAVE_STDALIGN_H 1
19231 _ACEOF
19232
19233 fi
19234
19235 done
19236
19237
19238   CXXFLAGS="$ac_save_CXXFLAGS"
19239   ac_ext=c
19240 ac_cpp='$CPP $CPPFLAGS'
19241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19244
19245
19246
19247 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19248
19249
19250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19251 $as_echo_n "checking for the value of EOF... " >&6; }
19252 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19253   $as_echo_n "(cached) " >&6
19254 else
19255
19256   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
19257
19258 else
19259   as_fn_error "computing EOF failed" "$LINENO" 5
19260 fi
19261
19262
19263 fi
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19265 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19266
19267 cat >>confdefs.h <<_ACEOF
19268 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19269 _ACEOF
19270
19271
19272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19273 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19274 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19275   $as_echo_n "(cached) " >&6
19276 else
19277
19278   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
19279
19280 else
19281   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19282 fi
19283
19284
19285 fi
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19287 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19288
19289 cat >>confdefs.h <<_ACEOF
19290 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19291 _ACEOF
19292
19293
19294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19295 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19296 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19297   $as_echo_n "(cached) " >&6
19298 else
19299
19300   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
19301
19302 else
19303   as_fn_error "computing SEEK_END failed" "$LINENO" 5
19304 fi
19305
19306
19307 fi
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19309 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19310
19311 cat >>confdefs.h <<_ACEOF
19312 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19313 _ACEOF
19314
19315
19316
19317 # For gettimeofday support.
19318
19319
19320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19321 $as_echo_n "checking for gettimeofday... " >&6; }
19322
19323
19324   ac_ext=cpp
19325 ac_cpp='$CXXCPP $CPPFLAGS'
19326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19329
19330   ac_save_CXXFLAGS="$CXXFLAGS"
19331   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19332
19333   ac_has_gettimeofday=no;
19334   for ac_header in sys/time.h
19335 do :
19336   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19337 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19338   cat >>confdefs.h <<_ACEOF
19339 #define HAVE_SYS_TIME_H 1
19340 _ACEOF
19341  ac_has_sys_time_h=yes
19342 else
19343   ac_has_sys_time_h=no
19344 fi
19345
19346 done
19347
19348   if test x"$ac_has_sys_time_h" = x"yes"; then
19349     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19350 $as_echo_n "checking for gettimeofday... " >&6; }
19351     if test x$gcc_no_link = xyes; then
19352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19353 /* end confdefs.h.  */
19354 #include <sys/time.h>
19355 int
19356 main ()
19357 {
19358 timeval tv; gettimeofday(&tv, 0);
19359   ;
19360   return 0;
19361 }
19362 _ACEOF
19363 if ac_fn_cxx_try_compile "$LINENO"; then :
19364   ac_has_gettimeofday=yes
19365 else
19366   ac_has_gettimeofday=no
19367 fi
19368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19369 else
19370   if test x$gcc_no_link = xyes; then
19371   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19372 fi
19373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374 /* end confdefs.h.  */
19375 #include <sys/time.h>
19376 int
19377 main ()
19378 {
19379 timeval tv; gettimeofday(&tv, 0);
19380   ;
19381   return 0;
19382 }
19383 _ACEOF
19384 if ac_fn_cxx_try_link "$LINENO"; then :
19385   ac_has_gettimeofday=yes
19386 else
19387   ac_has_gettimeofday=no
19388 fi
19389 rm -f core conftest.err conftest.$ac_objext \
19390     conftest$ac_exeext conftest.$ac_ext
19391 fi
19392
19393     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19394 $as_echo "$ac_has_gettimeofday" >&6; }
19395   fi
19396
19397   if test x"$ac_has_gettimeofday" = x"yes"; then
19398
19399 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19400
19401   fi
19402
19403   CXXFLAGS="$ac_save_CXXFLAGS"
19404   ac_ext=c
19405 ac_cpp='$CPP $CPPFLAGS'
19406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19409
19410
19411
19412 # For clock_gettime, nanosleep and sched_yield support.
19413 # NB: The default is [no], because otherwise it requires linking.
19414
19415
19416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19417 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19418    # Check whether --enable-libstdcxx-time was given.
19419 if test "${enable_libstdcxx_time+set}" = set; then :
19420   enableval=$enable_libstdcxx_time;
19421       case "$enableval" in
19422        yes|no|rt) ;;
19423        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19424                         esac
19425
19426 else
19427   enable_libstdcxx_time=no
19428 fi
19429
19430
19431
19432
19433   ac_ext=cpp
19434 ac_cpp='$CXXCPP $CPPFLAGS'
19435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19438
19439   ac_save_CXXFLAGS="$CXXFLAGS"
19440   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19441   ac_save_LIBS="$LIBS"
19442
19443   ac_has_clock_monotonic=no
19444   ac_has_clock_realtime=no
19445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19446 $as_echo "$enable_libstdcxx_time" >&6; }
19447
19448   if test x"$enable_libstdcxx_time" != x"no"; then
19449
19450     if test x"$enable_libstdcxx_time" = x"rt"; then
19451       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19452 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19453 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19454   $as_echo_n "(cached) " >&6
19455 else
19456   ac_func_search_save_LIBS=$LIBS
19457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19458 /* end confdefs.h.  */
19459
19460 /* Override any GCC internal prototype to avoid an error.
19461    Use char because int might match the return type of a GCC
19462    builtin and then its argument prototype would still apply.  */
19463 #ifdef __cplusplus
19464 extern "C"
19465 #endif
19466 char clock_gettime ();
19467 int
19468 main ()
19469 {
19470 return clock_gettime ();
19471   ;
19472   return 0;
19473 }
19474 _ACEOF
19475 for ac_lib in '' rt posix4; do
19476   if test -z "$ac_lib"; then
19477     ac_res="none required"
19478   else
19479     ac_res=-l$ac_lib
19480     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19481   fi
19482   if test x$gcc_no_link = xyes; then
19483   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19484 fi
19485 if ac_fn_cxx_try_link "$LINENO"; then :
19486   ac_cv_search_clock_gettime=$ac_res
19487 fi
19488 rm -f core conftest.err conftest.$ac_objext \
19489     conftest$ac_exeext
19490   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19491   break
19492 fi
19493 done
19494 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19495
19496 else
19497   ac_cv_search_clock_gettime=no
19498 fi
19499 rm conftest.$ac_ext
19500 LIBS=$ac_func_search_save_LIBS
19501 fi
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19503 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19504 ac_res=$ac_cv_search_clock_gettime
19505 if test "$ac_res" != no; then :
19506   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19507
19508 fi
19509
19510       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19511 $as_echo_n "checking for library containing nanosleep... " >&6; }
19512 if test "${ac_cv_search_nanosleep+set}" = set; then :
19513   $as_echo_n "(cached) " >&6
19514 else
19515   ac_func_search_save_LIBS=$LIBS
19516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19517 /* end confdefs.h.  */
19518
19519 /* Override any GCC internal prototype to avoid an error.
19520    Use char because int might match the return type of a GCC
19521    builtin and then its argument prototype would still apply.  */
19522 #ifdef __cplusplus
19523 extern "C"
19524 #endif
19525 char nanosleep ();
19526 int
19527 main ()
19528 {
19529 return nanosleep ();
19530   ;
19531   return 0;
19532 }
19533 _ACEOF
19534 for ac_lib in '' rt posix4; do
19535   if test -z "$ac_lib"; then
19536     ac_res="none required"
19537   else
19538     ac_res=-l$ac_lib
19539     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19540   fi
19541   if test x$gcc_no_link = xyes; then
19542   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19543 fi
19544 if ac_fn_cxx_try_link "$LINENO"; then :
19545   ac_cv_search_nanosleep=$ac_res
19546 fi
19547 rm -f core conftest.err conftest.$ac_objext \
19548     conftest$ac_exeext
19549   if test "${ac_cv_search_nanosleep+set}" = set; then :
19550   break
19551 fi
19552 done
19553 if test "${ac_cv_search_nanosleep+set}" = set; then :
19554
19555 else
19556   ac_cv_search_nanosleep=no
19557 fi
19558 rm conftest.$ac_ext
19559 LIBS=$ac_func_search_save_LIBS
19560 fi
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19562 $as_echo "$ac_cv_search_nanosleep" >&6; }
19563 ac_res=$ac_cv_search_nanosleep
19564 if test "$ac_res" != no; then :
19565   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19566
19567 fi
19568
19569     else
19570       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19571 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19572 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19573   $as_echo_n "(cached) " >&6
19574 else
19575   ac_func_search_save_LIBS=$LIBS
19576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19577 /* end confdefs.h.  */
19578
19579 /* Override any GCC internal prototype to avoid an error.
19580    Use char because int might match the return type of a GCC
19581    builtin and then its argument prototype would still apply.  */
19582 #ifdef __cplusplus
19583 extern "C"
19584 #endif
19585 char clock_gettime ();
19586 int
19587 main ()
19588 {
19589 return clock_gettime ();
19590   ;
19591   return 0;
19592 }
19593 _ACEOF
19594 for ac_lib in '' posix4; do
19595   if test -z "$ac_lib"; then
19596     ac_res="none required"
19597   else
19598     ac_res=-l$ac_lib
19599     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19600   fi
19601   if test x$gcc_no_link = xyes; then
19602   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19603 fi
19604 if ac_fn_cxx_try_link "$LINENO"; then :
19605   ac_cv_search_clock_gettime=$ac_res
19606 fi
19607 rm -f core conftest.err conftest.$ac_objext \
19608     conftest$ac_exeext
19609   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19610   break
19611 fi
19612 done
19613 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19614
19615 else
19616   ac_cv_search_clock_gettime=no
19617 fi
19618 rm conftest.$ac_ext
19619 LIBS=$ac_func_search_save_LIBS
19620 fi
19621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19622 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19623 ac_res=$ac_cv_search_clock_gettime
19624 if test "$ac_res" != no; then :
19625   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19626
19627 fi
19628
19629       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19630 $as_echo_n "checking for library containing nanosleep... " >&6; }
19631 if test "${ac_cv_search_nanosleep+set}" = set; then :
19632   $as_echo_n "(cached) " >&6
19633 else
19634   ac_func_search_save_LIBS=$LIBS
19635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19636 /* end confdefs.h.  */
19637
19638 /* Override any GCC internal prototype to avoid an error.
19639    Use char because int might match the return type of a GCC
19640    builtin and then its argument prototype would still apply.  */
19641 #ifdef __cplusplus
19642 extern "C"
19643 #endif
19644 char nanosleep ();
19645 int
19646 main ()
19647 {
19648 return nanosleep ();
19649   ;
19650   return 0;
19651 }
19652 _ACEOF
19653 for ac_lib in '' posix4; do
19654   if test -z "$ac_lib"; then
19655     ac_res="none required"
19656   else
19657     ac_res=-l$ac_lib
19658     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19659   fi
19660   if test x$gcc_no_link = xyes; then
19661   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19662 fi
19663 if ac_fn_cxx_try_link "$LINENO"; then :
19664   ac_cv_search_nanosleep=$ac_res
19665 fi
19666 rm -f core conftest.err conftest.$ac_objext \
19667     conftest$ac_exeext
19668   if test "${ac_cv_search_nanosleep+set}" = set; then :
19669   break
19670 fi
19671 done
19672 if test "${ac_cv_search_nanosleep+set}" = set; then :
19673
19674 else
19675   ac_cv_search_nanosleep=no
19676 fi
19677 rm conftest.$ac_ext
19678 LIBS=$ac_func_search_save_LIBS
19679 fi
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19681 $as_echo "$ac_cv_search_nanosleep" >&6; }
19682 ac_res=$ac_cv_search_nanosleep
19683 if test "$ac_res" != no; then :
19684   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19685
19686 fi
19687
19688     fi
19689
19690     case "$ac_cv_search_clock_gettime" in
19691       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19692       ;;
19693     esac
19694     case "$ac_cv_search_nanosleep" in
19695       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19696       ;;
19697     esac
19698
19699     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19700 $as_echo_n "checking for library containing sched_yield... " >&6; }
19701 if test "${ac_cv_search_sched_yield+set}" = set; then :
19702   $as_echo_n "(cached) " >&6
19703 else
19704   ac_func_search_save_LIBS=$LIBS
19705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19706 /* end confdefs.h.  */
19707
19708 /* Override any GCC internal prototype to avoid an error.
19709    Use char because int might match the return type of a GCC
19710    builtin and then its argument prototype would still apply.  */
19711 #ifdef __cplusplus
19712 extern "C"
19713 #endif
19714 char sched_yield ();
19715 int
19716 main ()
19717 {
19718 return sched_yield ();
19719   ;
19720   return 0;
19721 }
19722 _ACEOF
19723 for ac_lib in '' rt posix4; do
19724   if test -z "$ac_lib"; then
19725     ac_res="none required"
19726   else
19727     ac_res=-l$ac_lib
19728     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19729   fi
19730   if test x$gcc_no_link = xyes; then
19731   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19732 fi
19733 if ac_fn_cxx_try_link "$LINENO"; then :
19734   ac_cv_search_sched_yield=$ac_res
19735 fi
19736 rm -f core conftest.err conftest.$ac_objext \
19737     conftest$ac_exeext
19738   if test "${ac_cv_search_sched_yield+set}" = set; then :
19739   break
19740 fi
19741 done
19742 if test "${ac_cv_search_sched_yield+set}" = set; then :
19743
19744 else
19745   ac_cv_search_sched_yield=no
19746 fi
19747 rm conftest.$ac_ext
19748 LIBS=$ac_func_search_save_LIBS
19749 fi
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19751 $as_echo "$ac_cv_search_sched_yield" >&6; }
19752 ac_res=$ac_cv_search_sched_yield
19753 if test "$ac_res" != no; then :
19754   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19755
19756 fi
19757
19758
19759     case "$ac_cv_search_sched_yield" in
19760       -lposix4*)
19761       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19762
19763 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19764
19765       ;;
19766       -lrt*)
19767       if test x"$enable_libstdcxx_time" = x"rt"; then
19768         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19769
19770 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19771
19772       fi
19773       ;;
19774       *)
19775
19776 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19777
19778       ;;
19779     esac
19780
19781     for ac_header in unistd.h
19782 do :
19783   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19784 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19785   cat >>confdefs.h <<_ACEOF
19786 #define HAVE_UNISTD_H 1
19787 _ACEOF
19788  ac_has_unistd_h=yes
19789 else
19790   ac_has_unistd_h=no
19791 fi
19792
19793 done
19794
19795
19796     if test x"$ac_has_unistd_h" = x"yes"; then
19797       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19798 $as_echo_n "checking for monotonic clock... " >&6; }
19799       if test x$gcc_no_link = xyes; then
19800   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19801 fi
19802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19803 /* end confdefs.h.  */
19804 #include <unistd.h>
19805          #include <time.h>
19806
19807 int
19808 main ()
19809 {
19810 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19811           timespec tp;
19812          #endif
19813           clock_gettime(CLOCK_MONOTONIC, &tp);
19814
19815   ;
19816   return 0;
19817 }
19818 _ACEOF
19819 if ac_fn_cxx_try_link "$LINENO"; then :
19820   ac_has_clock_monotonic=yes
19821 else
19822   ac_has_clock_monotonic=no
19823 fi
19824 rm -f core conftest.err conftest.$ac_objext \
19825     conftest$ac_exeext conftest.$ac_ext
19826
19827       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19828 $as_echo "$ac_has_clock_monotonic" >&6; }
19829
19830       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19831 $as_echo_n "checking for realtime clock... " >&6; }
19832       if test x$gcc_no_link = xyes; then
19833   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19834 fi
19835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19836 /* end confdefs.h.  */
19837 #include <unistd.h>
19838          #include <time.h>
19839
19840 int
19841 main ()
19842 {
19843 #if _POSIX_TIMERS > 0
19844           timespec tp;
19845          #endif
19846           clock_gettime(CLOCK_REALTIME, &tp);
19847
19848   ;
19849   return 0;
19850 }
19851 _ACEOF
19852 if ac_fn_cxx_try_link "$LINENO"; then :
19853   ac_has_clock_realtime=yes
19854 else
19855   ac_has_clock_realtime=no
19856 fi
19857 rm -f core conftest.err conftest.$ac_objext \
19858     conftest$ac_exeext conftest.$ac_ext
19859
19860       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19861 $as_echo "$ac_has_clock_realtime" >&6; }
19862
19863       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19864 $as_echo_n "checking for nanosleep... " >&6; }
19865       if test x$gcc_no_link = xyes; then
19866   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19867 fi
19868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869 /* end confdefs.h.  */
19870 #include <unistd.h>
19871          #include <time.h>
19872
19873 int
19874 main ()
19875 {
19876 #if _POSIX_TIMERS > 0
19877           timespec tp;
19878          #endif
19879           nanosleep(&tp, 0);
19880
19881   ;
19882   return 0;
19883 }
19884 _ACEOF
19885 if ac_fn_cxx_try_link "$LINENO"; then :
19886   ac_has_nanosleep=yes
19887 else
19888   ac_has_nanosleep=no
19889 fi
19890 rm -f core conftest.err conftest.$ac_objext \
19891     conftest$ac_exeext conftest.$ac_ext
19892
19893       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19894 $as_echo "$ac_has_nanosleep" >&6; }
19895     fi
19896   fi
19897
19898   if test x"$ac_has_clock_monotonic" = x"yes"; then
19899
19900 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19901
19902   fi
19903
19904   if test x"$ac_has_clock_realtime" = x"yes"; then
19905
19906 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19907
19908   fi
19909
19910   if test x"$ac_has_nanosleep" = x"yes"; then
19911
19912 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19913
19914   fi
19915
19916
19917
19918   CXXFLAGS="$ac_save_CXXFLAGS"
19919   LIBS="$ac_save_LIBS"
19920   ac_ext=c
19921 ac_cpp='$CPP $CPPFLAGS'
19922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19925
19926
19927
19928
19929   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19930 if test "x$ac_cv_header_locale_h" = x""yes; then :
19931
19932     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19933 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19934 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19935   $as_echo_n "(cached) " >&6
19936 else
19937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19938 /* end confdefs.h.  */
19939 #include <locale.h>
19940 int
19941 main ()
19942 {
19943 return LC_MESSAGES
19944   ;
19945   return 0;
19946 }
19947 _ACEOF
19948 if ac_fn_c_try_compile "$LINENO"; then :
19949   ac_cv_val_LC_MESSAGES=yes
19950 else
19951   ac_cv_val_LC_MESSAGES=no
19952 fi
19953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19954 fi
19955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19956 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19957     if test $ac_cv_val_LC_MESSAGES = yes; then
19958
19959 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19960
19961     fi
19962
19963 fi
19964
19965
19966
19967
19968 # For hardware_concurrency
19969 for ac_header in sys/sysinfo.h
19970 do :
19971   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19972 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19973   cat >>confdefs.h <<_ACEOF
19974 #define HAVE_SYS_SYSINFO_H 1
19975 _ACEOF
19976
19977 fi
19978
19979 done
19980
19981
19982
19983
19984   ac_ext=cpp
19985 ac_cpp='$CXXCPP $CPPFLAGS'
19986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19989
19990   ac_save_CXXFLAGS="$CXXFLAGS"
19991   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19992
19993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19994 $as_echo_n "checking for get_nprocs... " >&6; }
19995   if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19996   $as_echo_n "(cached) " >&6
19997 else
19998
19999     if test x$gcc_no_link = xyes; then
20000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20001 /* end confdefs.h.  */
20002 #include <sys/sysinfo.h>
20003 int
20004 main ()
20005 {
20006 int n = get_nprocs();
20007   ;
20008   return 0;
20009 }
20010 _ACEOF
20011 if ac_fn_cxx_try_compile "$LINENO"; then :
20012   glibcxx_cv_GET_NPROCS=yes
20013 else
20014   glibcxx_cv_GET_NPROCS=no
20015 fi
20016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20017 else
20018   if test x$gcc_no_link = xyes; then
20019   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20020 fi
20021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20022 /* end confdefs.h.  */
20023 #include <sys/sysinfo.h>
20024 int
20025 main ()
20026 {
20027 int n = get_nprocs();
20028   ;
20029   return 0;
20030 }
20031 _ACEOF
20032 if ac_fn_cxx_try_link "$LINENO"; then :
20033   glibcxx_cv_GET_NPROCS=yes
20034 else
20035   glibcxx_cv_GET_NPROCS=no
20036 fi
20037 rm -f core conftest.err conftest.$ac_objext \
20038     conftest$ac_exeext conftest.$ac_ext
20039 fi
20040
20041 fi
20042
20043   if test $glibcxx_cv_GET_NPROCS = yes; then
20044
20045 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20046
20047   fi
20048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20049 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20050
20051   CXXFLAGS="$ac_save_CXXFLAGS"
20052   ac_ext=c
20053 ac_cpp='$CPP $CPPFLAGS'
20054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20057
20058
20059 for ac_header in unistd.h
20060 do :
20061   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20062 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20063   cat >>confdefs.h <<_ACEOF
20064 #define HAVE_UNISTD_H 1
20065 _ACEOF
20066
20067 fi
20068
20069 done
20070
20071
20072
20073
20074   ac_ext=cpp
20075 ac_cpp='$CXXCPP $CPPFLAGS'
20076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20079
20080   ac_save_CXXFLAGS="$CXXFLAGS"
20081   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20082
20083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20084 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20085   if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20086   $as_echo_n "(cached) " >&6
20087 else
20088
20089     if test x$gcc_no_link = xyes; then
20090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20091 /* end confdefs.h.  */
20092 #include <unistd.h>
20093 int
20094 main ()
20095 {
20096 int n = sysconf(_SC_NPROCESSORS_ONLN);
20097   ;
20098   return 0;
20099 }
20100 _ACEOF
20101 if ac_fn_cxx_try_compile "$LINENO"; then :
20102   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20103 else
20104   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20105 fi
20106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20107 else
20108   if test x$gcc_no_link = xyes; then
20109   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20110 fi
20111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20112 /* end confdefs.h.  */
20113 #include <unistd.h>
20114 int
20115 main ()
20116 {
20117 int n = sysconf(_SC_NPROCESSORS_ONLN);
20118   ;
20119   return 0;
20120 }
20121 _ACEOF
20122 if ac_fn_cxx_try_link "$LINENO"; then :
20123   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20124 else
20125   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20126 fi
20127 rm -f core conftest.err conftest.$ac_objext \
20128     conftest$ac_exeext conftest.$ac_ext
20129 fi
20130
20131 fi
20132
20133   if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20134
20135 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20136
20137   fi
20138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20139 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20140
20141   CXXFLAGS="$ac_save_CXXFLAGS"
20142   ac_ext=c
20143 ac_cpp='$CPP $CPPFLAGS'
20144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20147
20148
20149
20150
20151
20152   ac_ext=cpp
20153 ac_cpp='$CXXCPP $CPPFLAGS'
20154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20157
20158   ac_save_CXXFLAGS="$CXXFLAGS"
20159   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20160
20161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20162 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20163   if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20164   $as_echo_n "(cached) " >&6
20165 else
20166
20167     if test x$gcc_no_link = xyes; then
20168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20169 /* end confdefs.h.  */
20170 #include <unistd.h>
20171 int
20172 main ()
20173 {
20174 int n = sysconf(_SC_NPROC_ONLN);
20175   ;
20176   return 0;
20177 }
20178 _ACEOF
20179 if ac_fn_cxx_try_compile "$LINENO"; then :
20180   glibcxx_cv_SC_NPROC_ONLN=yes
20181 else
20182   glibcxx_cv_SC_NPROC_ONLN=no
20183 fi
20184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20185 else
20186   if test x$gcc_no_link = xyes; then
20187   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20188 fi
20189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20190 /* end confdefs.h.  */
20191 #include <unistd.h>
20192 int
20193 main ()
20194 {
20195 int n = sysconf(_SC_NPROC_ONLN);
20196   ;
20197   return 0;
20198 }
20199 _ACEOF
20200 if ac_fn_cxx_try_link "$LINENO"; then :
20201   glibcxx_cv_SC_NPROC_ONLN=yes
20202 else
20203   glibcxx_cv_SC_NPROC_ONLN=no
20204 fi
20205 rm -f core conftest.err conftest.$ac_objext \
20206     conftest$ac_exeext conftest.$ac_ext
20207 fi
20208
20209 fi
20210
20211   if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20212
20213 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20214
20215   fi
20216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20217 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20218
20219   CXXFLAGS="$ac_save_CXXFLAGS"
20220   ac_ext=c
20221 ac_cpp='$CPP $CPPFLAGS'
20222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20225
20226
20227
20228
20229
20230   ac_ext=cpp
20231 ac_cpp='$CXXCPP $CPPFLAGS'
20232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20235
20236   ac_save_CXXFLAGS="$CXXFLAGS"
20237   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20238
20239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20240 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20241   if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20242   $as_echo_n "(cached) " >&6
20243 else
20244
20245     if test x$gcc_no_link = xyes; then
20246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20247 /* end confdefs.h.  */
20248 #include <pthread.h>
20249 int
20250 main ()
20251 {
20252 int n = pthread_num_processors_np();
20253   ;
20254   return 0;
20255 }
20256 _ACEOF
20257 if ac_fn_cxx_try_compile "$LINENO"; then :
20258   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20259 else
20260   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20261 fi
20262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20263 else
20264   if test x$gcc_no_link = xyes; then
20265   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20266 fi
20267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20268 /* end confdefs.h.  */
20269 #include <pthread.h>
20270 int
20271 main ()
20272 {
20273 int n = pthread_num_processors_np();
20274   ;
20275   return 0;
20276 }
20277 _ACEOF
20278 if ac_fn_cxx_try_link "$LINENO"; then :
20279   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20280 else
20281   glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20282 fi
20283 rm -f core conftest.err conftest.$ac_objext \
20284     conftest$ac_exeext conftest.$ac_ext
20285 fi
20286
20287 fi
20288
20289   if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20290
20291 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20292
20293   fi
20294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20295 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20296
20297   CXXFLAGS="$ac_save_CXXFLAGS"
20298   ac_ext=c
20299 ac_cpp='$CPP $CPPFLAGS'
20300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20303
20304
20305
20306
20307
20308   ac_ext=cpp
20309 ac_cpp='$CXXCPP $CPPFLAGS'
20310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20313
20314   ac_save_CXXFLAGS="$CXXFLAGS"
20315   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20316
20317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20318 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20319   if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20320   $as_echo_n "(cached) " >&6
20321 else
20322
20323     if test x$gcc_no_link = xyes; then
20324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20325 /* end confdefs.h.  */
20326
20327        #include <stddef.h>
20328        #include <sys/sysctl.h>
20329
20330 int
20331 main ()
20332 {
20333
20334        int count;
20335        size_t size = sizeof(count);
20336        int mib[] = { CTL_HW, HW_NCPU };
20337        sysctl(mib, 2, &count, &size, NULL, 0);
20338
20339   ;
20340   return 0;
20341 }
20342 _ACEOF
20343 if ac_fn_cxx_try_compile "$LINENO"; then :
20344   glibcxx_cv_SYSCTL_HW_NCPU=yes
20345 else
20346   glibcxx_cv_SYSCTL_HW_NCPU=no
20347 fi
20348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20349 else
20350   if test x$gcc_no_link = xyes; then
20351   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20352 fi
20353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20354 /* end confdefs.h.  */
20355
20356        #include <stddef.h>
20357        #include <sys/sysctl.h>
20358
20359 int
20360 main ()
20361 {
20362
20363        int count;
20364        size_t size = sizeof(count);
20365        int mib[] = { CTL_HW, HW_NCPU };
20366        sysctl(mib, 2, &count, &size, NULL, 0);
20367
20368   ;
20369   return 0;
20370 }
20371 _ACEOF
20372 if ac_fn_cxx_try_link "$LINENO"; then :
20373   glibcxx_cv_SYSCTL_HW_NCPU=yes
20374 else
20375   glibcxx_cv_SYSCTL_HW_NCPU=no
20376 fi
20377 rm -f core conftest.err conftest.$ac_objext \
20378     conftest$ac_exeext conftest.$ac_ext
20379 fi
20380
20381 fi
20382
20383   if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20384
20385 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20386
20387   fi
20388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20389 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20390
20391   CXXFLAGS="$ac_save_CXXFLAGS"
20392   ac_ext=c
20393 ac_cpp='$CPP $CPPFLAGS'
20394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20397
20398
20399
20400 # Check for available headers.
20401 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20402 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20403 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20404 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20405 wchar.h wctype.h
20406 do :
20407   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20408 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20409 eval as_val=\$$as_ac_Header
20410    if test "x$as_val" = x""yes; then :
20411   cat >>confdefs.h <<_ACEOF
20412 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20413 _ACEOF
20414
20415 fi
20416
20417 done
20418
20419
20420 # Only do link tests if native. Else, hardcode.
20421 if $GLIBCXX_IS_NATIVE; then
20422
20423   # We can do more elaborate tests that assume a working linker.
20424   CANADIAN=no
20425
20426
20427
20428 # Check whether --with-gnu-ld was given.
20429 if test "${with_gnu_ld+set}" = set; then :
20430   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20431 else
20432   with_gnu_ld=no
20433 fi
20434
20435 ac_prog=ld
20436 if test "$GCC" = yes; then
20437   # Check if gcc -print-prog-name=ld gives a path.
20438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20439 $as_echo_n "checking for ld used by $CC... " >&6; }
20440   case $host in
20441   *-*-mingw*)
20442     # gcc leaves a trailing carriage return which upsets mingw
20443     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20444   *)
20445     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20446   esac
20447   case $ac_prog in
20448     # Accept absolute paths.
20449     [\\/]* | ?:[\\/]*)
20450       re_direlt='/[^/][^/]*/\.\./'
20451       # Canonicalize the pathname of ld
20452       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20453       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20454         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20455       done
20456       test -z "$LD" && LD="$ac_prog"
20457       ;;
20458   "")
20459     # If it fails, then pretend we aren't using GCC.
20460     ac_prog=ld
20461     ;;
20462   *)
20463     # If it is relative, then search for the first ld in PATH.
20464     with_gnu_ld=unknown
20465     ;;
20466   esac
20467 elif test "$with_gnu_ld" = yes; then
20468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20469 $as_echo_n "checking for GNU ld... " >&6; }
20470 else
20471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20472 $as_echo_n "checking for non-GNU ld... " >&6; }
20473 fi
20474 if test "${lt_cv_path_LD+set}" = set; then :
20475   $as_echo_n "(cached) " >&6
20476 else
20477   if test -z "$LD"; then
20478   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20479   for ac_dir in $PATH; do
20480     IFS="$lt_save_ifs"
20481     test -z "$ac_dir" && ac_dir=.
20482     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20483       lt_cv_path_LD="$ac_dir/$ac_prog"
20484       # Check to see if the program is GNU ld.  I'd rather use --version,
20485       # but apparently some variants of GNU ld only accept -v.
20486       # Break only if it was the GNU/non-GNU ld that we prefer.
20487       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20488       *GNU* | *'with BFD'*)
20489         test "$with_gnu_ld" != no && break
20490         ;;
20491       *)
20492         test "$with_gnu_ld" != yes && break
20493         ;;
20494       esac
20495     fi
20496   done
20497   IFS="$lt_save_ifs"
20498 else
20499   lt_cv_path_LD="$LD" # Let the user override the test with a path.
20500 fi
20501 fi
20502
20503 LD="$lt_cv_path_LD"
20504 if test -n "$LD"; then
20505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20506 $as_echo "$LD" >&6; }
20507 else
20508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20509 $as_echo "no" >&6; }
20510 fi
20511 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20513 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20514 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20515   $as_echo_n "(cached) " >&6
20516 else
20517   # I'd rather use --version here, but apparently some GNU lds only accept -v.
20518 case `$LD -v 2>&1 </dev/null` in
20519 *GNU* | *'with BFD'*)
20520   lt_cv_prog_gnu_ld=yes
20521   ;;
20522 *)
20523   lt_cv_prog_gnu_ld=no
20524   ;;
20525 esac
20526 fi
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20528 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20529 with_gnu_ld=$lt_cv_prog_gnu_ld
20530
20531
20532
20533
20534
20535
20536
20537   # If we're not using GNU ld, then there's no point in even trying these
20538   # tests.  Check for that first.  We should have already tested for gld
20539   # by now (in libtool), but require it now just to be safe...
20540   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20541   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20542
20543
20544
20545   # The name set by libtool depends on the version of libtool.  Shame on us
20546   # for depending on an impl detail, but c'est la vie.  Older versions used
20547   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20548   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20549   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
20550   # set (hence we're using an older libtool), then set it.
20551   if test x${with_gnu_ld+set} != xset; then
20552     if test x${ac_cv_prog_gnu_ld+set} != xset; then
20553       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
20554       with_gnu_ld=no
20555     else
20556       with_gnu_ld=$ac_cv_prog_gnu_ld
20557     fi
20558   fi
20559
20560   # Start by getting the version number.  I think the libtool test already
20561   # does some of this, but throws away the result.
20562   glibcxx_ld_is_gold=no
20563   if test x"$with_gnu_ld" = x"yes"; then
20564     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20565 $as_echo_n "checking for ld version... " >&6; }
20566
20567     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20568       glibcxx_ld_is_gold=yes
20569     fi
20570     ldver=`$LD --version 2>/dev/null |
20571            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'`
20572
20573     glibcxx_gnu_ld_version=`echo $ldver | \
20574            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20575     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20576 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20577   fi
20578
20579   # Set --gc-sections.
20580   glibcxx_have_gc_sections=no
20581   if test "$glibcxx_ld_is_gold" = "yes"; then
20582     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20583       glibcxx_have_gc_sections=yes
20584     fi
20585   else
20586     glibcxx_gcsections_min_ld=21602
20587     if test x"$with_gnu_ld" = x"yes" &&
20588         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20589       glibcxx_have_gc_sections=yes
20590     fi
20591   fi
20592   if test "$glibcxx_have_gc_sections" = "yes"; then
20593     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
20594     # NB: This flag only works reliably after 2.16.1. Configure tests
20595     # for this are difficult, so hard wire a value that should work.
20596
20597     ac_test_CFLAGS="${CFLAGS+set}"
20598     ac_save_CFLAGS="$CFLAGS"
20599     CFLAGS='-Wl,--gc-sections'
20600
20601     # Check for -Wl,--gc-sections
20602     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20603 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20604     if test x$gcc_no_link = xyes; then
20605   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20606 fi
20607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20608 /* end confdefs.h.  */
20609  int one(void) { return 1; }
20610      int two(void) { return 2; }
20611
20612 int
20613 main ()
20614 {
20615  two();
20616   ;
20617   return 0;
20618 }
20619 _ACEOF
20620 if ac_fn_c_try_link "$LINENO"; then :
20621   ac_gcsections=yes
20622 else
20623   ac_gcsections=no
20624 fi
20625 rm -f core conftest.err conftest.$ac_objext \
20626     conftest$ac_exeext conftest.$ac_ext
20627     if test "$ac_gcsections" = "yes"; then
20628       rm -f conftest.c
20629       touch conftest.c
20630       if $CC -c conftest.c; then
20631         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20632            grep "Warning: gc-sections option ignored" > /dev/null; then
20633           ac_gcsections=no
20634         fi
20635       fi
20636       rm -f conftest.c conftest.o conftest
20637     fi
20638     if test "$ac_gcsections" = "yes"; then
20639       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20640     fi
20641     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20642 $as_echo "$ac_gcsections" >&6; }
20643
20644     if test "$ac_test_CFLAGS" = set; then
20645       CFLAGS="$ac_save_CFLAGS"
20646     else
20647       # this is the suspicious part
20648       CFLAGS=''
20649     fi
20650   fi
20651
20652   # Set -z,relro.
20653   # Note this is only for shared objects.
20654   ac_ld_relro=no
20655   if test x"$with_gnu_ld" = x"yes"; then
20656     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20657 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20658     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20659     if test -n "$cxx_z_relo"; then
20660       OPT_LDFLAGS="-Wl,-z,relro"
20661       ac_ld_relro=yes
20662     fi
20663     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20664 $as_echo "$ac_ld_relro" >&6; }
20665   fi
20666
20667   # Set linker optimization flags.
20668   if test x"$with_gnu_ld" = x"yes"; then
20669     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20670   fi
20671
20672
20673
20674
20675
20676   ac_test_CXXFLAGS="${CXXFLAGS+set}"
20677   ac_save_CXXFLAGS="$CXXFLAGS"
20678   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20679
20680     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20681 $as_echo_n "checking for sin in -lm... " >&6; }
20682 if test "${ac_cv_lib_m_sin+set}" = set; then :
20683   $as_echo_n "(cached) " >&6
20684 else
20685   ac_check_lib_save_LIBS=$LIBS
20686 LIBS="-lm  $LIBS"
20687 if test x$gcc_no_link = xyes; then
20688   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20689 fi
20690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20691 /* end confdefs.h.  */
20692
20693 /* Override any GCC internal prototype to avoid an error.
20694    Use char because int might match the return type of a GCC
20695    builtin and then its argument prototype would still apply.  */
20696 #ifdef __cplusplus
20697 extern "C"
20698 #endif
20699 char sin ();
20700 int
20701 main ()
20702 {
20703 return sin ();
20704   ;
20705   return 0;
20706 }
20707 _ACEOF
20708 if ac_fn_c_try_link "$LINENO"; then :
20709   ac_cv_lib_m_sin=yes
20710 else
20711   ac_cv_lib_m_sin=no
20712 fi
20713 rm -f core conftest.err conftest.$ac_objext \
20714     conftest$ac_exeext conftest.$ac_ext
20715 LIBS=$ac_check_lib_save_LIBS
20716 fi
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20718 $as_echo "$ac_cv_lib_m_sin" >&6; }
20719 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20720   libm="-lm"
20721 fi
20722
20723   ac_save_LIBS="$LIBS"
20724   LIBS="$LIBS $libm"
20725
20726
20727
20728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20729 $as_echo_n "checking for isinf declaration... " >&6; }
20730   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20731     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20732   $as_echo_n "(cached) " >&6
20733 else
20734
20735
20736       ac_ext=cpp
20737 ac_cpp='$CXXCPP $CPPFLAGS'
20738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20741
20742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20743 /* end confdefs.h.  */
20744 #include <math.h>
20745                       #ifdef HAVE_IEEEFP_H
20746                       #include <ieeefp.h>
20747                       #endif
20748
20749 int
20750 main ()
20751 {
20752  isinf(0);
20753   ;
20754   return 0;
20755 }
20756 _ACEOF
20757 if ac_fn_cxx_try_compile "$LINENO"; then :
20758   glibcxx_cv_func_isinf_use=yes
20759 else
20760   glibcxx_cv_func_isinf_use=no
20761 fi
20762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20763       ac_ext=c
20764 ac_cpp='$CPP $CPPFLAGS'
20765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20768
20769
20770 fi
20771
20772   fi
20773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20774 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20775
20776   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20777     for ac_func in isinf
20778 do :
20779   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20780 if test "x$ac_cv_func_isinf" = x""yes; then :
20781   cat >>confdefs.h <<_ACEOF
20782 #define HAVE_ISINF 1
20783 _ACEOF
20784
20785 fi
20786 done
20787
20788   else
20789
20790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20791 $as_echo_n "checking for _isinf declaration... " >&6; }
20792   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20793     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20794   $as_echo_n "(cached) " >&6
20795 else
20796
20797
20798       ac_ext=cpp
20799 ac_cpp='$CXXCPP $CPPFLAGS'
20800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20803
20804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20805 /* end confdefs.h.  */
20806 #include <math.h>
20807                       #ifdef HAVE_IEEEFP_H
20808                       #include <ieeefp.h>
20809                       #endif
20810
20811 int
20812 main ()
20813 {
20814  _isinf(0);
20815   ;
20816   return 0;
20817 }
20818 _ACEOF
20819 if ac_fn_cxx_try_compile "$LINENO"; then :
20820   glibcxx_cv_func__isinf_use=yes
20821 else
20822   glibcxx_cv_func__isinf_use=no
20823 fi
20824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20825       ac_ext=c
20826 ac_cpp='$CPP $CPPFLAGS'
20827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20830
20831
20832 fi
20833
20834   fi
20835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20836 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20837
20838     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20839       for ac_func in _isinf
20840 do :
20841   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20842 if test "x$ac_cv_func__isinf" = x""yes; then :
20843   cat >>confdefs.h <<_ACEOF
20844 #define HAVE__ISINF 1
20845 _ACEOF
20846
20847 fi
20848 done
20849
20850     fi
20851   fi
20852
20853
20854
20855
20856
20857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20858 $as_echo_n "checking for isnan declaration... " >&6; }
20859   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20860     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20861   $as_echo_n "(cached) " >&6
20862 else
20863
20864
20865       ac_ext=cpp
20866 ac_cpp='$CXXCPP $CPPFLAGS'
20867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20870
20871       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20872 /* end confdefs.h.  */
20873 #include <math.h>
20874                       #ifdef HAVE_IEEEFP_H
20875                       #include <ieeefp.h>
20876                       #endif
20877
20878 int
20879 main ()
20880 {
20881  isnan(0);
20882   ;
20883   return 0;
20884 }
20885 _ACEOF
20886 if ac_fn_cxx_try_compile "$LINENO"; then :
20887   glibcxx_cv_func_isnan_use=yes
20888 else
20889   glibcxx_cv_func_isnan_use=no
20890 fi
20891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20892       ac_ext=c
20893 ac_cpp='$CPP $CPPFLAGS'
20894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20897
20898
20899 fi
20900
20901   fi
20902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20903 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20904
20905   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20906     for ac_func in isnan
20907 do :
20908   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20909 if test "x$ac_cv_func_isnan" = x""yes; then :
20910   cat >>confdefs.h <<_ACEOF
20911 #define HAVE_ISNAN 1
20912 _ACEOF
20913
20914 fi
20915 done
20916
20917   else
20918
20919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20920 $as_echo_n "checking for _isnan declaration... " >&6; }
20921   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20922     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20923   $as_echo_n "(cached) " >&6
20924 else
20925
20926
20927       ac_ext=cpp
20928 ac_cpp='$CXXCPP $CPPFLAGS'
20929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20932
20933       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20934 /* end confdefs.h.  */
20935 #include <math.h>
20936                       #ifdef HAVE_IEEEFP_H
20937                       #include <ieeefp.h>
20938                       #endif
20939
20940 int
20941 main ()
20942 {
20943  _isnan(0);
20944   ;
20945   return 0;
20946 }
20947 _ACEOF
20948 if ac_fn_cxx_try_compile "$LINENO"; then :
20949   glibcxx_cv_func__isnan_use=yes
20950 else
20951   glibcxx_cv_func__isnan_use=no
20952 fi
20953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20954       ac_ext=c
20955 ac_cpp='$CPP $CPPFLAGS'
20956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20959
20960
20961 fi
20962
20963   fi
20964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20965 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20966
20967     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20968       for ac_func in _isnan
20969 do :
20970   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20971 if test "x$ac_cv_func__isnan" = x""yes; then :
20972   cat >>confdefs.h <<_ACEOF
20973 #define HAVE__ISNAN 1
20974 _ACEOF
20975
20976 fi
20977 done
20978
20979     fi
20980   fi
20981
20982
20983
20984
20985
20986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20987 $as_echo_n "checking for finite declaration... " >&6; }
20988   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20989     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20990   $as_echo_n "(cached) " >&6
20991 else
20992
20993
20994       ac_ext=cpp
20995 ac_cpp='$CXXCPP $CPPFLAGS'
20996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20999
21000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21001 /* end confdefs.h.  */
21002 #include <math.h>
21003                       #ifdef HAVE_IEEEFP_H
21004                       #include <ieeefp.h>
21005                       #endif
21006
21007 int
21008 main ()
21009 {
21010  finite(0);
21011   ;
21012   return 0;
21013 }
21014 _ACEOF
21015 if ac_fn_cxx_try_compile "$LINENO"; then :
21016   glibcxx_cv_func_finite_use=yes
21017 else
21018   glibcxx_cv_func_finite_use=no
21019 fi
21020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21021       ac_ext=c
21022 ac_cpp='$CPP $CPPFLAGS'
21023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21026
21027
21028 fi
21029
21030   fi
21031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21032 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21033
21034   if test x$glibcxx_cv_func_finite_use = x"yes"; then
21035     for ac_func in finite
21036 do :
21037   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21038 if test "x$ac_cv_func_finite" = x""yes; then :
21039   cat >>confdefs.h <<_ACEOF
21040 #define HAVE_FINITE 1
21041 _ACEOF
21042
21043 fi
21044 done
21045
21046   else
21047
21048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21049 $as_echo_n "checking for _finite declaration... " >&6; }
21050   if test x${glibcxx_cv_func__finite_use+set} != xset; then
21051     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21052   $as_echo_n "(cached) " >&6
21053 else
21054
21055
21056       ac_ext=cpp
21057 ac_cpp='$CXXCPP $CPPFLAGS'
21058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21061
21062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21063 /* end confdefs.h.  */
21064 #include <math.h>
21065                       #ifdef HAVE_IEEEFP_H
21066                       #include <ieeefp.h>
21067                       #endif
21068
21069 int
21070 main ()
21071 {
21072  _finite(0);
21073   ;
21074   return 0;
21075 }
21076 _ACEOF
21077 if ac_fn_cxx_try_compile "$LINENO"; then :
21078   glibcxx_cv_func__finite_use=yes
21079 else
21080   glibcxx_cv_func__finite_use=no
21081 fi
21082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21083       ac_ext=c
21084 ac_cpp='$CPP $CPPFLAGS'
21085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21088
21089
21090 fi
21091
21092   fi
21093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21094 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21095
21096     if test x$glibcxx_cv_func__finite_use = x"yes"; then
21097       for ac_func in _finite
21098 do :
21099   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21100 if test "x$ac_cv_func__finite" = x""yes; then :
21101   cat >>confdefs.h <<_ACEOF
21102 #define HAVE__FINITE 1
21103 _ACEOF
21104
21105 fi
21106 done
21107
21108     fi
21109   fi
21110
21111
21112
21113
21114
21115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21116 $as_echo_n "checking for sincos declaration... " >&6; }
21117   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21118     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21119   $as_echo_n "(cached) " >&6
21120 else
21121
21122
21123       ac_ext=cpp
21124 ac_cpp='$CXXCPP $CPPFLAGS'
21125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21128
21129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21130 /* end confdefs.h.  */
21131 #include <math.h>
21132 int
21133 main ()
21134 {
21135  sincos(0, 0, 0);
21136   ;
21137   return 0;
21138 }
21139 _ACEOF
21140 if ac_fn_cxx_try_compile "$LINENO"; then :
21141   glibcxx_cv_func_sincos_use=yes
21142 else
21143   glibcxx_cv_func_sincos_use=no
21144 fi
21145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21146       ac_ext=c
21147 ac_cpp='$CPP $CPPFLAGS'
21148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21151
21152
21153 fi
21154
21155   fi
21156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21157 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21158
21159   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21160     for ac_func in sincos
21161 do :
21162   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21163 if test "x$ac_cv_func_sincos" = x""yes; then :
21164   cat >>confdefs.h <<_ACEOF
21165 #define HAVE_SINCOS 1
21166 _ACEOF
21167
21168 fi
21169 done
21170
21171   else
21172
21173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21174 $as_echo_n "checking for _sincos declaration... " >&6; }
21175   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21176     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21177   $as_echo_n "(cached) " >&6
21178 else
21179
21180
21181       ac_ext=cpp
21182 ac_cpp='$CXXCPP $CPPFLAGS'
21183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21186
21187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21188 /* end confdefs.h.  */
21189 #include <math.h>
21190 int
21191 main ()
21192 {
21193  _sincos(0, 0, 0);
21194   ;
21195   return 0;
21196 }
21197 _ACEOF
21198 if ac_fn_cxx_try_compile "$LINENO"; then :
21199   glibcxx_cv_func__sincos_use=yes
21200 else
21201   glibcxx_cv_func__sincos_use=no
21202 fi
21203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21204       ac_ext=c
21205 ac_cpp='$CPP $CPPFLAGS'
21206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21209
21210
21211 fi
21212
21213   fi
21214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21215 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21216
21217     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21218       for ac_func in _sincos
21219 do :
21220   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21221 if test "x$ac_cv_func__sincos" = x""yes; then :
21222   cat >>confdefs.h <<_ACEOF
21223 #define HAVE__SINCOS 1
21224 _ACEOF
21225
21226 fi
21227 done
21228
21229     fi
21230   fi
21231
21232
21233
21234
21235
21236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21237 $as_echo_n "checking for fpclass declaration... " >&6; }
21238   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21239     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21240   $as_echo_n "(cached) " >&6
21241 else
21242
21243
21244       ac_ext=cpp
21245 ac_cpp='$CXXCPP $CPPFLAGS'
21246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21249
21250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21251 /* end confdefs.h.  */
21252 #include <math.h>
21253                       #ifdef HAVE_IEEEFP_H
21254                       #include <ieeefp.h>
21255                       #endif
21256
21257 int
21258 main ()
21259 {
21260  fpclass(0);
21261   ;
21262   return 0;
21263 }
21264 _ACEOF
21265 if ac_fn_cxx_try_compile "$LINENO"; then :
21266   glibcxx_cv_func_fpclass_use=yes
21267 else
21268   glibcxx_cv_func_fpclass_use=no
21269 fi
21270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21271       ac_ext=c
21272 ac_cpp='$CPP $CPPFLAGS'
21273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21276
21277
21278 fi
21279
21280   fi
21281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21282 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21283
21284   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21285     for ac_func in fpclass
21286 do :
21287   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21288 if test "x$ac_cv_func_fpclass" = x""yes; then :
21289   cat >>confdefs.h <<_ACEOF
21290 #define HAVE_FPCLASS 1
21291 _ACEOF
21292
21293 fi
21294 done
21295
21296   else
21297
21298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21299 $as_echo_n "checking for _fpclass declaration... " >&6; }
21300   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21301     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21302   $as_echo_n "(cached) " >&6
21303 else
21304
21305
21306       ac_ext=cpp
21307 ac_cpp='$CXXCPP $CPPFLAGS'
21308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21311
21312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21313 /* end confdefs.h.  */
21314 #include <math.h>
21315                       #ifdef HAVE_IEEEFP_H
21316                       #include <ieeefp.h>
21317                       #endif
21318
21319 int
21320 main ()
21321 {
21322  _fpclass(0);
21323   ;
21324   return 0;
21325 }
21326 _ACEOF
21327 if ac_fn_cxx_try_compile "$LINENO"; then :
21328   glibcxx_cv_func__fpclass_use=yes
21329 else
21330   glibcxx_cv_func__fpclass_use=no
21331 fi
21332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21333       ac_ext=c
21334 ac_cpp='$CPP $CPPFLAGS'
21335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21338
21339
21340 fi
21341
21342   fi
21343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21344 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21345
21346     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21347       for ac_func in _fpclass
21348 do :
21349   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21350 if test "x$ac_cv_func__fpclass" = x""yes; then :
21351   cat >>confdefs.h <<_ACEOF
21352 #define HAVE__FPCLASS 1
21353 _ACEOF
21354
21355 fi
21356 done
21357
21358     fi
21359   fi
21360
21361
21362
21363
21364
21365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21366 $as_echo_n "checking for qfpclass declaration... " >&6; }
21367   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21368     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21369   $as_echo_n "(cached) " >&6
21370 else
21371
21372
21373       ac_ext=cpp
21374 ac_cpp='$CXXCPP $CPPFLAGS'
21375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21378
21379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21380 /* end confdefs.h.  */
21381 #include <math.h>
21382                       #ifdef HAVE_IEEEFP_H
21383                       #include <ieeefp.h>
21384                       #endif
21385
21386 int
21387 main ()
21388 {
21389  qfpclass(0);
21390   ;
21391   return 0;
21392 }
21393 _ACEOF
21394 if ac_fn_cxx_try_compile "$LINENO"; then :
21395   glibcxx_cv_func_qfpclass_use=yes
21396 else
21397   glibcxx_cv_func_qfpclass_use=no
21398 fi
21399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21400       ac_ext=c
21401 ac_cpp='$CPP $CPPFLAGS'
21402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21405
21406
21407 fi
21408
21409   fi
21410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21411 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21412
21413   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21414     for ac_func in qfpclass
21415 do :
21416   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21417 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21418   cat >>confdefs.h <<_ACEOF
21419 #define HAVE_QFPCLASS 1
21420 _ACEOF
21421
21422 fi
21423 done
21424
21425   else
21426
21427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21428 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21429   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21430     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21431   $as_echo_n "(cached) " >&6
21432 else
21433
21434
21435       ac_ext=cpp
21436 ac_cpp='$CXXCPP $CPPFLAGS'
21437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21440
21441       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21442 /* end confdefs.h.  */
21443 #include <math.h>
21444                       #ifdef HAVE_IEEEFP_H
21445                       #include <ieeefp.h>
21446                       #endif
21447
21448 int
21449 main ()
21450 {
21451  _qfpclass(0);
21452   ;
21453   return 0;
21454 }
21455 _ACEOF
21456 if ac_fn_cxx_try_compile "$LINENO"; then :
21457   glibcxx_cv_func__qfpclass_use=yes
21458 else
21459   glibcxx_cv_func__qfpclass_use=no
21460 fi
21461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21462       ac_ext=c
21463 ac_cpp='$CPP $CPPFLAGS'
21464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21467
21468
21469 fi
21470
21471   fi
21472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21473 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21474
21475     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21476       for ac_func in _qfpclass
21477 do :
21478   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21479 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21480   cat >>confdefs.h <<_ACEOF
21481 #define HAVE__QFPCLASS 1
21482 _ACEOF
21483
21484 fi
21485 done
21486
21487     fi
21488   fi
21489
21490
21491
21492
21493
21494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21495 $as_echo_n "checking for hypot declaration... " >&6; }
21496   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21497     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21498   $as_echo_n "(cached) " >&6
21499 else
21500
21501
21502       ac_ext=cpp
21503 ac_cpp='$CXXCPP $CPPFLAGS'
21504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21507
21508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21509 /* end confdefs.h.  */
21510 #include <math.h>
21511 int
21512 main ()
21513 {
21514  hypot(0, 0);
21515   ;
21516   return 0;
21517 }
21518 _ACEOF
21519 if ac_fn_cxx_try_compile "$LINENO"; then :
21520   glibcxx_cv_func_hypot_use=yes
21521 else
21522   glibcxx_cv_func_hypot_use=no
21523 fi
21524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21525       ac_ext=c
21526 ac_cpp='$CPP $CPPFLAGS'
21527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21530
21531
21532 fi
21533
21534   fi
21535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21536 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21537
21538   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21539     for ac_func in hypot
21540 do :
21541   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21542 if test "x$ac_cv_func_hypot" = x""yes; then :
21543   cat >>confdefs.h <<_ACEOF
21544 #define HAVE_HYPOT 1
21545 _ACEOF
21546
21547 fi
21548 done
21549
21550   else
21551
21552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21553 $as_echo_n "checking for _hypot declaration... " >&6; }
21554   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21555     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21556   $as_echo_n "(cached) " >&6
21557 else
21558
21559
21560       ac_ext=cpp
21561 ac_cpp='$CXXCPP $CPPFLAGS'
21562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21565
21566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21567 /* end confdefs.h.  */
21568 #include <math.h>
21569 int
21570 main ()
21571 {
21572  _hypot(0, 0);
21573   ;
21574   return 0;
21575 }
21576 _ACEOF
21577 if ac_fn_cxx_try_compile "$LINENO"; then :
21578   glibcxx_cv_func__hypot_use=yes
21579 else
21580   glibcxx_cv_func__hypot_use=no
21581 fi
21582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21583       ac_ext=c
21584 ac_cpp='$CPP $CPPFLAGS'
21585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21588
21589
21590 fi
21591
21592   fi
21593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21594 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21595
21596     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21597       for ac_func in _hypot
21598 do :
21599   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21600 if test "x$ac_cv_func__hypot" = x""yes; then :
21601   cat >>confdefs.h <<_ACEOF
21602 #define HAVE__HYPOT 1
21603 _ACEOF
21604
21605 fi
21606 done
21607
21608     fi
21609   fi
21610
21611
21612
21613
21614
21615     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21616 $as_echo_n "checking for float trig functions... " >&6; }
21617   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21618   $as_echo_n "(cached) " >&6
21619 else
21620
21621
21622     ac_ext=cpp
21623 ac_cpp='$CXXCPP $CPPFLAGS'
21624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21627
21628     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21629 /* end confdefs.h.  */
21630 #include <math.h>
21631 int
21632 main ()
21633 {
21634 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21635   ;
21636   return 0;
21637 }
21638 _ACEOF
21639 if ac_fn_cxx_try_compile "$LINENO"; then :
21640   glibcxx_cv_func_float_trig_use=yes
21641 else
21642   glibcxx_cv_func_float_trig_use=no
21643 fi
21644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21645     ac_ext=c
21646 ac_cpp='$CPP $CPPFLAGS'
21647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21650
21651 fi
21652
21653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21654 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21655   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21656     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21657 do :
21658   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21659 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21660 eval as_val=\$$as_ac_var
21661    if test "x$as_val" = x""yes; then :
21662   cat >>confdefs.h <<_ACEOF
21663 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21664 _ACEOF
21665
21666 fi
21667 done
21668
21669   else
21670     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21671 $as_echo_n "checking for _float trig functions... " >&6; }
21672     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21673   $as_echo_n "(cached) " >&6
21674 else
21675
21676
21677       ac_ext=cpp
21678 ac_cpp='$CXXCPP $CPPFLAGS'
21679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21682
21683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21684 /* end confdefs.h.  */
21685 #include <math.h>
21686 int
21687 main ()
21688 {
21689 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21690   ;
21691   return 0;
21692 }
21693 _ACEOF
21694 if ac_fn_cxx_try_compile "$LINENO"; then :
21695   glibcxx_cv_func__float_trig_use=yes
21696 else
21697   glibcxx_cv_func__float_trig_use=no
21698 fi
21699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21700       ac_ext=c
21701 ac_cpp='$CPP $CPPFLAGS'
21702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21705
21706 fi
21707
21708     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21709 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21710     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21711       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21712 do :
21713   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21714 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21715 eval as_val=\$$as_ac_var
21716    if test "x$as_val" = x""yes; then :
21717   cat >>confdefs.h <<_ACEOF
21718 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21719 _ACEOF
21720
21721 fi
21722 done
21723
21724     fi
21725   fi
21726
21727
21728
21729
21730
21731     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21732 $as_echo_n "checking for float round functions... " >&6; }
21733   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21734   $as_echo_n "(cached) " >&6
21735 else
21736
21737
21738     ac_ext=cpp
21739 ac_cpp='$CXXCPP $CPPFLAGS'
21740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21743
21744     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21745 /* end confdefs.h.  */
21746 #include <math.h>
21747 int
21748 main ()
21749 {
21750 ceilf (0); floorf (0);
21751   ;
21752   return 0;
21753 }
21754 _ACEOF
21755 if ac_fn_cxx_try_compile "$LINENO"; then :
21756   glibcxx_cv_func_float_round_use=yes
21757 else
21758   glibcxx_cv_func_float_round_use=no
21759 fi
21760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21761     ac_ext=c
21762 ac_cpp='$CPP $CPPFLAGS'
21763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21766
21767 fi
21768
21769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21770 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21771   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21772     for ac_func in ceilf floorf
21773 do :
21774   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21775 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21776 eval as_val=\$$as_ac_var
21777    if test "x$as_val" = x""yes; then :
21778   cat >>confdefs.h <<_ACEOF
21779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21780 _ACEOF
21781
21782 fi
21783 done
21784
21785   else
21786     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21787 $as_echo_n "checking for _float round functions... " >&6; }
21788     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21789   $as_echo_n "(cached) " >&6
21790 else
21791
21792
21793       ac_ext=cpp
21794 ac_cpp='$CXXCPP $CPPFLAGS'
21795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21798
21799       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21800 /* end confdefs.h.  */
21801 #include <math.h>
21802 int
21803 main ()
21804 {
21805 _ceilf (0); _floorf (0);
21806   ;
21807   return 0;
21808 }
21809 _ACEOF
21810 if ac_fn_cxx_try_compile "$LINENO"; then :
21811   glibcxx_cv_func__float_round_use=yes
21812 else
21813   glibcxx_cv_func__float_round_use=no
21814 fi
21815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21816       ac_ext=c
21817 ac_cpp='$CPP $CPPFLAGS'
21818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21821
21822 fi
21823
21824     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21825 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21826     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21827       for ac_func in _ceilf _floorf
21828 do :
21829   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21830 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21831 eval as_val=\$$as_ac_var
21832    if test "x$as_val" = x""yes; then :
21833   cat >>confdefs.h <<_ACEOF
21834 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21835 _ACEOF
21836
21837 fi
21838 done
21839
21840     fi
21841   fi
21842
21843
21844
21845
21846
21847
21848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21849 $as_echo_n "checking for expf declaration... " >&6; }
21850   if test x${glibcxx_cv_func_expf_use+set} != xset; then
21851     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21852   $as_echo_n "(cached) " >&6
21853 else
21854
21855
21856       ac_ext=cpp
21857 ac_cpp='$CXXCPP $CPPFLAGS'
21858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21861
21862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21863 /* end confdefs.h.  */
21864 #include <math.h>
21865                       #ifdef HAVE_IEEEFP_H
21866                       #include <ieeefp.h>
21867                       #endif
21868
21869 int
21870 main ()
21871 {
21872  expf(0);
21873   ;
21874   return 0;
21875 }
21876 _ACEOF
21877 if ac_fn_cxx_try_compile "$LINENO"; then :
21878   glibcxx_cv_func_expf_use=yes
21879 else
21880   glibcxx_cv_func_expf_use=no
21881 fi
21882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21883       ac_ext=c
21884 ac_cpp='$CPP $CPPFLAGS'
21885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21888
21889
21890 fi
21891
21892   fi
21893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21894 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21895
21896   if test x$glibcxx_cv_func_expf_use = x"yes"; then
21897     for ac_func in expf
21898 do :
21899   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21900 if test "x$ac_cv_func_expf" = x""yes; then :
21901   cat >>confdefs.h <<_ACEOF
21902 #define HAVE_EXPF 1
21903 _ACEOF
21904
21905 fi
21906 done
21907
21908   else
21909
21910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21911 $as_echo_n "checking for _expf declaration... " >&6; }
21912   if test x${glibcxx_cv_func__expf_use+set} != xset; then
21913     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21914   $as_echo_n "(cached) " >&6
21915 else
21916
21917
21918       ac_ext=cpp
21919 ac_cpp='$CXXCPP $CPPFLAGS'
21920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21923
21924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21925 /* end confdefs.h.  */
21926 #include <math.h>
21927                       #ifdef HAVE_IEEEFP_H
21928                       #include <ieeefp.h>
21929                       #endif
21930
21931 int
21932 main ()
21933 {
21934  _expf(0);
21935   ;
21936   return 0;
21937 }
21938 _ACEOF
21939 if ac_fn_cxx_try_compile "$LINENO"; then :
21940   glibcxx_cv_func__expf_use=yes
21941 else
21942   glibcxx_cv_func__expf_use=no
21943 fi
21944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21945       ac_ext=c
21946 ac_cpp='$CPP $CPPFLAGS'
21947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21950
21951
21952 fi
21953
21954   fi
21955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21956 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21957
21958     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21959       for ac_func in _expf
21960 do :
21961   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21962 if test "x$ac_cv_func__expf" = x""yes; then :
21963   cat >>confdefs.h <<_ACEOF
21964 #define HAVE__EXPF 1
21965 _ACEOF
21966
21967 fi
21968 done
21969
21970     fi
21971   fi
21972
21973
21974
21975
21976
21977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21978 $as_echo_n "checking for isnanf declaration... " >&6; }
21979   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21980     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21981   $as_echo_n "(cached) " >&6
21982 else
21983
21984
21985       ac_ext=cpp
21986 ac_cpp='$CXXCPP $CPPFLAGS'
21987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21990
21991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21992 /* end confdefs.h.  */
21993 #include <math.h>
21994                       #ifdef HAVE_IEEEFP_H
21995                       #include <ieeefp.h>
21996                       #endif
21997
21998 int
21999 main ()
22000 {
22001  isnanf(0);
22002   ;
22003   return 0;
22004 }
22005 _ACEOF
22006 if ac_fn_cxx_try_compile "$LINENO"; then :
22007   glibcxx_cv_func_isnanf_use=yes
22008 else
22009   glibcxx_cv_func_isnanf_use=no
22010 fi
22011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22012       ac_ext=c
22013 ac_cpp='$CPP $CPPFLAGS'
22014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22017
22018
22019 fi
22020
22021   fi
22022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22023 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22024
22025   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22026     for ac_func in isnanf
22027 do :
22028   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22029 if test "x$ac_cv_func_isnanf" = x""yes; then :
22030   cat >>confdefs.h <<_ACEOF
22031 #define HAVE_ISNANF 1
22032 _ACEOF
22033
22034 fi
22035 done
22036
22037   else
22038
22039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22040 $as_echo_n "checking for _isnanf declaration... " >&6; }
22041   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22042     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22043   $as_echo_n "(cached) " >&6
22044 else
22045
22046
22047       ac_ext=cpp
22048 ac_cpp='$CXXCPP $CPPFLAGS'
22049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22052
22053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22054 /* end confdefs.h.  */
22055 #include <math.h>
22056                       #ifdef HAVE_IEEEFP_H
22057                       #include <ieeefp.h>
22058                       #endif
22059
22060 int
22061 main ()
22062 {
22063  _isnanf(0);
22064   ;
22065   return 0;
22066 }
22067 _ACEOF
22068 if ac_fn_cxx_try_compile "$LINENO"; then :
22069   glibcxx_cv_func__isnanf_use=yes
22070 else
22071   glibcxx_cv_func__isnanf_use=no
22072 fi
22073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22074       ac_ext=c
22075 ac_cpp='$CPP $CPPFLAGS'
22076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22079
22080
22081 fi
22082
22083   fi
22084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22085 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22086
22087     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22088       for ac_func in _isnanf
22089 do :
22090   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22091 if test "x$ac_cv_func__isnanf" = x""yes; then :
22092   cat >>confdefs.h <<_ACEOF
22093 #define HAVE__ISNANF 1
22094 _ACEOF
22095
22096 fi
22097 done
22098
22099     fi
22100   fi
22101
22102
22103
22104
22105
22106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22107 $as_echo_n "checking for isinff declaration... " >&6; }
22108   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22109     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22110   $as_echo_n "(cached) " >&6
22111 else
22112
22113
22114       ac_ext=cpp
22115 ac_cpp='$CXXCPP $CPPFLAGS'
22116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22119
22120       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22121 /* end confdefs.h.  */
22122 #include <math.h>
22123                       #ifdef HAVE_IEEEFP_H
22124                       #include <ieeefp.h>
22125                       #endif
22126
22127 int
22128 main ()
22129 {
22130  isinff(0);
22131   ;
22132   return 0;
22133 }
22134 _ACEOF
22135 if ac_fn_cxx_try_compile "$LINENO"; then :
22136   glibcxx_cv_func_isinff_use=yes
22137 else
22138   glibcxx_cv_func_isinff_use=no
22139 fi
22140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22141       ac_ext=c
22142 ac_cpp='$CPP $CPPFLAGS'
22143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22146
22147
22148 fi
22149
22150   fi
22151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22152 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22153
22154   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22155     for ac_func in isinff
22156 do :
22157   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22158 if test "x$ac_cv_func_isinff" = x""yes; then :
22159   cat >>confdefs.h <<_ACEOF
22160 #define HAVE_ISINFF 1
22161 _ACEOF
22162
22163 fi
22164 done
22165
22166   else
22167
22168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22169 $as_echo_n "checking for _isinff declaration... " >&6; }
22170   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22171     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22172   $as_echo_n "(cached) " >&6
22173 else
22174
22175
22176       ac_ext=cpp
22177 ac_cpp='$CXXCPP $CPPFLAGS'
22178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22181
22182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22183 /* end confdefs.h.  */
22184 #include <math.h>
22185                       #ifdef HAVE_IEEEFP_H
22186                       #include <ieeefp.h>
22187                       #endif
22188
22189 int
22190 main ()
22191 {
22192  _isinff(0);
22193   ;
22194   return 0;
22195 }
22196 _ACEOF
22197 if ac_fn_cxx_try_compile "$LINENO"; then :
22198   glibcxx_cv_func__isinff_use=yes
22199 else
22200   glibcxx_cv_func__isinff_use=no
22201 fi
22202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22203       ac_ext=c
22204 ac_cpp='$CPP $CPPFLAGS'
22205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22208
22209
22210 fi
22211
22212   fi
22213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22214 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22215
22216     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22217       for ac_func in _isinff
22218 do :
22219   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22220 if test "x$ac_cv_func__isinff" = x""yes; then :
22221   cat >>confdefs.h <<_ACEOF
22222 #define HAVE__ISINFF 1
22223 _ACEOF
22224
22225 fi
22226 done
22227
22228     fi
22229   fi
22230
22231
22232
22233
22234
22235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22236 $as_echo_n "checking for atan2f declaration... " >&6; }
22237   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22238     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22239   $as_echo_n "(cached) " >&6
22240 else
22241
22242
22243       ac_ext=cpp
22244 ac_cpp='$CXXCPP $CPPFLAGS'
22245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22248
22249       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22250 /* end confdefs.h.  */
22251 #include <math.h>
22252 int
22253 main ()
22254 {
22255  atan2f(0, 0);
22256   ;
22257   return 0;
22258 }
22259 _ACEOF
22260 if ac_fn_cxx_try_compile "$LINENO"; then :
22261   glibcxx_cv_func_atan2f_use=yes
22262 else
22263   glibcxx_cv_func_atan2f_use=no
22264 fi
22265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22266       ac_ext=c
22267 ac_cpp='$CPP $CPPFLAGS'
22268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22271
22272
22273 fi
22274
22275   fi
22276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22277 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22278
22279   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22280     for ac_func in atan2f
22281 do :
22282   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22283 if test "x$ac_cv_func_atan2f" = x""yes; then :
22284   cat >>confdefs.h <<_ACEOF
22285 #define HAVE_ATAN2F 1
22286 _ACEOF
22287
22288 fi
22289 done
22290
22291   else
22292
22293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22294 $as_echo_n "checking for _atan2f declaration... " >&6; }
22295   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22296     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22297   $as_echo_n "(cached) " >&6
22298 else
22299
22300
22301       ac_ext=cpp
22302 ac_cpp='$CXXCPP $CPPFLAGS'
22303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22306
22307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22308 /* end confdefs.h.  */
22309 #include <math.h>
22310 int
22311 main ()
22312 {
22313  _atan2f(0, 0);
22314   ;
22315   return 0;
22316 }
22317 _ACEOF
22318 if ac_fn_cxx_try_compile "$LINENO"; then :
22319   glibcxx_cv_func__atan2f_use=yes
22320 else
22321   glibcxx_cv_func__atan2f_use=no
22322 fi
22323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22324       ac_ext=c
22325 ac_cpp='$CPP $CPPFLAGS'
22326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22329
22330
22331 fi
22332
22333   fi
22334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22335 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22336
22337     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22338       for ac_func in _atan2f
22339 do :
22340   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22341 if test "x$ac_cv_func__atan2f" = x""yes; then :
22342   cat >>confdefs.h <<_ACEOF
22343 #define HAVE__ATAN2F 1
22344 _ACEOF
22345
22346 fi
22347 done
22348
22349     fi
22350   fi
22351
22352
22353
22354
22355
22356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22357 $as_echo_n "checking for fabsf declaration... " >&6; }
22358   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22359     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22360   $as_echo_n "(cached) " >&6
22361 else
22362
22363
22364       ac_ext=cpp
22365 ac_cpp='$CXXCPP $CPPFLAGS'
22366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22369
22370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22371 /* end confdefs.h.  */
22372 #include <math.h>
22373                       #ifdef HAVE_IEEEFP_H
22374                       #include <ieeefp.h>
22375                       #endif
22376
22377 int
22378 main ()
22379 {
22380  fabsf(0);
22381   ;
22382   return 0;
22383 }
22384 _ACEOF
22385 if ac_fn_cxx_try_compile "$LINENO"; then :
22386   glibcxx_cv_func_fabsf_use=yes
22387 else
22388   glibcxx_cv_func_fabsf_use=no
22389 fi
22390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22391       ac_ext=c
22392 ac_cpp='$CPP $CPPFLAGS'
22393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22396
22397
22398 fi
22399
22400   fi
22401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22402 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22403
22404   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22405     for ac_func in fabsf
22406 do :
22407   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22408 if test "x$ac_cv_func_fabsf" = x""yes; then :
22409   cat >>confdefs.h <<_ACEOF
22410 #define HAVE_FABSF 1
22411 _ACEOF
22412
22413 fi
22414 done
22415
22416   else
22417
22418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22419 $as_echo_n "checking for _fabsf declaration... " >&6; }
22420   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22421     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22422   $as_echo_n "(cached) " >&6
22423 else
22424
22425
22426       ac_ext=cpp
22427 ac_cpp='$CXXCPP $CPPFLAGS'
22428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22431
22432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22433 /* end confdefs.h.  */
22434 #include <math.h>
22435                       #ifdef HAVE_IEEEFP_H
22436                       #include <ieeefp.h>
22437                       #endif
22438
22439 int
22440 main ()
22441 {
22442  _fabsf(0);
22443   ;
22444   return 0;
22445 }
22446 _ACEOF
22447 if ac_fn_cxx_try_compile "$LINENO"; then :
22448   glibcxx_cv_func__fabsf_use=yes
22449 else
22450   glibcxx_cv_func__fabsf_use=no
22451 fi
22452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22453       ac_ext=c
22454 ac_cpp='$CPP $CPPFLAGS'
22455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22458
22459
22460 fi
22461
22462   fi
22463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22464 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22465
22466     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22467       for ac_func in _fabsf
22468 do :
22469   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22470 if test "x$ac_cv_func__fabsf" = x""yes; then :
22471   cat >>confdefs.h <<_ACEOF
22472 #define HAVE__FABSF 1
22473 _ACEOF
22474
22475 fi
22476 done
22477
22478     fi
22479   fi
22480
22481
22482
22483
22484
22485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22486 $as_echo_n "checking for fmodf declaration... " >&6; }
22487   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22488     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22489   $as_echo_n "(cached) " >&6
22490 else
22491
22492
22493       ac_ext=cpp
22494 ac_cpp='$CXXCPP $CPPFLAGS'
22495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22498
22499       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22500 /* end confdefs.h.  */
22501 #include <math.h>
22502 int
22503 main ()
22504 {
22505  fmodf(0, 0);
22506   ;
22507   return 0;
22508 }
22509 _ACEOF
22510 if ac_fn_cxx_try_compile "$LINENO"; then :
22511   glibcxx_cv_func_fmodf_use=yes
22512 else
22513   glibcxx_cv_func_fmodf_use=no
22514 fi
22515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22516       ac_ext=c
22517 ac_cpp='$CPP $CPPFLAGS'
22518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22521
22522
22523 fi
22524
22525   fi
22526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22527 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22528
22529   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22530     for ac_func in fmodf
22531 do :
22532   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22533 if test "x$ac_cv_func_fmodf" = x""yes; then :
22534   cat >>confdefs.h <<_ACEOF
22535 #define HAVE_FMODF 1
22536 _ACEOF
22537
22538 fi
22539 done
22540
22541   else
22542
22543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22544 $as_echo_n "checking for _fmodf declaration... " >&6; }
22545   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22546     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22547   $as_echo_n "(cached) " >&6
22548 else
22549
22550
22551       ac_ext=cpp
22552 ac_cpp='$CXXCPP $CPPFLAGS'
22553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22556
22557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22558 /* end confdefs.h.  */
22559 #include <math.h>
22560 int
22561 main ()
22562 {
22563  _fmodf(0, 0);
22564   ;
22565   return 0;
22566 }
22567 _ACEOF
22568 if ac_fn_cxx_try_compile "$LINENO"; then :
22569   glibcxx_cv_func__fmodf_use=yes
22570 else
22571   glibcxx_cv_func__fmodf_use=no
22572 fi
22573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22574       ac_ext=c
22575 ac_cpp='$CPP $CPPFLAGS'
22576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22579
22580
22581 fi
22582
22583   fi
22584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22585 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22586
22587     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22588       for ac_func in _fmodf
22589 do :
22590   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22591 if test "x$ac_cv_func__fmodf" = x""yes; then :
22592   cat >>confdefs.h <<_ACEOF
22593 #define HAVE__FMODF 1
22594 _ACEOF
22595
22596 fi
22597 done
22598
22599     fi
22600   fi
22601
22602
22603
22604
22605
22606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22607 $as_echo_n "checking for frexpf declaration... " >&6; }
22608   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22609     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22610   $as_echo_n "(cached) " >&6
22611 else
22612
22613
22614       ac_ext=cpp
22615 ac_cpp='$CXXCPP $CPPFLAGS'
22616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22619
22620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22621 /* end confdefs.h.  */
22622 #include <math.h>
22623 int
22624 main ()
22625 {
22626  frexpf(0, 0);
22627   ;
22628   return 0;
22629 }
22630 _ACEOF
22631 if ac_fn_cxx_try_compile "$LINENO"; then :
22632   glibcxx_cv_func_frexpf_use=yes
22633 else
22634   glibcxx_cv_func_frexpf_use=no
22635 fi
22636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22637       ac_ext=c
22638 ac_cpp='$CPP $CPPFLAGS'
22639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22642
22643
22644 fi
22645
22646   fi
22647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22648 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22649
22650   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22651     for ac_func in frexpf
22652 do :
22653   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22654 if test "x$ac_cv_func_frexpf" = x""yes; then :
22655   cat >>confdefs.h <<_ACEOF
22656 #define HAVE_FREXPF 1
22657 _ACEOF
22658
22659 fi
22660 done
22661
22662   else
22663
22664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22665 $as_echo_n "checking for _frexpf declaration... " >&6; }
22666   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22667     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22668   $as_echo_n "(cached) " >&6
22669 else
22670
22671
22672       ac_ext=cpp
22673 ac_cpp='$CXXCPP $CPPFLAGS'
22674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22677
22678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22679 /* end confdefs.h.  */
22680 #include <math.h>
22681 int
22682 main ()
22683 {
22684  _frexpf(0, 0);
22685   ;
22686   return 0;
22687 }
22688 _ACEOF
22689 if ac_fn_cxx_try_compile "$LINENO"; then :
22690   glibcxx_cv_func__frexpf_use=yes
22691 else
22692   glibcxx_cv_func__frexpf_use=no
22693 fi
22694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22695       ac_ext=c
22696 ac_cpp='$CPP $CPPFLAGS'
22697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22700
22701
22702 fi
22703
22704   fi
22705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22706 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22707
22708     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22709       for ac_func in _frexpf
22710 do :
22711   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22712 if test "x$ac_cv_func__frexpf" = x""yes; then :
22713   cat >>confdefs.h <<_ACEOF
22714 #define HAVE__FREXPF 1
22715 _ACEOF
22716
22717 fi
22718 done
22719
22720     fi
22721   fi
22722
22723
22724
22725
22726
22727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22728 $as_echo_n "checking for hypotf declaration... " >&6; }
22729   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22730     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22731   $as_echo_n "(cached) " >&6
22732 else
22733
22734
22735       ac_ext=cpp
22736 ac_cpp='$CXXCPP $CPPFLAGS'
22737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22740
22741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22742 /* end confdefs.h.  */
22743 #include <math.h>
22744 int
22745 main ()
22746 {
22747  hypotf(0, 0);
22748   ;
22749   return 0;
22750 }
22751 _ACEOF
22752 if ac_fn_cxx_try_compile "$LINENO"; then :
22753   glibcxx_cv_func_hypotf_use=yes
22754 else
22755   glibcxx_cv_func_hypotf_use=no
22756 fi
22757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22758       ac_ext=c
22759 ac_cpp='$CPP $CPPFLAGS'
22760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22763
22764
22765 fi
22766
22767   fi
22768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22769 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22770
22771   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22772     for ac_func in hypotf
22773 do :
22774   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22775 if test "x$ac_cv_func_hypotf" = x""yes; then :
22776   cat >>confdefs.h <<_ACEOF
22777 #define HAVE_HYPOTF 1
22778 _ACEOF
22779
22780 fi
22781 done
22782
22783   else
22784
22785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22786 $as_echo_n "checking for _hypotf declaration... " >&6; }
22787   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22788     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22789   $as_echo_n "(cached) " >&6
22790 else
22791
22792
22793       ac_ext=cpp
22794 ac_cpp='$CXXCPP $CPPFLAGS'
22795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22798
22799       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22800 /* end confdefs.h.  */
22801 #include <math.h>
22802 int
22803 main ()
22804 {
22805  _hypotf(0, 0);
22806   ;
22807   return 0;
22808 }
22809 _ACEOF
22810 if ac_fn_cxx_try_compile "$LINENO"; then :
22811   glibcxx_cv_func__hypotf_use=yes
22812 else
22813   glibcxx_cv_func__hypotf_use=no
22814 fi
22815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22816       ac_ext=c
22817 ac_cpp='$CPP $CPPFLAGS'
22818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22821
22822
22823 fi
22824
22825   fi
22826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22827 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22828
22829     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22830       for ac_func in _hypotf
22831 do :
22832   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22833 if test "x$ac_cv_func__hypotf" = x""yes; then :
22834   cat >>confdefs.h <<_ACEOF
22835 #define HAVE__HYPOTF 1
22836 _ACEOF
22837
22838 fi
22839 done
22840
22841     fi
22842   fi
22843
22844
22845
22846
22847
22848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22849 $as_echo_n "checking for ldexpf declaration... " >&6; }
22850   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22851     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22852   $as_echo_n "(cached) " >&6
22853 else
22854
22855
22856       ac_ext=cpp
22857 ac_cpp='$CXXCPP $CPPFLAGS'
22858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22861
22862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22863 /* end confdefs.h.  */
22864 #include <math.h>
22865 int
22866 main ()
22867 {
22868  ldexpf(0, 0);
22869   ;
22870   return 0;
22871 }
22872 _ACEOF
22873 if ac_fn_cxx_try_compile "$LINENO"; then :
22874   glibcxx_cv_func_ldexpf_use=yes
22875 else
22876   glibcxx_cv_func_ldexpf_use=no
22877 fi
22878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22879       ac_ext=c
22880 ac_cpp='$CPP $CPPFLAGS'
22881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22884
22885
22886 fi
22887
22888   fi
22889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22890 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22891
22892   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22893     for ac_func in ldexpf
22894 do :
22895   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22896 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22897   cat >>confdefs.h <<_ACEOF
22898 #define HAVE_LDEXPF 1
22899 _ACEOF
22900
22901 fi
22902 done
22903
22904   else
22905
22906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22907 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22908   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22909     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22910   $as_echo_n "(cached) " >&6
22911 else
22912
22913
22914       ac_ext=cpp
22915 ac_cpp='$CXXCPP $CPPFLAGS'
22916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22919
22920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22921 /* end confdefs.h.  */
22922 #include <math.h>
22923 int
22924 main ()
22925 {
22926  _ldexpf(0, 0);
22927   ;
22928   return 0;
22929 }
22930 _ACEOF
22931 if ac_fn_cxx_try_compile "$LINENO"; then :
22932   glibcxx_cv_func__ldexpf_use=yes
22933 else
22934   glibcxx_cv_func__ldexpf_use=no
22935 fi
22936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22937       ac_ext=c
22938 ac_cpp='$CPP $CPPFLAGS'
22939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22942
22943
22944 fi
22945
22946   fi
22947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22948 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22949
22950     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22951       for ac_func in _ldexpf
22952 do :
22953   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22954 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22955   cat >>confdefs.h <<_ACEOF
22956 #define HAVE__LDEXPF 1
22957 _ACEOF
22958
22959 fi
22960 done
22961
22962     fi
22963   fi
22964
22965
22966
22967
22968
22969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22970 $as_echo_n "checking for logf declaration... " >&6; }
22971   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22972     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22973   $as_echo_n "(cached) " >&6
22974 else
22975
22976
22977       ac_ext=cpp
22978 ac_cpp='$CXXCPP $CPPFLAGS'
22979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22982
22983       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22984 /* end confdefs.h.  */
22985 #include <math.h>
22986                       #ifdef HAVE_IEEEFP_H
22987                       #include <ieeefp.h>
22988                       #endif
22989
22990 int
22991 main ()
22992 {
22993  logf(0);
22994   ;
22995   return 0;
22996 }
22997 _ACEOF
22998 if ac_fn_cxx_try_compile "$LINENO"; then :
22999   glibcxx_cv_func_logf_use=yes
23000 else
23001   glibcxx_cv_func_logf_use=no
23002 fi
23003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23004       ac_ext=c
23005 ac_cpp='$CPP $CPPFLAGS'
23006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23009
23010
23011 fi
23012
23013   fi
23014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23015 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23016
23017   if test x$glibcxx_cv_func_logf_use = x"yes"; then
23018     for ac_func in logf
23019 do :
23020   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23021 if test "x$ac_cv_func_logf" = x""yes; then :
23022   cat >>confdefs.h <<_ACEOF
23023 #define HAVE_LOGF 1
23024 _ACEOF
23025
23026 fi
23027 done
23028
23029   else
23030
23031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23032 $as_echo_n "checking for _logf declaration... " >&6; }
23033   if test x${glibcxx_cv_func__logf_use+set} != xset; then
23034     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23035   $as_echo_n "(cached) " >&6
23036 else
23037
23038
23039       ac_ext=cpp
23040 ac_cpp='$CXXCPP $CPPFLAGS'
23041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23044
23045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23046 /* end confdefs.h.  */
23047 #include <math.h>
23048                       #ifdef HAVE_IEEEFP_H
23049                       #include <ieeefp.h>
23050                       #endif
23051
23052 int
23053 main ()
23054 {
23055  _logf(0);
23056   ;
23057   return 0;
23058 }
23059 _ACEOF
23060 if ac_fn_cxx_try_compile "$LINENO"; then :
23061   glibcxx_cv_func__logf_use=yes
23062 else
23063   glibcxx_cv_func__logf_use=no
23064 fi
23065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23066       ac_ext=c
23067 ac_cpp='$CPP $CPPFLAGS'
23068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23071
23072
23073 fi
23074
23075   fi
23076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23077 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23078
23079     if test x$glibcxx_cv_func__logf_use = x"yes"; then
23080       for ac_func in _logf
23081 do :
23082   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23083 if test "x$ac_cv_func__logf" = x""yes; then :
23084   cat >>confdefs.h <<_ACEOF
23085 #define HAVE__LOGF 1
23086 _ACEOF
23087
23088 fi
23089 done
23090
23091     fi
23092   fi
23093
23094
23095
23096
23097
23098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23099 $as_echo_n "checking for log10f declaration... " >&6; }
23100   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23101     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23102   $as_echo_n "(cached) " >&6
23103 else
23104
23105
23106       ac_ext=cpp
23107 ac_cpp='$CXXCPP $CPPFLAGS'
23108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23111
23112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23113 /* end confdefs.h.  */
23114 #include <math.h>
23115                       #ifdef HAVE_IEEEFP_H
23116                       #include <ieeefp.h>
23117                       #endif
23118
23119 int
23120 main ()
23121 {
23122  log10f(0);
23123   ;
23124   return 0;
23125 }
23126 _ACEOF
23127 if ac_fn_cxx_try_compile "$LINENO"; then :
23128   glibcxx_cv_func_log10f_use=yes
23129 else
23130   glibcxx_cv_func_log10f_use=no
23131 fi
23132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23133       ac_ext=c
23134 ac_cpp='$CPP $CPPFLAGS'
23135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23138
23139
23140 fi
23141
23142   fi
23143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23144 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23145
23146   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23147     for ac_func in log10f
23148 do :
23149   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23150 if test "x$ac_cv_func_log10f" = x""yes; then :
23151   cat >>confdefs.h <<_ACEOF
23152 #define HAVE_LOG10F 1
23153 _ACEOF
23154
23155 fi
23156 done
23157
23158   else
23159
23160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23161 $as_echo_n "checking for _log10f declaration... " >&6; }
23162   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23163     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23164   $as_echo_n "(cached) " >&6
23165 else
23166
23167
23168       ac_ext=cpp
23169 ac_cpp='$CXXCPP $CPPFLAGS'
23170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23173
23174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23175 /* end confdefs.h.  */
23176 #include <math.h>
23177                       #ifdef HAVE_IEEEFP_H
23178                       #include <ieeefp.h>
23179                       #endif
23180
23181 int
23182 main ()
23183 {
23184  _log10f(0);
23185   ;
23186   return 0;
23187 }
23188 _ACEOF
23189 if ac_fn_cxx_try_compile "$LINENO"; then :
23190   glibcxx_cv_func__log10f_use=yes
23191 else
23192   glibcxx_cv_func__log10f_use=no
23193 fi
23194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23195       ac_ext=c
23196 ac_cpp='$CPP $CPPFLAGS'
23197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23200
23201
23202 fi
23203
23204   fi
23205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23206 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23207
23208     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23209       for ac_func in _log10f
23210 do :
23211   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23212 if test "x$ac_cv_func__log10f" = x""yes; then :
23213   cat >>confdefs.h <<_ACEOF
23214 #define HAVE__LOG10F 1
23215 _ACEOF
23216
23217 fi
23218 done
23219
23220     fi
23221   fi
23222
23223
23224
23225
23226
23227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23228 $as_echo_n "checking for modff declaration... " >&6; }
23229   if test x${glibcxx_cv_func_modff_use+set} != xset; then
23230     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23231   $as_echo_n "(cached) " >&6
23232 else
23233
23234
23235       ac_ext=cpp
23236 ac_cpp='$CXXCPP $CPPFLAGS'
23237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23240
23241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23242 /* end confdefs.h.  */
23243 #include <math.h>
23244 int
23245 main ()
23246 {
23247  modff(0, 0);
23248   ;
23249   return 0;
23250 }
23251 _ACEOF
23252 if ac_fn_cxx_try_compile "$LINENO"; then :
23253   glibcxx_cv_func_modff_use=yes
23254 else
23255   glibcxx_cv_func_modff_use=no
23256 fi
23257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23258       ac_ext=c
23259 ac_cpp='$CPP $CPPFLAGS'
23260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23263
23264
23265 fi
23266
23267   fi
23268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23269 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23270
23271   if test x$glibcxx_cv_func_modff_use = x"yes"; then
23272     for ac_func in modff
23273 do :
23274   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23275 if test "x$ac_cv_func_modff" = x""yes; then :
23276   cat >>confdefs.h <<_ACEOF
23277 #define HAVE_MODFF 1
23278 _ACEOF
23279
23280 fi
23281 done
23282
23283   else
23284
23285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23286 $as_echo_n "checking for _modff declaration... " >&6; }
23287   if test x${glibcxx_cv_func__modff_use+set} != xset; then
23288     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23289   $as_echo_n "(cached) " >&6
23290 else
23291
23292
23293       ac_ext=cpp
23294 ac_cpp='$CXXCPP $CPPFLAGS'
23295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23298
23299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23300 /* end confdefs.h.  */
23301 #include <math.h>
23302 int
23303 main ()
23304 {
23305  _modff(0, 0);
23306   ;
23307   return 0;
23308 }
23309 _ACEOF
23310 if ac_fn_cxx_try_compile "$LINENO"; then :
23311   glibcxx_cv_func__modff_use=yes
23312 else
23313   glibcxx_cv_func__modff_use=no
23314 fi
23315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23316       ac_ext=c
23317 ac_cpp='$CPP $CPPFLAGS'
23318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23321
23322
23323 fi
23324
23325   fi
23326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23327 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23328
23329     if test x$glibcxx_cv_func__modff_use = x"yes"; then
23330       for ac_func in _modff
23331 do :
23332   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23333 if test "x$ac_cv_func__modff" = x""yes; then :
23334   cat >>confdefs.h <<_ACEOF
23335 #define HAVE__MODFF 1
23336 _ACEOF
23337
23338 fi
23339 done
23340
23341     fi
23342   fi
23343
23344
23345
23346
23347
23348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23349 $as_echo_n "checking for modf declaration... " >&6; }
23350   if test x${glibcxx_cv_func_modf_use+set} != xset; then
23351     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23352   $as_echo_n "(cached) " >&6
23353 else
23354
23355
23356       ac_ext=cpp
23357 ac_cpp='$CXXCPP $CPPFLAGS'
23358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23361
23362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23363 /* end confdefs.h.  */
23364 #include <math.h>
23365 int
23366 main ()
23367 {
23368  modf(0, 0);
23369   ;
23370   return 0;
23371 }
23372 _ACEOF
23373 if ac_fn_cxx_try_compile "$LINENO"; then :
23374   glibcxx_cv_func_modf_use=yes
23375 else
23376   glibcxx_cv_func_modf_use=no
23377 fi
23378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23379       ac_ext=c
23380 ac_cpp='$CPP $CPPFLAGS'
23381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23384
23385
23386 fi
23387
23388   fi
23389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23390 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23391
23392   if test x$glibcxx_cv_func_modf_use = x"yes"; then
23393     for ac_func in modf
23394 do :
23395   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23396 if test "x$ac_cv_func_modf" = x""yes; then :
23397   cat >>confdefs.h <<_ACEOF
23398 #define HAVE_MODF 1
23399 _ACEOF
23400
23401 fi
23402 done
23403
23404   else
23405
23406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23407 $as_echo_n "checking for _modf declaration... " >&6; }
23408   if test x${glibcxx_cv_func__modf_use+set} != xset; then
23409     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23410   $as_echo_n "(cached) " >&6
23411 else
23412
23413
23414       ac_ext=cpp
23415 ac_cpp='$CXXCPP $CPPFLAGS'
23416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23419
23420       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23421 /* end confdefs.h.  */
23422 #include <math.h>
23423 int
23424 main ()
23425 {
23426  _modf(0, 0);
23427   ;
23428   return 0;
23429 }
23430 _ACEOF
23431 if ac_fn_cxx_try_compile "$LINENO"; then :
23432   glibcxx_cv_func__modf_use=yes
23433 else
23434   glibcxx_cv_func__modf_use=no
23435 fi
23436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23437       ac_ext=c
23438 ac_cpp='$CPP $CPPFLAGS'
23439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23442
23443
23444 fi
23445
23446   fi
23447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23448 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23449
23450     if test x$glibcxx_cv_func__modf_use = x"yes"; then
23451       for ac_func in _modf
23452 do :
23453   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23454 if test "x$ac_cv_func__modf" = x""yes; then :
23455   cat >>confdefs.h <<_ACEOF
23456 #define HAVE__MODF 1
23457 _ACEOF
23458
23459 fi
23460 done
23461
23462     fi
23463   fi
23464
23465
23466
23467
23468
23469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23470 $as_echo_n "checking for powf declaration... " >&6; }
23471   if test x${glibcxx_cv_func_powf_use+set} != xset; then
23472     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23473   $as_echo_n "(cached) " >&6
23474 else
23475
23476
23477       ac_ext=cpp
23478 ac_cpp='$CXXCPP $CPPFLAGS'
23479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23482
23483       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23484 /* end confdefs.h.  */
23485 #include <math.h>
23486 int
23487 main ()
23488 {
23489  powf(0, 0);
23490   ;
23491   return 0;
23492 }
23493 _ACEOF
23494 if ac_fn_cxx_try_compile "$LINENO"; then :
23495   glibcxx_cv_func_powf_use=yes
23496 else
23497   glibcxx_cv_func_powf_use=no
23498 fi
23499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23500       ac_ext=c
23501 ac_cpp='$CPP $CPPFLAGS'
23502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23505
23506
23507 fi
23508
23509   fi
23510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23511 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23512
23513   if test x$glibcxx_cv_func_powf_use = x"yes"; then
23514     for ac_func in powf
23515 do :
23516   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23517 if test "x$ac_cv_func_powf" = x""yes; then :
23518   cat >>confdefs.h <<_ACEOF
23519 #define HAVE_POWF 1
23520 _ACEOF
23521
23522 fi
23523 done
23524
23525   else
23526
23527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23528 $as_echo_n "checking for _powf declaration... " >&6; }
23529   if test x${glibcxx_cv_func__powf_use+set} != xset; then
23530     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23531   $as_echo_n "(cached) " >&6
23532 else
23533
23534
23535       ac_ext=cpp
23536 ac_cpp='$CXXCPP $CPPFLAGS'
23537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23540
23541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23542 /* end confdefs.h.  */
23543 #include <math.h>
23544 int
23545 main ()
23546 {
23547  _powf(0, 0);
23548   ;
23549   return 0;
23550 }
23551 _ACEOF
23552 if ac_fn_cxx_try_compile "$LINENO"; then :
23553   glibcxx_cv_func__powf_use=yes
23554 else
23555   glibcxx_cv_func__powf_use=no
23556 fi
23557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23558       ac_ext=c
23559 ac_cpp='$CPP $CPPFLAGS'
23560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23563
23564
23565 fi
23566
23567   fi
23568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23569 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23570
23571     if test x$glibcxx_cv_func__powf_use = x"yes"; then
23572       for ac_func in _powf
23573 do :
23574   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23575 if test "x$ac_cv_func__powf" = x""yes; then :
23576   cat >>confdefs.h <<_ACEOF
23577 #define HAVE__POWF 1
23578 _ACEOF
23579
23580 fi
23581 done
23582
23583     fi
23584   fi
23585
23586
23587
23588
23589
23590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23591 $as_echo_n "checking for sqrtf declaration... " >&6; }
23592   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23593     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23594   $as_echo_n "(cached) " >&6
23595 else
23596
23597
23598       ac_ext=cpp
23599 ac_cpp='$CXXCPP $CPPFLAGS'
23600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23603
23604       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23605 /* end confdefs.h.  */
23606 #include <math.h>
23607                       #ifdef HAVE_IEEEFP_H
23608                       #include <ieeefp.h>
23609                       #endif
23610
23611 int
23612 main ()
23613 {
23614  sqrtf(0);
23615   ;
23616   return 0;
23617 }
23618 _ACEOF
23619 if ac_fn_cxx_try_compile "$LINENO"; then :
23620   glibcxx_cv_func_sqrtf_use=yes
23621 else
23622   glibcxx_cv_func_sqrtf_use=no
23623 fi
23624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23625       ac_ext=c
23626 ac_cpp='$CPP $CPPFLAGS'
23627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23630
23631
23632 fi
23633
23634   fi
23635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23636 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23637
23638   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23639     for ac_func in sqrtf
23640 do :
23641   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23642 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23643   cat >>confdefs.h <<_ACEOF
23644 #define HAVE_SQRTF 1
23645 _ACEOF
23646
23647 fi
23648 done
23649
23650   else
23651
23652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23653 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23654   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23655     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23656   $as_echo_n "(cached) " >&6
23657 else
23658
23659
23660       ac_ext=cpp
23661 ac_cpp='$CXXCPP $CPPFLAGS'
23662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23665
23666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23667 /* end confdefs.h.  */
23668 #include <math.h>
23669                       #ifdef HAVE_IEEEFP_H
23670                       #include <ieeefp.h>
23671                       #endif
23672
23673 int
23674 main ()
23675 {
23676  _sqrtf(0);
23677   ;
23678   return 0;
23679 }
23680 _ACEOF
23681 if ac_fn_cxx_try_compile "$LINENO"; then :
23682   glibcxx_cv_func__sqrtf_use=yes
23683 else
23684   glibcxx_cv_func__sqrtf_use=no
23685 fi
23686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23687       ac_ext=c
23688 ac_cpp='$CPP $CPPFLAGS'
23689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23692
23693
23694 fi
23695
23696   fi
23697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23698 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23699
23700     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23701       for ac_func in _sqrtf
23702 do :
23703   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23704 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23705   cat >>confdefs.h <<_ACEOF
23706 #define HAVE__SQRTF 1
23707 _ACEOF
23708
23709 fi
23710 done
23711
23712     fi
23713   fi
23714
23715
23716
23717
23718
23719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23720 $as_echo_n "checking for sincosf declaration... " >&6; }
23721   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23722     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23723   $as_echo_n "(cached) " >&6
23724 else
23725
23726
23727       ac_ext=cpp
23728 ac_cpp='$CXXCPP $CPPFLAGS'
23729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23732
23733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23734 /* end confdefs.h.  */
23735 #include <math.h>
23736 int
23737 main ()
23738 {
23739  sincosf(0, 0, 0);
23740   ;
23741   return 0;
23742 }
23743 _ACEOF
23744 if ac_fn_cxx_try_compile "$LINENO"; then :
23745   glibcxx_cv_func_sincosf_use=yes
23746 else
23747   glibcxx_cv_func_sincosf_use=no
23748 fi
23749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23750       ac_ext=c
23751 ac_cpp='$CPP $CPPFLAGS'
23752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23755
23756
23757 fi
23758
23759   fi
23760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23761 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23762
23763   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23764     for ac_func in sincosf
23765 do :
23766   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23767 if test "x$ac_cv_func_sincosf" = x""yes; then :
23768   cat >>confdefs.h <<_ACEOF
23769 #define HAVE_SINCOSF 1
23770 _ACEOF
23771
23772 fi
23773 done
23774
23775   else
23776
23777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23778 $as_echo_n "checking for _sincosf declaration... " >&6; }
23779   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23780     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23781   $as_echo_n "(cached) " >&6
23782 else
23783
23784
23785       ac_ext=cpp
23786 ac_cpp='$CXXCPP $CPPFLAGS'
23787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23790
23791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23792 /* end confdefs.h.  */
23793 #include <math.h>
23794 int
23795 main ()
23796 {
23797  _sincosf(0, 0, 0);
23798   ;
23799   return 0;
23800 }
23801 _ACEOF
23802 if ac_fn_cxx_try_compile "$LINENO"; then :
23803   glibcxx_cv_func__sincosf_use=yes
23804 else
23805   glibcxx_cv_func__sincosf_use=no
23806 fi
23807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23808       ac_ext=c
23809 ac_cpp='$CPP $CPPFLAGS'
23810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23813
23814
23815 fi
23816
23817   fi
23818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23819 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23820
23821     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23822       for ac_func in _sincosf
23823 do :
23824   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23825 if test "x$ac_cv_func__sincosf" = x""yes; then :
23826   cat >>confdefs.h <<_ACEOF
23827 #define HAVE__SINCOSF 1
23828 _ACEOF
23829
23830 fi
23831 done
23832
23833     fi
23834   fi
23835
23836
23837
23838
23839
23840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23841 $as_echo_n "checking for finitef declaration... " >&6; }
23842   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23843     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23844   $as_echo_n "(cached) " >&6
23845 else
23846
23847
23848       ac_ext=cpp
23849 ac_cpp='$CXXCPP $CPPFLAGS'
23850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23853
23854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23855 /* end confdefs.h.  */
23856 #include <math.h>
23857                       #ifdef HAVE_IEEEFP_H
23858                       #include <ieeefp.h>
23859                       #endif
23860
23861 int
23862 main ()
23863 {
23864  finitef(0);
23865   ;
23866   return 0;
23867 }
23868 _ACEOF
23869 if ac_fn_cxx_try_compile "$LINENO"; then :
23870   glibcxx_cv_func_finitef_use=yes
23871 else
23872   glibcxx_cv_func_finitef_use=no
23873 fi
23874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23875       ac_ext=c
23876 ac_cpp='$CPP $CPPFLAGS'
23877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23880
23881
23882 fi
23883
23884   fi
23885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23886 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23887
23888   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23889     for ac_func in finitef
23890 do :
23891   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23892 if test "x$ac_cv_func_finitef" = x""yes; then :
23893   cat >>confdefs.h <<_ACEOF
23894 #define HAVE_FINITEF 1
23895 _ACEOF
23896
23897 fi
23898 done
23899
23900   else
23901
23902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23903 $as_echo_n "checking for _finitef declaration... " >&6; }
23904   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23905     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23906   $as_echo_n "(cached) " >&6
23907 else
23908
23909
23910       ac_ext=cpp
23911 ac_cpp='$CXXCPP $CPPFLAGS'
23912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23915
23916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23917 /* end confdefs.h.  */
23918 #include <math.h>
23919                       #ifdef HAVE_IEEEFP_H
23920                       #include <ieeefp.h>
23921                       #endif
23922
23923 int
23924 main ()
23925 {
23926  _finitef(0);
23927   ;
23928   return 0;
23929 }
23930 _ACEOF
23931 if ac_fn_cxx_try_compile "$LINENO"; then :
23932   glibcxx_cv_func__finitef_use=yes
23933 else
23934   glibcxx_cv_func__finitef_use=no
23935 fi
23936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23937       ac_ext=c
23938 ac_cpp='$CPP $CPPFLAGS'
23939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23942
23943
23944 fi
23945
23946   fi
23947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23948 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23949
23950     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23951       for ac_func in _finitef
23952 do :
23953   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23954 if test "x$ac_cv_func__finitef" = x""yes; then :
23955   cat >>confdefs.h <<_ACEOF
23956 #define HAVE__FINITEF 1
23957 _ACEOF
23958
23959 fi
23960 done
23961
23962     fi
23963   fi
23964
23965
23966
23967
23968
23969     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23970 $as_echo_n "checking for long double trig functions... " >&6; }
23971   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23972   $as_echo_n "(cached) " >&6
23973 else
23974
23975
23976     ac_ext=cpp
23977 ac_cpp='$CXXCPP $CPPFLAGS'
23978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23981
23982     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23983 /* end confdefs.h.  */
23984 #include <math.h>
23985 int
23986 main ()
23987 {
23988 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23989   ;
23990   return 0;
23991 }
23992 _ACEOF
23993 if ac_fn_cxx_try_compile "$LINENO"; then :
23994   glibcxx_cv_func_long_double_trig_use=yes
23995 else
23996   glibcxx_cv_func_long_double_trig_use=no
23997 fi
23998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23999     ac_ext=c
24000 ac_cpp='$CPP $CPPFLAGS'
24001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24004
24005 fi
24006
24007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24008 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24009   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24010     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24011 do :
24012   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24013 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24014 eval as_val=\$$as_ac_var
24015    if test "x$as_val" = x""yes; then :
24016   cat >>confdefs.h <<_ACEOF
24017 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24018 _ACEOF
24019
24020 fi
24021 done
24022
24023   else
24024     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24025 $as_echo_n "checking for _long double trig functions... " >&6; }
24026     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24027   $as_echo_n "(cached) " >&6
24028 else
24029
24030
24031       ac_ext=cpp
24032 ac_cpp='$CXXCPP $CPPFLAGS'
24033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24036
24037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24038 /* end confdefs.h.  */
24039 #include <math.h>
24040 int
24041 main ()
24042 {
24043 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24044   ;
24045   return 0;
24046 }
24047 _ACEOF
24048 if ac_fn_cxx_try_compile "$LINENO"; then :
24049   glibcxx_cv_func__long_double_trig_use=yes
24050 else
24051   glibcxx_cv_func__long_double_trig_use=no
24052 fi
24053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24054       ac_ext=c
24055 ac_cpp='$CPP $CPPFLAGS'
24056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24059
24060 fi
24061
24062     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24063 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24064     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24065       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24066 do :
24067   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24068 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24069 eval as_val=\$$as_ac_var
24070    if test "x$as_val" = x""yes; then :
24071   cat >>confdefs.h <<_ACEOF
24072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24073 _ACEOF
24074
24075 fi
24076 done
24077
24078     fi
24079   fi
24080
24081
24082
24083
24084
24085     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24086 $as_echo_n "checking for long double round functions... " >&6; }
24087   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24088   $as_echo_n "(cached) " >&6
24089 else
24090
24091
24092     ac_ext=cpp
24093 ac_cpp='$CXXCPP $CPPFLAGS'
24094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24097
24098     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24099 /* end confdefs.h.  */
24100 #include <math.h>
24101 int
24102 main ()
24103 {
24104 ceill (0); floorl (0);
24105   ;
24106   return 0;
24107 }
24108 _ACEOF
24109 if ac_fn_cxx_try_compile "$LINENO"; then :
24110   glibcxx_cv_func_long_double_round_use=yes
24111 else
24112   glibcxx_cv_func_long_double_round_use=no
24113 fi
24114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24115     ac_ext=c
24116 ac_cpp='$CPP $CPPFLAGS'
24117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24120
24121 fi
24122
24123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24124 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24125   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24126     for ac_func in ceill floorl
24127 do :
24128   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24130 eval as_val=\$$as_ac_var
24131    if test "x$as_val" = x""yes; then :
24132   cat >>confdefs.h <<_ACEOF
24133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24134 _ACEOF
24135
24136 fi
24137 done
24138
24139   else
24140     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24141 $as_echo_n "checking for _long double round functions... " >&6; }
24142     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24143   $as_echo_n "(cached) " >&6
24144 else
24145
24146
24147       ac_ext=cpp
24148 ac_cpp='$CXXCPP $CPPFLAGS'
24149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24152
24153       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24154 /* end confdefs.h.  */
24155 #include <math.h>
24156 int
24157 main ()
24158 {
24159 _ceill (0); _floorl (0);
24160   ;
24161   return 0;
24162 }
24163 _ACEOF
24164 if ac_fn_cxx_try_compile "$LINENO"; then :
24165   glibcxx_cv_func__long_double_round_use=yes
24166 else
24167   glibcxx_cv_func__long_double_round_use=no
24168 fi
24169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24170       ac_ext=c
24171 ac_cpp='$CPP $CPPFLAGS'
24172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24175
24176 fi
24177
24178     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24179 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24180     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24181       for ac_func in _ceill _floorl
24182 do :
24183   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24184 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24185 eval as_val=\$$as_ac_var
24186    if test "x$as_val" = x""yes; then :
24187   cat >>confdefs.h <<_ACEOF
24188 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24189 _ACEOF
24190
24191 fi
24192 done
24193
24194     fi
24195   fi
24196
24197
24198
24199
24200
24201
24202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24203 $as_echo_n "checking for isnanl declaration... " >&6; }
24204   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24205     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24206   $as_echo_n "(cached) " >&6
24207 else
24208
24209
24210       ac_ext=cpp
24211 ac_cpp='$CXXCPP $CPPFLAGS'
24212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24215
24216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24217 /* end confdefs.h.  */
24218 #include <math.h>
24219                       #ifdef HAVE_IEEEFP_H
24220                       #include <ieeefp.h>
24221                       #endif
24222
24223 int
24224 main ()
24225 {
24226  isnanl(0);
24227   ;
24228   return 0;
24229 }
24230 _ACEOF
24231 if ac_fn_cxx_try_compile "$LINENO"; then :
24232   glibcxx_cv_func_isnanl_use=yes
24233 else
24234   glibcxx_cv_func_isnanl_use=no
24235 fi
24236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24237       ac_ext=c
24238 ac_cpp='$CPP $CPPFLAGS'
24239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24242
24243
24244 fi
24245
24246   fi
24247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24248 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24249
24250   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24251     for ac_func in isnanl
24252 do :
24253   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24254 if test "x$ac_cv_func_isnanl" = x""yes; then :
24255   cat >>confdefs.h <<_ACEOF
24256 #define HAVE_ISNANL 1
24257 _ACEOF
24258
24259 fi
24260 done
24261
24262   else
24263
24264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24265 $as_echo_n "checking for _isnanl declaration... " >&6; }
24266   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24267     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24268   $as_echo_n "(cached) " >&6
24269 else
24270
24271
24272       ac_ext=cpp
24273 ac_cpp='$CXXCPP $CPPFLAGS'
24274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24277
24278       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24279 /* end confdefs.h.  */
24280 #include <math.h>
24281                       #ifdef HAVE_IEEEFP_H
24282                       #include <ieeefp.h>
24283                       #endif
24284
24285 int
24286 main ()
24287 {
24288  _isnanl(0);
24289   ;
24290   return 0;
24291 }
24292 _ACEOF
24293 if ac_fn_cxx_try_compile "$LINENO"; then :
24294   glibcxx_cv_func__isnanl_use=yes
24295 else
24296   glibcxx_cv_func__isnanl_use=no
24297 fi
24298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24299       ac_ext=c
24300 ac_cpp='$CPP $CPPFLAGS'
24301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24304
24305
24306 fi
24307
24308   fi
24309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24310 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24311
24312     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24313       for ac_func in _isnanl
24314 do :
24315   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24316 if test "x$ac_cv_func__isnanl" = x""yes; then :
24317   cat >>confdefs.h <<_ACEOF
24318 #define HAVE__ISNANL 1
24319 _ACEOF
24320
24321 fi
24322 done
24323
24324     fi
24325   fi
24326
24327
24328
24329
24330
24331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24332 $as_echo_n "checking for isinfl declaration... " >&6; }
24333   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24334     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24335   $as_echo_n "(cached) " >&6
24336 else
24337
24338
24339       ac_ext=cpp
24340 ac_cpp='$CXXCPP $CPPFLAGS'
24341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24344
24345       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24346 /* end confdefs.h.  */
24347 #include <math.h>
24348                       #ifdef HAVE_IEEEFP_H
24349                       #include <ieeefp.h>
24350                       #endif
24351
24352 int
24353 main ()
24354 {
24355  isinfl(0);
24356   ;
24357   return 0;
24358 }
24359 _ACEOF
24360 if ac_fn_cxx_try_compile "$LINENO"; then :
24361   glibcxx_cv_func_isinfl_use=yes
24362 else
24363   glibcxx_cv_func_isinfl_use=no
24364 fi
24365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24366       ac_ext=c
24367 ac_cpp='$CPP $CPPFLAGS'
24368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24371
24372
24373 fi
24374
24375   fi
24376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24377 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24378
24379   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24380     for ac_func in isinfl
24381 do :
24382   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24383 if test "x$ac_cv_func_isinfl" = x""yes; then :
24384   cat >>confdefs.h <<_ACEOF
24385 #define HAVE_ISINFL 1
24386 _ACEOF
24387
24388 fi
24389 done
24390
24391   else
24392
24393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24394 $as_echo_n "checking for _isinfl declaration... " >&6; }
24395   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24396     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24397   $as_echo_n "(cached) " >&6
24398 else
24399
24400
24401       ac_ext=cpp
24402 ac_cpp='$CXXCPP $CPPFLAGS'
24403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24406
24407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24408 /* end confdefs.h.  */
24409 #include <math.h>
24410                       #ifdef HAVE_IEEEFP_H
24411                       #include <ieeefp.h>
24412                       #endif
24413
24414 int
24415 main ()
24416 {
24417  _isinfl(0);
24418   ;
24419   return 0;
24420 }
24421 _ACEOF
24422 if ac_fn_cxx_try_compile "$LINENO"; then :
24423   glibcxx_cv_func__isinfl_use=yes
24424 else
24425   glibcxx_cv_func__isinfl_use=no
24426 fi
24427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24428       ac_ext=c
24429 ac_cpp='$CPP $CPPFLAGS'
24430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24433
24434
24435 fi
24436
24437   fi
24438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24439 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24440
24441     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24442       for ac_func in _isinfl
24443 do :
24444   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24445 if test "x$ac_cv_func__isinfl" = x""yes; then :
24446   cat >>confdefs.h <<_ACEOF
24447 #define HAVE__ISINFL 1
24448 _ACEOF
24449
24450 fi
24451 done
24452
24453     fi
24454   fi
24455
24456
24457
24458
24459
24460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24461 $as_echo_n "checking for atan2l declaration... " >&6; }
24462   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24463     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24464   $as_echo_n "(cached) " >&6
24465 else
24466
24467
24468       ac_ext=cpp
24469 ac_cpp='$CXXCPP $CPPFLAGS'
24470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24473
24474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24475 /* end confdefs.h.  */
24476 #include <math.h>
24477 int
24478 main ()
24479 {
24480  atan2l(0, 0);
24481   ;
24482   return 0;
24483 }
24484 _ACEOF
24485 if ac_fn_cxx_try_compile "$LINENO"; then :
24486   glibcxx_cv_func_atan2l_use=yes
24487 else
24488   glibcxx_cv_func_atan2l_use=no
24489 fi
24490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24491       ac_ext=c
24492 ac_cpp='$CPP $CPPFLAGS'
24493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24496
24497
24498 fi
24499
24500   fi
24501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24502 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24503
24504   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24505     for ac_func in atan2l
24506 do :
24507   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24508 if test "x$ac_cv_func_atan2l" = x""yes; then :
24509   cat >>confdefs.h <<_ACEOF
24510 #define HAVE_ATAN2L 1
24511 _ACEOF
24512
24513 fi
24514 done
24515
24516   else
24517
24518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24519 $as_echo_n "checking for _atan2l declaration... " >&6; }
24520   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24521     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24522   $as_echo_n "(cached) " >&6
24523 else
24524
24525
24526       ac_ext=cpp
24527 ac_cpp='$CXXCPP $CPPFLAGS'
24528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24531
24532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24533 /* end confdefs.h.  */
24534 #include <math.h>
24535 int
24536 main ()
24537 {
24538  _atan2l(0, 0);
24539   ;
24540   return 0;
24541 }
24542 _ACEOF
24543 if ac_fn_cxx_try_compile "$LINENO"; then :
24544   glibcxx_cv_func__atan2l_use=yes
24545 else
24546   glibcxx_cv_func__atan2l_use=no
24547 fi
24548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24549       ac_ext=c
24550 ac_cpp='$CPP $CPPFLAGS'
24551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24554
24555
24556 fi
24557
24558   fi
24559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24560 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24561
24562     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24563       for ac_func in _atan2l
24564 do :
24565   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24566 if test "x$ac_cv_func__atan2l" = x""yes; then :
24567   cat >>confdefs.h <<_ACEOF
24568 #define HAVE__ATAN2L 1
24569 _ACEOF
24570
24571 fi
24572 done
24573
24574     fi
24575   fi
24576
24577
24578
24579
24580
24581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24582 $as_echo_n "checking for expl declaration... " >&6; }
24583   if test x${glibcxx_cv_func_expl_use+set} != xset; then
24584     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24585   $as_echo_n "(cached) " >&6
24586 else
24587
24588
24589       ac_ext=cpp
24590 ac_cpp='$CXXCPP $CPPFLAGS'
24591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24594
24595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24596 /* end confdefs.h.  */
24597 #include <math.h>
24598                       #ifdef HAVE_IEEEFP_H
24599                       #include <ieeefp.h>
24600                       #endif
24601
24602 int
24603 main ()
24604 {
24605  expl(0);
24606   ;
24607   return 0;
24608 }
24609 _ACEOF
24610 if ac_fn_cxx_try_compile "$LINENO"; then :
24611   glibcxx_cv_func_expl_use=yes
24612 else
24613   glibcxx_cv_func_expl_use=no
24614 fi
24615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24616       ac_ext=c
24617 ac_cpp='$CPP $CPPFLAGS'
24618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24621
24622
24623 fi
24624
24625   fi
24626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24627 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24628
24629   if test x$glibcxx_cv_func_expl_use = x"yes"; then
24630     for ac_func in expl
24631 do :
24632   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24633 if test "x$ac_cv_func_expl" = x""yes; then :
24634   cat >>confdefs.h <<_ACEOF
24635 #define HAVE_EXPL 1
24636 _ACEOF
24637
24638 fi
24639 done
24640
24641   else
24642
24643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24644 $as_echo_n "checking for _expl declaration... " >&6; }
24645   if test x${glibcxx_cv_func__expl_use+set} != xset; then
24646     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24647   $as_echo_n "(cached) " >&6
24648 else
24649
24650
24651       ac_ext=cpp
24652 ac_cpp='$CXXCPP $CPPFLAGS'
24653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24656
24657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24658 /* end confdefs.h.  */
24659 #include <math.h>
24660                       #ifdef HAVE_IEEEFP_H
24661                       #include <ieeefp.h>
24662                       #endif
24663
24664 int
24665 main ()
24666 {
24667  _expl(0);
24668   ;
24669   return 0;
24670 }
24671 _ACEOF
24672 if ac_fn_cxx_try_compile "$LINENO"; then :
24673   glibcxx_cv_func__expl_use=yes
24674 else
24675   glibcxx_cv_func__expl_use=no
24676 fi
24677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24678       ac_ext=c
24679 ac_cpp='$CPP $CPPFLAGS'
24680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24683
24684
24685 fi
24686
24687   fi
24688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24689 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24690
24691     if test x$glibcxx_cv_func__expl_use = x"yes"; then
24692       for ac_func in _expl
24693 do :
24694   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24695 if test "x$ac_cv_func__expl" = x""yes; then :
24696   cat >>confdefs.h <<_ACEOF
24697 #define HAVE__EXPL 1
24698 _ACEOF
24699
24700 fi
24701 done
24702
24703     fi
24704   fi
24705
24706
24707
24708
24709
24710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24711 $as_echo_n "checking for fabsl declaration... " >&6; }
24712   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24713     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24714   $as_echo_n "(cached) " >&6
24715 else
24716
24717
24718       ac_ext=cpp
24719 ac_cpp='$CXXCPP $CPPFLAGS'
24720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24723
24724       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24725 /* end confdefs.h.  */
24726 #include <math.h>
24727                       #ifdef HAVE_IEEEFP_H
24728                       #include <ieeefp.h>
24729                       #endif
24730
24731 int
24732 main ()
24733 {
24734  fabsl(0);
24735   ;
24736   return 0;
24737 }
24738 _ACEOF
24739 if ac_fn_cxx_try_compile "$LINENO"; then :
24740   glibcxx_cv_func_fabsl_use=yes
24741 else
24742   glibcxx_cv_func_fabsl_use=no
24743 fi
24744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24745       ac_ext=c
24746 ac_cpp='$CPP $CPPFLAGS'
24747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24750
24751
24752 fi
24753
24754   fi
24755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24756 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24757
24758   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24759     for ac_func in fabsl
24760 do :
24761   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24762 if test "x$ac_cv_func_fabsl" = x""yes; then :
24763   cat >>confdefs.h <<_ACEOF
24764 #define HAVE_FABSL 1
24765 _ACEOF
24766
24767 fi
24768 done
24769
24770   else
24771
24772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24773 $as_echo_n "checking for _fabsl declaration... " >&6; }
24774   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24775     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24776   $as_echo_n "(cached) " >&6
24777 else
24778
24779
24780       ac_ext=cpp
24781 ac_cpp='$CXXCPP $CPPFLAGS'
24782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24785
24786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24787 /* end confdefs.h.  */
24788 #include <math.h>
24789                       #ifdef HAVE_IEEEFP_H
24790                       #include <ieeefp.h>
24791                       #endif
24792
24793 int
24794 main ()
24795 {
24796  _fabsl(0);
24797   ;
24798   return 0;
24799 }
24800 _ACEOF
24801 if ac_fn_cxx_try_compile "$LINENO"; then :
24802   glibcxx_cv_func__fabsl_use=yes
24803 else
24804   glibcxx_cv_func__fabsl_use=no
24805 fi
24806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24807       ac_ext=c
24808 ac_cpp='$CPP $CPPFLAGS'
24809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24812
24813
24814 fi
24815
24816   fi
24817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24818 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24819
24820     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24821       for ac_func in _fabsl
24822 do :
24823   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24824 if test "x$ac_cv_func__fabsl" = x""yes; then :
24825   cat >>confdefs.h <<_ACEOF
24826 #define HAVE__FABSL 1
24827 _ACEOF
24828
24829 fi
24830 done
24831
24832     fi
24833   fi
24834
24835
24836
24837
24838
24839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24840 $as_echo_n "checking for fmodl declaration... " >&6; }
24841   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24842     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24843   $as_echo_n "(cached) " >&6
24844 else
24845
24846
24847       ac_ext=cpp
24848 ac_cpp='$CXXCPP $CPPFLAGS'
24849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24852
24853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24854 /* end confdefs.h.  */
24855 #include <math.h>
24856 int
24857 main ()
24858 {
24859  fmodl(0, 0);
24860   ;
24861   return 0;
24862 }
24863 _ACEOF
24864 if ac_fn_cxx_try_compile "$LINENO"; then :
24865   glibcxx_cv_func_fmodl_use=yes
24866 else
24867   glibcxx_cv_func_fmodl_use=no
24868 fi
24869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24870       ac_ext=c
24871 ac_cpp='$CPP $CPPFLAGS'
24872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24875
24876
24877 fi
24878
24879   fi
24880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24881 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24882
24883   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24884     for ac_func in fmodl
24885 do :
24886   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24887 if test "x$ac_cv_func_fmodl" = x""yes; then :
24888   cat >>confdefs.h <<_ACEOF
24889 #define HAVE_FMODL 1
24890 _ACEOF
24891
24892 fi
24893 done
24894
24895   else
24896
24897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24898 $as_echo_n "checking for _fmodl declaration... " >&6; }
24899   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24900     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24901   $as_echo_n "(cached) " >&6
24902 else
24903
24904
24905       ac_ext=cpp
24906 ac_cpp='$CXXCPP $CPPFLAGS'
24907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24910
24911       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24912 /* end confdefs.h.  */
24913 #include <math.h>
24914 int
24915 main ()
24916 {
24917  _fmodl(0, 0);
24918   ;
24919   return 0;
24920 }
24921 _ACEOF
24922 if ac_fn_cxx_try_compile "$LINENO"; then :
24923   glibcxx_cv_func__fmodl_use=yes
24924 else
24925   glibcxx_cv_func__fmodl_use=no
24926 fi
24927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24928       ac_ext=c
24929 ac_cpp='$CPP $CPPFLAGS'
24930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24933
24934
24935 fi
24936
24937   fi
24938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24939 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24940
24941     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24942       for ac_func in _fmodl
24943 do :
24944   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24945 if test "x$ac_cv_func__fmodl" = x""yes; then :
24946   cat >>confdefs.h <<_ACEOF
24947 #define HAVE__FMODL 1
24948 _ACEOF
24949
24950 fi
24951 done
24952
24953     fi
24954   fi
24955
24956
24957
24958
24959
24960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24961 $as_echo_n "checking for frexpl declaration... " >&6; }
24962   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24963     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24964   $as_echo_n "(cached) " >&6
24965 else
24966
24967
24968       ac_ext=cpp
24969 ac_cpp='$CXXCPP $CPPFLAGS'
24970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24973
24974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24975 /* end confdefs.h.  */
24976 #include <math.h>
24977 int
24978 main ()
24979 {
24980  frexpl(0, 0);
24981   ;
24982   return 0;
24983 }
24984 _ACEOF
24985 if ac_fn_cxx_try_compile "$LINENO"; then :
24986   glibcxx_cv_func_frexpl_use=yes
24987 else
24988   glibcxx_cv_func_frexpl_use=no
24989 fi
24990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24991       ac_ext=c
24992 ac_cpp='$CPP $CPPFLAGS'
24993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24996
24997
24998 fi
24999
25000   fi
25001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25002 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25003
25004   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25005     for ac_func in frexpl
25006 do :
25007   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25008 if test "x$ac_cv_func_frexpl" = x""yes; then :
25009   cat >>confdefs.h <<_ACEOF
25010 #define HAVE_FREXPL 1
25011 _ACEOF
25012
25013 fi
25014 done
25015
25016   else
25017
25018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25019 $as_echo_n "checking for _frexpl declaration... " >&6; }
25020   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25021     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25022   $as_echo_n "(cached) " >&6
25023 else
25024
25025
25026       ac_ext=cpp
25027 ac_cpp='$CXXCPP $CPPFLAGS'
25028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25031
25032       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25033 /* end confdefs.h.  */
25034 #include <math.h>
25035 int
25036 main ()
25037 {
25038  _frexpl(0, 0);
25039   ;
25040   return 0;
25041 }
25042 _ACEOF
25043 if ac_fn_cxx_try_compile "$LINENO"; then :
25044   glibcxx_cv_func__frexpl_use=yes
25045 else
25046   glibcxx_cv_func__frexpl_use=no
25047 fi
25048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25049       ac_ext=c
25050 ac_cpp='$CPP $CPPFLAGS'
25051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25054
25055
25056 fi
25057
25058   fi
25059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25060 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25061
25062     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25063       for ac_func in _frexpl
25064 do :
25065   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25066 if test "x$ac_cv_func__frexpl" = x""yes; then :
25067   cat >>confdefs.h <<_ACEOF
25068 #define HAVE__FREXPL 1
25069 _ACEOF
25070
25071 fi
25072 done
25073
25074     fi
25075   fi
25076
25077
25078
25079
25080
25081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25082 $as_echo_n "checking for hypotl declaration... " >&6; }
25083   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25084     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25085   $as_echo_n "(cached) " >&6
25086 else
25087
25088
25089       ac_ext=cpp
25090 ac_cpp='$CXXCPP $CPPFLAGS'
25091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25094
25095       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25096 /* end confdefs.h.  */
25097 #include <math.h>
25098 int
25099 main ()
25100 {
25101  hypotl(0, 0);
25102   ;
25103   return 0;
25104 }
25105 _ACEOF
25106 if ac_fn_cxx_try_compile "$LINENO"; then :
25107   glibcxx_cv_func_hypotl_use=yes
25108 else
25109   glibcxx_cv_func_hypotl_use=no
25110 fi
25111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25112       ac_ext=c
25113 ac_cpp='$CPP $CPPFLAGS'
25114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25117
25118
25119 fi
25120
25121   fi
25122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25123 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25124
25125   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25126     for ac_func in hypotl
25127 do :
25128   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25129 if test "x$ac_cv_func_hypotl" = x""yes; then :
25130   cat >>confdefs.h <<_ACEOF
25131 #define HAVE_HYPOTL 1
25132 _ACEOF
25133
25134 fi
25135 done
25136
25137   else
25138
25139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25140 $as_echo_n "checking for _hypotl declaration... " >&6; }
25141   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25142     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25143   $as_echo_n "(cached) " >&6
25144 else
25145
25146
25147       ac_ext=cpp
25148 ac_cpp='$CXXCPP $CPPFLAGS'
25149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25152
25153       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25154 /* end confdefs.h.  */
25155 #include <math.h>
25156 int
25157 main ()
25158 {
25159  _hypotl(0, 0);
25160   ;
25161   return 0;
25162 }
25163 _ACEOF
25164 if ac_fn_cxx_try_compile "$LINENO"; then :
25165   glibcxx_cv_func__hypotl_use=yes
25166 else
25167   glibcxx_cv_func__hypotl_use=no
25168 fi
25169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25170       ac_ext=c
25171 ac_cpp='$CPP $CPPFLAGS'
25172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25175
25176
25177 fi
25178
25179   fi
25180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25181 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25182
25183     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25184       for ac_func in _hypotl
25185 do :
25186   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25187 if test "x$ac_cv_func__hypotl" = x""yes; then :
25188   cat >>confdefs.h <<_ACEOF
25189 #define HAVE__HYPOTL 1
25190 _ACEOF
25191
25192 fi
25193 done
25194
25195     fi
25196   fi
25197
25198
25199
25200
25201
25202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25203 $as_echo_n "checking for ldexpl declaration... " >&6; }
25204   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25205     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25206   $as_echo_n "(cached) " >&6
25207 else
25208
25209
25210       ac_ext=cpp
25211 ac_cpp='$CXXCPP $CPPFLAGS'
25212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25215
25216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25217 /* end confdefs.h.  */
25218 #include <math.h>
25219 int
25220 main ()
25221 {
25222  ldexpl(0, 0);
25223   ;
25224   return 0;
25225 }
25226 _ACEOF
25227 if ac_fn_cxx_try_compile "$LINENO"; then :
25228   glibcxx_cv_func_ldexpl_use=yes
25229 else
25230   glibcxx_cv_func_ldexpl_use=no
25231 fi
25232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25233       ac_ext=c
25234 ac_cpp='$CPP $CPPFLAGS'
25235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25238
25239
25240 fi
25241
25242   fi
25243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25244 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25245
25246   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25247     for ac_func in ldexpl
25248 do :
25249   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25250 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25251   cat >>confdefs.h <<_ACEOF
25252 #define HAVE_LDEXPL 1
25253 _ACEOF
25254
25255 fi
25256 done
25257
25258   else
25259
25260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25261 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25262   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25263     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25264   $as_echo_n "(cached) " >&6
25265 else
25266
25267
25268       ac_ext=cpp
25269 ac_cpp='$CXXCPP $CPPFLAGS'
25270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25273
25274       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25275 /* end confdefs.h.  */
25276 #include <math.h>
25277 int
25278 main ()
25279 {
25280  _ldexpl(0, 0);
25281   ;
25282   return 0;
25283 }
25284 _ACEOF
25285 if ac_fn_cxx_try_compile "$LINENO"; then :
25286   glibcxx_cv_func__ldexpl_use=yes
25287 else
25288   glibcxx_cv_func__ldexpl_use=no
25289 fi
25290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25291       ac_ext=c
25292 ac_cpp='$CPP $CPPFLAGS'
25293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25296
25297
25298 fi
25299
25300   fi
25301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25302 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25303
25304     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25305       for ac_func in _ldexpl
25306 do :
25307   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25308 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25309   cat >>confdefs.h <<_ACEOF
25310 #define HAVE__LDEXPL 1
25311 _ACEOF
25312
25313 fi
25314 done
25315
25316     fi
25317   fi
25318
25319
25320
25321
25322
25323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25324 $as_echo_n "checking for logl declaration... " >&6; }
25325   if test x${glibcxx_cv_func_logl_use+set} != xset; then
25326     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25327   $as_echo_n "(cached) " >&6
25328 else
25329
25330
25331       ac_ext=cpp
25332 ac_cpp='$CXXCPP $CPPFLAGS'
25333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25336
25337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25338 /* end confdefs.h.  */
25339 #include <math.h>
25340                       #ifdef HAVE_IEEEFP_H
25341                       #include <ieeefp.h>
25342                       #endif
25343
25344 int
25345 main ()
25346 {
25347  logl(0);
25348   ;
25349   return 0;
25350 }
25351 _ACEOF
25352 if ac_fn_cxx_try_compile "$LINENO"; then :
25353   glibcxx_cv_func_logl_use=yes
25354 else
25355   glibcxx_cv_func_logl_use=no
25356 fi
25357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25358       ac_ext=c
25359 ac_cpp='$CPP $CPPFLAGS'
25360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25363
25364
25365 fi
25366
25367   fi
25368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25369 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25370
25371   if test x$glibcxx_cv_func_logl_use = x"yes"; then
25372     for ac_func in logl
25373 do :
25374   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25375 if test "x$ac_cv_func_logl" = x""yes; then :
25376   cat >>confdefs.h <<_ACEOF
25377 #define HAVE_LOGL 1
25378 _ACEOF
25379
25380 fi
25381 done
25382
25383   else
25384
25385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25386 $as_echo_n "checking for _logl declaration... " >&6; }
25387   if test x${glibcxx_cv_func__logl_use+set} != xset; then
25388     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25389   $as_echo_n "(cached) " >&6
25390 else
25391
25392
25393       ac_ext=cpp
25394 ac_cpp='$CXXCPP $CPPFLAGS'
25395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25398
25399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25400 /* end confdefs.h.  */
25401 #include <math.h>
25402                       #ifdef HAVE_IEEEFP_H
25403                       #include <ieeefp.h>
25404                       #endif
25405
25406 int
25407 main ()
25408 {
25409  _logl(0);
25410   ;
25411   return 0;
25412 }
25413 _ACEOF
25414 if ac_fn_cxx_try_compile "$LINENO"; then :
25415   glibcxx_cv_func__logl_use=yes
25416 else
25417   glibcxx_cv_func__logl_use=no
25418 fi
25419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25420       ac_ext=c
25421 ac_cpp='$CPP $CPPFLAGS'
25422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25425
25426
25427 fi
25428
25429   fi
25430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25431 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25432
25433     if test x$glibcxx_cv_func__logl_use = x"yes"; then
25434       for ac_func in _logl
25435 do :
25436   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25437 if test "x$ac_cv_func__logl" = x""yes; then :
25438   cat >>confdefs.h <<_ACEOF
25439 #define HAVE__LOGL 1
25440 _ACEOF
25441
25442 fi
25443 done
25444
25445     fi
25446   fi
25447
25448
25449
25450
25451
25452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25453 $as_echo_n "checking for log10l declaration... " >&6; }
25454   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25455     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25456   $as_echo_n "(cached) " >&6
25457 else
25458
25459
25460       ac_ext=cpp
25461 ac_cpp='$CXXCPP $CPPFLAGS'
25462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25465
25466       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25467 /* end confdefs.h.  */
25468 #include <math.h>
25469                       #ifdef HAVE_IEEEFP_H
25470                       #include <ieeefp.h>
25471                       #endif
25472
25473 int
25474 main ()
25475 {
25476  log10l(0);
25477   ;
25478   return 0;
25479 }
25480 _ACEOF
25481 if ac_fn_cxx_try_compile "$LINENO"; then :
25482   glibcxx_cv_func_log10l_use=yes
25483 else
25484   glibcxx_cv_func_log10l_use=no
25485 fi
25486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25487       ac_ext=c
25488 ac_cpp='$CPP $CPPFLAGS'
25489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25492
25493
25494 fi
25495
25496   fi
25497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25498 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25499
25500   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25501     for ac_func in log10l
25502 do :
25503   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25504 if test "x$ac_cv_func_log10l" = x""yes; then :
25505   cat >>confdefs.h <<_ACEOF
25506 #define HAVE_LOG10L 1
25507 _ACEOF
25508
25509 fi
25510 done
25511
25512   else
25513
25514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25515 $as_echo_n "checking for _log10l declaration... " >&6; }
25516   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25517     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25518   $as_echo_n "(cached) " >&6
25519 else
25520
25521
25522       ac_ext=cpp
25523 ac_cpp='$CXXCPP $CPPFLAGS'
25524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25527
25528       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25529 /* end confdefs.h.  */
25530 #include <math.h>
25531                       #ifdef HAVE_IEEEFP_H
25532                       #include <ieeefp.h>
25533                       #endif
25534
25535 int
25536 main ()
25537 {
25538  _log10l(0);
25539   ;
25540   return 0;
25541 }
25542 _ACEOF
25543 if ac_fn_cxx_try_compile "$LINENO"; then :
25544   glibcxx_cv_func__log10l_use=yes
25545 else
25546   glibcxx_cv_func__log10l_use=no
25547 fi
25548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25549       ac_ext=c
25550 ac_cpp='$CPP $CPPFLAGS'
25551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25554
25555
25556 fi
25557
25558   fi
25559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25560 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25561
25562     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25563       for ac_func in _log10l
25564 do :
25565   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25566 if test "x$ac_cv_func__log10l" = x""yes; then :
25567   cat >>confdefs.h <<_ACEOF
25568 #define HAVE__LOG10L 1
25569 _ACEOF
25570
25571 fi
25572 done
25573
25574     fi
25575   fi
25576
25577
25578
25579
25580
25581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25582 $as_echo_n "checking for modfl declaration... " >&6; }
25583   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25584     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25585   $as_echo_n "(cached) " >&6
25586 else
25587
25588
25589       ac_ext=cpp
25590 ac_cpp='$CXXCPP $CPPFLAGS'
25591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25594
25595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25596 /* end confdefs.h.  */
25597 #include <math.h>
25598 int
25599 main ()
25600 {
25601  modfl(0, 0);
25602   ;
25603   return 0;
25604 }
25605 _ACEOF
25606 if ac_fn_cxx_try_compile "$LINENO"; then :
25607   glibcxx_cv_func_modfl_use=yes
25608 else
25609   glibcxx_cv_func_modfl_use=no
25610 fi
25611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25612       ac_ext=c
25613 ac_cpp='$CPP $CPPFLAGS'
25614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25617
25618
25619 fi
25620
25621   fi
25622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25623 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25624
25625   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25626     for ac_func in modfl
25627 do :
25628   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25629 if test "x$ac_cv_func_modfl" = x""yes; then :
25630   cat >>confdefs.h <<_ACEOF
25631 #define HAVE_MODFL 1
25632 _ACEOF
25633
25634 fi
25635 done
25636
25637   else
25638
25639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25640 $as_echo_n "checking for _modfl declaration... " >&6; }
25641   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25642     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25643   $as_echo_n "(cached) " >&6
25644 else
25645
25646
25647       ac_ext=cpp
25648 ac_cpp='$CXXCPP $CPPFLAGS'
25649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25652
25653       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25654 /* end confdefs.h.  */
25655 #include <math.h>
25656 int
25657 main ()
25658 {
25659  _modfl(0, 0);
25660   ;
25661   return 0;
25662 }
25663 _ACEOF
25664 if ac_fn_cxx_try_compile "$LINENO"; then :
25665   glibcxx_cv_func__modfl_use=yes
25666 else
25667   glibcxx_cv_func__modfl_use=no
25668 fi
25669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25670       ac_ext=c
25671 ac_cpp='$CPP $CPPFLAGS'
25672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25675
25676
25677 fi
25678
25679   fi
25680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25681 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25682
25683     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25684       for ac_func in _modfl
25685 do :
25686   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25687 if test "x$ac_cv_func__modfl" = x""yes; then :
25688   cat >>confdefs.h <<_ACEOF
25689 #define HAVE__MODFL 1
25690 _ACEOF
25691
25692 fi
25693 done
25694
25695     fi
25696   fi
25697
25698
25699
25700
25701
25702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25703 $as_echo_n "checking for powl declaration... " >&6; }
25704   if test x${glibcxx_cv_func_powl_use+set} != xset; then
25705     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25706   $as_echo_n "(cached) " >&6
25707 else
25708
25709
25710       ac_ext=cpp
25711 ac_cpp='$CXXCPP $CPPFLAGS'
25712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25715
25716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25717 /* end confdefs.h.  */
25718 #include <math.h>
25719 int
25720 main ()
25721 {
25722  powl(0, 0);
25723   ;
25724   return 0;
25725 }
25726 _ACEOF
25727 if ac_fn_cxx_try_compile "$LINENO"; then :
25728   glibcxx_cv_func_powl_use=yes
25729 else
25730   glibcxx_cv_func_powl_use=no
25731 fi
25732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25733       ac_ext=c
25734 ac_cpp='$CPP $CPPFLAGS'
25735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25738
25739
25740 fi
25741
25742   fi
25743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25744 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25745
25746   if test x$glibcxx_cv_func_powl_use = x"yes"; then
25747     for ac_func in powl
25748 do :
25749   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25750 if test "x$ac_cv_func_powl" = x""yes; then :
25751   cat >>confdefs.h <<_ACEOF
25752 #define HAVE_POWL 1
25753 _ACEOF
25754
25755 fi
25756 done
25757
25758   else
25759
25760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25761 $as_echo_n "checking for _powl declaration... " >&6; }
25762   if test x${glibcxx_cv_func__powl_use+set} != xset; then
25763     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25764   $as_echo_n "(cached) " >&6
25765 else
25766
25767
25768       ac_ext=cpp
25769 ac_cpp='$CXXCPP $CPPFLAGS'
25770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25773
25774       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25775 /* end confdefs.h.  */
25776 #include <math.h>
25777 int
25778 main ()
25779 {
25780  _powl(0, 0);
25781   ;
25782   return 0;
25783 }
25784 _ACEOF
25785 if ac_fn_cxx_try_compile "$LINENO"; then :
25786   glibcxx_cv_func__powl_use=yes
25787 else
25788   glibcxx_cv_func__powl_use=no
25789 fi
25790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25791       ac_ext=c
25792 ac_cpp='$CPP $CPPFLAGS'
25793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25796
25797
25798 fi
25799
25800   fi
25801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25802 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25803
25804     if test x$glibcxx_cv_func__powl_use = x"yes"; then
25805       for ac_func in _powl
25806 do :
25807   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25808 if test "x$ac_cv_func__powl" = x""yes; then :
25809   cat >>confdefs.h <<_ACEOF
25810 #define HAVE__POWL 1
25811 _ACEOF
25812
25813 fi
25814 done
25815
25816     fi
25817   fi
25818
25819
25820
25821
25822
25823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25824 $as_echo_n "checking for sqrtl declaration... " >&6; }
25825   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25826     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25827   $as_echo_n "(cached) " >&6
25828 else
25829
25830
25831       ac_ext=cpp
25832 ac_cpp='$CXXCPP $CPPFLAGS'
25833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25836
25837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25838 /* end confdefs.h.  */
25839 #include <math.h>
25840                       #ifdef HAVE_IEEEFP_H
25841                       #include <ieeefp.h>
25842                       #endif
25843
25844 int
25845 main ()
25846 {
25847  sqrtl(0);
25848   ;
25849   return 0;
25850 }
25851 _ACEOF
25852 if ac_fn_cxx_try_compile "$LINENO"; then :
25853   glibcxx_cv_func_sqrtl_use=yes
25854 else
25855   glibcxx_cv_func_sqrtl_use=no
25856 fi
25857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25858       ac_ext=c
25859 ac_cpp='$CPP $CPPFLAGS'
25860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25863
25864
25865 fi
25866
25867   fi
25868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25869 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25870
25871   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25872     for ac_func in sqrtl
25873 do :
25874   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25875 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25876   cat >>confdefs.h <<_ACEOF
25877 #define HAVE_SQRTL 1
25878 _ACEOF
25879
25880 fi
25881 done
25882
25883   else
25884
25885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25886 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25887   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25888     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25889   $as_echo_n "(cached) " >&6
25890 else
25891
25892
25893       ac_ext=cpp
25894 ac_cpp='$CXXCPP $CPPFLAGS'
25895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25898
25899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25900 /* end confdefs.h.  */
25901 #include <math.h>
25902                       #ifdef HAVE_IEEEFP_H
25903                       #include <ieeefp.h>
25904                       #endif
25905
25906 int
25907 main ()
25908 {
25909  _sqrtl(0);
25910   ;
25911   return 0;
25912 }
25913 _ACEOF
25914 if ac_fn_cxx_try_compile "$LINENO"; then :
25915   glibcxx_cv_func__sqrtl_use=yes
25916 else
25917   glibcxx_cv_func__sqrtl_use=no
25918 fi
25919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25920       ac_ext=c
25921 ac_cpp='$CPP $CPPFLAGS'
25922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25925
25926
25927 fi
25928
25929   fi
25930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25931 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25932
25933     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25934       for ac_func in _sqrtl
25935 do :
25936   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25937 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25938   cat >>confdefs.h <<_ACEOF
25939 #define HAVE__SQRTL 1
25940 _ACEOF
25941
25942 fi
25943 done
25944
25945     fi
25946   fi
25947
25948
25949
25950
25951
25952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25953 $as_echo_n "checking for sincosl declaration... " >&6; }
25954   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25955     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25956   $as_echo_n "(cached) " >&6
25957 else
25958
25959
25960       ac_ext=cpp
25961 ac_cpp='$CXXCPP $CPPFLAGS'
25962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25965
25966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25967 /* end confdefs.h.  */
25968 #include <math.h>
25969 int
25970 main ()
25971 {
25972  sincosl(0, 0, 0);
25973   ;
25974   return 0;
25975 }
25976 _ACEOF
25977 if ac_fn_cxx_try_compile "$LINENO"; then :
25978   glibcxx_cv_func_sincosl_use=yes
25979 else
25980   glibcxx_cv_func_sincosl_use=no
25981 fi
25982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25983       ac_ext=c
25984 ac_cpp='$CPP $CPPFLAGS'
25985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25988
25989
25990 fi
25991
25992   fi
25993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25994 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25995
25996   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25997     for ac_func in sincosl
25998 do :
25999   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26000 if test "x$ac_cv_func_sincosl" = x""yes; then :
26001   cat >>confdefs.h <<_ACEOF
26002 #define HAVE_SINCOSL 1
26003 _ACEOF
26004
26005 fi
26006 done
26007
26008   else
26009
26010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26011 $as_echo_n "checking for _sincosl declaration... " >&6; }
26012   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26013     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26014   $as_echo_n "(cached) " >&6
26015 else
26016
26017
26018       ac_ext=cpp
26019 ac_cpp='$CXXCPP $CPPFLAGS'
26020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26023
26024       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26025 /* end confdefs.h.  */
26026 #include <math.h>
26027 int
26028 main ()
26029 {
26030  _sincosl(0, 0, 0);
26031   ;
26032   return 0;
26033 }
26034 _ACEOF
26035 if ac_fn_cxx_try_compile "$LINENO"; then :
26036   glibcxx_cv_func__sincosl_use=yes
26037 else
26038   glibcxx_cv_func__sincosl_use=no
26039 fi
26040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26041       ac_ext=c
26042 ac_cpp='$CPP $CPPFLAGS'
26043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26046
26047
26048 fi
26049
26050   fi
26051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26052 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26053
26054     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26055       for ac_func in _sincosl
26056 do :
26057   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26058 if test "x$ac_cv_func__sincosl" = x""yes; then :
26059   cat >>confdefs.h <<_ACEOF
26060 #define HAVE__SINCOSL 1
26061 _ACEOF
26062
26063 fi
26064 done
26065
26066     fi
26067   fi
26068
26069
26070
26071
26072
26073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26074 $as_echo_n "checking for finitel declaration... " >&6; }
26075   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26076     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26077   $as_echo_n "(cached) " >&6
26078 else
26079
26080
26081       ac_ext=cpp
26082 ac_cpp='$CXXCPP $CPPFLAGS'
26083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26086
26087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26088 /* end confdefs.h.  */
26089 #include <math.h>
26090                       #ifdef HAVE_IEEEFP_H
26091                       #include <ieeefp.h>
26092                       #endif
26093
26094 int
26095 main ()
26096 {
26097  finitel(0);
26098   ;
26099   return 0;
26100 }
26101 _ACEOF
26102 if ac_fn_cxx_try_compile "$LINENO"; then :
26103   glibcxx_cv_func_finitel_use=yes
26104 else
26105   glibcxx_cv_func_finitel_use=no
26106 fi
26107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26108       ac_ext=c
26109 ac_cpp='$CPP $CPPFLAGS'
26110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26113
26114
26115 fi
26116
26117   fi
26118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26119 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26120
26121   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26122     for ac_func in finitel
26123 do :
26124   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26125 if test "x$ac_cv_func_finitel" = x""yes; then :
26126   cat >>confdefs.h <<_ACEOF
26127 #define HAVE_FINITEL 1
26128 _ACEOF
26129
26130 fi
26131 done
26132
26133   else
26134
26135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26136 $as_echo_n "checking for _finitel declaration... " >&6; }
26137   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26138     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26139   $as_echo_n "(cached) " >&6
26140 else
26141
26142
26143       ac_ext=cpp
26144 ac_cpp='$CXXCPP $CPPFLAGS'
26145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26148
26149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26150 /* end confdefs.h.  */
26151 #include <math.h>
26152                       #ifdef HAVE_IEEEFP_H
26153                       #include <ieeefp.h>
26154                       #endif
26155
26156 int
26157 main ()
26158 {
26159  _finitel(0);
26160   ;
26161   return 0;
26162 }
26163 _ACEOF
26164 if ac_fn_cxx_try_compile "$LINENO"; then :
26165   glibcxx_cv_func__finitel_use=yes
26166 else
26167   glibcxx_cv_func__finitel_use=no
26168 fi
26169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26170       ac_ext=c
26171 ac_cpp='$CPP $CPPFLAGS'
26172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26175
26176
26177 fi
26178
26179   fi
26180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26181 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26182
26183     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26184       for ac_func in _finitel
26185 do :
26186   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26187 if test "x$ac_cv_func__finitel" = x""yes; then :
26188   cat >>confdefs.h <<_ACEOF
26189 #define HAVE__FINITEL 1
26190 _ACEOF
26191
26192 fi
26193 done
26194
26195     fi
26196   fi
26197
26198
26199
26200
26201   LIBS="$ac_save_LIBS"
26202   CXXFLAGS="$ac_save_CXXFLAGS"
26203
26204
26205   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26206   ac_save_CXXFLAGS="$CXXFLAGS"
26207   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26208
26209
26210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26211 $as_echo_n "checking for strtold declaration... " >&6; }
26212   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26213     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26214   $as_echo_n "(cached) " >&6
26215 else
26216
26217
26218       ac_ext=cpp
26219 ac_cpp='$CXXCPP $CPPFLAGS'
26220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26223
26224       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26225 /* end confdefs.h.  */
26226 #include <stdlib.h>
26227 int
26228 main ()
26229 {
26230  strtold(0, 0);
26231   ;
26232   return 0;
26233 }
26234 _ACEOF
26235 if ac_fn_cxx_try_compile "$LINENO"; then :
26236   glibcxx_cv_func_strtold_use=yes
26237 else
26238   glibcxx_cv_func_strtold_use=no
26239 fi
26240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26241       ac_ext=c
26242 ac_cpp='$CPP $CPPFLAGS'
26243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26246
26247
26248 fi
26249
26250   fi
26251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26252 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26253   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26254     for ac_func in strtold
26255 do :
26256   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26257 if test "x$ac_cv_func_strtold" = x""yes; then :
26258   cat >>confdefs.h <<_ACEOF
26259 #define HAVE_STRTOLD 1
26260 _ACEOF
26261
26262 fi
26263 done
26264
26265   fi
26266
26267
26268
26269
26270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26271 $as_echo_n "checking for strtof declaration... " >&6; }
26272   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26273     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26274   $as_echo_n "(cached) " >&6
26275 else
26276
26277
26278       ac_ext=cpp
26279 ac_cpp='$CXXCPP $CPPFLAGS'
26280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26283
26284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26285 /* end confdefs.h.  */
26286 #include <stdlib.h>
26287 int
26288 main ()
26289 {
26290  strtof(0, 0);
26291   ;
26292   return 0;
26293 }
26294 _ACEOF
26295 if ac_fn_cxx_try_compile "$LINENO"; then :
26296   glibcxx_cv_func_strtof_use=yes
26297 else
26298   glibcxx_cv_func_strtof_use=no
26299 fi
26300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26301       ac_ext=c
26302 ac_cpp='$CPP $CPPFLAGS'
26303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26306
26307
26308 fi
26309
26310   fi
26311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26312 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26313   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26314     for ac_func in strtof
26315 do :
26316   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26317 if test "x$ac_cv_func_strtof" = x""yes; then :
26318   cat >>confdefs.h <<_ACEOF
26319 #define HAVE_STRTOF 1
26320 _ACEOF
26321
26322 fi
26323 done
26324
26325   fi
26326
26327
26328
26329
26330   CXXFLAGS="$ac_save_CXXFLAGS"
26331
26332
26333   # For /dev/random and /dev/urandom for TR1.
26334
26335
26336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26337 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26338   if test "${glibcxx_cv_random_tr1+set}" = set; then :
26339   $as_echo_n "(cached) " >&6
26340 else
26341
26342     if test -r /dev/random && test -r /dev/urandom; then
26343       glibcxx_cv_random_tr1=yes;
26344     else
26345       glibcxx_cv_random_tr1=no;
26346     fi
26347
26348 fi
26349
26350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26351 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26352
26353   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26354
26355 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26356
26357   fi
26358
26359
26360
26361   # For TLS support.
26362
26363
26364    # Check whether --enable-tls was given.
26365 if test "${enable_tls+set}" = set; then :
26366   enableval=$enable_tls;
26367       case "$enableval" in
26368        yes|no) ;;
26369        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26370       esac
26371
26372 else
26373   enable_tls=yes
26374 fi
26375
26376
26377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26378 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26379 if test "${gcc_cv_have_tls+set}" = set; then :
26380   $as_echo_n "(cached) " >&6
26381 else
26382
26383     if test "$cross_compiling" = yes; then :
26384                 if test x$gcc_no_link = xyes; then
26385   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26386 fi
26387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26388 /* end confdefs.h.  */
26389 __thread int a; int b; int main() { return a = b; }
26390 _ACEOF
26391 if ac_fn_c_try_link "$LINENO"; then :
26392   chktls_save_LDFLAGS="$LDFLAGS"
26393                           case $host in
26394             *-*-linux*)
26395               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26396               ;;
26397           esac
26398           chktls_save_CFLAGS="$CFLAGS"
26399           CFLAGS="-fPIC $CFLAGS"
26400                   if test x$gcc_no_link = xyes; then
26401   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26402 fi
26403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26404 /* end confdefs.h.  */
26405 int f() { return 0; }
26406 _ACEOF
26407 if ac_fn_c_try_link "$LINENO"; then :
26408   if test x$gcc_no_link = xyes; then
26409   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26410 fi
26411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26412 /* end confdefs.h.  */
26413 __thread int a; int b; int f() { return a = b; }
26414 _ACEOF
26415 if ac_fn_c_try_link "$LINENO"; then :
26416   gcc_cv_have_tls=yes
26417 else
26418   gcc_cv_have_tls=no
26419 fi
26420 rm -f core conftest.err conftest.$ac_objext \
26421     conftest$ac_exeext conftest.$ac_ext
26422 else
26423   gcc_cv_have_tls=yes
26424 fi
26425 rm -f core conftest.err conftest.$ac_objext \
26426     conftest$ac_exeext conftest.$ac_ext
26427           CFLAGS="$chktls_save_CFLAGS"
26428           LDFLAGS="$chktls_save_LDFLAGS"
26429 else
26430   gcc_cv_have_tls=no
26431 fi
26432 rm -f core conftest.err conftest.$ac_objext \
26433     conftest$ac_exeext conftest.$ac_ext
26434
26435
26436 else
26437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26438 /* end confdefs.h.  */
26439 __thread int a; int b; int main() { return a = b; }
26440 _ACEOF
26441 if ac_fn_c_try_run "$LINENO"; then :
26442                       chktls_save_LDFLAGS="$LDFLAGS"
26443       LDFLAGS="-static $LDFLAGS"
26444       if test x$gcc_no_link = xyes; then
26445   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26446 fi
26447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26448 /* end confdefs.h.  */
26449 int main() { return 0; }
26450 _ACEOF
26451 if ac_fn_c_try_link "$LINENO"; then :
26452   if test "$cross_compiling" = yes; then :
26453   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26455 as_fn_error "cannot run test program while cross compiling
26456 See \`config.log' for more details." "$LINENO" 5; }
26457 else
26458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26459 /* end confdefs.h.  */
26460 __thread int a; int b; int main() { return a = b; }
26461 _ACEOF
26462 if ac_fn_c_try_run "$LINENO"; then :
26463   gcc_cv_have_tls=yes
26464 else
26465   gcc_cv_have_tls=no
26466 fi
26467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26468   conftest.$ac_objext conftest.beam conftest.$ac_ext
26469 fi
26470
26471 else
26472   gcc_cv_have_tls=yes
26473 fi
26474 rm -f core conftest.err conftest.$ac_objext \
26475     conftest$ac_exeext conftest.$ac_ext
26476       LDFLAGS="$chktls_save_LDFLAGS"
26477       if test $gcc_cv_have_tls = yes; then
26478                                                 chktls_save_CFLAGS="$CFLAGS"
26479         thread_CFLAGS=failed
26480         for flag in '' '-pthread' '-lpthread'; do
26481           CFLAGS="$flag $chktls_save_CFLAGS"
26482           if test x$gcc_no_link = xyes; then
26483   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26484 fi
26485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26486 /* end confdefs.h.  */
26487 #include <pthread.h>
26488                 void *g(void *d) { return NULL; }
26489 int
26490 main ()
26491 {
26492 pthread_t t; pthread_create(&t,NULL,g,NULL);
26493   ;
26494   return 0;
26495 }
26496 _ACEOF
26497 if ac_fn_c_try_link "$LINENO"; then :
26498   thread_CFLAGS="$flag"
26499 fi
26500 rm -f core conftest.err conftest.$ac_objext \
26501     conftest$ac_exeext conftest.$ac_ext
26502           if test "X$thread_CFLAGS" != Xfailed; then
26503             break
26504           fi
26505         done
26506         CFLAGS="$chktls_save_CFLAGS"
26507         if test "X$thread_CFLAGS" != Xfailed; then
26508           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26509                                                   if test "$cross_compiling" = yes; then :
26510   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26512 as_fn_error "cannot run test program while cross compiling
26513 See \`config.log' for more details." "$LINENO" 5; }
26514 else
26515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26516 /* end confdefs.h.  */
26517 #include <pthread.h>
26518                 __thread int a;
26519                 static int *volatile a_in_other_thread;
26520                 static void *
26521                 thread_func (void *arg)
26522                 {
26523                   a_in_other_thread = &a;
26524                   return (void *)0;
26525                 }
26526 int
26527 main ()
26528 {
26529 pthread_t thread;
26530                 void *thread_retval;
26531                 int *volatile a_in_main_thread;
26532                 a_in_main_thread = &a;
26533                 if (pthread_create (&thread, (pthread_attr_t *)0,
26534                                     thread_func, (void *)0))
26535                   return 0;
26536                 if (pthread_join (thread, &thread_retval))
26537                   return 0;
26538                 return (a_in_other_thread == a_in_main_thread);
26539   ;
26540   return 0;
26541 }
26542 _ACEOF
26543 if ac_fn_c_try_run "$LINENO"; then :
26544   gcc_cv_have_tls=yes
26545 else
26546   gcc_cv_have_tls=no
26547 fi
26548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26549   conftest.$ac_objext conftest.beam conftest.$ac_ext
26550 fi
26551
26552           CFLAGS="$chktls_save_CFLAGS"
26553         fi
26554       fi
26555 else
26556   gcc_cv_have_tls=no
26557 fi
26558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26559   conftest.$ac_objext conftest.beam conftest.$ac_ext
26560 fi
26561
26562 fi
26563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26564 $as_echo "$gcc_cv_have_tls" >&6; }
26565   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26566
26567 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26568
26569   fi
26570
26571   # For iconv support.
26572
26573       if test "X$prefix" = "XNONE"; then
26574     acl_final_prefix="$ac_default_prefix"
26575   else
26576     acl_final_prefix="$prefix"
26577   fi
26578   if test "X$exec_prefix" = "XNONE"; then
26579     acl_final_exec_prefix='${prefix}'
26580   else
26581     acl_final_exec_prefix="$exec_prefix"
26582   fi
26583   acl_save_prefix="$prefix"
26584   prefix="$acl_final_prefix"
26585   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26586   prefix="$acl_save_prefix"
26587
26588
26589 # Check whether --with-gnu-ld was given.
26590 if test "${with_gnu_ld+set}" = set; then :
26591   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26592 else
26593   with_gnu_ld=no
26594 fi
26595
26596 # Prepare PATH_SEPARATOR.
26597 # The user is always right.
26598 if test "${PATH_SEPARATOR+set}" != set; then
26599   echo "#! /bin/sh" >conf$$.sh
26600   echo  "exit 0"   >>conf$$.sh
26601   chmod +x conf$$.sh
26602   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26603     PATH_SEPARATOR=';'
26604   else
26605     PATH_SEPARATOR=:
26606   fi
26607   rm -f conf$$.sh
26608 fi
26609 ac_prog=ld
26610 if test "$GCC" = yes; then
26611   # Check if gcc -print-prog-name=ld gives a path.
26612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26613 $as_echo_n "checking for ld used by GCC... " >&6; }
26614   case $host in
26615   *-*-mingw*)
26616     # gcc leaves a trailing carriage return which upsets mingw
26617     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26618   *)
26619     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26620   esac
26621   case $ac_prog in
26622     # Accept absolute paths.
26623     [\\/]* | [A-Za-z]:[\\/]*)
26624       re_direlt='/[^/][^/]*/\.\./'
26625       # Canonicalize the path of ld
26626       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26627       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26628         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26629       done
26630       test -z "$LD" && LD="$ac_prog"
26631       ;;
26632   "")
26633     # If it fails, then pretend we aren't using GCC.
26634     ac_prog=ld
26635     ;;
26636   *)
26637     # If it is relative, then search for the first ld in PATH.
26638     with_gnu_ld=unknown
26639     ;;
26640   esac
26641 elif test "$with_gnu_ld" = yes; then
26642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26643 $as_echo_n "checking for GNU ld... " >&6; }
26644 else
26645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26646 $as_echo_n "checking for non-GNU ld... " >&6; }
26647 fi
26648 if test "${acl_cv_path_LD+set}" = set; then :
26649   $as_echo_n "(cached) " >&6
26650 else
26651   if test -z "$LD"; then
26652   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26653   for ac_dir in $PATH; do
26654     test -z "$ac_dir" && ac_dir=.
26655     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26656       acl_cv_path_LD="$ac_dir/$ac_prog"
26657       # Check to see if the program is GNU ld.  I'd rather use --version,
26658       # but apparently some GNU ld's only accept -v.
26659       # Break only if it was the GNU/non-GNU ld that we prefer.
26660       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26661         test "$with_gnu_ld" != no && break
26662       else
26663         test "$with_gnu_ld" != yes && break
26664       fi
26665     fi
26666   done
26667   IFS="$ac_save_ifs"
26668 else
26669   acl_cv_path_LD="$LD" # Let the user override the test with a path.
26670 fi
26671 fi
26672
26673 LD="$acl_cv_path_LD"
26674 if test -n "$LD"; then
26675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26676 $as_echo "$LD" >&6; }
26677 else
26678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26679 $as_echo "no" >&6; }
26680 fi
26681 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26683 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26684 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26685   $as_echo_n "(cached) " >&6
26686 else
26687   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26688 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26689   acl_cv_prog_gnu_ld=yes
26690 else
26691   acl_cv_prog_gnu_ld=no
26692 fi
26693 fi
26694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26695 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26696 with_gnu_ld=$acl_cv_prog_gnu_ld
26697
26698
26699
26700                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26701 $as_echo_n "checking for shared library run path origin... " >&6; }
26702 if test "${acl_cv_rpath+set}" = set; then :
26703   $as_echo_n "(cached) " >&6
26704 else
26705
26706     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26707     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26708     . ./conftest.sh
26709     rm -f ./conftest.sh
26710     acl_cv_rpath=done
26711
26712 fi
26713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26714 $as_echo "$acl_cv_rpath" >&6; }
26715   wl="$acl_cv_wl"
26716   libext="$acl_cv_libext"
26717   shlibext="$acl_cv_shlibext"
26718   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26719   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26720   hardcode_direct="$acl_cv_hardcode_direct"
26721   hardcode_minus_L="$acl_cv_hardcode_minus_L"
26722     # Check whether --enable-rpath was given.
26723 if test "${enable_rpath+set}" = set; then :
26724   enableval=$enable_rpath; :
26725 else
26726   enable_rpath=yes
26727 fi
26728
26729
26730
26731
26732
26733
26734
26735
26736     use_additional=yes
26737
26738   acl_save_prefix="$prefix"
26739   prefix="$acl_final_prefix"
26740   acl_save_exec_prefix="$exec_prefix"
26741   exec_prefix="$acl_final_exec_prefix"
26742
26743     eval additional_includedir=\"$includedir\"
26744     eval additional_libdir=\"$libdir\"
26745
26746   exec_prefix="$acl_save_exec_prefix"
26747   prefix="$acl_save_prefix"
26748
26749
26750 # Check whether --with-libiconv-prefix was given.
26751 if test "${with_libiconv_prefix+set}" = set; then :
26752   withval=$with_libiconv_prefix;
26753     if test "X$withval" = "Xno"; then
26754       use_additional=no
26755     else
26756       if test "X$withval" = "X"; then
26757
26758   acl_save_prefix="$prefix"
26759   prefix="$acl_final_prefix"
26760   acl_save_exec_prefix="$exec_prefix"
26761   exec_prefix="$acl_final_exec_prefix"
26762
26763           eval additional_includedir=\"$includedir\"
26764           eval additional_libdir=\"$libdir\"
26765
26766   exec_prefix="$acl_save_exec_prefix"
26767   prefix="$acl_save_prefix"
26768
26769       else
26770         additional_includedir="$withval/include"
26771         additional_libdir="$withval/lib"
26772       fi
26773     fi
26774
26775 fi
26776
26777       LIBICONV=
26778   LTLIBICONV=
26779   INCICONV=
26780   rpathdirs=
26781   ltrpathdirs=
26782   names_already_handled=
26783   names_next_round='iconv '
26784   while test -n "$names_next_round"; do
26785     names_this_round="$names_next_round"
26786     names_next_round=
26787     for name in $names_this_round; do
26788       already_handled=
26789       for n in $names_already_handled; do
26790         if test "$n" = "$name"; then
26791           already_handled=yes
26792           break
26793         fi
26794       done
26795       if test -z "$already_handled"; then
26796         names_already_handled="$names_already_handled $name"
26797                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26798         eval value=\"\$HAVE_LIB$uppername\"
26799         if test -n "$value"; then
26800           if test "$value" = yes; then
26801             eval value=\"\$LIB$uppername\"
26802             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26803             eval value=\"\$LTLIB$uppername\"
26804             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26805           else
26806                                     :
26807           fi
26808         else
26809                               found_dir=
26810           found_la=
26811           found_so=
26812           found_a=
26813           if test $use_additional = yes; then
26814             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26815               found_dir="$additional_libdir"
26816               found_so="$additional_libdir/lib$name.$shlibext"
26817               if test -f "$additional_libdir/lib$name.la"; then
26818                 found_la="$additional_libdir/lib$name.la"
26819               fi
26820             else
26821               if test -f "$additional_libdir/lib$name.$libext"; then
26822                 found_dir="$additional_libdir"
26823                 found_a="$additional_libdir/lib$name.$libext"
26824                 if test -f "$additional_libdir/lib$name.la"; then
26825                   found_la="$additional_libdir/lib$name.la"
26826                 fi
26827               fi
26828             fi
26829           fi
26830           if test "X$found_dir" = "X"; then
26831             for x in $LDFLAGS $LTLIBICONV; do
26832
26833   acl_save_prefix="$prefix"
26834   prefix="$acl_final_prefix"
26835   acl_save_exec_prefix="$exec_prefix"
26836   exec_prefix="$acl_final_exec_prefix"
26837   eval x=\"$x\"
26838   exec_prefix="$acl_save_exec_prefix"
26839   prefix="$acl_save_prefix"
26840
26841               case "$x" in
26842                 -L*)
26843                   dir=`echo "X$x" | sed -e 's/^X-L//'`
26844                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26845                     found_dir="$dir"
26846                     found_so="$dir/lib$name.$shlibext"
26847                     if test -f "$dir/lib$name.la"; then
26848                       found_la="$dir/lib$name.la"
26849                     fi
26850                   else
26851                     if test -f "$dir/lib$name.$libext"; then
26852                       found_dir="$dir"
26853                       found_a="$dir/lib$name.$libext"
26854                       if test -f "$dir/lib$name.la"; then
26855                         found_la="$dir/lib$name.la"
26856                       fi
26857                     fi
26858                   fi
26859                   ;;
26860               esac
26861               if test "X$found_dir" != "X"; then
26862                 break
26863               fi
26864             done
26865           fi
26866           if test "X$found_dir" != "X"; then
26867                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26868             if test "X$found_so" != "X"; then
26869                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26870                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26871               else
26872                                                                                 haveit=
26873                 for x in $ltrpathdirs; do
26874                   if test "X$x" = "X$found_dir"; then
26875                     haveit=yes
26876                     break
26877                   fi
26878                 done
26879                 if test -z "$haveit"; then
26880                   ltrpathdirs="$ltrpathdirs $found_dir"
26881                 fi
26882                                 if test "$hardcode_direct" = yes; then
26883                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26884                 else
26885                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26886                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26887                                                             haveit=
26888                     for x in $rpathdirs; do
26889                       if test "X$x" = "X$found_dir"; then
26890                         haveit=yes
26891                         break
26892                       fi
26893                     done
26894                     if test -z "$haveit"; then
26895                       rpathdirs="$rpathdirs $found_dir"
26896                     fi
26897                   else
26898                                                                                 haveit=
26899                     for x in $LDFLAGS $LIBICONV; do
26900
26901   acl_save_prefix="$prefix"
26902   prefix="$acl_final_prefix"
26903   acl_save_exec_prefix="$exec_prefix"
26904   exec_prefix="$acl_final_exec_prefix"
26905   eval x=\"$x\"
26906   exec_prefix="$acl_save_exec_prefix"
26907   prefix="$acl_save_prefix"
26908
26909                       if test "X$x" = "X-L$found_dir"; then
26910                         haveit=yes
26911                         break
26912                       fi
26913                     done
26914                     if test -z "$haveit"; then
26915                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26916                     fi
26917                     if test "$hardcode_minus_L" != no; then
26918                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26919                     else
26920                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26921                     fi
26922                   fi
26923                 fi
26924               fi
26925             else
26926               if test "X$found_a" != "X"; then
26927                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26928               else
26929                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26930               fi
26931             fi
26932                         additional_includedir=
26933             case "$found_dir" in
26934               */lib | */lib/)
26935                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26936                 additional_includedir="$basedir/include"
26937                 ;;
26938             esac
26939             if test "X$additional_includedir" != "X"; then
26940                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
26941                 haveit=
26942                 if test "X$additional_includedir" = "X/usr/local/include"; then
26943                   if test -n "$GCC"; then
26944                     case $host_os in
26945                       linux*) haveit=yes;;
26946                     esac
26947                   fi
26948                 fi
26949                 if test -z "$haveit"; then
26950                   for x in $CPPFLAGS $INCICONV; do
26951
26952   acl_save_prefix="$prefix"
26953   prefix="$acl_final_prefix"
26954   acl_save_exec_prefix="$exec_prefix"
26955   exec_prefix="$acl_final_exec_prefix"
26956   eval x=\"$x\"
26957   exec_prefix="$acl_save_exec_prefix"
26958   prefix="$acl_save_prefix"
26959
26960                     if test "X$x" = "X-I$additional_includedir"; then
26961                       haveit=yes
26962                       break
26963                     fi
26964                   done
26965                   if test -z "$haveit"; then
26966                     if test -d "$additional_includedir"; then
26967                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26968                     fi
26969                   fi
26970                 fi
26971               fi
26972             fi
26973                         if test -n "$found_la"; then
26974                                                         save_libdir="$libdir"
26975               case "$found_la" in
26976                 */* | *\\*) . "$found_la" ;;
26977                 *) . "./$found_la" ;;
26978               esac
26979               libdir="$save_libdir"
26980                             for dep in $dependency_libs; do
26981                 case "$dep" in
26982                   -L*)
26983                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26984                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
26985                       haveit=
26986                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26987                         if test -n "$GCC"; then
26988                           case $host_os in
26989                             linux*) haveit=yes;;
26990                           esac
26991                         fi
26992                       fi
26993                       if test -z "$haveit"; then
26994                         haveit=
26995                         for x in $LDFLAGS $LIBICONV; do
26996
26997   acl_save_prefix="$prefix"
26998   prefix="$acl_final_prefix"
26999   acl_save_exec_prefix="$exec_prefix"
27000   exec_prefix="$acl_final_exec_prefix"
27001   eval x=\"$x\"
27002   exec_prefix="$acl_save_exec_prefix"
27003   prefix="$acl_save_prefix"
27004
27005                           if test "X$x" = "X-L$additional_libdir"; then
27006                             haveit=yes
27007                             break
27008                           fi
27009                         done
27010                         if test -z "$haveit"; then
27011                           if test -d "$additional_libdir"; then
27012                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27013                           fi
27014                         fi
27015                         haveit=
27016                         for x in $LDFLAGS $LTLIBICONV; do
27017
27018   acl_save_prefix="$prefix"
27019   prefix="$acl_final_prefix"
27020   acl_save_exec_prefix="$exec_prefix"
27021   exec_prefix="$acl_final_exec_prefix"
27022   eval x=\"$x\"
27023   exec_prefix="$acl_save_exec_prefix"
27024   prefix="$acl_save_prefix"
27025
27026                           if test "X$x" = "X-L$additional_libdir"; then
27027                             haveit=yes
27028                             break
27029                           fi
27030                         done
27031                         if test -z "$haveit"; then
27032                           if test -d "$additional_libdir"; then
27033                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27034                           fi
27035                         fi
27036                       fi
27037                     fi
27038                     ;;
27039                   -R*)
27040                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
27041                     if test "$enable_rpath" != no; then
27042                                                                   haveit=
27043                       for x in $rpathdirs; do
27044                         if test "X$x" = "X$dir"; then
27045                           haveit=yes
27046                           break
27047                         fi
27048                       done
27049                       if test -z "$haveit"; then
27050                         rpathdirs="$rpathdirs $dir"
27051                       fi
27052                                                                   haveit=
27053                       for x in $ltrpathdirs; do
27054                         if test "X$x" = "X$dir"; then
27055                           haveit=yes
27056                           break
27057                         fi
27058                       done
27059                       if test -z "$haveit"; then
27060                         ltrpathdirs="$ltrpathdirs $dir"
27061                       fi
27062                     fi
27063                     ;;
27064                   -l*)
27065                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27066                     ;;
27067                   *.la)
27068                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27069                     ;;
27070                   *)
27071                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27072                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27073                     ;;
27074                 esac
27075               done
27076             fi
27077           else
27078                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27079             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27080           fi
27081         fi
27082       fi
27083     done
27084   done
27085   if test "X$rpathdirs" != "X"; then
27086     if test -n "$hardcode_libdir_separator"; then
27087                         alldirs=
27088       for found_dir in $rpathdirs; do
27089         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27090       done
27091             acl_save_libdir="$libdir"
27092       libdir="$alldirs"
27093       eval flag=\"$hardcode_libdir_flag_spec\"
27094       libdir="$acl_save_libdir"
27095       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27096     else
27097             for found_dir in $rpathdirs; do
27098         acl_save_libdir="$libdir"
27099         libdir="$found_dir"
27100         eval flag=\"$hardcode_libdir_flag_spec\"
27101         libdir="$acl_save_libdir"
27102         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27103       done
27104     fi
27105   fi
27106   if test "X$ltrpathdirs" != "X"; then
27107             for found_dir in $ltrpathdirs; do
27108       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27109     done
27110   fi
27111
27112
27113
27114
27115
27116
27117
27118           am_save_CPPFLAGS="$CPPFLAGS"
27119
27120   for element in $INCICONV; do
27121     haveit=
27122     for x in $CPPFLAGS; do
27123
27124   acl_save_prefix="$prefix"
27125   prefix="$acl_final_prefix"
27126   acl_save_exec_prefix="$exec_prefix"
27127   exec_prefix="$acl_final_exec_prefix"
27128   eval x=\"$x\"
27129   exec_prefix="$acl_save_exec_prefix"
27130   prefix="$acl_save_prefix"
27131
27132       if test "X$x" = "X$element"; then
27133         haveit=yes
27134         break
27135       fi
27136     done
27137     if test -z "$haveit"; then
27138       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27139     fi
27140   done
27141
27142
27143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27144 $as_echo_n "checking for iconv... " >&6; }
27145 if test "${am_cv_func_iconv+set}" = set; then :
27146   $as_echo_n "(cached) " >&6
27147 else
27148
27149     am_cv_func_iconv="no, consider installing GNU libiconv"
27150     am_cv_lib_iconv=no
27151     if test x$gcc_no_link = xyes; then
27152   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27153 fi
27154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27155 /* end confdefs.h.  */
27156 #include <stdlib.h>
27157 #include <iconv.h>
27158 int
27159 main ()
27160 {
27161 iconv_t cd = iconv_open("","");
27162        iconv(cd,NULL,NULL,NULL,NULL);
27163        iconv_close(cd);
27164   ;
27165   return 0;
27166 }
27167 _ACEOF
27168 if ac_fn_c_try_link "$LINENO"; then :
27169   am_cv_func_iconv=yes
27170 fi
27171 rm -f core conftest.err conftest.$ac_objext \
27172     conftest$ac_exeext conftest.$ac_ext
27173     if test "$am_cv_func_iconv" != yes; then
27174       am_save_LIBS="$LIBS"
27175       LIBS="$LIBS $LIBICONV"
27176       if test x$gcc_no_link = xyes; then
27177   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27178 fi
27179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27180 /* end confdefs.h.  */
27181 #include <stdlib.h>
27182 #include <iconv.h>
27183 int
27184 main ()
27185 {
27186 iconv_t cd = iconv_open("","");
27187          iconv(cd,NULL,NULL,NULL,NULL);
27188          iconv_close(cd);
27189   ;
27190   return 0;
27191 }
27192 _ACEOF
27193 if ac_fn_c_try_link "$LINENO"; then :
27194   am_cv_lib_iconv=yes
27195         am_cv_func_iconv=yes
27196 fi
27197 rm -f core conftest.err conftest.$ac_objext \
27198     conftest$ac_exeext conftest.$ac_ext
27199       LIBS="$am_save_LIBS"
27200     fi
27201
27202 fi
27203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27204 $as_echo "$am_cv_func_iconv" >&6; }
27205   if test "$am_cv_func_iconv" = yes; then
27206
27207 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27208
27209   fi
27210   if test "$am_cv_lib_iconv" = yes; then
27211     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27212 $as_echo_n "checking how to link with libiconv... " >&6; }
27213     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27214 $as_echo "$LIBICONV" >&6; }
27215   else
27216             CPPFLAGS="$am_save_CPPFLAGS"
27217     LIBICONV=
27218     LTLIBICONV=
27219   fi
27220
27221
27222
27223   if test "$am_cv_func_iconv" = yes; then
27224     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27225 $as_echo_n "checking for iconv declaration... " >&6; }
27226     if test "${am_cv_proto_iconv+set}" = set; then :
27227   $as_echo_n "(cached) " >&6
27228 else
27229
27230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27231 /* end confdefs.h.  */
27232
27233 #include <stdlib.h>
27234 #include <iconv.h>
27235 extern
27236 #ifdef __cplusplus
27237 "C"
27238 #endif
27239 #if defined(__STDC__) || defined(__cplusplus)
27240 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27241 #else
27242 size_t iconv();
27243 #endif
27244
27245 int
27246 main ()
27247 {
27248
27249   ;
27250   return 0;
27251 }
27252 _ACEOF
27253 if ac_fn_c_try_compile "$LINENO"; then :
27254   am_cv_proto_iconv_arg1=""
27255 else
27256   am_cv_proto_iconv_arg1="const"
27257 fi
27258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27259       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);"
27260 fi
27261
27262     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27263     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27264          }$am_cv_proto_iconv" >&5
27265 $as_echo "${ac_t:-
27266          }$am_cv_proto_iconv" >&6; }
27267
27268 cat >>confdefs.h <<_ACEOF
27269 #define ICONV_CONST $am_cv_proto_iconv_arg1
27270 _ACEOF
27271
27272   fi
27273
27274
27275 else
27276
27277   # This lets us hard-code the functionality we know we'll have in the cross
27278   # target environment.  "Let" is a sugar-coated word placed on an especially
27279   # dull and tedious hack, actually.
27280   #
27281   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27282   # that involve linking, can't be used:
27283   #    "cannot open sim-crt0.o"
27284   #    "cannot open crt0.o"
27285   # etc.  All this is because there currently exists no unified, consistent
27286   # way for top level CC information to be passed down to target directories:
27287   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27288   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27289   # crosses can be removed.
27290
27291   # If Canadian cross, then don't pick up tools from the build directory.
27292   # Used only in GLIBCXX_EXPORT_INCLUDES.
27293   if test -n "$with_cross_host" &&
27294      test x"$build_alias" != x"$with_cross_host" &&
27295      test x"$build" != x"$target";
27296   then
27297     CANADIAN=yes
27298   else
27299     CANADIAN=no
27300   fi
27301
27302   # Construct crosses by hand, eliminating bits that need ld...
27303   # GLIBCXX_CHECK_MATH_SUPPORT
27304
27305   # First, test for "known" system libraries.  We may be using newlib even
27306   # on a hosted environment.
27307   if test "x${with_newlib}" = "xyes"; then
27308     os_include_dir="os/newlib"
27309     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27310
27311
27312     # GLIBCXX_CHECK_STDLIB_SUPPORT
27313     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27314
27315
27316     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27317
27318     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27319
27320     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27321
27322     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27323
27324     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27325
27326     $as_echo "#define HAVE_COSF 1" >>confdefs.h
27327
27328     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27329
27330     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27331
27332     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27333
27334     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27335
27336     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27337
27338     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27339
27340     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27341
27342     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27343
27344     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27345
27346     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27347
27348     $as_echo "#define HAVE_POWF 1" >>confdefs.h
27349
27350     $as_echo "#define HAVE_SINF 1" >>confdefs.h
27351
27352     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27353
27354     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27355
27356     $as_echo "#define HAVE_TANF 1" >>confdefs.h
27357
27358     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27359
27360
27361     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27362
27363   else
27364
27365 # Base decisions on target environment.
27366 case "${host}" in
27367   arm*-*-symbianelf*)
27368     # This is a freestanding configuration; there is nothing to do here.
27369     ;;
27370
27371   mips*-sde-elf*)
27372     # These definitions are for the SDE C library rather than newlib.
27373     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27374
27375
27376   # All these tests are for C++; save the language and the compiler flags.
27377   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27378   # found in GLIBCXX_CONFIGURE.
27379
27380   ac_ext=cpp
27381 ac_cpp='$CXXCPP $CPPFLAGS'
27382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27385
27386   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27387   ac_save_CXXFLAGS="$CXXFLAGS"
27388
27389   # Check for maintainer-mode bits.
27390   if test x"$USE_MAINTAINER_MODE" = xno; then
27391     WERROR=''
27392   else
27393     WERROR='-Werror'
27394   fi
27395
27396   # Check for -ffunction-sections -fdata-sections
27397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27398 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27399   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27401 /* end confdefs.h.  */
27402 int foo; void bar() { };
27403 int
27404 main ()
27405 {
27406
27407   ;
27408   return 0;
27409 }
27410 _ACEOF
27411 if ac_fn_cxx_try_compile "$LINENO"; then :
27412   ac_fdsections=yes
27413 else
27414   ac_fdsections=no
27415 fi
27416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27417   if test "$ac_test_CXXFLAGS" = set; then
27418     CXXFLAGS="$ac_save_CXXFLAGS"
27419   else
27420     # this is the suspicious part
27421     CXXFLAGS=''
27422   fi
27423   if test x"$ac_fdsections" = x"yes"; then
27424     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27425   fi
27426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27427 $as_echo "$ac_fdsections" >&6; }
27428
27429   ac_ext=c
27430 ac_cpp='$CPP $CPPFLAGS'
27431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27434
27435
27436
27437
27438
27439   # If we're not using GNU ld, then there's no point in even trying these
27440   # tests.  Check for that first.  We should have already tested for gld
27441   # by now (in libtool), but require it now just to be safe...
27442   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27443   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27444
27445
27446
27447   # The name set by libtool depends on the version of libtool.  Shame on us
27448   # for depending on an impl detail, but c'est la vie.  Older versions used
27449   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27450   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27451   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
27452   # set (hence we're using an older libtool), then set it.
27453   if test x${with_gnu_ld+set} != xset; then
27454     if test x${ac_cv_prog_gnu_ld+set} != xset; then
27455       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
27456       with_gnu_ld=no
27457     else
27458       with_gnu_ld=$ac_cv_prog_gnu_ld
27459     fi
27460   fi
27461
27462   # Start by getting the version number.  I think the libtool test already
27463   # does some of this, but throws away the result.
27464   glibcxx_ld_is_gold=no
27465   if test x"$with_gnu_ld" = x"yes"; then
27466     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27467 $as_echo_n "checking for ld version... " >&6; }
27468
27469     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27470       glibcxx_ld_is_gold=yes
27471     fi
27472     ldver=`$LD --version 2>/dev/null |
27473            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'`
27474
27475     glibcxx_gnu_ld_version=`echo $ldver | \
27476            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27477     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27478 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27479   fi
27480
27481   # Set --gc-sections.
27482   glibcxx_have_gc_sections=no
27483   if test "$glibcxx_ld_is_gold" = "yes"; then
27484     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27485       glibcxx_have_gc_sections=yes
27486     fi
27487   else
27488     glibcxx_gcsections_min_ld=21602
27489     if test x"$with_gnu_ld" = x"yes" &&
27490         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27491       glibcxx_have_gc_sections=yes
27492     fi
27493   fi
27494   if test "$glibcxx_have_gc_sections" = "yes"; then
27495     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
27496     # NB: This flag only works reliably after 2.16.1. Configure tests
27497     # for this are difficult, so hard wire a value that should work.
27498
27499     ac_test_CFLAGS="${CFLAGS+set}"
27500     ac_save_CFLAGS="$CFLAGS"
27501     CFLAGS='-Wl,--gc-sections'
27502
27503     # Check for -Wl,--gc-sections
27504     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27505 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27506     if test x$gcc_no_link = xyes; then
27507   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27508 fi
27509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27510 /* end confdefs.h.  */
27511  int one(void) { return 1; }
27512      int two(void) { return 2; }
27513
27514 int
27515 main ()
27516 {
27517  two();
27518   ;
27519   return 0;
27520 }
27521 _ACEOF
27522 if ac_fn_c_try_link "$LINENO"; then :
27523   ac_gcsections=yes
27524 else
27525   ac_gcsections=no
27526 fi
27527 rm -f core conftest.err conftest.$ac_objext \
27528     conftest$ac_exeext conftest.$ac_ext
27529     if test "$ac_gcsections" = "yes"; then
27530       rm -f conftest.c
27531       touch conftest.c
27532       if $CC -c conftest.c; then
27533         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27534            grep "Warning: gc-sections option ignored" > /dev/null; then
27535           ac_gcsections=no
27536         fi
27537       fi
27538       rm -f conftest.c conftest.o conftest
27539     fi
27540     if test "$ac_gcsections" = "yes"; then
27541       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27542     fi
27543     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27544 $as_echo "$ac_gcsections" >&6; }
27545
27546     if test "$ac_test_CFLAGS" = set; then
27547       CFLAGS="$ac_save_CFLAGS"
27548     else
27549       # this is the suspicious part
27550       CFLAGS=''
27551     fi
27552   fi
27553
27554   # Set -z,relro.
27555   # Note this is only for shared objects.
27556   ac_ld_relro=no
27557   if test x"$with_gnu_ld" = x"yes"; then
27558     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27559 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27560     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27561     if test -n "$cxx_z_relo"; then
27562       OPT_LDFLAGS="-Wl,-z,relro"
27563       ac_ld_relro=yes
27564     fi
27565     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27566 $as_echo "$ac_ld_relro" >&6; }
27567   fi
27568
27569   # Set linker optimization flags.
27570   if test x"$with_gnu_ld" = x"yes"; then
27571     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27572   fi
27573
27574
27575
27576
27577
27578   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27579   ac_save_CXXFLAGS="$CXXFLAGS"
27580   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27581
27582     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27583 $as_echo_n "checking for sin in -lm... " >&6; }
27584 if test "${ac_cv_lib_m_sin+set}" = set; then :
27585   $as_echo_n "(cached) " >&6
27586 else
27587   ac_check_lib_save_LIBS=$LIBS
27588 LIBS="-lm  $LIBS"
27589 if test x$gcc_no_link = xyes; then
27590   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27591 fi
27592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27593 /* end confdefs.h.  */
27594
27595 /* Override any GCC internal prototype to avoid an error.
27596    Use char because int might match the return type of a GCC
27597    builtin and then its argument prototype would still apply.  */
27598 #ifdef __cplusplus
27599 extern "C"
27600 #endif
27601 char sin ();
27602 int
27603 main ()
27604 {
27605 return sin ();
27606   ;
27607   return 0;
27608 }
27609 _ACEOF
27610 if ac_fn_c_try_link "$LINENO"; then :
27611   ac_cv_lib_m_sin=yes
27612 else
27613   ac_cv_lib_m_sin=no
27614 fi
27615 rm -f core conftest.err conftest.$ac_objext \
27616     conftest$ac_exeext conftest.$ac_ext
27617 LIBS=$ac_check_lib_save_LIBS
27618 fi
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27620 $as_echo "$ac_cv_lib_m_sin" >&6; }
27621 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27622   libm="-lm"
27623 fi
27624
27625   ac_save_LIBS="$LIBS"
27626   LIBS="$LIBS $libm"
27627
27628
27629
27630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27631 $as_echo_n "checking for isinf declaration... " >&6; }
27632   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27633     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27634   $as_echo_n "(cached) " >&6
27635 else
27636
27637
27638       ac_ext=cpp
27639 ac_cpp='$CXXCPP $CPPFLAGS'
27640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27643
27644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27645 /* end confdefs.h.  */
27646 #include <math.h>
27647                       #ifdef HAVE_IEEEFP_H
27648                       #include <ieeefp.h>
27649                       #endif
27650
27651 int
27652 main ()
27653 {
27654  isinf(0);
27655   ;
27656   return 0;
27657 }
27658 _ACEOF
27659 if ac_fn_cxx_try_compile "$LINENO"; then :
27660   glibcxx_cv_func_isinf_use=yes
27661 else
27662   glibcxx_cv_func_isinf_use=no
27663 fi
27664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27665       ac_ext=c
27666 ac_cpp='$CPP $CPPFLAGS'
27667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27670
27671
27672 fi
27673
27674   fi
27675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27676 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27677
27678   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27679     for ac_func in isinf
27680 do :
27681   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27682 if test "x$ac_cv_func_isinf" = x""yes; then :
27683   cat >>confdefs.h <<_ACEOF
27684 #define HAVE_ISINF 1
27685 _ACEOF
27686
27687 fi
27688 done
27689
27690   else
27691
27692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27693 $as_echo_n "checking for _isinf declaration... " >&6; }
27694   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27695     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27696   $as_echo_n "(cached) " >&6
27697 else
27698
27699
27700       ac_ext=cpp
27701 ac_cpp='$CXXCPP $CPPFLAGS'
27702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27705
27706       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27707 /* end confdefs.h.  */
27708 #include <math.h>
27709                       #ifdef HAVE_IEEEFP_H
27710                       #include <ieeefp.h>
27711                       #endif
27712
27713 int
27714 main ()
27715 {
27716  _isinf(0);
27717   ;
27718   return 0;
27719 }
27720 _ACEOF
27721 if ac_fn_cxx_try_compile "$LINENO"; then :
27722   glibcxx_cv_func__isinf_use=yes
27723 else
27724   glibcxx_cv_func__isinf_use=no
27725 fi
27726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27727       ac_ext=c
27728 ac_cpp='$CPP $CPPFLAGS'
27729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27732
27733
27734 fi
27735
27736   fi
27737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27738 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27739
27740     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27741       for ac_func in _isinf
27742 do :
27743   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27744 if test "x$ac_cv_func__isinf" = x""yes; then :
27745   cat >>confdefs.h <<_ACEOF
27746 #define HAVE__ISINF 1
27747 _ACEOF
27748
27749 fi
27750 done
27751
27752     fi
27753   fi
27754
27755
27756
27757
27758
27759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27760 $as_echo_n "checking for isnan declaration... " >&6; }
27761   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27762     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27763   $as_echo_n "(cached) " >&6
27764 else
27765
27766
27767       ac_ext=cpp
27768 ac_cpp='$CXXCPP $CPPFLAGS'
27769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27772
27773       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27774 /* end confdefs.h.  */
27775 #include <math.h>
27776                       #ifdef HAVE_IEEEFP_H
27777                       #include <ieeefp.h>
27778                       #endif
27779
27780 int
27781 main ()
27782 {
27783  isnan(0);
27784   ;
27785   return 0;
27786 }
27787 _ACEOF
27788 if ac_fn_cxx_try_compile "$LINENO"; then :
27789   glibcxx_cv_func_isnan_use=yes
27790 else
27791   glibcxx_cv_func_isnan_use=no
27792 fi
27793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27794       ac_ext=c
27795 ac_cpp='$CPP $CPPFLAGS'
27796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27799
27800
27801 fi
27802
27803   fi
27804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27805 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27806
27807   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27808     for ac_func in isnan
27809 do :
27810   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27811 if test "x$ac_cv_func_isnan" = x""yes; then :
27812   cat >>confdefs.h <<_ACEOF
27813 #define HAVE_ISNAN 1
27814 _ACEOF
27815
27816 fi
27817 done
27818
27819   else
27820
27821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27822 $as_echo_n "checking for _isnan declaration... " >&6; }
27823   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27824     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27825   $as_echo_n "(cached) " >&6
27826 else
27827
27828
27829       ac_ext=cpp
27830 ac_cpp='$CXXCPP $CPPFLAGS'
27831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27834
27835       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27836 /* end confdefs.h.  */
27837 #include <math.h>
27838                       #ifdef HAVE_IEEEFP_H
27839                       #include <ieeefp.h>
27840                       #endif
27841
27842 int
27843 main ()
27844 {
27845  _isnan(0);
27846   ;
27847   return 0;
27848 }
27849 _ACEOF
27850 if ac_fn_cxx_try_compile "$LINENO"; then :
27851   glibcxx_cv_func__isnan_use=yes
27852 else
27853   glibcxx_cv_func__isnan_use=no
27854 fi
27855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27856       ac_ext=c
27857 ac_cpp='$CPP $CPPFLAGS'
27858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27861
27862
27863 fi
27864
27865   fi
27866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27867 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27868
27869     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27870       for ac_func in _isnan
27871 do :
27872   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27873 if test "x$ac_cv_func__isnan" = x""yes; then :
27874   cat >>confdefs.h <<_ACEOF
27875 #define HAVE__ISNAN 1
27876 _ACEOF
27877
27878 fi
27879 done
27880
27881     fi
27882   fi
27883
27884
27885
27886
27887
27888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27889 $as_echo_n "checking for finite declaration... " >&6; }
27890   if test x${glibcxx_cv_func_finite_use+set} != xset; then
27891     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27892   $as_echo_n "(cached) " >&6
27893 else
27894
27895
27896       ac_ext=cpp
27897 ac_cpp='$CXXCPP $CPPFLAGS'
27898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27901
27902       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27903 /* end confdefs.h.  */
27904 #include <math.h>
27905                       #ifdef HAVE_IEEEFP_H
27906                       #include <ieeefp.h>
27907                       #endif
27908
27909 int
27910 main ()
27911 {
27912  finite(0);
27913   ;
27914   return 0;
27915 }
27916 _ACEOF
27917 if ac_fn_cxx_try_compile "$LINENO"; then :
27918   glibcxx_cv_func_finite_use=yes
27919 else
27920   glibcxx_cv_func_finite_use=no
27921 fi
27922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27923       ac_ext=c
27924 ac_cpp='$CPP $CPPFLAGS'
27925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27928
27929
27930 fi
27931
27932   fi
27933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27934 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27935
27936   if test x$glibcxx_cv_func_finite_use = x"yes"; then
27937     for ac_func in finite
27938 do :
27939   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27940 if test "x$ac_cv_func_finite" = x""yes; then :
27941   cat >>confdefs.h <<_ACEOF
27942 #define HAVE_FINITE 1
27943 _ACEOF
27944
27945 fi
27946 done
27947
27948   else
27949
27950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27951 $as_echo_n "checking for _finite declaration... " >&6; }
27952   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27953     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27954   $as_echo_n "(cached) " >&6
27955 else
27956
27957
27958       ac_ext=cpp
27959 ac_cpp='$CXXCPP $CPPFLAGS'
27960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27963
27964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27965 /* end confdefs.h.  */
27966 #include <math.h>
27967                       #ifdef HAVE_IEEEFP_H
27968                       #include <ieeefp.h>
27969                       #endif
27970
27971 int
27972 main ()
27973 {
27974  _finite(0);
27975   ;
27976   return 0;
27977 }
27978 _ACEOF
27979 if ac_fn_cxx_try_compile "$LINENO"; then :
27980   glibcxx_cv_func__finite_use=yes
27981 else
27982   glibcxx_cv_func__finite_use=no
27983 fi
27984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27985       ac_ext=c
27986 ac_cpp='$CPP $CPPFLAGS'
27987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27990
27991
27992 fi
27993
27994   fi
27995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27996 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27997
27998     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27999       for ac_func in _finite
28000 do :
28001   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28002 if test "x$ac_cv_func__finite" = x""yes; then :
28003   cat >>confdefs.h <<_ACEOF
28004 #define HAVE__FINITE 1
28005 _ACEOF
28006
28007 fi
28008 done
28009
28010     fi
28011   fi
28012
28013
28014
28015
28016
28017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28018 $as_echo_n "checking for sincos declaration... " >&6; }
28019   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28020     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28021   $as_echo_n "(cached) " >&6
28022 else
28023
28024
28025       ac_ext=cpp
28026 ac_cpp='$CXXCPP $CPPFLAGS'
28027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28030
28031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28032 /* end confdefs.h.  */
28033 #include <math.h>
28034 int
28035 main ()
28036 {
28037  sincos(0, 0, 0);
28038   ;
28039   return 0;
28040 }
28041 _ACEOF
28042 if ac_fn_cxx_try_compile "$LINENO"; then :
28043   glibcxx_cv_func_sincos_use=yes
28044 else
28045   glibcxx_cv_func_sincos_use=no
28046 fi
28047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28048       ac_ext=c
28049 ac_cpp='$CPP $CPPFLAGS'
28050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28053
28054
28055 fi
28056
28057   fi
28058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28059 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28060
28061   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28062     for ac_func in sincos
28063 do :
28064   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28065 if test "x$ac_cv_func_sincos" = x""yes; then :
28066   cat >>confdefs.h <<_ACEOF
28067 #define HAVE_SINCOS 1
28068 _ACEOF
28069
28070 fi
28071 done
28072
28073   else
28074
28075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28076 $as_echo_n "checking for _sincos declaration... " >&6; }
28077   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28078     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28079   $as_echo_n "(cached) " >&6
28080 else
28081
28082
28083       ac_ext=cpp
28084 ac_cpp='$CXXCPP $CPPFLAGS'
28085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28088
28089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28090 /* end confdefs.h.  */
28091 #include <math.h>
28092 int
28093 main ()
28094 {
28095  _sincos(0, 0, 0);
28096   ;
28097   return 0;
28098 }
28099 _ACEOF
28100 if ac_fn_cxx_try_compile "$LINENO"; then :
28101   glibcxx_cv_func__sincos_use=yes
28102 else
28103   glibcxx_cv_func__sincos_use=no
28104 fi
28105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28106       ac_ext=c
28107 ac_cpp='$CPP $CPPFLAGS'
28108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28111
28112
28113 fi
28114
28115   fi
28116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28117 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28118
28119     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28120       for ac_func in _sincos
28121 do :
28122   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28123 if test "x$ac_cv_func__sincos" = x""yes; then :
28124   cat >>confdefs.h <<_ACEOF
28125 #define HAVE__SINCOS 1
28126 _ACEOF
28127
28128 fi
28129 done
28130
28131     fi
28132   fi
28133
28134
28135
28136
28137
28138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28139 $as_echo_n "checking for fpclass declaration... " >&6; }
28140   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28141     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28142   $as_echo_n "(cached) " >&6
28143 else
28144
28145
28146       ac_ext=cpp
28147 ac_cpp='$CXXCPP $CPPFLAGS'
28148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28151
28152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28153 /* end confdefs.h.  */
28154 #include <math.h>
28155                       #ifdef HAVE_IEEEFP_H
28156                       #include <ieeefp.h>
28157                       #endif
28158
28159 int
28160 main ()
28161 {
28162  fpclass(0);
28163   ;
28164   return 0;
28165 }
28166 _ACEOF
28167 if ac_fn_cxx_try_compile "$LINENO"; then :
28168   glibcxx_cv_func_fpclass_use=yes
28169 else
28170   glibcxx_cv_func_fpclass_use=no
28171 fi
28172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28173       ac_ext=c
28174 ac_cpp='$CPP $CPPFLAGS'
28175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28178
28179
28180 fi
28181
28182   fi
28183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28184 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28185
28186   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28187     for ac_func in fpclass
28188 do :
28189   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28190 if test "x$ac_cv_func_fpclass" = x""yes; then :
28191   cat >>confdefs.h <<_ACEOF
28192 #define HAVE_FPCLASS 1
28193 _ACEOF
28194
28195 fi
28196 done
28197
28198   else
28199
28200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28201 $as_echo_n "checking for _fpclass declaration... " >&6; }
28202   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28203     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28204   $as_echo_n "(cached) " >&6
28205 else
28206
28207
28208       ac_ext=cpp
28209 ac_cpp='$CXXCPP $CPPFLAGS'
28210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28213
28214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28215 /* end confdefs.h.  */
28216 #include <math.h>
28217                       #ifdef HAVE_IEEEFP_H
28218                       #include <ieeefp.h>
28219                       #endif
28220
28221 int
28222 main ()
28223 {
28224  _fpclass(0);
28225   ;
28226   return 0;
28227 }
28228 _ACEOF
28229 if ac_fn_cxx_try_compile "$LINENO"; then :
28230   glibcxx_cv_func__fpclass_use=yes
28231 else
28232   glibcxx_cv_func__fpclass_use=no
28233 fi
28234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28235       ac_ext=c
28236 ac_cpp='$CPP $CPPFLAGS'
28237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28240
28241
28242 fi
28243
28244   fi
28245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28246 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28247
28248     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28249       for ac_func in _fpclass
28250 do :
28251   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28252 if test "x$ac_cv_func__fpclass" = x""yes; then :
28253   cat >>confdefs.h <<_ACEOF
28254 #define HAVE__FPCLASS 1
28255 _ACEOF
28256
28257 fi
28258 done
28259
28260     fi
28261   fi
28262
28263
28264
28265
28266
28267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28268 $as_echo_n "checking for qfpclass declaration... " >&6; }
28269   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28270     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28271   $as_echo_n "(cached) " >&6
28272 else
28273
28274
28275       ac_ext=cpp
28276 ac_cpp='$CXXCPP $CPPFLAGS'
28277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28280
28281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28282 /* end confdefs.h.  */
28283 #include <math.h>
28284                       #ifdef HAVE_IEEEFP_H
28285                       #include <ieeefp.h>
28286                       #endif
28287
28288 int
28289 main ()
28290 {
28291  qfpclass(0);
28292   ;
28293   return 0;
28294 }
28295 _ACEOF
28296 if ac_fn_cxx_try_compile "$LINENO"; then :
28297   glibcxx_cv_func_qfpclass_use=yes
28298 else
28299   glibcxx_cv_func_qfpclass_use=no
28300 fi
28301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28302       ac_ext=c
28303 ac_cpp='$CPP $CPPFLAGS'
28304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28307
28308
28309 fi
28310
28311   fi
28312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28313 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28314
28315   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28316     for ac_func in qfpclass
28317 do :
28318   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28319 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28320   cat >>confdefs.h <<_ACEOF
28321 #define HAVE_QFPCLASS 1
28322 _ACEOF
28323
28324 fi
28325 done
28326
28327   else
28328
28329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28330 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28331   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28332     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28333   $as_echo_n "(cached) " >&6
28334 else
28335
28336
28337       ac_ext=cpp
28338 ac_cpp='$CXXCPP $CPPFLAGS'
28339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28342
28343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28344 /* end confdefs.h.  */
28345 #include <math.h>
28346                       #ifdef HAVE_IEEEFP_H
28347                       #include <ieeefp.h>
28348                       #endif
28349
28350 int
28351 main ()
28352 {
28353  _qfpclass(0);
28354   ;
28355   return 0;
28356 }
28357 _ACEOF
28358 if ac_fn_cxx_try_compile "$LINENO"; then :
28359   glibcxx_cv_func__qfpclass_use=yes
28360 else
28361   glibcxx_cv_func__qfpclass_use=no
28362 fi
28363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28364       ac_ext=c
28365 ac_cpp='$CPP $CPPFLAGS'
28366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28369
28370
28371 fi
28372
28373   fi
28374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28375 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28376
28377     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28378       for ac_func in _qfpclass
28379 do :
28380   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28381 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28382   cat >>confdefs.h <<_ACEOF
28383 #define HAVE__QFPCLASS 1
28384 _ACEOF
28385
28386 fi
28387 done
28388
28389     fi
28390   fi
28391
28392
28393
28394
28395
28396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28397 $as_echo_n "checking for hypot declaration... " >&6; }
28398   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28399     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28400   $as_echo_n "(cached) " >&6
28401 else
28402
28403
28404       ac_ext=cpp
28405 ac_cpp='$CXXCPP $CPPFLAGS'
28406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28409
28410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28411 /* end confdefs.h.  */
28412 #include <math.h>
28413 int
28414 main ()
28415 {
28416  hypot(0, 0);
28417   ;
28418   return 0;
28419 }
28420 _ACEOF
28421 if ac_fn_cxx_try_compile "$LINENO"; then :
28422   glibcxx_cv_func_hypot_use=yes
28423 else
28424   glibcxx_cv_func_hypot_use=no
28425 fi
28426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28427       ac_ext=c
28428 ac_cpp='$CPP $CPPFLAGS'
28429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28432
28433
28434 fi
28435
28436   fi
28437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28438 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28439
28440   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28441     for ac_func in hypot
28442 do :
28443   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28444 if test "x$ac_cv_func_hypot" = x""yes; then :
28445   cat >>confdefs.h <<_ACEOF
28446 #define HAVE_HYPOT 1
28447 _ACEOF
28448
28449 fi
28450 done
28451
28452   else
28453
28454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28455 $as_echo_n "checking for _hypot declaration... " >&6; }
28456   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28457     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28458   $as_echo_n "(cached) " >&6
28459 else
28460
28461
28462       ac_ext=cpp
28463 ac_cpp='$CXXCPP $CPPFLAGS'
28464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28467
28468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28469 /* end confdefs.h.  */
28470 #include <math.h>
28471 int
28472 main ()
28473 {
28474  _hypot(0, 0);
28475   ;
28476   return 0;
28477 }
28478 _ACEOF
28479 if ac_fn_cxx_try_compile "$LINENO"; then :
28480   glibcxx_cv_func__hypot_use=yes
28481 else
28482   glibcxx_cv_func__hypot_use=no
28483 fi
28484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28485       ac_ext=c
28486 ac_cpp='$CPP $CPPFLAGS'
28487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28490
28491
28492 fi
28493
28494   fi
28495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28496 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28497
28498     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28499       for ac_func in _hypot
28500 do :
28501   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28502 if test "x$ac_cv_func__hypot" = x""yes; then :
28503   cat >>confdefs.h <<_ACEOF
28504 #define HAVE__HYPOT 1
28505 _ACEOF
28506
28507 fi
28508 done
28509
28510     fi
28511   fi
28512
28513
28514
28515
28516
28517     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28518 $as_echo_n "checking for float trig functions... " >&6; }
28519   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28520   $as_echo_n "(cached) " >&6
28521 else
28522
28523
28524     ac_ext=cpp
28525 ac_cpp='$CXXCPP $CPPFLAGS'
28526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28529
28530     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28531 /* end confdefs.h.  */
28532 #include <math.h>
28533 int
28534 main ()
28535 {
28536 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28537   ;
28538   return 0;
28539 }
28540 _ACEOF
28541 if ac_fn_cxx_try_compile "$LINENO"; then :
28542   glibcxx_cv_func_float_trig_use=yes
28543 else
28544   glibcxx_cv_func_float_trig_use=no
28545 fi
28546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28547     ac_ext=c
28548 ac_cpp='$CPP $CPPFLAGS'
28549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28552
28553 fi
28554
28555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28556 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28557   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28558     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28559 do :
28560   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28561 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28562 eval as_val=\$$as_ac_var
28563    if test "x$as_val" = x""yes; then :
28564   cat >>confdefs.h <<_ACEOF
28565 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28566 _ACEOF
28567
28568 fi
28569 done
28570
28571   else
28572     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28573 $as_echo_n "checking for _float trig functions... " >&6; }
28574     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28575   $as_echo_n "(cached) " >&6
28576 else
28577
28578
28579       ac_ext=cpp
28580 ac_cpp='$CXXCPP $CPPFLAGS'
28581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28584
28585       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28586 /* end confdefs.h.  */
28587 #include <math.h>
28588 int
28589 main ()
28590 {
28591 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28592   ;
28593   return 0;
28594 }
28595 _ACEOF
28596 if ac_fn_cxx_try_compile "$LINENO"; then :
28597   glibcxx_cv_func__float_trig_use=yes
28598 else
28599   glibcxx_cv_func__float_trig_use=no
28600 fi
28601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28602       ac_ext=c
28603 ac_cpp='$CPP $CPPFLAGS'
28604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28607
28608 fi
28609
28610     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28611 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28612     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28613       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28614 do :
28615   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28617 eval as_val=\$$as_ac_var
28618    if test "x$as_val" = x""yes; then :
28619   cat >>confdefs.h <<_ACEOF
28620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28621 _ACEOF
28622
28623 fi
28624 done
28625
28626     fi
28627   fi
28628
28629
28630
28631
28632
28633     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28634 $as_echo_n "checking for float round functions... " >&6; }
28635   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28636   $as_echo_n "(cached) " >&6
28637 else
28638
28639
28640     ac_ext=cpp
28641 ac_cpp='$CXXCPP $CPPFLAGS'
28642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28645
28646     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28647 /* end confdefs.h.  */
28648 #include <math.h>
28649 int
28650 main ()
28651 {
28652 ceilf (0); floorf (0);
28653   ;
28654   return 0;
28655 }
28656 _ACEOF
28657 if ac_fn_cxx_try_compile "$LINENO"; then :
28658   glibcxx_cv_func_float_round_use=yes
28659 else
28660   glibcxx_cv_func_float_round_use=no
28661 fi
28662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28663     ac_ext=c
28664 ac_cpp='$CPP $CPPFLAGS'
28665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28668
28669 fi
28670
28671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28672 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28673   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28674     for ac_func in ceilf floorf
28675 do :
28676   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28677 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28678 eval as_val=\$$as_ac_var
28679    if test "x$as_val" = x""yes; then :
28680   cat >>confdefs.h <<_ACEOF
28681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28682 _ACEOF
28683
28684 fi
28685 done
28686
28687   else
28688     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28689 $as_echo_n "checking for _float round functions... " >&6; }
28690     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28691   $as_echo_n "(cached) " >&6
28692 else
28693
28694
28695       ac_ext=cpp
28696 ac_cpp='$CXXCPP $CPPFLAGS'
28697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28700
28701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28702 /* end confdefs.h.  */
28703 #include <math.h>
28704 int
28705 main ()
28706 {
28707 _ceilf (0); _floorf (0);
28708   ;
28709   return 0;
28710 }
28711 _ACEOF
28712 if ac_fn_cxx_try_compile "$LINENO"; then :
28713   glibcxx_cv_func__float_round_use=yes
28714 else
28715   glibcxx_cv_func__float_round_use=no
28716 fi
28717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28718       ac_ext=c
28719 ac_cpp='$CPP $CPPFLAGS'
28720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28723
28724 fi
28725
28726     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28727 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28728     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28729       for ac_func in _ceilf _floorf
28730 do :
28731   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28733 eval as_val=\$$as_ac_var
28734    if test "x$as_val" = x""yes; then :
28735   cat >>confdefs.h <<_ACEOF
28736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28737 _ACEOF
28738
28739 fi
28740 done
28741
28742     fi
28743   fi
28744
28745
28746
28747
28748
28749
28750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28751 $as_echo_n "checking for expf declaration... " >&6; }
28752   if test x${glibcxx_cv_func_expf_use+set} != xset; then
28753     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28754   $as_echo_n "(cached) " >&6
28755 else
28756
28757
28758       ac_ext=cpp
28759 ac_cpp='$CXXCPP $CPPFLAGS'
28760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28763
28764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28765 /* end confdefs.h.  */
28766 #include <math.h>
28767                       #ifdef HAVE_IEEEFP_H
28768                       #include <ieeefp.h>
28769                       #endif
28770
28771 int
28772 main ()
28773 {
28774  expf(0);
28775   ;
28776   return 0;
28777 }
28778 _ACEOF
28779 if ac_fn_cxx_try_compile "$LINENO"; then :
28780   glibcxx_cv_func_expf_use=yes
28781 else
28782   glibcxx_cv_func_expf_use=no
28783 fi
28784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28785       ac_ext=c
28786 ac_cpp='$CPP $CPPFLAGS'
28787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28790
28791
28792 fi
28793
28794   fi
28795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28796 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28797
28798   if test x$glibcxx_cv_func_expf_use = x"yes"; then
28799     for ac_func in expf
28800 do :
28801   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28802 if test "x$ac_cv_func_expf" = x""yes; then :
28803   cat >>confdefs.h <<_ACEOF
28804 #define HAVE_EXPF 1
28805 _ACEOF
28806
28807 fi
28808 done
28809
28810   else
28811
28812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28813 $as_echo_n "checking for _expf declaration... " >&6; }
28814   if test x${glibcxx_cv_func__expf_use+set} != xset; then
28815     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28816   $as_echo_n "(cached) " >&6
28817 else
28818
28819
28820       ac_ext=cpp
28821 ac_cpp='$CXXCPP $CPPFLAGS'
28822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28825
28826       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28827 /* end confdefs.h.  */
28828 #include <math.h>
28829                       #ifdef HAVE_IEEEFP_H
28830                       #include <ieeefp.h>
28831                       #endif
28832
28833 int
28834 main ()
28835 {
28836  _expf(0);
28837   ;
28838   return 0;
28839 }
28840 _ACEOF
28841 if ac_fn_cxx_try_compile "$LINENO"; then :
28842   glibcxx_cv_func__expf_use=yes
28843 else
28844   glibcxx_cv_func__expf_use=no
28845 fi
28846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28847       ac_ext=c
28848 ac_cpp='$CPP $CPPFLAGS'
28849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28852
28853
28854 fi
28855
28856   fi
28857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28858 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28859
28860     if test x$glibcxx_cv_func__expf_use = x"yes"; then
28861       for ac_func in _expf
28862 do :
28863   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28864 if test "x$ac_cv_func__expf" = x""yes; then :
28865   cat >>confdefs.h <<_ACEOF
28866 #define HAVE__EXPF 1
28867 _ACEOF
28868
28869 fi
28870 done
28871
28872     fi
28873   fi
28874
28875
28876
28877
28878
28879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28880 $as_echo_n "checking for isnanf declaration... " >&6; }
28881   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28882     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28883   $as_echo_n "(cached) " >&6
28884 else
28885
28886
28887       ac_ext=cpp
28888 ac_cpp='$CXXCPP $CPPFLAGS'
28889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28892
28893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28894 /* end confdefs.h.  */
28895 #include <math.h>
28896                       #ifdef HAVE_IEEEFP_H
28897                       #include <ieeefp.h>
28898                       #endif
28899
28900 int
28901 main ()
28902 {
28903  isnanf(0);
28904   ;
28905   return 0;
28906 }
28907 _ACEOF
28908 if ac_fn_cxx_try_compile "$LINENO"; then :
28909   glibcxx_cv_func_isnanf_use=yes
28910 else
28911   glibcxx_cv_func_isnanf_use=no
28912 fi
28913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28914       ac_ext=c
28915 ac_cpp='$CPP $CPPFLAGS'
28916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28919
28920
28921 fi
28922
28923   fi
28924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28925 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28926
28927   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28928     for ac_func in isnanf
28929 do :
28930   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28931 if test "x$ac_cv_func_isnanf" = x""yes; then :
28932   cat >>confdefs.h <<_ACEOF
28933 #define HAVE_ISNANF 1
28934 _ACEOF
28935
28936 fi
28937 done
28938
28939   else
28940
28941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28942 $as_echo_n "checking for _isnanf declaration... " >&6; }
28943   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28944     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28945   $as_echo_n "(cached) " >&6
28946 else
28947
28948
28949       ac_ext=cpp
28950 ac_cpp='$CXXCPP $CPPFLAGS'
28951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28954
28955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28956 /* end confdefs.h.  */
28957 #include <math.h>
28958                       #ifdef HAVE_IEEEFP_H
28959                       #include <ieeefp.h>
28960                       #endif
28961
28962 int
28963 main ()
28964 {
28965  _isnanf(0);
28966   ;
28967   return 0;
28968 }
28969 _ACEOF
28970 if ac_fn_cxx_try_compile "$LINENO"; then :
28971   glibcxx_cv_func__isnanf_use=yes
28972 else
28973   glibcxx_cv_func__isnanf_use=no
28974 fi
28975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28976       ac_ext=c
28977 ac_cpp='$CPP $CPPFLAGS'
28978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28981
28982
28983 fi
28984
28985   fi
28986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28987 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28988
28989     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28990       for ac_func in _isnanf
28991 do :
28992   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28993 if test "x$ac_cv_func__isnanf" = x""yes; then :
28994   cat >>confdefs.h <<_ACEOF
28995 #define HAVE__ISNANF 1
28996 _ACEOF
28997
28998 fi
28999 done
29000
29001     fi
29002   fi
29003
29004
29005
29006
29007
29008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29009 $as_echo_n "checking for isinff declaration... " >&6; }
29010   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29011     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29012   $as_echo_n "(cached) " >&6
29013 else
29014
29015
29016       ac_ext=cpp
29017 ac_cpp='$CXXCPP $CPPFLAGS'
29018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29021
29022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29023 /* end confdefs.h.  */
29024 #include <math.h>
29025                       #ifdef HAVE_IEEEFP_H
29026                       #include <ieeefp.h>
29027                       #endif
29028
29029 int
29030 main ()
29031 {
29032  isinff(0);
29033   ;
29034   return 0;
29035 }
29036 _ACEOF
29037 if ac_fn_cxx_try_compile "$LINENO"; then :
29038   glibcxx_cv_func_isinff_use=yes
29039 else
29040   glibcxx_cv_func_isinff_use=no
29041 fi
29042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29043       ac_ext=c
29044 ac_cpp='$CPP $CPPFLAGS'
29045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29048
29049
29050 fi
29051
29052   fi
29053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29054 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29055
29056   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29057     for ac_func in isinff
29058 do :
29059   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29060 if test "x$ac_cv_func_isinff" = x""yes; then :
29061   cat >>confdefs.h <<_ACEOF
29062 #define HAVE_ISINFF 1
29063 _ACEOF
29064
29065 fi
29066 done
29067
29068   else
29069
29070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29071 $as_echo_n "checking for _isinff declaration... " >&6; }
29072   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29073     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29074   $as_echo_n "(cached) " >&6
29075 else
29076
29077
29078       ac_ext=cpp
29079 ac_cpp='$CXXCPP $CPPFLAGS'
29080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29083
29084       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29085 /* end confdefs.h.  */
29086 #include <math.h>
29087                       #ifdef HAVE_IEEEFP_H
29088                       #include <ieeefp.h>
29089                       #endif
29090
29091 int
29092 main ()
29093 {
29094  _isinff(0);
29095   ;
29096   return 0;
29097 }
29098 _ACEOF
29099 if ac_fn_cxx_try_compile "$LINENO"; then :
29100   glibcxx_cv_func__isinff_use=yes
29101 else
29102   glibcxx_cv_func__isinff_use=no
29103 fi
29104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29105       ac_ext=c
29106 ac_cpp='$CPP $CPPFLAGS'
29107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29110
29111
29112 fi
29113
29114   fi
29115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29116 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29117
29118     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29119       for ac_func in _isinff
29120 do :
29121   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29122 if test "x$ac_cv_func__isinff" = x""yes; then :
29123   cat >>confdefs.h <<_ACEOF
29124 #define HAVE__ISINFF 1
29125 _ACEOF
29126
29127 fi
29128 done
29129
29130     fi
29131   fi
29132
29133
29134
29135
29136
29137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29138 $as_echo_n "checking for atan2f declaration... " >&6; }
29139   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29140     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29141   $as_echo_n "(cached) " >&6
29142 else
29143
29144
29145       ac_ext=cpp
29146 ac_cpp='$CXXCPP $CPPFLAGS'
29147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29150
29151       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29152 /* end confdefs.h.  */
29153 #include <math.h>
29154 int
29155 main ()
29156 {
29157  atan2f(0, 0);
29158   ;
29159   return 0;
29160 }
29161 _ACEOF
29162 if ac_fn_cxx_try_compile "$LINENO"; then :
29163   glibcxx_cv_func_atan2f_use=yes
29164 else
29165   glibcxx_cv_func_atan2f_use=no
29166 fi
29167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29168       ac_ext=c
29169 ac_cpp='$CPP $CPPFLAGS'
29170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29173
29174
29175 fi
29176
29177   fi
29178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29179 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29180
29181   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29182     for ac_func in atan2f
29183 do :
29184   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29185 if test "x$ac_cv_func_atan2f" = x""yes; then :
29186   cat >>confdefs.h <<_ACEOF
29187 #define HAVE_ATAN2F 1
29188 _ACEOF
29189
29190 fi
29191 done
29192
29193   else
29194
29195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29196 $as_echo_n "checking for _atan2f declaration... " >&6; }
29197   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29198     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29199   $as_echo_n "(cached) " >&6
29200 else
29201
29202
29203       ac_ext=cpp
29204 ac_cpp='$CXXCPP $CPPFLAGS'
29205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29208
29209       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29210 /* end confdefs.h.  */
29211 #include <math.h>
29212 int
29213 main ()
29214 {
29215  _atan2f(0, 0);
29216   ;
29217   return 0;
29218 }
29219 _ACEOF
29220 if ac_fn_cxx_try_compile "$LINENO"; then :
29221   glibcxx_cv_func__atan2f_use=yes
29222 else
29223   glibcxx_cv_func__atan2f_use=no
29224 fi
29225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29226       ac_ext=c
29227 ac_cpp='$CPP $CPPFLAGS'
29228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29231
29232
29233 fi
29234
29235   fi
29236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29237 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29238
29239     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29240       for ac_func in _atan2f
29241 do :
29242   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29243 if test "x$ac_cv_func__atan2f" = x""yes; then :
29244   cat >>confdefs.h <<_ACEOF
29245 #define HAVE__ATAN2F 1
29246 _ACEOF
29247
29248 fi
29249 done
29250
29251     fi
29252   fi
29253
29254
29255
29256
29257
29258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29259 $as_echo_n "checking for fabsf declaration... " >&6; }
29260   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29261     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29262   $as_echo_n "(cached) " >&6
29263 else
29264
29265
29266       ac_ext=cpp
29267 ac_cpp='$CXXCPP $CPPFLAGS'
29268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29271
29272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29273 /* end confdefs.h.  */
29274 #include <math.h>
29275                       #ifdef HAVE_IEEEFP_H
29276                       #include <ieeefp.h>
29277                       #endif
29278
29279 int
29280 main ()
29281 {
29282  fabsf(0);
29283   ;
29284   return 0;
29285 }
29286 _ACEOF
29287 if ac_fn_cxx_try_compile "$LINENO"; then :
29288   glibcxx_cv_func_fabsf_use=yes
29289 else
29290   glibcxx_cv_func_fabsf_use=no
29291 fi
29292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29293       ac_ext=c
29294 ac_cpp='$CPP $CPPFLAGS'
29295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29298
29299
29300 fi
29301
29302   fi
29303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29304 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29305
29306   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29307     for ac_func in fabsf
29308 do :
29309   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29310 if test "x$ac_cv_func_fabsf" = x""yes; then :
29311   cat >>confdefs.h <<_ACEOF
29312 #define HAVE_FABSF 1
29313 _ACEOF
29314
29315 fi
29316 done
29317
29318   else
29319
29320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29321 $as_echo_n "checking for _fabsf declaration... " >&6; }
29322   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29323     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29324   $as_echo_n "(cached) " >&6
29325 else
29326
29327
29328       ac_ext=cpp
29329 ac_cpp='$CXXCPP $CPPFLAGS'
29330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29333
29334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29335 /* end confdefs.h.  */
29336 #include <math.h>
29337                       #ifdef HAVE_IEEEFP_H
29338                       #include <ieeefp.h>
29339                       #endif
29340
29341 int
29342 main ()
29343 {
29344  _fabsf(0);
29345   ;
29346   return 0;
29347 }
29348 _ACEOF
29349 if ac_fn_cxx_try_compile "$LINENO"; then :
29350   glibcxx_cv_func__fabsf_use=yes
29351 else
29352   glibcxx_cv_func__fabsf_use=no
29353 fi
29354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29355       ac_ext=c
29356 ac_cpp='$CPP $CPPFLAGS'
29357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29360
29361
29362 fi
29363
29364   fi
29365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29366 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29367
29368     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29369       for ac_func in _fabsf
29370 do :
29371   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29372 if test "x$ac_cv_func__fabsf" = x""yes; then :
29373   cat >>confdefs.h <<_ACEOF
29374 #define HAVE__FABSF 1
29375 _ACEOF
29376
29377 fi
29378 done
29379
29380     fi
29381   fi
29382
29383
29384
29385
29386
29387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29388 $as_echo_n "checking for fmodf declaration... " >&6; }
29389   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29390     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29391   $as_echo_n "(cached) " >&6
29392 else
29393
29394
29395       ac_ext=cpp
29396 ac_cpp='$CXXCPP $CPPFLAGS'
29397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29400
29401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29402 /* end confdefs.h.  */
29403 #include <math.h>
29404 int
29405 main ()
29406 {
29407  fmodf(0, 0);
29408   ;
29409   return 0;
29410 }
29411 _ACEOF
29412 if ac_fn_cxx_try_compile "$LINENO"; then :
29413   glibcxx_cv_func_fmodf_use=yes
29414 else
29415   glibcxx_cv_func_fmodf_use=no
29416 fi
29417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29418       ac_ext=c
29419 ac_cpp='$CPP $CPPFLAGS'
29420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29423
29424
29425 fi
29426
29427   fi
29428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29429 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29430
29431   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29432     for ac_func in fmodf
29433 do :
29434   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29435 if test "x$ac_cv_func_fmodf" = x""yes; then :
29436   cat >>confdefs.h <<_ACEOF
29437 #define HAVE_FMODF 1
29438 _ACEOF
29439
29440 fi
29441 done
29442
29443   else
29444
29445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29446 $as_echo_n "checking for _fmodf declaration... " >&6; }
29447   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29448     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29449   $as_echo_n "(cached) " >&6
29450 else
29451
29452
29453       ac_ext=cpp
29454 ac_cpp='$CXXCPP $CPPFLAGS'
29455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29458
29459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29460 /* end confdefs.h.  */
29461 #include <math.h>
29462 int
29463 main ()
29464 {
29465  _fmodf(0, 0);
29466   ;
29467   return 0;
29468 }
29469 _ACEOF
29470 if ac_fn_cxx_try_compile "$LINENO"; then :
29471   glibcxx_cv_func__fmodf_use=yes
29472 else
29473   glibcxx_cv_func__fmodf_use=no
29474 fi
29475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29476       ac_ext=c
29477 ac_cpp='$CPP $CPPFLAGS'
29478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29481
29482
29483 fi
29484
29485   fi
29486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29487 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29488
29489     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29490       for ac_func in _fmodf
29491 do :
29492   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29493 if test "x$ac_cv_func__fmodf" = x""yes; then :
29494   cat >>confdefs.h <<_ACEOF
29495 #define HAVE__FMODF 1
29496 _ACEOF
29497
29498 fi
29499 done
29500
29501     fi
29502   fi
29503
29504
29505
29506
29507
29508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29509 $as_echo_n "checking for frexpf declaration... " >&6; }
29510   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29511     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29512   $as_echo_n "(cached) " >&6
29513 else
29514
29515
29516       ac_ext=cpp
29517 ac_cpp='$CXXCPP $CPPFLAGS'
29518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29521
29522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29523 /* end confdefs.h.  */
29524 #include <math.h>
29525 int
29526 main ()
29527 {
29528  frexpf(0, 0);
29529   ;
29530   return 0;
29531 }
29532 _ACEOF
29533 if ac_fn_cxx_try_compile "$LINENO"; then :
29534   glibcxx_cv_func_frexpf_use=yes
29535 else
29536   glibcxx_cv_func_frexpf_use=no
29537 fi
29538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29539       ac_ext=c
29540 ac_cpp='$CPP $CPPFLAGS'
29541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29544
29545
29546 fi
29547
29548   fi
29549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29550 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29551
29552   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29553     for ac_func in frexpf
29554 do :
29555   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29556 if test "x$ac_cv_func_frexpf" = x""yes; then :
29557   cat >>confdefs.h <<_ACEOF
29558 #define HAVE_FREXPF 1
29559 _ACEOF
29560
29561 fi
29562 done
29563
29564   else
29565
29566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29567 $as_echo_n "checking for _frexpf declaration... " >&6; }
29568   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29569     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29570   $as_echo_n "(cached) " >&6
29571 else
29572
29573
29574       ac_ext=cpp
29575 ac_cpp='$CXXCPP $CPPFLAGS'
29576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29579
29580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29581 /* end confdefs.h.  */
29582 #include <math.h>
29583 int
29584 main ()
29585 {
29586  _frexpf(0, 0);
29587   ;
29588   return 0;
29589 }
29590 _ACEOF
29591 if ac_fn_cxx_try_compile "$LINENO"; then :
29592   glibcxx_cv_func__frexpf_use=yes
29593 else
29594   glibcxx_cv_func__frexpf_use=no
29595 fi
29596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29597       ac_ext=c
29598 ac_cpp='$CPP $CPPFLAGS'
29599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29602
29603
29604 fi
29605
29606   fi
29607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29608 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29609
29610     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29611       for ac_func in _frexpf
29612 do :
29613   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29614 if test "x$ac_cv_func__frexpf" = x""yes; then :
29615   cat >>confdefs.h <<_ACEOF
29616 #define HAVE__FREXPF 1
29617 _ACEOF
29618
29619 fi
29620 done
29621
29622     fi
29623   fi
29624
29625
29626
29627
29628
29629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29630 $as_echo_n "checking for hypotf declaration... " >&6; }
29631   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29632     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29633   $as_echo_n "(cached) " >&6
29634 else
29635
29636
29637       ac_ext=cpp
29638 ac_cpp='$CXXCPP $CPPFLAGS'
29639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29642
29643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29644 /* end confdefs.h.  */
29645 #include <math.h>
29646 int
29647 main ()
29648 {
29649  hypotf(0, 0);
29650   ;
29651   return 0;
29652 }
29653 _ACEOF
29654 if ac_fn_cxx_try_compile "$LINENO"; then :
29655   glibcxx_cv_func_hypotf_use=yes
29656 else
29657   glibcxx_cv_func_hypotf_use=no
29658 fi
29659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29660       ac_ext=c
29661 ac_cpp='$CPP $CPPFLAGS'
29662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29665
29666
29667 fi
29668
29669   fi
29670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29671 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29672
29673   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29674     for ac_func in hypotf
29675 do :
29676   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29677 if test "x$ac_cv_func_hypotf" = x""yes; then :
29678   cat >>confdefs.h <<_ACEOF
29679 #define HAVE_HYPOTF 1
29680 _ACEOF
29681
29682 fi
29683 done
29684
29685   else
29686
29687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29688 $as_echo_n "checking for _hypotf declaration... " >&6; }
29689   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29690     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29691   $as_echo_n "(cached) " >&6
29692 else
29693
29694
29695       ac_ext=cpp
29696 ac_cpp='$CXXCPP $CPPFLAGS'
29697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29700
29701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29702 /* end confdefs.h.  */
29703 #include <math.h>
29704 int
29705 main ()
29706 {
29707  _hypotf(0, 0);
29708   ;
29709   return 0;
29710 }
29711 _ACEOF
29712 if ac_fn_cxx_try_compile "$LINENO"; then :
29713   glibcxx_cv_func__hypotf_use=yes
29714 else
29715   glibcxx_cv_func__hypotf_use=no
29716 fi
29717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29718       ac_ext=c
29719 ac_cpp='$CPP $CPPFLAGS'
29720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29723
29724
29725 fi
29726
29727   fi
29728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29729 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29730
29731     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29732       for ac_func in _hypotf
29733 do :
29734   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29735 if test "x$ac_cv_func__hypotf" = x""yes; then :
29736   cat >>confdefs.h <<_ACEOF
29737 #define HAVE__HYPOTF 1
29738 _ACEOF
29739
29740 fi
29741 done
29742
29743     fi
29744   fi
29745
29746
29747
29748
29749
29750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29751 $as_echo_n "checking for ldexpf declaration... " >&6; }
29752   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29753     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29754   $as_echo_n "(cached) " >&6
29755 else
29756
29757
29758       ac_ext=cpp
29759 ac_cpp='$CXXCPP $CPPFLAGS'
29760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29763
29764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29765 /* end confdefs.h.  */
29766 #include <math.h>
29767 int
29768 main ()
29769 {
29770  ldexpf(0, 0);
29771   ;
29772   return 0;
29773 }
29774 _ACEOF
29775 if ac_fn_cxx_try_compile "$LINENO"; then :
29776   glibcxx_cv_func_ldexpf_use=yes
29777 else
29778   glibcxx_cv_func_ldexpf_use=no
29779 fi
29780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29781       ac_ext=c
29782 ac_cpp='$CPP $CPPFLAGS'
29783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29786
29787
29788 fi
29789
29790   fi
29791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29792 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29793
29794   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29795     for ac_func in ldexpf
29796 do :
29797   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29798 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29799   cat >>confdefs.h <<_ACEOF
29800 #define HAVE_LDEXPF 1
29801 _ACEOF
29802
29803 fi
29804 done
29805
29806   else
29807
29808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29809 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29810   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29811     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29812   $as_echo_n "(cached) " >&6
29813 else
29814
29815
29816       ac_ext=cpp
29817 ac_cpp='$CXXCPP $CPPFLAGS'
29818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29821
29822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29823 /* end confdefs.h.  */
29824 #include <math.h>
29825 int
29826 main ()
29827 {
29828  _ldexpf(0, 0);
29829   ;
29830   return 0;
29831 }
29832 _ACEOF
29833 if ac_fn_cxx_try_compile "$LINENO"; then :
29834   glibcxx_cv_func__ldexpf_use=yes
29835 else
29836   glibcxx_cv_func__ldexpf_use=no
29837 fi
29838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29839       ac_ext=c
29840 ac_cpp='$CPP $CPPFLAGS'
29841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29844
29845
29846 fi
29847
29848   fi
29849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29850 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29851
29852     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29853       for ac_func in _ldexpf
29854 do :
29855   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29856 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29857   cat >>confdefs.h <<_ACEOF
29858 #define HAVE__LDEXPF 1
29859 _ACEOF
29860
29861 fi
29862 done
29863
29864     fi
29865   fi
29866
29867
29868
29869
29870
29871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29872 $as_echo_n "checking for logf declaration... " >&6; }
29873   if test x${glibcxx_cv_func_logf_use+set} != xset; then
29874     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29875   $as_echo_n "(cached) " >&6
29876 else
29877
29878
29879       ac_ext=cpp
29880 ac_cpp='$CXXCPP $CPPFLAGS'
29881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29884
29885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29886 /* end confdefs.h.  */
29887 #include <math.h>
29888                       #ifdef HAVE_IEEEFP_H
29889                       #include <ieeefp.h>
29890                       #endif
29891
29892 int
29893 main ()
29894 {
29895  logf(0);
29896   ;
29897   return 0;
29898 }
29899 _ACEOF
29900 if ac_fn_cxx_try_compile "$LINENO"; then :
29901   glibcxx_cv_func_logf_use=yes
29902 else
29903   glibcxx_cv_func_logf_use=no
29904 fi
29905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29906       ac_ext=c
29907 ac_cpp='$CPP $CPPFLAGS'
29908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29911
29912
29913 fi
29914
29915   fi
29916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29917 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29918
29919   if test x$glibcxx_cv_func_logf_use = x"yes"; then
29920     for ac_func in logf
29921 do :
29922   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29923 if test "x$ac_cv_func_logf" = x""yes; then :
29924   cat >>confdefs.h <<_ACEOF
29925 #define HAVE_LOGF 1
29926 _ACEOF
29927
29928 fi
29929 done
29930
29931   else
29932
29933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29934 $as_echo_n "checking for _logf declaration... " >&6; }
29935   if test x${glibcxx_cv_func__logf_use+set} != xset; then
29936     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29937   $as_echo_n "(cached) " >&6
29938 else
29939
29940
29941       ac_ext=cpp
29942 ac_cpp='$CXXCPP $CPPFLAGS'
29943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29946
29947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29948 /* end confdefs.h.  */
29949 #include <math.h>
29950                       #ifdef HAVE_IEEEFP_H
29951                       #include <ieeefp.h>
29952                       #endif
29953
29954 int
29955 main ()
29956 {
29957  _logf(0);
29958   ;
29959   return 0;
29960 }
29961 _ACEOF
29962 if ac_fn_cxx_try_compile "$LINENO"; then :
29963   glibcxx_cv_func__logf_use=yes
29964 else
29965   glibcxx_cv_func__logf_use=no
29966 fi
29967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29968       ac_ext=c
29969 ac_cpp='$CPP $CPPFLAGS'
29970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29973
29974
29975 fi
29976
29977   fi
29978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29979 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29980
29981     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29982       for ac_func in _logf
29983 do :
29984   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29985 if test "x$ac_cv_func__logf" = x""yes; then :
29986   cat >>confdefs.h <<_ACEOF
29987 #define HAVE__LOGF 1
29988 _ACEOF
29989
29990 fi
29991 done
29992
29993     fi
29994   fi
29995
29996
29997
29998
29999
30000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30001 $as_echo_n "checking for log10f declaration... " >&6; }
30002   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30003     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30004   $as_echo_n "(cached) " >&6
30005 else
30006
30007
30008       ac_ext=cpp
30009 ac_cpp='$CXXCPP $CPPFLAGS'
30010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30013
30014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30015 /* end confdefs.h.  */
30016 #include <math.h>
30017                       #ifdef HAVE_IEEEFP_H
30018                       #include <ieeefp.h>
30019                       #endif
30020
30021 int
30022 main ()
30023 {
30024  log10f(0);
30025   ;
30026   return 0;
30027 }
30028 _ACEOF
30029 if ac_fn_cxx_try_compile "$LINENO"; then :
30030   glibcxx_cv_func_log10f_use=yes
30031 else
30032   glibcxx_cv_func_log10f_use=no
30033 fi
30034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30035       ac_ext=c
30036 ac_cpp='$CPP $CPPFLAGS'
30037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30040
30041
30042 fi
30043
30044   fi
30045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30046 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30047
30048   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30049     for ac_func in log10f
30050 do :
30051   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30052 if test "x$ac_cv_func_log10f" = x""yes; then :
30053   cat >>confdefs.h <<_ACEOF
30054 #define HAVE_LOG10F 1
30055 _ACEOF
30056
30057 fi
30058 done
30059
30060   else
30061
30062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30063 $as_echo_n "checking for _log10f declaration... " >&6; }
30064   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30065     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30066   $as_echo_n "(cached) " >&6
30067 else
30068
30069
30070       ac_ext=cpp
30071 ac_cpp='$CXXCPP $CPPFLAGS'
30072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30075
30076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30077 /* end confdefs.h.  */
30078 #include <math.h>
30079                       #ifdef HAVE_IEEEFP_H
30080                       #include <ieeefp.h>
30081                       #endif
30082
30083 int
30084 main ()
30085 {
30086  _log10f(0);
30087   ;
30088   return 0;
30089 }
30090 _ACEOF
30091 if ac_fn_cxx_try_compile "$LINENO"; then :
30092   glibcxx_cv_func__log10f_use=yes
30093 else
30094   glibcxx_cv_func__log10f_use=no
30095 fi
30096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30097       ac_ext=c
30098 ac_cpp='$CPP $CPPFLAGS'
30099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30102
30103
30104 fi
30105
30106   fi
30107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30108 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30109
30110     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30111       for ac_func in _log10f
30112 do :
30113   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30114 if test "x$ac_cv_func__log10f" = x""yes; then :
30115   cat >>confdefs.h <<_ACEOF
30116 #define HAVE__LOG10F 1
30117 _ACEOF
30118
30119 fi
30120 done
30121
30122     fi
30123   fi
30124
30125
30126
30127
30128
30129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30130 $as_echo_n "checking for modff declaration... " >&6; }
30131   if test x${glibcxx_cv_func_modff_use+set} != xset; then
30132     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30133   $as_echo_n "(cached) " >&6
30134 else
30135
30136
30137       ac_ext=cpp
30138 ac_cpp='$CXXCPP $CPPFLAGS'
30139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30142
30143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30144 /* end confdefs.h.  */
30145 #include <math.h>
30146 int
30147 main ()
30148 {
30149  modff(0, 0);
30150   ;
30151   return 0;
30152 }
30153 _ACEOF
30154 if ac_fn_cxx_try_compile "$LINENO"; then :
30155   glibcxx_cv_func_modff_use=yes
30156 else
30157   glibcxx_cv_func_modff_use=no
30158 fi
30159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30160       ac_ext=c
30161 ac_cpp='$CPP $CPPFLAGS'
30162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30165
30166
30167 fi
30168
30169   fi
30170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30171 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30172
30173   if test x$glibcxx_cv_func_modff_use = x"yes"; then
30174     for ac_func in modff
30175 do :
30176   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30177 if test "x$ac_cv_func_modff" = x""yes; then :
30178   cat >>confdefs.h <<_ACEOF
30179 #define HAVE_MODFF 1
30180 _ACEOF
30181
30182 fi
30183 done
30184
30185   else
30186
30187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30188 $as_echo_n "checking for _modff declaration... " >&6; }
30189   if test x${glibcxx_cv_func__modff_use+set} != xset; then
30190     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30191   $as_echo_n "(cached) " >&6
30192 else
30193
30194
30195       ac_ext=cpp
30196 ac_cpp='$CXXCPP $CPPFLAGS'
30197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30200
30201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30202 /* end confdefs.h.  */
30203 #include <math.h>
30204 int
30205 main ()
30206 {
30207  _modff(0, 0);
30208   ;
30209   return 0;
30210 }
30211 _ACEOF
30212 if ac_fn_cxx_try_compile "$LINENO"; then :
30213   glibcxx_cv_func__modff_use=yes
30214 else
30215   glibcxx_cv_func__modff_use=no
30216 fi
30217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30218       ac_ext=c
30219 ac_cpp='$CPP $CPPFLAGS'
30220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30223
30224
30225 fi
30226
30227   fi
30228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30229 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30230
30231     if test x$glibcxx_cv_func__modff_use = x"yes"; then
30232       for ac_func in _modff
30233 do :
30234   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30235 if test "x$ac_cv_func__modff" = x""yes; then :
30236   cat >>confdefs.h <<_ACEOF
30237 #define HAVE__MODFF 1
30238 _ACEOF
30239
30240 fi
30241 done
30242
30243     fi
30244   fi
30245
30246
30247
30248
30249
30250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30251 $as_echo_n "checking for modf declaration... " >&6; }
30252   if test x${glibcxx_cv_func_modf_use+set} != xset; then
30253     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30254   $as_echo_n "(cached) " >&6
30255 else
30256
30257
30258       ac_ext=cpp
30259 ac_cpp='$CXXCPP $CPPFLAGS'
30260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30263
30264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30265 /* end confdefs.h.  */
30266 #include <math.h>
30267 int
30268 main ()
30269 {
30270  modf(0, 0);
30271   ;
30272   return 0;
30273 }
30274 _ACEOF
30275 if ac_fn_cxx_try_compile "$LINENO"; then :
30276   glibcxx_cv_func_modf_use=yes
30277 else
30278   glibcxx_cv_func_modf_use=no
30279 fi
30280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30281       ac_ext=c
30282 ac_cpp='$CPP $CPPFLAGS'
30283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30286
30287
30288 fi
30289
30290   fi
30291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30292 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30293
30294   if test x$glibcxx_cv_func_modf_use = x"yes"; then
30295     for ac_func in modf
30296 do :
30297   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30298 if test "x$ac_cv_func_modf" = x""yes; then :
30299   cat >>confdefs.h <<_ACEOF
30300 #define HAVE_MODF 1
30301 _ACEOF
30302
30303 fi
30304 done
30305
30306   else
30307
30308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30309 $as_echo_n "checking for _modf declaration... " >&6; }
30310   if test x${glibcxx_cv_func__modf_use+set} != xset; then
30311     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30312   $as_echo_n "(cached) " >&6
30313 else
30314
30315
30316       ac_ext=cpp
30317 ac_cpp='$CXXCPP $CPPFLAGS'
30318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30321
30322       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30323 /* end confdefs.h.  */
30324 #include <math.h>
30325 int
30326 main ()
30327 {
30328  _modf(0, 0);
30329   ;
30330   return 0;
30331 }
30332 _ACEOF
30333 if ac_fn_cxx_try_compile "$LINENO"; then :
30334   glibcxx_cv_func__modf_use=yes
30335 else
30336   glibcxx_cv_func__modf_use=no
30337 fi
30338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30339       ac_ext=c
30340 ac_cpp='$CPP $CPPFLAGS'
30341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30344
30345
30346 fi
30347
30348   fi
30349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30350 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30351
30352     if test x$glibcxx_cv_func__modf_use = x"yes"; then
30353       for ac_func in _modf
30354 do :
30355   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30356 if test "x$ac_cv_func__modf" = x""yes; then :
30357   cat >>confdefs.h <<_ACEOF
30358 #define HAVE__MODF 1
30359 _ACEOF
30360
30361 fi
30362 done
30363
30364     fi
30365   fi
30366
30367
30368
30369
30370
30371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30372 $as_echo_n "checking for powf declaration... " >&6; }
30373   if test x${glibcxx_cv_func_powf_use+set} != xset; then
30374     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30375   $as_echo_n "(cached) " >&6
30376 else
30377
30378
30379       ac_ext=cpp
30380 ac_cpp='$CXXCPP $CPPFLAGS'
30381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30384
30385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30386 /* end confdefs.h.  */
30387 #include <math.h>
30388 int
30389 main ()
30390 {
30391  powf(0, 0);
30392   ;
30393   return 0;
30394 }
30395 _ACEOF
30396 if ac_fn_cxx_try_compile "$LINENO"; then :
30397   glibcxx_cv_func_powf_use=yes
30398 else
30399   glibcxx_cv_func_powf_use=no
30400 fi
30401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30402       ac_ext=c
30403 ac_cpp='$CPP $CPPFLAGS'
30404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30407
30408
30409 fi
30410
30411   fi
30412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30413 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30414
30415   if test x$glibcxx_cv_func_powf_use = x"yes"; then
30416     for ac_func in powf
30417 do :
30418   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30419 if test "x$ac_cv_func_powf" = x""yes; then :
30420   cat >>confdefs.h <<_ACEOF
30421 #define HAVE_POWF 1
30422 _ACEOF
30423
30424 fi
30425 done
30426
30427   else
30428
30429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30430 $as_echo_n "checking for _powf declaration... " >&6; }
30431   if test x${glibcxx_cv_func__powf_use+set} != xset; then
30432     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30433   $as_echo_n "(cached) " >&6
30434 else
30435
30436
30437       ac_ext=cpp
30438 ac_cpp='$CXXCPP $CPPFLAGS'
30439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30442
30443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30444 /* end confdefs.h.  */
30445 #include <math.h>
30446 int
30447 main ()
30448 {
30449  _powf(0, 0);
30450   ;
30451   return 0;
30452 }
30453 _ACEOF
30454 if ac_fn_cxx_try_compile "$LINENO"; then :
30455   glibcxx_cv_func__powf_use=yes
30456 else
30457   glibcxx_cv_func__powf_use=no
30458 fi
30459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30460       ac_ext=c
30461 ac_cpp='$CPP $CPPFLAGS'
30462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30465
30466
30467 fi
30468
30469   fi
30470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30471 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30472
30473     if test x$glibcxx_cv_func__powf_use = x"yes"; then
30474       for ac_func in _powf
30475 do :
30476   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30477 if test "x$ac_cv_func__powf" = x""yes; then :
30478   cat >>confdefs.h <<_ACEOF
30479 #define HAVE__POWF 1
30480 _ACEOF
30481
30482 fi
30483 done
30484
30485     fi
30486   fi
30487
30488
30489
30490
30491
30492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30493 $as_echo_n "checking for sqrtf declaration... " >&6; }
30494   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30495     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30496   $as_echo_n "(cached) " >&6
30497 else
30498
30499
30500       ac_ext=cpp
30501 ac_cpp='$CXXCPP $CPPFLAGS'
30502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30505
30506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30507 /* end confdefs.h.  */
30508 #include <math.h>
30509                       #ifdef HAVE_IEEEFP_H
30510                       #include <ieeefp.h>
30511                       #endif
30512
30513 int
30514 main ()
30515 {
30516  sqrtf(0);
30517   ;
30518   return 0;
30519 }
30520 _ACEOF
30521 if ac_fn_cxx_try_compile "$LINENO"; then :
30522   glibcxx_cv_func_sqrtf_use=yes
30523 else
30524   glibcxx_cv_func_sqrtf_use=no
30525 fi
30526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30527       ac_ext=c
30528 ac_cpp='$CPP $CPPFLAGS'
30529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30532
30533
30534 fi
30535
30536   fi
30537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30538 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30539
30540   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30541     for ac_func in sqrtf
30542 do :
30543   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30544 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30545   cat >>confdefs.h <<_ACEOF
30546 #define HAVE_SQRTF 1
30547 _ACEOF
30548
30549 fi
30550 done
30551
30552   else
30553
30554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30555 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30556   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30557     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30558   $as_echo_n "(cached) " >&6
30559 else
30560
30561
30562       ac_ext=cpp
30563 ac_cpp='$CXXCPP $CPPFLAGS'
30564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30567
30568       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30569 /* end confdefs.h.  */
30570 #include <math.h>
30571                       #ifdef HAVE_IEEEFP_H
30572                       #include <ieeefp.h>
30573                       #endif
30574
30575 int
30576 main ()
30577 {
30578  _sqrtf(0);
30579   ;
30580   return 0;
30581 }
30582 _ACEOF
30583 if ac_fn_cxx_try_compile "$LINENO"; then :
30584   glibcxx_cv_func__sqrtf_use=yes
30585 else
30586   glibcxx_cv_func__sqrtf_use=no
30587 fi
30588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30589       ac_ext=c
30590 ac_cpp='$CPP $CPPFLAGS'
30591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30594
30595
30596 fi
30597
30598   fi
30599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30600 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30601
30602     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30603       for ac_func in _sqrtf
30604 do :
30605   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30606 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30607   cat >>confdefs.h <<_ACEOF
30608 #define HAVE__SQRTF 1
30609 _ACEOF
30610
30611 fi
30612 done
30613
30614     fi
30615   fi
30616
30617
30618
30619
30620
30621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30622 $as_echo_n "checking for sincosf declaration... " >&6; }
30623   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30624     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30625   $as_echo_n "(cached) " >&6
30626 else
30627
30628
30629       ac_ext=cpp
30630 ac_cpp='$CXXCPP $CPPFLAGS'
30631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30634
30635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30636 /* end confdefs.h.  */
30637 #include <math.h>
30638 int
30639 main ()
30640 {
30641  sincosf(0, 0, 0);
30642   ;
30643   return 0;
30644 }
30645 _ACEOF
30646 if ac_fn_cxx_try_compile "$LINENO"; then :
30647   glibcxx_cv_func_sincosf_use=yes
30648 else
30649   glibcxx_cv_func_sincosf_use=no
30650 fi
30651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30652       ac_ext=c
30653 ac_cpp='$CPP $CPPFLAGS'
30654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30657
30658
30659 fi
30660
30661   fi
30662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30663 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30664
30665   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30666     for ac_func in sincosf
30667 do :
30668   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30669 if test "x$ac_cv_func_sincosf" = x""yes; then :
30670   cat >>confdefs.h <<_ACEOF
30671 #define HAVE_SINCOSF 1
30672 _ACEOF
30673
30674 fi
30675 done
30676
30677   else
30678
30679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30680 $as_echo_n "checking for _sincosf declaration... " >&6; }
30681   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30682     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30683   $as_echo_n "(cached) " >&6
30684 else
30685
30686
30687       ac_ext=cpp
30688 ac_cpp='$CXXCPP $CPPFLAGS'
30689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30692
30693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30694 /* end confdefs.h.  */
30695 #include <math.h>
30696 int
30697 main ()
30698 {
30699  _sincosf(0, 0, 0);
30700   ;
30701   return 0;
30702 }
30703 _ACEOF
30704 if ac_fn_cxx_try_compile "$LINENO"; then :
30705   glibcxx_cv_func__sincosf_use=yes
30706 else
30707   glibcxx_cv_func__sincosf_use=no
30708 fi
30709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30710       ac_ext=c
30711 ac_cpp='$CPP $CPPFLAGS'
30712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30715
30716
30717 fi
30718
30719   fi
30720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30721 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30722
30723     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30724       for ac_func in _sincosf
30725 do :
30726   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30727 if test "x$ac_cv_func__sincosf" = x""yes; then :
30728   cat >>confdefs.h <<_ACEOF
30729 #define HAVE__SINCOSF 1
30730 _ACEOF
30731
30732 fi
30733 done
30734
30735     fi
30736   fi
30737
30738
30739
30740
30741
30742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30743 $as_echo_n "checking for finitef declaration... " >&6; }
30744   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30745     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30746   $as_echo_n "(cached) " >&6
30747 else
30748
30749
30750       ac_ext=cpp
30751 ac_cpp='$CXXCPP $CPPFLAGS'
30752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30755
30756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30757 /* end confdefs.h.  */
30758 #include <math.h>
30759                       #ifdef HAVE_IEEEFP_H
30760                       #include <ieeefp.h>
30761                       #endif
30762
30763 int
30764 main ()
30765 {
30766  finitef(0);
30767   ;
30768   return 0;
30769 }
30770 _ACEOF
30771 if ac_fn_cxx_try_compile "$LINENO"; then :
30772   glibcxx_cv_func_finitef_use=yes
30773 else
30774   glibcxx_cv_func_finitef_use=no
30775 fi
30776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30777       ac_ext=c
30778 ac_cpp='$CPP $CPPFLAGS'
30779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30782
30783
30784 fi
30785
30786   fi
30787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30788 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30789
30790   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30791     for ac_func in finitef
30792 do :
30793   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30794 if test "x$ac_cv_func_finitef" = x""yes; then :
30795   cat >>confdefs.h <<_ACEOF
30796 #define HAVE_FINITEF 1
30797 _ACEOF
30798
30799 fi
30800 done
30801
30802   else
30803
30804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30805 $as_echo_n "checking for _finitef declaration... " >&6; }
30806   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30807     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30808   $as_echo_n "(cached) " >&6
30809 else
30810
30811
30812       ac_ext=cpp
30813 ac_cpp='$CXXCPP $CPPFLAGS'
30814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30817
30818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30819 /* end confdefs.h.  */
30820 #include <math.h>
30821                       #ifdef HAVE_IEEEFP_H
30822                       #include <ieeefp.h>
30823                       #endif
30824
30825 int
30826 main ()
30827 {
30828  _finitef(0);
30829   ;
30830   return 0;
30831 }
30832 _ACEOF
30833 if ac_fn_cxx_try_compile "$LINENO"; then :
30834   glibcxx_cv_func__finitef_use=yes
30835 else
30836   glibcxx_cv_func__finitef_use=no
30837 fi
30838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30839       ac_ext=c
30840 ac_cpp='$CPP $CPPFLAGS'
30841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30844
30845
30846 fi
30847
30848   fi
30849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30850 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30851
30852     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30853       for ac_func in _finitef
30854 do :
30855   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30856 if test "x$ac_cv_func__finitef" = x""yes; then :
30857   cat >>confdefs.h <<_ACEOF
30858 #define HAVE__FINITEF 1
30859 _ACEOF
30860
30861 fi
30862 done
30863
30864     fi
30865   fi
30866
30867
30868
30869
30870
30871     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30872 $as_echo_n "checking for long double trig functions... " >&6; }
30873   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30874   $as_echo_n "(cached) " >&6
30875 else
30876
30877
30878     ac_ext=cpp
30879 ac_cpp='$CXXCPP $CPPFLAGS'
30880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30883
30884     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30885 /* end confdefs.h.  */
30886 #include <math.h>
30887 int
30888 main ()
30889 {
30890 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30891   ;
30892   return 0;
30893 }
30894 _ACEOF
30895 if ac_fn_cxx_try_compile "$LINENO"; then :
30896   glibcxx_cv_func_long_double_trig_use=yes
30897 else
30898   glibcxx_cv_func_long_double_trig_use=no
30899 fi
30900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30901     ac_ext=c
30902 ac_cpp='$CPP $CPPFLAGS'
30903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30906
30907 fi
30908
30909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30910 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30911   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30912     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30913 do :
30914   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30916 eval as_val=\$$as_ac_var
30917    if test "x$as_val" = x""yes; then :
30918   cat >>confdefs.h <<_ACEOF
30919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30920 _ACEOF
30921
30922 fi
30923 done
30924
30925   else
30926     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30927 $as_echo_n "checking for _long double trig functions... " >&6; }
30928     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30929   $as_echo_n "(cached) " >&6
30930 else
30931
30932
30933       ac_ext=cpp
30934 ac_cpp='$CXXCPP $CPPFLAGS'
30935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30938
30939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30940 /* end confdefs.h.  */
30941 #include <math.h>
30942 int
30943 main ()
30944 {
30945 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30946   ;
30947   return 0;
30948 }
30949 _ACEOF
30950 if ac_fn_cxx_try_compile "$LINENO"; then :
30951   glibcxx_cv_func__long_double_trig_use=yes
30952 else
30953   glibcxx_cv_func__long_double_trig_use=no
30954 fi
30955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30956       ac_ext=c
30957 ac_cpp='$CPP $CPPFLAGS'
30958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30961
30962 fi
30963
30964     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30965 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30966     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30967       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30968 do :
30969   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30971 eval as_val=\$$as_ac_var
30972    if test "x$as_val" = x""yes; then :
30973   cat >>confdefs.h <<_ACEOF
30974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30975 _ACEOF
30976
30977 fi
30978 done
30979
30980     fi
30981   fi
30982
30983
30984
30985
30986
30987     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30988 $as_echo_n "checking for long double round functions... " >&6; }
30989   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30990   $as_echo_n "(cached) " >&6
30991 else
30992
30993
30994     ac_ext=cpp
30995 ac_cpp='$CXXCPP $CPPFLAGS'
30996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30999
31000     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31001 /* end confdefs.h.  */
31002 #include <math.h>
31003 int
31004 main ()
31005 {
31006 ceill (0); floorl (0);
31007   ;
31008   return 0;
31009 }
31010 _ACEOF
31011 if ac_fn_cxx_try_compile "$LINENO"; then :
31012   glibcxx_cv_func_long_double_round_use=yes
31013 else
31014   glibcxx_cv_func_long_double_round_use=no
31015 fi
31016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31017     ac_ext=c
31018 ac_cpp='$CPP $CPPFLAGS'
31019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31022
31023 fi
31024
31025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31026 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31027   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31028     for ac_func in ceill floorl
31029 do :
31030   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31032 eval as_val=\$$as_ac_var
31033    if test "x$as_val" = x""yes; then :
31034   cat >>confdefs.h <<_ACEOF
31035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31036 _ACEOF
31037
31038 fi
31039 done
31040
31041   else
31042     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31043 $as_echo_n "checking for _long double round functions... " >&6; }
31044     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31045   $as_echo_n "(cached) " >&6
31046 else
31047
31048
31049       ac_ext=cpp
31050 ac_cpp='$CXXCPP $CPPFLAGS'
31051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31054
31055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31056 /* end confdefs.h.  */
31057 #include <math.h>
31058 int
31059 main ()
31060 {
31061 _ceill (0); _floorl (0);
31062   ;
31063   return 0;
31064 }
31065 _ACEOF
31066 if ac_fn_cxx_try_compile "$LINENO"; then :
31067   glibcxx_cv_func__long_double_round_use=yes
31068 else
31069   glibcxx_cv_func__long_double_round_use=no
31070 fi
31071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31072       ac_ext=c
31073 ac_cpp='$CPP $CPPFLAGS'
31074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31077
31078 fi
31079
31080     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31081 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31082     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31083       for ac_func in _ceill _floorl
31084 do :
31085   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31087 eval as_val=\$$as_ac_var
31088    if test "x$as_val" = x""yes; then :
31089   cat >>confdefs.h <<_ACEOF
31090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31091 _ACEOF
31092
31093 fi
31094 done
31095
31096     fi
31097   fi
31098
31099
31100
31101
31102
31103
31104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31105 $as_echo_n "checking for isnanl declaration... " >&6; }
31106   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31107     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31108   $as_echo_n "(cached) " >&6
31109 else
31110
31111
31112       ac_ext=cpp
31113 ac_cpp='$CXXCPP $CPPFLAGS'
31114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31117
31118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31119 /* end confdefs.h.  */
31120 #include <math.h>
31121                       #ifdef HAVE_IEEEFP_H
31122                       #include <ieeefp.h>
31123                       #endif
31124
31125 int
31126 main ()
31127 {
31128  isnanl(0);
31129   ;
31130   return 0;
31131 }
31132 _ACEOF
31133 if ac_fn_cxx_try_compile "$LINENO"; then :
31134   glibcxx_cv_func_isnanl_use=yes
31135 else
31136   glibcxx_cv_func_isnanl_use=no
31137 fi
31138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31139       ac_ext=c
31140 ac_cpp='$CPP $CPPFLAGS'
31141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31144
31145
31146 fi
31147
31148   fi
31149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31150 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31151
31152   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31153     for ac_func in isnanl
31154 do :
31155   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31156 if test "x$ac_cv_func_isnanl" = x""yes; then :
31157   cat >>confdefs.h <<_ACEOF
31158 #define HAVE_ISNANL 1
31159 _ACEOF
31160
31161 fi
31162 done
31163
31164   else
31165
31166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31167 $as_echo_n "checking for _isnanl declaration... " >&6; }
31168   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31169     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31170   $as_echo_n "(cached) " >&6
31171 else
31172
31173
31174       ac_ext=cpp
31175 ac_cpp='$CXXCPP $CPPFLAGS'
31176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31179
31180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31181 /* end confdefs.h.  */
31182 #include <math.h>
31183                       #ifdef HAVE_IEEEFP_H
31184                       #include <ieeefp.h>
31185                       #endif
31186
31187 int
31188 main ()
31189 {
31190  _isnanl(0);
31191   ;
31192   return 0;
31193 }
31194 _ACEOF
31195 if ac_fn_cxx_try_compile "$LINENO"; then :
31196   glibcxx_cv_func__isnanl_use=yes
31197 else
31198   glibcxx_cv_func__isnanl_use=no
31199 fi
31200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31201       ac_ext=c
31202 ac_cpp='$CPP $CPPFLAGS'
31203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31206
31207
31208 fi
31209
31210   fi
31211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31212 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31213
31214     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31215       for ac_func in _isnanl
31216 do :
31217   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31218 if test "x$ac_cv_func__isnanl" = x""yes; then :
31219   cat >>confdefs.h <<_ACEOF
31220 #define HAVE__ISNANL 1
31221 _ACEOF
31222
31223 fi
31224 done
31225
31226     fi
31227   fi
31228
31229
31230
31231
31232
31233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31234 $as_echo_n "checking for isinfl declaration... " >&6; }
31235   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31236     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31237   $as_echo_n "(cached) " >&6
31238 else
31239
31240
31241       ac_ext=cpp
31242 ac_cpp='$CXXCPP $CPPFLAGS'
31243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31246
31247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31248 /* end confdefs.h.  */
31249 #include <math.h>
31250                       #ifdef HAVE_IEEEFP_H
31251                       #include <ieeefp.h>
31252                       #endif
31253
31254 int
31255 main ()
31256 {
31257  isinfl(0);
31258   ;
31259   return 0;
31260 }
31261 _ACEOF
31262 if ac_fn_cxx_try_compile "$LINENO"; then :
31263   glibcxx_cv_func_isinfl_use=yes
31264 else
31265   glibcxx_cv_func_isinfl_use=no
31266 fi
31267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31268       ac_ext=c
31269 ac_cpp='$CPP $CPPFLAGS'
31270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31273
31274
31275 fi
31276
31277   fi
31278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31279 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31280
31281   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31282     for ac_func in isinfl
31283 do :
31284   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31285 if test "x$ac_cv_func_isinfl" = x""yes; then :
31286   cat >>confdefs.h <<_ACEOF
31287 #define HAVE_ISINFL 1
31288 _ACEOF
31289
31290 fi
31291 done
31292
31293   else
31294
31295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31296 $as_echo_n "checking for _isinfl declaration... " >&6; }
31297   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31298     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31299   $as_echo_n "(cached) " >&6
31300 else
31301
31302
31303       ac_ext=cpp
31304 ac_cpp='$CXXCPP $CPPFLAGS'
31305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31308
31309       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31310 /* end confdefs.h.  */
31311 #include <math.h>
31312                       #ifdef HAVE_IEEEFP_H
31313                       #include <ieeefp.h>
31314                       #endif
31315
31316 int
31317 main ()
31318 {
31319  _isinfl(0);
31320   ;
31321   return 0;
31322 }
31323 _ACEOF
31324 if ac_fn_cxx_try_compile "$LINENO"; then :
31325   glibcxx_cv_func__isinfl_use=yes
31326 else
31327   glibcxx_cv_func__isinfl_use=no
31328 fi
31329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31330       ac_ext=c
31331 ac_cpp='$CPP $CPPFLAGS'
31332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31335
31336
31337 fi
31338
31339   fi
31340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31341 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31342
31343     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31344       for ac_func in _isinfl
31345 do :
31346   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31347 if test "x$ac_cv_func__isinfl" = x""yes; then :
31348   cat >>confdefs.h <<_ACEOF
31349 #define HAVE__ISINFL 1
31350 _ACEOF
31351
31352 fi
31353 done
31354
31355     fi
31356   fi
31357
31358
31359
31360
31361
31362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31363 $as_echo_n "checking for atan2l declaration... " >&6; }
31364   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31365     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31366   $as_echo_n "(cached) " >&6
31367 else
31368
31369
31370       ac_ext=cpp
31371 ac_cpp='$CXXCPP $CPPFLAGS'
31372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31375
31376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31377 /* end confdefs.h.  */
31378 #include <math.h>
31379 int
31380 main ()
31381 {
31382  atan2l(0, 0);
31383   ;
31384   return 0;
31385 }
31386 _ACEOF
31387 if ac_fn_cxx_try_compile "$LINENO"; then :
31388   glibcxx_cv_func_atan2l_use=yes
31389 else
31390   glibcxx_cv_func_atan2l_use=no
31391 fi
31392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31393       ac_ext=c
31394 ac_cpp='$CPP $CPPFLAGS'
31395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31398
31399
31400 fi
31401
31402   fi
31403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31404 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31405
31406   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31407     for ac_func in atan2l
31408 do :
31409   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31410 if test "x$ac_cv_func_atan2l" = x""yes; then :
31411   cat >>confdefs.h <<_ACEOF
31412 #define HAVE_ATAN2L 1
31413 _ACEOF
31414
31415 fi
31416 done
31417
31418   else
31419
31420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31421 $as_echo_n "checking for _atan2l declaration... " >&6; }
31422   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31423     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31424   $as_echo_n "(cached) " >&6
31425 else
31426
31427
31428       ac_ext=cpp
31429 ac_cpp='$CXXCPP $CPPFLAGS'
31430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31433
31434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31435 /* end confdefs.h.  */
31436 #include <math.h>
31437 int
31438 main ()
31439 {
31440  _atan2l(0, 0);
31441   ;
31442   return 0;
31443 }
31444 _ACEOF
31445 if ac_fn_cxx_try_compile "$LINENO"; then :
31446   glibcxx_cv_func__atan2l_use=yes
31447 else
31448   glibcxx_cv_func__atan2l_use=no
31449 fi
31450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31451       ac_ext=c
31452 ac_cpp='$CPP $CPPFLAGS'
31453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31456
31457
31458 fi
31459
31460   fi
31461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31462 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31463
31464     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31465       for ac_func in _atan2l
31466 do :
31467   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31468 if test "x$ac_cv_func__atan2l" = x""yes; then :
31469   cat >>confdefs.h <<_ACEOF
31470 #define HAVE__ATAN2L 1
31471 _ACEOF
31472
31473 fi
31474 done
31475
31476     fi
31477   fi
31478
31479
31480
31481
31482
31483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31484 $as_echo_n "checking for expl declaration... " >&6; }
31485   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31486     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31487   $as_echo_n "(cached) " >&6
31488 else
31489
31490
31491       ac_ext=cpp
31492 ac_cpp='$CXXCPP $CPPFLAGS'
31493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31496
31497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31498 /* end confdefs.h.  */
31499 #include <math.h>
31500                       #ifdef HAVE_IEEEFP_H
31501                       #include <ieeefp.h>
31502                       #endif
31503
31504 int
31505 main ()
31506 {
31507  expl(0);
31508   ;
31509   return 0;
31510 }
31511 _ACEOF
31512 if ac_fn_cxx_try_compile "$LINENO"; then :
31513   glibcxx_cv_func_expl_use=yes
31514 else
31515   glibcxx_cv_func_expl_use=no
31516 fi
31517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31518       ac_ext=c
31519 ac_cpp='$CPP $CPPFLAGS'
31520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31523
31524
31525 fi
31526
31527   fi
31528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31529 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31530
31531   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31532     for ac_func in expl
31533 do :
31534   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31535 if test "x$ac_cv_func_expl" = x""yes; then :
31536   cat >>confdefs.h <<_ACEOF
31537 #define HAVE_EXPL 1
31538 _ACEOF
31539
31540 fi
31541 done
31542
31543   else
31544
31545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31546 $as_echo_n "checking for _expl declaration... " >&6; }
31547   if test x${glibcxx_cv_func__expl_use+set} != xset; then
31548     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31549   $as_echo_n "(cached) " >&6
31550 else
31551
31552
31553       ac_ext=cpp
31554 ac_cpp='$CXXCPP $CPPFLAGS'
31555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31558
31559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31560 /* end confdefs.h.  */
31561 #include <math.h>
31562                       #ifdef HAVE_IEEEFP_H
31563                       #include <ieeefp.h>
31564                       #endif
31565
31566 int
31567 main ()
31568 {
31569  _expl(0);
31570   ;
31571   return 0;
31572 }
31573 _ACEOF
31574 if ac_fn_cxx_try_compile "$LINENO"; then :
31575   glibcxx_cv_func__expl_use=yes
31576 else
31577   glibcxx_cv_func__expl_use=no
31578 fi
31579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31580       ac_ext=c
31581 ac_cpp='$CPP $CPPFLAGS'
31582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31585
31586
31587 fi
31588
31589   fi
31590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31591 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31592
31593     if test x$glibcxx_cv_func__expl_use = x"yes"; then
31594       for ac_func in _expl
31595 do :
31596   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31597 if test "x$ac_cv_func__expl" = x""yes; then :
31598   cat >>confdefs.h <<_ACEOF
31599 #define HAVE__EXPL 1
31600 _ACEOF
31601
31602 fi
31603 done
31604
31605     fi
31606   fi
31607
31608
31609
31610
31611
31612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31613 $as_echo_n "checking for fabsl declaration... " >&6; }
31614   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31615     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31616   $as_echo_n "(cached) " >&6
31617 else
31618
31619
31620       ac_ext=cpp
31621 ac_cpp='$CXXCPP $CPPFLAGS'
31622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31625
31626       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31627 /* end confdefs.h.  */
31628 #include <math.h>
31629                       #ifdef HAVE_IEEEFP_H
31630                       #include <ieeefp.h>
31631                       #endif
31632
31633 int
31634 main ()
31635 {
31636  fabsl(0);
31637   ;
31638   return 0;
31639 }
31640 _ACEOF
31641 if ac_fn_cxx_try_compile "$LINENO"; then :
31642   glibcxx_cv_func_fabsl_use=yes
31643 else
31644   glibcxx_cv_func_fabsl_use=no
31645 fi
31646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31647       ac_ext=c
31648 ac_cpp='$CPP $CPPFLAGS'
31649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31652
31653
31654 fi
31655
31656   fi
31657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31658 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31659
31660   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31661     for ac_func in fabsl
31662 do :
31663   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31664 if test "x$ac_cv_func_fabsl" = x""yes; then :
31665   cat >>confdefs.h <<_ACEOF
31666 #define HAVE_FABSL 1
31667 _ACEOF
31668
31669 fi
31670 done
31671
31672   else
31673
31674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31675 $as_echo_n "checking for _fabsl declaration... " >&6; }
31676   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31677     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31678   $as_echo_n "(cached) " >&6
31679 else
31680
31681
31682       ac_ext=cpp
31683 ac_cpp='$CXXCPP $CPPFLAGS'
31684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31687
31688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31689 /* end confdefs.h.  */
31690 #include <math.h>
31691                       #ifdef HAVE_IEEEFP_H
31692                       #include <ieeefp.h>
31693                       #endif
31694
31695 int
31696 main ()
31697 {
31698  _fabsl(0);
31699   ;
31700   return 0;
31701 }
31702 _ACEOF
31703 if ac_fn_cxx_try_compile "$LINENO"; then :
31704   glibcxx_cv_func__fabsl_use=yes
31705 else
31706   glibcxx_cv_func__fabsl_use=no
31707 fi
31708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31709       ac_ext=c
31710 ac_cpp='$CPP $CPPFLAGS'
31711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31714
31715
31716 fi
31717
31718   fi
31719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31720 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31721
31722     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31723       for ac_func in _fabsl
31724 do :
31725   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31726 if test "x$ac_cv_func__fabsl" = x""yes; then :
31727   cat >>confdefs.h <<_ACEOF
31728 #define HAVE__FABSL 1
31729 _ACEOF
31730
31731 fi
31732 done
31733
31734     fi
31735   fi
31736
31737
31738
31739
31740
31741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31742 $as_echo_n "checking for fmodl declaration... " >&6; }
31743   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31744     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31745   $as_echo_n "(cached) " >&6
31746 else
31747
31748
31749       ac_ext=cpp
31750 ac_cpp='$CXXCPP $CPPFLAGS'
31751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31754
31755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31756 /* end confdefs.h.  */
31757 #include <math.h>
31758 int
31759 main ()
31760 {
31761  fmodl(0, 0);
31762   ;
31763   return 0;
31764 }
31765 _ACEOF
31766 if ac_fn_cxx_try_compile "$LINENO"; then :
31767   glibcxx_cv_func_fmodl_use=yes
31768 else
31769   glibcxx_cv_func_fmodl_use=no
31770 fi
31771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31772       ac_ext=c
31773 ac_cpp='$CPP $CPPFLAGS'
31774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31777
31778
31779 fi
31780
31781   fi
31782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31783 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31784
31785   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31786     for ac_func in fmodl
31787 do :
31788   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31789 if test "x$ac_cv_func_fmodl" = x""yes; then :
31790   cat >>confdefs.h <<_ACEOF
31791 #define HAVE_FMODL 1
31792 _ACEOF
31793
31794 fi
31795 done
31796
31797   else
31798
31799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31800 $as_echo_n "checking for _fmodl declaration... " >&6; }
31801   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31802     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31803   $as_echo_n "(cached) " >&6
31804 else
31805
31806
31807       ac_ext=cpp
31808 ac_cpp='$CXXCPP $CPPFLAGS'
31809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31812
31813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31814 /* end confdefs.h.  */
31815 #include <math.h>
31816 int
31817 main ()
31818 {
31819  _fmodl(0, 0);
31820   ;
31821   return 0;
31822 }
31823 _ACEOF
31824 if ac_fn_cxx_try_compile "$LINENO"; then :
31825   glibcxx_cv_func__fmodl_use=yes
31826 else
31827   glibcxx_cv_func__fmodl_use=no
31828 fi
31829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31830       ac_ext=c
31831 ac_cpp='$CPP $CPPFLAGS'
31832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31835
31836
31837 fi
31838
31839   fi
31840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31841 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31842
31843     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31844       for ac_func in _fmodl
31845 do :
31846   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31847 if test "x$ac_cv_func__fmodl" = x""yes; then :
31848   cat >>confdefs.h <<_ACEOF
31849 #define HAVE__FMODL 1
31850 _ACEOF
31851
31852 fi
31853 done
31854
31855     fi
31856   fi
31857
31858
31859
31860
31861
31862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31863 $as_echo_n "checking for frexpl declaration... " >&6; }
31864   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31865     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31866   $as_echo_n "(cached) " >&6
31867 else
31868
31869
31870       ac_ext=cpp
31871 ac_cpp='$CXXCPP $CPPFLAGS'
31872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31875
31876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31877 /* end confdefs.h.  */
31878 #include <math.h>
31879 int
31880 main ()
31881 {
31882  frexpl(0, 0);
31883   ;
31884   return 0;
31885 }
31886 _ACEOF
31887 if ac_fn_cxx_try_compile "$LINENO"; then :
31888   glibcxx_cv_func_frexpl_use=yes
31889 else
31890   glibcxx_cv_func_frexpl_use=no
31891 fi
31892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31893       ac_ext=c
31894 ac_cpp='$CPP $CPPFLAGS'
31895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31898
31899
31900 fi
31901
31902   fi
31903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31904 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31905
31906   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31907     for ac_func in frexpl
31908 do :
31909   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31910 if test "x$ac_cv_func_frexpl" = x""yes; then :
31911   cat >>confdefs.h <<_ACEOF
31912 #define HAVE_FREXPL 1
31913 _ACEOF
31914
31915 fi
31916 done
31917
31918   else
31919
31920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31921 $as_echo_n "checking for _frexpl declaration... " >&6; }
31922   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31923     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31924   $as_echo_n "(cached) " >&6
31925 else
31926
31927
31928       ac_ext=cpp
31929 ac_cpp='$CXXCPP $CPPFLAGS'
31930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31933
31934       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31935 /* end confdefs.h.  */
31936 #include <math.h>
31937 int
31938 main ()
31939 {
31940  _frexpl(0, 0);
31941   ;
31942   return 0;
31943 }
31944 _ACEOF
31945 if ac_fn_cxx_try_compile "$LINENO"; then :
31946   glibcxx_cv_func__frexpl_use=yes
31947 else
31948   glibcxx_cv_func__frexpl_use=no
31949 fi
31950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31951       ac_ext=c
31952 ac_cpp='$CPP $CPPFLAGS'
31953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31956
31957
31958 fi
31959
31960   fi
31961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31962 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31963
31964     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31965       for ac_func in _frexpl
31966 do :
31967   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31968 if test "x$ac_cv_func__frexpl" = x""yes; then :
31969   cat >>confdefs.h <<_ACEOF
31970 #define HAVE__FREXPL 1
31971 _ACEOF
31972
31973 fi
31974 done
31975
31976     fi
31977   fi
31978
31979
31980
31981
31982
31983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31984 $as_echo_n "checking for hypotl declaration... " >&6; }
31985   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31986     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31987   $as_echo_n "(cached) " >&6
31988 else
31989
31990
31991       ac_ext=cpp
31992 ac_cpp='$CXXCPP $CPPFLAGS'
31993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31996
31997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31998 /* end confdefs.h.  */
31999 #include <math.h>
32000 int
32001 main ()
32002 {
32003  hypotl(0, 0);
32004   ;
32005   return 0;
32006 }
32007 _ACEOF
32008 if ac_fn_cxx_try_compile "$LINENO"; then :
32009   glibcxx_cv_func_hypotl_use=yes
32010 else
32011   glibcxx_cv_func_hypotl_use=no
32012 fi
32013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32014       ac_ext=c
32015 ac_cpp='$CPP $CPPFLAGS'
32016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32019
32020
32021 fi
32022
32023   fi
32024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32025 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32026
32027   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32028     for ac_func in hypotl
32029 do :
32030   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32031 if test "x$ac_cv_func_hypotl" = x""yes; then :
32032   cat >>confdefs.h <<_ACEOF
32033 #define HAVE_HYPOTL 1
32034 _ACEOF
32035
32036 fi
32037 done
32038
32039   else
32040
32041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32042 $as_echo_n "checking for _hypotl declaration... " >&6; }
32043   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32044     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32045   $as_echo_n "(cached) " >&6
32046 else
32047
32048
32049       ac_ext=cpp
32050 ac_cpp='$CXXCPP $CPPFLAGS'
32051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32054
32055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32056 /* end confdefs.h.  */
32057 #include <math.h>
32058 int
32059 main ()
32060 {
32061  _hypotl(0, 0);
32062   ;
32063   return 0;
32064 }
32065 _ACEOF
32066 if ac_fn_cxx_try_compile "$LINENO"; then :
32067   glibcxx_cv_func__hypotl_use=yes
32068 else
32069   glibcxx_cv_func__hypotl_use=no
32070 fi
32071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32072       ac_ext=c
32073 ac_cpp='$CPP $CPPFLAGS'
32074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32077
32078
32079 fi
32080
32081   fi
32082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32083 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32084
32085     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32086       for ac_func in _hypotl
32087 do :
32088   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32089 if test "x$ac_cv_func__hypotl" = x""yes; then :
32090   cat >>confdefs.h <<_ACEOF
32091 #define HAVE__HYPOTL 1
32092 _ACEOF
32093
32094 fi
32095 done
32096
32097     fi
32098   fi
32099
32100
32101
32102
32103
32104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32105 $as_echo_n "checking for ldexpl declaration... " >&6; }
32106   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32107     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32108   $as_echo_n "(cached) " >&6
32109 else
32110
32111
32112       ac_ext=cpp
32113 ac_cpp='$CXXCPP $CPPFLAGS'
32114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32117
32118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32119 /* end confdefs.h.  */
32120 #include <math.h>
32121 int
32122 main ()
32123 {
32124  ldexpl(0, 0);
32125   ;
32126   return 0;
32127 }
32128 _ACEOF
32129 if ac_fn_cxx_try_compile "$LINENO"; then :
32130   glibcxx_cv_func_ldexpl_use=yes
32131 else
32132   glibcxx_cv_func_ldexpl_use=no
32133 fi
32134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32135       ac_ext=c
32136 ac_cpp='$CPP $CPPFLAGS'
32137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32140
32141
32142 fi
32143
32144   fi
32145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32146 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32147
32148   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32149     for ac_func in ldexpl
32150 do :
32151   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32152 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32153   cat >>confdefs.h <<_ACEOF
32154 #define HAVE_LDEXPL 1
32155 _ACEOF
32156
32157 fi
32158 done
32159
32160   else
32161
32162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32163 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32164   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32165     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32166   $as_echo_n "(cached) " >&6
32167 else
32168
32169
32170       ac_ext=cpp
32171 ac_cpp='$CXXCPP $CPPFLAGS'
32172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32175
32176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32177 /* end confdefs.h.  */
32178 #include <math.h>
32179 int
32180 main ()
32181 {
32182  _ldexpl(0, 0);
32183   ;
32184   return 0;
32185 }
32186 _ACEOF
32187 if ac_fn_cxx_try_compile "$LINENO"; then :
32188   glibcxx_cv_func__ldexpl_use=yes
32189 else
32190   glibcxx_cv_func__ldexpl_use=no
32191 fi
32192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32193       ac_ext=c
32194 ac_cpp='$CPP $CPPFLAGS'
32195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32198
32199
32200 fi
32201
32202   fi
32203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32204 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32205
32206     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32207       for ac_func in _ldexpl
32208 do :
32209   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32210 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32211   cat >>confdefs.h <<_ACEOF
32212 #define HAVE__LDEXPL 1
32213 _ACEOF
32214
32215 fi
32216 done
32217
32218     fi
32219   fi
32220
32221
32222
32223
32224
32225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32226 $as_echo_n "checking for logl declaration... " >&6; }
32227   if test x${glibcxx_cv_func_logl_use+set} != xset; then
32228     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32229   $as_echo_n "(cached) " >&6
32230 else
32231
32232
32233       ac_ext=cpp
32234 ac_cpp='$CXXCPP $CPPFLAGS'
32235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32238
32239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32240 /* end confdefs.h.  */
32241 #include <math.h>
32242                       #ifdef HAVE_IEEEFP_H
32243                       #include <ieeefp.h>
32244                       #endif
32245
32246 int
32247 main ()
32248 {
32249  logl(0);
32250   ;
32251   return 0;
32252 }
32253 _ACEOF
32254 if ac_fn_cxx_try_compile "$LINENO"; then :
32255   glibcxx_cv_func_logl_use=yes
32256 else
32257   glibcxx_cv_func_logl_use=no
32258 fi
32259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32260       ac_ext=c
32261 ac_cpp='$CPP $CPPFLAGS'
32262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32265
32266
32267 fi
32268
32269   fi
32270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32271 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32272
32273   if test x$glibcxx_cv_func_logl_use = x"yes"; then
32274     for ac_func in logl
32275 do :
32276   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32277 if test "x$ac_cv_func_logl" = x""yes; then :
32278   cat >>confdefs.h <<_ACEOF
32279 #define HAVE_LOGL 1
32280 _ACEOF
32281
32282 fi
32283 done
32284
32285   else
32286
32287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32288 $as_echo_n "checking for _logl declaration... " >&6; }
32289   if test x${glibcxx_cv_func__logl_use+set} != xset; then
32290     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32291   $as_echo_n "(cached) " >&6
32292 else
32293
32294
32295       ac_ext=cpp
32296 ac_cpp='$CXXCPP $CPPFLAGS'
32297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32300
32301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32302 /* end confdefs.h.  */
32303 #include <math.h>
32304                       #ifdef HAVE_IEEEFP_H
32305                       #include <ieeefp.h>
32306                       #endif
32307
32308 int
32309 main ()
32310 {
32311  _logl(0);
32312   ;
32313   return 0;
32314 }
32315 _ACEOF
32316 if ac_fn_cxx_try_compile "$LINENO"; then :
32317   glibcxx_cv_func__logl_use=yes
32318 else
32319   glibcxx_cv_func__logl_use=no
32320 fi
32321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32322       ac_ext=c
32323 ac_cpp='$CPP $CPPFLAGS'
32324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32327
32328
32329 fi
32330
32331   fi
32332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32333 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32334
32335     if test x$glibcxx_cv_func__logl_use = x"yes"; then
32336       for ac_func in _logl
32337 do :
32338   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32339 if test "x$ac_cv_func__logl" = x""yes; then :
32340   cat >>confdefs.h <<_ACEOF
32341 #define HAVE__LOGL 1
32342 _ACEOF
32343
32344 fi
32345 done
32346
32347     fi
32348   fi
32349
32350
32351
32352
32353
32354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32355 $as_echo_n "checking for log10l declaration... " >&6; }
32356   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32357     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32358   $as_echo_n "(cached) " >&6
32359 else
32360
32361
32362       ac_ext=cpp
32363 ac_cpp='$CXXCPP $CPPFLAGS'
32364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32367
32368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32369 /* end confdefs.h.  */
32370 #include <math.h>
32371                       #ifdef HAVE_IEEEFP_H
32372                       #include <ieeefp.h>
32373                       #endif
32374
32375 int
32376 main ()
32377 {
32378  log10l(0);
32379   ;
32380   return 0;
32381 }
32382 _ACEOF
32383 if ac_fn_cxx_try_compile "$LINENO"; then :
32384   glibcxx_cv_func_log10l_use=yes
32385 else
32386   glibcxx_cv_func_log10l_use=no
32387 fi
32388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32389       ac_ext=c
32390 ac_cpp='$CPP $CPPFLAGS'
32391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32394
32395
32396 fi
32397
32398   fi
32399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32400 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32401
32402   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32403     for ac_func in log10l
32404 do :
32405   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32406 if test "x$ac_cv_func_log10l" = x""yes; then :
32407   cat >>confdefs.h <<_ACEOF
32408 #define HAVE_LOG10L 1
32409 _ACEOF
32410
32411 fi
32412 done
32413
32414   else
32415
32416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32417 $as_echo_n "checking for _log10l declaration... " >&6; }
32418   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32419     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32420   $as_echo_n "(cached) " >&6
32421 else
32422
32423
32424       ac_ext=cpp
32425 ac_cpp='$CXXCPP $CPPFLAGS'
32426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32429
32430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32431 /* end confdefs.h.  */
32432 #include <math.h>
32433                       #ifdef HAVE_IEEEFP_H
32434                       #include <ieeefp.h>
32435                       #endif
32436
32437 int
32438 main ()
32439 {
32440  _log10l(0);
32441   ;
32442   return 0;
32443 }
32444 _ACEOF
32445 if ac_fn_cxx_try_compile "$LINENO"; then :
32446   glibcxx_cv_func__log10l_use=yes
32447 else
32448   glibcxx_cv_func__log10l_use=no
32449 fi
32450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32451       ac_ext=c
32452 ac_cpp='$CPP $CPPFLAGS'
32453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32456
32457
32458 fi
32459
32460   fi
32461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32462 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32463
32464     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32465       for ac_func in _log10l
32466 do :
32467   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32468 if test "x$ac_cv_func__log10l" = x""yes; then :
32469   cat >>confdefs.h <<_ACEOF
32470 #define HAVE__LOG10L 1
32471 _ACEOF
32472
32473 fi
32474 done
32475
32476     fi
32477   fi
32478
32479
32480
32481
32482
32483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32484 $as_echo_n "checking for modfl declaration... " >&6; }
32485   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32486     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32487   $as_echo_n "(cached) " >&6
32488 else
32489
32490
32491       ac_ext=cpp
32492 ac_cpp='$CXXCPP $CPPFLAGS'
32493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32496
32497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32498 /* end confdefs.h.  */
32499 #include <math.h>
32500 int
32501 main ()
32502 {
32503  modfl(0, 0);
32504   ;
32505   return 0;
32506 }
32507 _ACEOF
32508 if ac_fn_cxx_try_compile "$LINENO"; then :
32509   glibcxx_cv_func_modfl_use=yes
32510 else
32511   glibcxx_cv_func_modfl_use=no
32512 fi
32513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32514       ac_ext=c
32515 ac_cpp='$CPP $CPPFLAGS'
32516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32519
32520
32521 fi
32522
32523   fi
32524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32525 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32526
32527   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32528     for ac_func in modfl
32529 do :
32530   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32531 if test "x$ac_cv_func_modfl" = x""yes; then :
32532   cat >>confdefs.h <<_ACEOF
32533 #define HAVE_MODFL 1
32534 _ACEOF
32535
32536 fi
32537 done
32538
32539   else
32540
32541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32542 $as_echo_n "checking for _modfl declaration... " >&6; }
32543   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32544     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32545   $as_echo_n "(cached) " >&6
32546 else
32547
32548
32549       ac_ext=cpp
32550 ac_cpp='$CXXCPP $CPPFLAGS'
32551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32554
32555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32556 /* end confdefs.h.  */
32557 #include <math.h>
32558 int
32559 main ()
32560 {
32561  _modfl(0, 0);
32562   ;
32563   return 0;
32564 }
32565 _ACEOF
32566 if ac_fn_cxx_try_compile "$LINENO"; then :
32567   glibcxx_cv_func__modfl_use=yes
32568 else
32569   glibcxx_cv_func__modfl_use=no
32570 fi
32571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32572       ac_ext=c
32573 ac_cpp='$CPP $CPPFLAGS'
32574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32577
32578
32579 fi
32580
32581   fi
32582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32583 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32584
32585     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32586       for ac_func in _modfl
32587 do :
32588   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32589 if test "x$ac_cv_func__modfl" = x""yes; then :
32590   cat >>confdefs.h <<_ACEOF
32591 #define HAVE__MODFL 1
32592 _ACEOF
32593
32594 fi
32595 done
32596
32597     fi
32598   fi
32599
32600
32601
32602
32603
32604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32605 $as_echo_n "checking for powl declaration... " >&6; }
32606   if test x${glibcxx_cv_func_powl_use+set} != xset; then
32607     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32608   $as_echo_n "(cached) " >&6
32609 else
32610
32611
32612       ac_ext=cpp
32613 ac_cpp='$CXXCPP $CPPFLAGS'
32614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32617
32618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32619 /* end confdefs.h.  */
32620 #include <math.h>
32621 int
32622 main ()
32623 {
32624  powl(0, 0);
32625   ;
32626   return 0;
32627 }
32628 _ACEOF
32629 if ac_fn_cxx_try_compile "$LINENO"; then :
32630   glibcxx_cv_func_powl_use=yes
32631 else
32632   glibcxx_cv_func_powl_use=no
32633 fi
32634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32635       ac_ext=c
32636 ac_cpp='$CPP $CPPFLAGS'
32637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32640
32641
32642 fi
32643
32644   fi
32645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32646 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32647
32648   if test x$glibcxx_cv_func_powl_use = x"yes"; then
32649     for ac_func in powl
32650 do :
32651   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32652 if test "x$ac_cv_func_powl" = x""yes; then :
32653   cat >>confdefs.h <<_ACEOF
32654 #define HAVE_POWL 1
32655 _ACEOF
32656
32657 fi
32658 done
32659
32660   else
32661
32662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32663 $as_echo_n "checking for _powl declaration... " >&6; }
32664   if test x${glibcxx_cv_func__powl_use+set} != xset; then
32665     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32666   $as_echo_n "(cached) " >&6
32667 else
32668
32669
32670       ac_ext=cpp
32671 ac_cpp='$CXXCPP $CPPFLAGS'
32672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32675
32676       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32677 /* end confdefs.h.  */
32678 #include <math.h>
32679 int
32680 main ()
32681 {
32682  _powl(0, 0);
32683   ;
32684   return 0;
32685 }
32686 _ACEOF
32687 if ac_fn_cxx_try_compile "$LINENO"; then :
32688   glibcxx_cv_func__powl_use=yes
32689 else
32690   glibcxx_cv_func__powl_use=no
32691 fi
32692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32693       ac_ext=c
32694 ac_cpp='$CPP $CPPFLAGS'
32695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32698
32699
32700 fi
32701
32702   fi
32703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32704 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32705
32706     if test x$glibcxx_cv_func__powl_use = x"yes"; then
32707       for ac_func in _powl
32708 do :
32709   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32710 if test "x$ac_cv_func__powl" = x""yes; then :
32711   cat >>confdefs.h <<_ACEOF
32712 #define HAVE__POWL 1
32713 _ACEOF
32714
32715 fi
32716 done
32717
32718     fi
32719   fi
32720
32721
32722
32723
32724
32725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32726 $as_echo_n "checking for sqrtl declaration... " >&6; }
32727   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32728     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32729   $as_echo_n "(cached) " >&6
32730 else
32731
32732
32733       ac_ext=cpp
32734 ac_cpp='$CXXCPP $CPPFLAGS'
32735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32738
32739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32740 /* end confdefs.h.  */
32741 #include <math.h>
32742                       #ifdef HAVE_IEEEFP_H
32743                       #include <ieeefp.h>
32744                       #endif
32745
32746 int
32747 main ()
32748 {
32749  sqrtl(0);
32750   ;
32751   return 0;
32752 }
32753 _ACEOF
32754 if ac_fn_cxx_try_compile "$LINENO"; then :
32755   glibcxx_cv_func_sqrtl_use=yes
32756 else
32757   glibcxx_cv_func_sqrtl_use=no
32758 fi
32759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32760       ac_ext=c
32761 ac_cpp='$CPP $CPPFLAGS'
32762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32765
32766
32767 fi
32768
32769   fi
32770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32771 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32772
32773   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32774     for ac_func in sqrtl
32775 do :
32776   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32777 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32778   cat >>confdefs.h <<_ACEOF
32779 #define HAVE_SQRTL 1
32780 _ACEOF
32781
32782 fi
32783 done
32784
32785   else
32786
32787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32788 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32789   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32790     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32791   $as_echo_n "(cached) " >&6
32792 else
32793
32794
32795       ac_ext=cpp
32796 ac_cpp='$CXXCPP $CPPFLAGS'
32797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32800
32801       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32802 /* end confdefs.h.  */
32803 #include <math.h>
32804                       #ifdef HAVE_IEEEFP_H
32805                       #include <ieeefp.h>
32806                       #endif
32807
32808 int
32809 main ()
32810 {
32811  _sqrtl(0);
32812   ;
32813   return 0;
32814 }
32815 _ACEOF
32816 if ac_fn_cxx_try_compile "$LINENO"; then :
32817   glibcxx_cv_func__sqrtl_use=yes
32818 else
32819   glibcxx_cv_func__sqrtl_use=no
32820 fi
32821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32822       ac_ext=c
32823 ac_cpp='$CPP $CPPFLAGS'
32824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32827
32828
32829 fi
32830
32831   fi
32832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32833 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32834
32835     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32836       for ac_func in _sqrtl
32837 do :
32838   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32839 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32840   cat >>confdefs.h <<_ACEOF
32841 #define HAVE__SQRTL 1
32842 _ACEOF
32843
32844 fi
32845 done
32846
32847     fi
32848   fi
32849
32850
32851
32852
32853
32854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32855 $as_echo_n "checking for sincosl declaration... " >&6; }
32856   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32857     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32858   $as_echo_n "(cached) " >&6
32859 else
32860
32861
32862       ac_ext=cpp
32863 ac_cpp='$CXXCPP $CPPFLAGS'
32864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32867
32868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32869 /* end confdefs.h.  */
32870 #include <math.h>
32871 int
32872 main ()
32873 {
32874  sincosl(0, 0, 0);
32875   ;
32876   return 0;
32877 }
32878 _ACEOF
32879 if ac_fn_cxx_try_compile "$LINENO"; then :
32880   glibcxx_cv_func_sincosl_use=yes
32881 else
32882   glibcxx_cv_func_sincosl_use=no
32883 fi
32884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32885       ac_ext=c
32886 ac_cpp='$CPP $CPPFLAGS'
32887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32890
32891
32892 fi
32893
32894   fi
32895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32896 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32897
32898   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32899     for ac_func in sincosl
32900 do :
32901   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32902 if test "x$ac_cv_func_sincosl" = x""yes; then :
32903   cat >>confdefs.h <<_ACEOF
32904 #define HAVE_SINCOSL 1
32905 _ACEOF
32906
32907 fi
32908 done
32909
32910   else
32911
32912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32913 $as_echo_n "checking for _sincosl declaration... " >&6; }
32914   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32915     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32916   $as_echo_n "(cached) " >&6
32917 else
32918
32919
32920       ac_ext=cpp
32921 ac_cpp='$CXXCPP $CPPFLAGS'
32922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32925
32926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32927 /* end confdefs.h.  */
32928 #include <math.h>
32929 int
32930 main ()
32931 {
32932  _sincosl(0, 0, 0);
32933   ;
32934   return 0;
32935 }
32936 _ACEOF
32937 if ac_fn_cxx_try_compile "$LINENO"; then :
32938   glibcxx_cv_func__sincosl_use=yes
32939 else
32940   glibcxx_cv_func__sincosl_use=no
32941 fi
32942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32943       ac_ext=c
32944 ac_cpp='$CPP $CPPFLAGS'
32945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32948
32949
32950 fi
32951
32952   fi
32953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32954 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32955
32956     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32957       for ac_func in _sincosl
32958 do :
32959   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32960 if test "x$ac_cv_func__sincosl" = x""yes; then :
32961   cat >>confdefs.h <<_ACEOF
32962 #define HAVE__SINCOSL 1
32963 _ACEOF
32964
32965 fi
32966 done
32967
32968     fi
32969   fi
32970
32971
32972
32973
32974
32975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32976 $as_echo_n "checking for finitel declaration... " >&6; }
32977   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32978     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32979   $as_echo_n "(cached) " >&6
32980 else
32981
32982
32983       ac_ext=cpp
32984 ac_cpp='$CXXCPP $CPPFLAGS'
32985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32988
32989       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32990 /* end confdefs.h.  */
32991 #include <math.h>
32992                       #ifdef HAVE_IEEEFP_H
32993                       #include <ieeefp.h>
32994                       #endif
32995
32996 int
32997 main ()
32998 {
32999  finitel(0);
33000   ;
33001   return 0;
33002 }
33003 _ACEOF
33004 if ac_fn_cxx_try_compile "$LINENO"; then :
33005   glibcxx_cv_func_finitel_use=yes
33006 else
33007   glibcxx_cv_func_finitel_use=no
33008 fi
33009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33010       ac_ext=c
33011 ac_cpp='$CPP $CPPFLAGS'
33012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33015
33016
33017 fi
33018
33019   fi
33020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33021 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33022
33023   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33024     for ac_func in finitel
33025 do :
33026   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33027 if test "x$ac_cv_func_finitel" = x""yes; then :
33028   cat >>confdefs.h <<_ACEOF
33029 #define HAVE_FINITEL 1
33030 _ACEOF
33031
33032 fi
33033 done
33034
33035   else
33036
33037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33038 $as_echo_n "checking for _finitel declaration... " >&6; }
33039   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33040     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33041   $as_echo_n "(cached) " >&6
33042 else
33043
33044
33045       ac_ext=cpp
33046 ac_cpp='$CXXCPP $CPPFLAGS'
33047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33050
33051       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33052 /* end confdefs.h.  */
33053 #include <math.h>
33054                       #ifdef HAVE_IEEEFP_H
33055                       #include <ieeefp.h>
33056                       #endif
33057
33058 int
33059 main ()
33060 {
33061  _finitel(0);
33062   ;
33063   return 0;
33064 }
33065 _ACEOF
33066 if ac_fn_cxx_try_compile "$LINENO"; then :
33067   glibcxx_cv_func__finitel_use=yes
33068 else
33069   glibcxx_cv_func__finitel_use=no
33070 fi
33071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33072       ac_ext=c
33073 ac_cpp='$CPP $CPPFLAGS'
33074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33077
33078
33079 fi
33080
33081   fi
33082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33083 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33084
33085     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33086       for ac_func in _finitel
33087 do :
33088   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33089 if test "x$ac_cv_func__finitel" = x""yes; then :
33090   cat >>confdefs.h <<_ACEOF
33091 #define HAVE__FINITEL 1
33092 _ACEOF
33093
33094 fi
33095 done
33096
33097     fi
33098   fi
33099
33100
33101
33102
33103   LIBS="$ac_save_LIBS"
33104   CXXFLAGS="$ac_save_CXXFLAGS"
33105
33106
33107   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33108   ac_save_CXXFLAGS="$CXXFLAGS"
33109   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33110
33111
33112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33113 $as_echo_n "checking for strtold declaration... " >&6; }
33114   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33115     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33116   $as_echo_n "(cached) " >&6
33117 else
33118
33119
33120       ac_ext=cpp
33121 ac_cpp='$CXXCPP $CPPFLAGS'
33122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33125
33126       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33127 /* end confdefs.h.  */
33128 #include <stdlib.h>
33129 int
33130 main ()
33131 {
33132  strtold(0, 0);
33133   ;
33134   return 0;
33135 }
33136 _ACEOF
33137 if ac_fn_cxx_try_compile "$LINENO"; then :
33138   glibcxx_cv_func_strtold_use=yes
33139 else
33140   glibcxx_cv_func_strtold_use=no
33141 fi
33142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33143       ac_ext=c
33144 ac_cpp='$CPP $CPPFLAGS'
33145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33148
33149
33150 fi
33151
33152   fi
33153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33154 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33155   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33156     for ac_func in strtold
33157 do :
33158   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33159 if test "x$ac_cv_func_strtold" = x""yes; then :
33160   cat >>confdefs.h <<_ACEOF
33161 #define HAVE_STRTOLD 1
33162 _ACEOF
33163
33164 fi
33165 done
33166
33167   fi
33168
33169
33170
33171
33172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33173 $as_echo_n "checking for strtof declaration... " >&6; }
33174   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33175     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33176   $as_echo_n "(cached) " >&6
33177 else
33178
33179
33180       ac_ext=cpp
33181 ac_cpp='$CXXCPP $CPPFLAGS'
33182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33185
33186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33187 /* end confdefs.h.  */
33188 #include <stdlib.h>
33189 int
33190 main ()
33191 {
33192  strtof(0, 0);
33193   ;
33194   return 0;
33195 }
33196 _ACEOF
33197 if ac_fn_cxx_try_compile "$LINENO"; then :
33198   glibcxx_cv_func_strtof_use=yes
33199 else
33200   glibcxx_cv_func_strtof_use=no
33201 fi
33202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33203       ac_ext=c
33204 ac_cpp='$CPP $CPPFLAGS'
33205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33208
33209
33210 fi
33211
33212   fi
33213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33214 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33215   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33216     for ac_func in strtof
33217 do :
33218   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33219 if test "x$ac_cv_func_strtof" = x""yes; then :
33220   cat >>confdefs.h <<_ACEOF
33221 #define HAVE_STRTOF 1
33222 _ACEOF
33223
33224 fi
33225 done
33226
33227   fi
33228
33229
33230
33231
33232   CXXFLAGS="$ac_save_CXXFLAGS"
33233
33234
33235     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33236
33237     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33238
33239     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33240
33241     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33242
33243
33244     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33245
33246     $as_echo "#define HAVE_MODF 1" >>confdefs.h
33247
33248     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33249
33250     ;;
33251
33252   *-aix*)
33253
33254   # If we're not using GNU ld, then there's no point in even trying these
33255   # tests.  Check for that first.  We should have already tested for gld
33256   # by now (in libtool), but require it now just to be safe...
33257   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33258   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33259
33260
33261
33262   # The name set by libtool depends on the version of libtool.  Shame on us
33263   # for depending on an impl detail, but c'est la vie.  Older versions used
33264   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33265   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33266   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
33267   # set (hence we're using an older libtool), then set it.
33268   if test x${with_gnu_ld+set} != xset; then
33269     if test x${ac_cv_prog_gnu_ld+set} != xset; then
33270       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
33271       with_gnu_ld=no
33272     else
33273       with_gnu_ld=$ac_cv_prog_gnu_ld
33274     fi
33275   fi
33276
33277   # Start by getting the version number.  I think the libtool test already
33278   # does some of this, but throws away the result.
33279   glibcxx_ld_is_gold=no
33280   if test x"$with_gnu_ld" = x"yes"; then
33281     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33282 $as_echo_n "checking for ld version... " >&6; }
33283
33284     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33285       glibcxx_ld_is_gold=yes
33286     fi
33287     ldver=`$LD --version 2>/dev/null |
33288            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'`
33289
33290     glibcxx_gnu_ld_version=`echo $ldver | \
33291            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33292     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33293 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33294   fi
33295
33296   # Set --gc-sections.
33297   glibcxx_have_gc_sections=no
33298   if test "$glibcxx_ld_is_gold" = "yes"; then
33299     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33300       glibcxx_have_gc_sections=yes
33301     fi
33302   else
33303     glibcxx_gcsections_min_ld=21602
33304     if test x"$with_gnu_ld" = x"yes" &&
33305         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33306       glibcxx_have_gc_sections=yes
33307     fi
33308   fi
33309   if test "$glibcxx_have_gc_sections" = "yes"; then
33310     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
33311     # NB: This flag only works reliably after 2.16.1. Configure tests
33312     # for this are difficult, so hard wire a value that should work.
33313
33314     ac_test_CFLAGS="${CFLAGS+set}"
33315     ac_save_CFLAGS="$CFLAGS"
33316     CFLAGS='-Wl,--gc-sections'
33317
33318     # Check for -Wl,--gc-sections
33319     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33320 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33321     if test x$gcc_no_link = xyes; then
33322   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33323 fi
33324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33325 /* end confdefs.h.  */
33326  int one(void) { return 1; }
33327      int two(void) { return 2; }
33328
33329 int
33330 main ()
33331 {
33332  two();
33333   ;
33334   return 0;
33335 }
33336 _ACEOF
33337 if ac_fn_c_try_link "$LINENO"; then :
33338   ac_gcsections=yes
33339 else
33340   ac_gcsections=no
33341 fi
33342 rm -f core conftest.err conftest.$ac_objext \
33343     conftest$ac_exeext conftest.$ac_ext
33344     if test "$ac_gcsections" = "yes"; then
33345       rm -f conftest.c
33346       touch conftest.c
33347       if $CC -c conftest.c; then
33348         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33349            grep "Warning: gc-sections option ignored" > /dev/null; then
33350           ac_gcsections=no
33351         fi
33352       fi
33353       rm -f conftest.c conftest.o conftest
33354     fi
33355     if test "$ac_gcsections" = "yes"; then
33356       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33357     fi
33358     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33359 $as_echo "$ac_gcsections" >&6; }
33360
33361     if test "$ac_test_CFLAGS" = set; then
33362       CFLAGS="$ac_save_CFLAGS"
33363     else
33364       # this is the suspicious part
33365       CFLAGS=''
33366     fi
33367   fi
33368
33369   # Set -z,relro.
33370   # Note this is only for shared objects.
33371   ac_ld_relro=no
33372   if test x"$with_gnu_ld" = x"yes"; then
33373     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33374 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33375     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33376     if test -n "$cxx_z_relo"; then
33377       OPT_LDFLAGS="-Wl,-z,relro"
33378       ac_ld_relro=yes
33379     fi
33380     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33381 $as_echo "$ac_ld_relro" >&6; }
33382   fi
33383
33384   # Set linker optimization flags.
33385   if test x"$with_gnu_ld" = x"yes"; then
33386     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33387   fi
33388
33389
33390
33391
33392
33393   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33394   ac_save_CXXFLAGS="$CXXFLAGS"
33395   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33396
33397     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33398 $as_echo_n "checking for sin in -lm... " >&6; }
33399 if test "${ac_cv_lib_m_sin+set}" = set; then :
33400   $as_echo_n "(cached) " >&6
33401 else
33402   ac_check_lib_save_LIBS=$LIBS
33403 LIBS="-lm  $LIBS"
33404 if test x$gcc_no_link = xyes; then
33405   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33406 fi
33407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33408 /* end confdefs.h.  */
33409
33410 /* Override any GCC internal prototype to avoid an error.
33411    Use char because int might match the return type of a GCC
33412    builtin and then its argument prototype would still apply.  */
33413 #ifdef __cplusplus
33414 extern "C"
33415 #endif
33416 char sin ();
33417 int
33418 main ()
33419 {
33420 return sin ();
33421   ;
33422   return 0;
33423 }
33424 _ACEOF
33425 if ac_fn_c_try_link "$LINENO"; then :
33426   ac_cv_lib_m_sin=yes
33427 else
33428   ac_cv_lib_m_sin=no
33429 fi
33430 rm -f core conftest.err conftest.$ac_objext \
33431     conftest$ac_exeext conftest.$ac_ext
33432 LIBS=$ac_check_lib_save_LIBS
33433 fi
33434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33435 $as_echo "$ac_cv_lib_m_sin" >&6; }
33436 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33437   libm="-lm"
33438 fi
33439
33440   ac_save_LIBS="$LIBS"
33441   LIBS="$LIBS $libm"
33442
33443
33444
33445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33446 $as_echo_n "checking for isinf declaration... " >&6; }
33447   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33448     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33449   $as_echo_n "(cached) " >&6
33450 else
33451
33452
33453       ac_ext=cpp
33454 ac_cpp='$CXXCPP $CPPFLAGS'
33455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33458
33459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33460 /* end confdefs.h.  */
33461 #include <math.h>
33462                       #ifdef HAVE_IEEEFP_H
33463                       #include <ieeefp.h>
33464                       #endif
33465
33466 int
33467 main ()
33468 {
33469  isinf(0);
33470   ;
33471   return 0;
33472 }
33473 _ACEOF
33474 if ac_fn_cxx_try_compile "$LINENO"; then :
33475   glibcxx_cv_func_isinf_use=yes
33476 else
33477   glibcxx_cv_func_isinf_use=no
33478 fi
33479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33480       ac_ext=c
33481 ac_cpp='$CPP $CPPFLAGS'
33482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33485
33486
33487 fi
33488
33489   fi
33490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33491 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33492
33493   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33494     for ac_func in isinf
33495 do :
33496   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33497 if test "x$ac_cv_func_isinf" = x""yes; then :
33498   cat >>confdefs.h <<_ACEOF
33499 #define HAVE_ISINF 1
33500 _ACEOF
33501
33502 fi
33503 done
33504
33505   else
33506
33507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33508 $as_echo_n "checking for _isinf declaration... " >&6; }
33509   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33510     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33511   $as_echo_n "(cached) " >&6
33512 else
33513
33514
33515       ac_ext=cpp
33516 ac_cpp='$CXXCPP $CPPFLAGS'
33517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33520
33521       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33522 /* end confdefs.h.  */
33523 #include <math.h>
33524                       #ifdef HAVE_IEEEFP_H
33525                       #include <ieeefp.h>
33526                       #endif
33527
33528 int
33529 main ()
33530 {
33531  _isinf(0);
33532   ;
33533   return 0;
33534 }
33535 _ACEOF
33536 if ac_fn_cxx_try_compile "$LINENO"; then :
33537   glibcxx_cv_func__isinf_use=yes
33538 else
33539   glibcxx_cv_func__isinf_use=no
33540 fi
33541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33542       ac_ext=c
33543 ac_cpp='$CPP $CPPFLAGS'
33544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33547
33548
33549 fi
33550
33551   fi
33552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33553 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33554
33555     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33556       for ac_func in _isinf
33557 do :
33558   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33559 if test "x$ac_cv_func__isinf" = x""yes; then :
33560   cat >>confdefs.h <<_ACEOF
33561 #define HAVE__ISINF 1
33562 _ACEOF
33563
33564 fi
33565 done
33566
33567     fi
33568   fi
33569
33570
33571
33572
33573
33574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33575 $as_echo_n "checking for isnan declaration... " >&6; }
33576   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33577     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33578   $as_echo_n "(cached) " >&6
33579 else
33580
33581
33582       ac_ext=cpp
33583 ac_cpp='$CXXCPP $CPPFLAGS'
33584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33587
33588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33589 /* end confdefs.h.  */
33590 #include <math.h>
33591                       #ifdef HAVE_IEEEFP_H
33592                       #include <ieeefp.h>
33593                       #endif
33594
33595 int
33596 main ()
33597 {
33598  isnan(0);
33599   ;
33600   return 0;
33601 }
33602 _ACEOF
33603 if ac_fn_cxx_try_compile "$LINENO"; then :
33604   glibcxx_cv_func_isnan_use=yes
33605 else
33606   glibcxx_cv_func_isnan_use=no
33607 fi
33608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33609       ac_ext=c
33610 ac_cpp='$CPP $CPPFLAGS'
33611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33614
33615
33616 fi
33617
33618   fi
33619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33620 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33621
33622   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33623     for ac_func in isnan
33624 do :
33625   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33626 if test "x$ac_cv_func_isnan" = x""yes; then :
33627   cat >>confdefs.h <<_ACEOF
33628 #define HAVE_ISNAN 1
33629 _ACEOF
33630
33631 fi
33632 done
33633
33634   else
33635
33636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33637 $as_echo_n "checking for _isnan declaration... " >&6; }
33638   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33639     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33640   $as_echo_n "(cached) " >&6
33641 else
33642
33643
33644       ac_ext=cpp
33645 ac_cpp='$CXXCPP $CPPFLAGS'
33646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33649
33650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33651 /* end confdefs.h.  */
33652 #include <math.h>
33653                       #ifdef HAVE_IEEEFP_H
33654                       #include <ieeefp.h>
33655                       #endif
33656
33657 int
33658 main ()
33659 {
33660  _isnan(0);
33661   ;
33662   return 0;
33663 }
33664 _ACEOF
33665 if ac_fn_cxx_try_compile "$LINENO"; then :
33666   glibcxx_cv_func__isnan_use=yes
33667 else
33668   glibcxx_cv_func__isnan_use=no
33669 fi
33670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33671       ac_ext=c
33672 ac_cpp='$CPP $CPPFLAGS'
33673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33676
33677
33678 fi
33679
33680   fi
33681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33682 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33683
33684     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33685       for ac_func in _isnan
33686 do :
33687   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33688 if test "x$ac_cv_func__isnan" = x""yes; then :
33689   cat >>confdefs.h <<_ACEOF
33690 #define HAVE__ISNAN 1
33691 _ACEOF
33692
33693 fi
33694 done
33695
33696     fi
33697   fi
33698
33699
33700
33701
33702
33703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33704 $as_echo_n "checking for finite declaration... " >&6; }
33705   if test x${glibcxx_cv_func_finite_use+set} != xset; then
33706     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33707   $as_echo_n "(cached) " >&6
33708 else
33709
33710
33711       ac_ext=cpp
33712 ac_cpp='$CXXCPP $CPPFLAGS'
33713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33716
33717       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33718 /* end confdefs.h.  */
33719 #include <math.h>
33720                       #ifdef HAVE_IEEEFP_H
33721                       #include <ieeefp.h>
33722                       #endif
33723
33724 int
33725 main ()
33726 {
33727  finite(0);
33728   ;
33729   return 0;
33730 }
33731 _ACEOF
33732 if ac_fn_cxx_try_compile "$LINENO"; then :
33733   glibcxx_cv_func_finite_use=yes
33734 else
33735   glibcxx_cv_func_finite_use=no
33736 fi
33737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33738       ac_ext=c
33739 ac_cpp='$CPP $CPPFLAGS'
33740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33743
33744
33745 fi
33746
33747   fi
33748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33749 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33750
33751   if test x$glibcxx_cv_func_finite_use = x"yes"; then
33752     for ac_func in finite
33753 do :
33754   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33755 if test "x$ac_cv_func_finite" = x""yes; then :
33756   cat >>confdefs.h <<_ACEOF
33757 #define HAVE_FINITE 1
33758 _ACEOF
33759
33760 fi
33761 done
33762
33763   else
33764
33765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33766 $as_echo_n "checking for _finite declaration... " >&6; }
33767   if test x${glibcxx_cv_func__finite_use+set} != xset; then
33768     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33769   $as_echo_n "(cached) " >&6
33770 else
33771
33772
33773       ac_ext=cpp
33774 ac_cpp='$CXXCPP $CPPFLAGS'
33775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33778
33779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33780 /* end confdefs.h.  */
33781 #include <math.h>
33782                       #ifdef HAVE_IEEEFP_H
33783                       #include <ieeefp.h>
33784                       #endif
33785
33786 int
33787 main ()
33788 {
33789  _finite(0);
33790   ;
33791   return 0;
33792 }
33793 _ACEOF
33794 if ac_fn_cxx_try_compile "$LINENO"; then :
33795   glibcxx_cv_func__finite_use=yes
33796 else
33797   glibcxx_cv_func__finite_use=no
33798 fi
33799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33800       ac_ext=c
33801 ac_cpp='$CPP $CPPFLAGS'
33802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33805
33806
33807 fi
33808
33809   fi
33810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33811 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33812
33813     if test x$glibcxx_cv_func__finite_use = x"yes"; then
33814       for ac_func in _finite
33815 do :
33816   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33817 if test "x$ac_cv_func__finite" = x""yes; then :
33818   cat >>confdefs.h <<_ACEOF
33819 #define HAVE__FINITE 1
33820 _ACEOF
33821
33822 fi
33823 done
33824
33825     fi
33826   fi
33827
33828
33829
33830
33831
33832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33833 $as_echo_n "checking for sincos declaration... " >&6; }
33834   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33835     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33836   $as_echo_n "(cached) " >&6
33837 else
33838
33839
33840       ac_ext=cpp
33841 ac_cpp='$CXXCPP $CPPFLAGS'
33842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33845
33846       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33847 /* end confdefs.h.  */
33848 #include <math.h>
33849 int
33850 main ()
33851 {
33852  sincos(0, 0, 0);
33853   ;
33854   return 0;
33855 }
33856 _ACEOF
33857 if ac_fn_cxx_try_compile "$LINENO"; then :
33858   glibcxx_cv_func_sincos_use=yes
33859 else
33860   glibcxx_cv_func_sincos_use=no
33861 fi
33862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33863       ac_ext=c
33864 ac_cpp='$CPP $CPPFLAGS'
33865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33868
33869
33870 fi
33871
33872   fi
33873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33874 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33875
33876   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33877     for ac_func in sincos
33878 do :
33879   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33880 if test "x$ac_cv_func_sincos" = x""yes; then :
33881   cat >>confdefs.h <<_ACEOF
33882 #define HAVE_SINCOS 1
33883 _ACEOF
33884
33885 fi
33886 done
33887
33888   else
33889
33890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33891 $as_echo_n "checking for _sincos declaration... " >&6; }
33892   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33893     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33894   $as_echo_n "(cached) " >&6
33895 else
33896
33897
33898       ac_ext=cpp
33899 ac_cpp='$CXXCPP $CPPFLAGS'
33900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33903
33904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33905 /* end confdefs.h.  */
33906 #include <math.h>
33907 int
33908 main ()
33909 {
33910  _sincos(0, 0, 0);
33911   ;
33912   return 0;
33913 }
33914 _ACEOF
33915 if ac_fn_cxx_try_compile "$LINENO"; then :
33916   glibcxx_cv_func__sincos_use=yes
33917 else
33918   glibcxx_cv_func__sincos_use=no
33919 fi
33920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33921       ac_ext=c
33922 ac_cpp='$CPP $CPPFLAGS'
33923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33926
33927
33928 fi
33929
33930   fi
33931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33932 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33933
33934     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33935       for ac_func in _sincos
33936 do :
33937   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33938 if test "x$ac_cv_func__sincos" = x""yes; then :
33939   cat >>confdefs.h <<_ACEOF
33940 #define HAVE__SINCOS 1
33941 _ACEOF
33942
33943 fi
33944 done
33945
33946     fi
33947   fi
33948
33949
33950
33951
33952
33953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33954 $as_echo_n "checking for fpclass declaration... " >&6; }
33955   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33956     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33957   $as_echo_n "(cached) " >&6
33958 else
33959
33960
33961       ac_ext=cpp
33962 ac_cpp='$CXXCPP $CPPFLAGS'
33963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33966
33967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33968 /* end confdefs.h.  */
33969 #include <math.h>
33970                       #ifdef HAVE_IEEEFP_H
33971                       #include <ieeefp.h>
33972                       #endif
33973
33974 int
33975 main ()
33976 {
33977  fpclass(0);
33978   ;
33979   return 0;
33980 }
33981 _ACEOF
33982 if ac_fn_cxx_try_compile "$LINENO"; then :
33983   glibcxx_cv_func_fpclass_use=yes
33984 else
33985   glibcxx_cv_func_fpclass_use=no
33986 fi
33987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33988       ac_ext=c
33989 ac_cpp='$CPP $CPPFLAGS'
33990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33993
33994
33995 fi
33996
33997   fi
33998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33999 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34000
34001   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34002     for ac_func in fpclass
34003 do :
34004   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34005 if test "x$ac_cv_func_fpclass" = x""yes; then :
34006   cat >>confdefs.h <<_ACEOF
34007 #define HAVE_FPCLASS 1
34008 _ACEOF
34009
34010 fi
34011 done
34012
34013   else
34014
34015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34016 $as_echo_n "checking for _fpclass declaration... " >&6; }
34017   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34018     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34019   $as_echo_n "(cached) " >&6
34020 else
34021
34022
34023       ac_ext=cpp
34024 ac_cpp='$CXXCPP $CPPFLAGS'
34025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34028
34029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34030 /* end confdefs.h.  */
34031 #include <math.h>
34032                       #ifdef HAVE_IEEEFP_H
34033                       #include <ieeefp.h>
34034                       #endif
34035
34036 int
34037 main ()
34038 {
34039  _fpclass(0);
34040   ;
34041   return 0;
34042 }
34043 _ACEOF
34044 if ac_fn_cxx_try_compile "$LINENO"; then :
34045   glibcxx_cv_func__fpclass_use=yes
34046 else
34047   glibcxx_cv_func__fpclass_use=no
34048 fi
34049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34050       ac_ext=c
34051 ac_cpp='$CPP $CPPFLAGS'
34052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34055
34056
34057 fi
34058
34059   fi
34060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34061 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34062
34063     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34064       for ac_func in _fpclass
34065 do :
34066   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34067 if test "x$ac_cv_func__fpclass" = x""yes; then :
34068   cat >>confdefs.h <<_ACEOF
34069 #define HAVE__FPCLASS 1
34070 _ACEOF
34071
34072 fi
34073 done
34074
34075     fi
34076   fi
34077
34078
34079
34080
34081
34082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34083 $as_echo_n "checking for qfpclass declaration... " >&6; }
34084   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34085     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34086   $as_echo_n "(cached) " >&6
34087 else
34088
34089
34090       ac_ext=cpp
34091 ac_cpp='$CXXCPP $CPPFLAGS'
34092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34095
34096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34097 /* end confdefs.h.  */
34098 #include <math.h>
34099                       #ifdef HAVE_IEEEFP_H
34100                       #include <ieeefp.h>
34101                       #endif
34102
34103 int
34104 main ()
34105 {
34106  qfpclass(0);
34107   ;
34108   return 0;
34109 }
34110 _ACEOF
34111 if ac_fn_cxx_try_compile "$LINENO"; then :
34112   glibcxx_cv_func_qfpclass_use=yes
34113 else
34114   glibcxx_cv_func_qfpclass_use=no
34115 fi
34116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34117       ac_ext=c
34118 ac_cpp='$CPP $CPPFLAGS'
34119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34122
34123
34124 fi
34125
34126   fi
34127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34128 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34129
34130   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34131     for ac_func in qfpclass
34132 do :
34133   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34134 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34135   cat >>confdefs.h <<_ACEOF
34136 #define HAVE_QFPCLASS 1
34137 _ACEOF
34138
34139 fi
34140 done
34141
34142   else
34143
34144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34145 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34146   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34147     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34148   $as_echo_n "(cached) " >&6
34149 else
34150
34151
34152       ac_ext=cpp
34153 ac_cpp='$CXXCPP $CPPFLAGS'
34154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34157
34158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34159 /* end confdefs.h.  */
34160 #include <math.h>
34161                       #ifdef HAVE_IEEEFP_H
34162                       #include <ieeefp.h>
34163                       #endif
34164
34165 int
34166 main ()
34167 {
34168  _qfpclass(0);
34169   ;
34170   return 0;
34171 }
34172 _ACEOF
34173 if ac_fn_cxx_try_compile "$LINENO"; then :
34174   glibcxx_cv_func__qfpclass_use=yes
34175 else
34176   glibcxx_cv_func__qfpclass_use=no
34177 fi
34178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34179       ac_ext=c
34180 ac_cpp='$CPP $CPPFLAGS'
34181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34184
34185
34186 fi
34187
34188   fi
34189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34190 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34191
34192     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34193       for ac_func in _qfpclass
34194 do :
34195   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34196 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34197   cat >>confdefs.h <<_ACEOF
34198 #define HAVE__QFPCLASS 1
34199 _ACEOF
34200
34201 fi
34202 done
34203
34204     fi
34205   fi
34206
34207
34208
34209
34210
34211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34212 $as_echo_n "checking for hypot declaration... " >&6; }
34213   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34214     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34215   $as_echo_n "(cached) " >&6
34216 else
34217
34218
34219       ac_ext=cpp
34220 ac_cpp='$CXXCPP $CPPFLAGS'
34221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34224
34225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34226 /* end confdefs.h.  */
34227 #include <math.h>
34228 int
34229 main ()
34230 {
34231  hypot(0, 0);
34232   ;
34233   return 0;
34234 }
34235 _ACEOF
34236 if ac_fn_cxx_try_compile "$LINENO"; then :
34237   glibcxx_cv_func_hypot_use=yes
34238 else
34239   glibcxx_cv_func_hypot_use=no
34240 fi
34241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34242       ac_ext=c
34243 ac_cpp='$CPP $CPPFLAGS'
34244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34247
34248
34249 fi
34250
34251   fi
34252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34253 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34254
34255   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34256     for ac_func in hypot
34257 do :
34258   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34259 if test "x$ac_cv_func_hypot" = x""yes; then :
34260   cat >>confdefs.h <<_ACEOF
34261 #define HAVE_HYPOT 1
34262 _ACEOF
34263
34264 fi
34265 done
34266
34267   else
34268
34269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34270 $as_echo_n "checking for _hypot declaration... " >&6; }
34271   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34272     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34273   $as_echo_n "(cached) " >&6
34274 else
34275
34276
34277       ac_ext=cpp
34278 ac_cpp='$CXXCPP $CPPFLAGS'
34279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34282
34283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34284 /* end confdefs.h.  */
34285 #include <math.h>
34286 int
34287 main ()
34288 {
34289  _hypot(0, 0);
34290   ;
34291   return 0;
34292 }
34293 _ACEOF
34294 if ac_fn_cxx_try_compile "$LINENO"; then :
34295   glibcxx_cv_func__hypot_use=yes
34296 else
34297   glibcxx_cv_func__hypot_use=no
34298 fi
34299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34300       ac_ext=c
34301 ac_cpp='$CPP $CPPFLAGS'
34302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34305
34306
34307 fi
34308
34309   fi
34310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34311 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34312
34313     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34314       for ac_func in _hypot
34315 do :
34316   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34317 if test "x$ac_cv_func__hypot" = x""yes; then :
34318   cat >>confdefs.h <<_ACEOF
34319 #define HAVE__HYPOT 1
34320 _ACEOF
34321
34322 fi
34323 done
34324
34325     fi
34326   fi
34327
34328
34329
34330
34331
34332     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34333 $as_echo_n "checking for float trig functions... " >&6; }
34334   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34335   $as_echo_n "(cached) " >&6
34336 else
34337
34338
34339     ac_ext=cpp
34340 ac_cpp='$CXXCPP $CPPFLAGS'
34341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34344
34345     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34346 /* end confdefs.h.  */
34347 #include <math.h>
34348 int
34349 main ()
34350 {
34351 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34352   ;
34353   return 0;
34354 }
34355 _ACEOF
34356 if ac_fn_cxx_try_compile "$LINENO"; then :
34357   glibcxx_cv_func_float_trig_use=yes
34358 else
34359   glibcxx_cv_func_float_trig_use=no
34360 fi
34361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34362     ac_ext=c
34363 ac_cpp='$CPP $CPPFLAGS'
34364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34367
34368 fi
34369
34370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34371 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34372   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34373     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34374 do :
34375   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34376 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34377 eval as_val=\$$as_ac_var
34378    if test "x$as_val" = x""yes; then :
34379   cat >>confdefs.h <<_ACEOF
34380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34381 _ACEOF
34382
34383 fi
34384 done
34385
34386   else
34387     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34388 $as_echo_n "checking for _float trig functions... " >&6; }
34389     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34390   $as_echo_n "(cached) " >&6
34391 else
34392
34393
34394       ac_ext=cpp
34395 ac_cpp='$CXXCPP $CPPFLAGS'
34396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34399
34400       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34401 /* end confdefs.h.  */
34402 #include <math.h>
34403 int
34404 main ()
34405 {
34406 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34407   ;
34408   return 0;
34409 }
34410 _ACEOF
34411 if ac_fn_cxx_try_compile "$LINENO"; then :
34412   glibcxx_cv_func__float_trig_use=yes
34413 else
34414   glibcxx_cv_func__float_trig_use=no
34415 fi
34416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34417       ac_ext=c
34418 ac_cpp='$CPP $CPPFLAGS'
34419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34422
34423 fi
34424
34425     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34426 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34427     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34428       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34429 do :
34430   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34432 eval as_val=\$$as_ac_var
34433    if test "x$as_val" = x""yes; then :
34434   cat >>confdefs.h <<_ACEOF
34435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34436 _ACEOF
34437
34438 fi
34439 done
34440
34441     fi
34442   fi
34443
34444
34445
34446
34447
34448     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34449 $as_echo_n "checking for float round functions... " >&6; }
34450   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34451   $as_echo_n "(cached) " >&6
34452 else
34453
34454
34455     ac_ext=cpp
34456 ac_cpp='$CXXCPP $CPPFLAGS'
34457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34460
34461     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34462 /* end confdefs.h.  */
34463 #include <math.h>
34464 int
34465 main ()
34466 {
34467 ceilf (0); floorf (0);
34468   ;
34469   return 0;
34470 }
34471 _ACEOF
34472 if ac_fn_cxx_try_compile "$LINENO"; then :
34473   glibcxx_cv_func_float_round_use=yes
34474 else
34475   glibcxx_cv_func_float_round_use=no
34476 fi
34477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34478     ac_ext=c
34479 ac_cpp='$CPP $CPPFLAGS'
34480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34483
34484 fi
34485
34486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34487 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34488   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34489     for ac_func in ceilf floorf
34490 do :
34491   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34492 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34493 eval as_val=\$$as_ac_var
34494    if test "x$as_val" = x""yes; then :
34495   cat >>confdefs.h <<_ACEOF
34496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34497 _ACEOF
34498
34499 fi
34500 done
34501
34502   else
34503     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34504 $as_echo_n "checking for _float round functions... " >&6; }
34505     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34506   $as_echo_n "(cached) " >&6
34507 else
34508
34509
34510       ac_ext=cpp
34511 ac_cpp='$CXXCPP $CPPFLAGS'
34512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34515
34516       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34517 /* end confdefs.h.  */
34518 #include <math.h>
34519 int
34520 main ()
34521 {
34522 _ceilf (0); _floorf (0);
34523   ;
34524   return 0;
34525 }
34526 _ACEOF
34527 if ac_fn_cxx_try_compile "$LINENO"; then :
34528   glibcxx_cv_func__float_round_use=yes
34529 else
34530   glibcxx_cv_func__float_round_use=no
34531 fi
34532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34533       ac_ext=c
34534 ac_cpp='$CPP $CPPFLAGS'
34535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34538
34539 fi
34540
34541     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34542 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34543     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34544       for ac_func in _ceilf _floorf
34545 do :
34546   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34547 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34548 eval as_val=\$$as_ac_var
34549    if test "x$as_val" = x""yes; then :
34550   cat >>confdefs.h <<_ACEOF
34551 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34552 _ACEOF
34553
34554 fi
34555 done
34556
34557     fi
34558   fi
34559
34560
34561
34562
34563
34564
34565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34566 $as_echo_n "checking for expf declaration... " >&6; }
34567   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34568     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34569   $as_echo_n "(cached) " >&6
34570 else
34571
34572
34573       ac_ext=cpp
34574 ac_cpp='$CXXCPP $CPPFLAGS'
34575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34578
34579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34580 /* end confdefs.h.  */
34581 #include <math.h>
34582                       #ifdef HAVE_IEEEFP_H
34583                       #include <ieeefp.h>
34584                       #endif
34585
34586 int
34587 main ()
34588 {
34589  expf(0);
34590   ;
34591   return 0;
34592 }
34593 _ACEOF
34594 if ac_fn_cxx_try_compile "$LINENO"; then :
34595   glibcxx_cv_func_expf_use=yes
34596 else
34597   glibcxx_cv_func_expf_use=no
34598 fi
34599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34600       ac_ext=c
34601 ac_cpp='$CPP $CPPFLAGS'
34602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34605
34606
34607 fi
34608
34609   fi
34610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34611 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34612
34613   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34614     for ac_func in expf
34615 do :
34616   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34617 if test "x$ac_cv_func_expf" = x""yes; then :
34618   cat >>confdefs.h <<_ACEOF
34619 #define HAVE_EXPF 1
34620 _ACEOF
34621
34622 fi
34623 done
34624
34625   else
34626
34627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34628 $as_echo_n "checking for _expf declaration... " >&6; }
34629   if test x${glibcxx_cv_func__expf_use+set} != xset; then
34630     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34631   $as_echo_n "(cached) " >&6
34632 else
34633
34634
34635       ac_ext=cpp
34636 ac_cpp='$CXXCPP $CPPFLAGS'
34637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34640
34641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34642 /* end confdefs.h.  */
34643 #include <math.h>
34644                       #ifdef HAVE_IEEEFP_H
34645                       #include <ieeefp.h>
34646                       #endif
34647
34648 int
34649 main ()
34650 {
34651  _expf(0);
34652   ;
34653   return 0;
34654 }
34655 _ACEOF
34656 if ac_fn_cxx_try_compile "$LINENO"; then :
34657   glibcxx_cv_func__expf_use=yes
34658 else
34659   glibcxx_cv_func__expf_use=no
34660 fi
34661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34662       ac_ext=c
34663 ac_cpp='$CPP $CPPFLAGS'
34664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34667
34668
34669 fi
34670
34671   fi
34672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34673 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34674
34675     if test x$glibcxx_cv_func__expf_use = x"yes"; then
34676       for ac_func in _expf
34677 do :
34678   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34679 if test "x$ac_cv_func__expf" = x""yes; then :
34680   cat >>confdefs.h <<_ACEOF
34681 #define HAVE__EXPF 1
34682 _ACEOF
34683
34684 fi
34685 done
34686
34687     fi
34688   fi
34689
34690
34691
34692
34693
34694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34695 $as_echo_n "checking for isnanf declaration... " >&6; }
34696   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34697     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34698   $as_echo_n "(cached) " >&6
34699 else
34700
34701
34702       ac_ext=cpp
34703 ac_cpp='$CXXCPP $CPPFLAGS'
34704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34707
34708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34709 /* end confdefs.h.  */
34710 #include <math.h>
34711                       #ifdef HAVE_IEEEFP_H
34712                       #include <ieeefp.h>
34713                       #endif
34714
34715 int
34716 main ()
34717 {
34718  isnanf(0);
34719   ;
34720   return 0;
34721 }
34722 _ACEOF
34723 if ac_fn_cxx_try_compile "$LINENO"; then :
34724   glibcxx_cv_func_isnanf_use=yes
34725 else
34726   glibcxx_cv_func_isnanf_use=no
34727 fi
34728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34729       ac_ext=c
34730 ac_cpp='$CPP $CPPFLAGS'
34731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34734
34735
34736 fi
34737
34738   fi
34739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34740 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34741
34742   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34743     for ac_func in isnanf
34744 do :
34745   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34746 if test "x$ac_cv_func_isnanf" = x""yes; then :
34747   cat >>confdefs.h <<_ACEOF
34748 #define HAVE_ISNANF 1
34749 _ACEOF
34750
34751 fi
34752 done
34753
34754   else
34755
34756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34757 $as_echo_n "checking for _isnanf declaration... " >&6; }
34758   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34759     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34760   $as_echo_n "(cached) " >&6
34761 else
34762
34763
34764       ac_ext=cpp
34765 ac_cpp='$CXXCPP $CPPFLAGS'
34766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34769
34770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34771 /* end confdefs.h.  */
34772 #include <math.h>
34773                       #ifdef HAVE_IEEEFP_H
34774                       #include <ieeefp.h>
34775                       #endif
34776
34777 int
34778 main ()
34779 {
34780  _isnanf(0);
34781   ;
34782   return 0;
34783 }
34784 _ACEOF
34785 if ac_fn_cxx_try_compile "$LINENO"; then :
34786   glibcxx_cv_func__isnanf_use=yes
34787 else
34788   glibcxx_cv_func__isnanf_use=no
34789 fi
34790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34791       ac_ext=c
34792 ac_cpp='$CPP $CPPFLAGS'
34793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34796
34797
34798 fi
34799
34800   fi
34801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34802 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34803
34804     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34805       for ac_func in _isnanf
34806 do :
34807   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34808 if test "x$ac_cv_func__isnanf" = x""yes; then :
34809   cat >>confdefs.h <<_ACEOF
34810 #define HAVE__ISNANF 1
34811 _ACEOF
34812
34813 fi
34814 done
34815
34816     fi
34817   fi
34818
34819
34820
34821
34822
34823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34824 $as_echo_n "checking for isinff declaration... " >&6; }
34825   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34826     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34827   $as_echo_n "(cached) " >&6
34828 else
34829
34830
34831       ac_ext=cpp
34832 ac_cpp='$CXXCPP $CPPFLAGS'
34833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34836
34837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34838 /* end confdefs.h.  */
34839 #include <math.h>
34840                       #ifdef HAVE_IEEEFP_H
34841                       #include <ieeefp.h>
34842                       #endif
34843
34844 int
34845 main ()
34846 {
34847  isinff(0);
34848   ;
34849   return 0;
34850 }
34851 _ACEOF
34852 if ac_fn_cxx_try_compile "$LINENO"; then :
34853   glibcxx_cv_func_isinff_use=yes
34854 else
34855   glibcxx_cv_func_isinff_use=no
34856 fi
34857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34858       ac_ext=c
34859 ac_cpp='$CPP $CPPFLAGS'
34860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34863
34864
34865 fi
34866
34867   fi
34868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34869 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34870
34871   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34872     for ac_func in isinff
34873 do :
34874   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34875 if test "x$ac_cv_func_isinff" = x""yes; then :
34876   cat >>confdefs.h <<_ACEOF
34877 #define HAVE_ISINFF 1
34878 _ACEOF
34879
34880 fi
34881 done
34882
34883   else
34884
34885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34886 $as_echo_n "checking for _isinff declaration... " >&6; }
34887   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34888     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34889   $as_echo_n "(cached) " >&6
34890 else
34891
34892
34893       ac_ext=cpp
34894 ac_cpp='$CXXCPP $CPPFLAGS'
34895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34898
34899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34900 /* end confdefs.h.  */
34901 #include <math.h>
34902                       #ifdef HAVE_IEEEFP_H
34903                       #include <ieeefp.h>
34904                       #endif
34905
34906 int
34907 main ()
34908 {
34909  _isinff(0);
34910   ;
34911   return 0;
34912 }
34913 _ACEOF
34914 if ac_fn_cxx_try_compile "$LINENO"; then :
34915   glibcxx_cv_func__isinff_use=yes
34916 else
34917   glibcxx_cv_func__isinff_use=no
34918 fi
34919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34920       ac_ext=c
34921 ac_cpp='$CPP $CPPFLAGS'
34922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34925
34926
34927 fi
34928
34929   fi
34930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34931 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34932
34933     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34934       for ac_func in _isinff
34935 do :
34936   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34937 if test "x$ac_cv_func__isinff" = x""yes; then :
34938   cat >>confdefs.h <<_ACEOF
34939 #define HAVE__ISINFF 1
34940 _ACEOF
34941
34942 fi
34943 done
34944
34945     fi
34946   fi
34947
34948
34949
34950
34951
34952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34953 $as_echo_n "checking for atan2f declaration... " >&6; }
34954   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34955     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34956   $as_echo_n "(cached) " >&6
34957 else
34958
34959
34960       ac_ext=cpp
34961 ac_cpp='$CXXCPP $CPPFLAGS'
34962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34965
34966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34967 /* end confdefs.h.  */
34968 #include <math.h>
34969 int
34970 main ()
34971 {
34972  atan2f(0, 0);
34973   ;
34974   return 0;
34975 }
34976 _ACEOF
34977 if ac_fn_cxx_try_compile "$LINENO"; then :
34978   glibcxx_cv_func_atan2f_use=yes
34979 else
34980   glibcxx_cv_func_atan2f_use=no
34981 fi
34982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34983       ac_ext=c
34984 ac_cpp='$CPP $CPPFLAGS'
34985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34988
34989
34990 fi
34991
34992   fi
34993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34994 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34995
34996   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34997     for ac_func in atan2f
34998 do :
34999   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35000 if test "x$ac_cv_func_atan2f" = x""yes; then :
35001   cat >>confdefs.h <<_ACEOF
35002 #define HAVE_ATAN2F 1
35003 _ACEOF
35004
35005 fi
35006 done
35007
35008   else
35009
35010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35011 $as_echo_n "checking for _atan2f declaration... " >&6; }
35012   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35013     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35014   $as_echo_n "(cached) " >&6
35015 else
35016
35017
35018       ac_ext=cpp
35019 ac_cpp='$CXXCPP $CPPFLAGS'
35020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35023
35024       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35025 /* end confdefs.h.  */
35026 #include <math.h>
35027 int
35028 main ()
35029 {
35030  _atan2f(0, 0);
35031   ;
35032   return 0;
35033 }
35034 _ACEOF
35035 if ac_fn_cxx_try_compile "$LINENO"; then :
35036   glibcxx_cv_func__atan2f_use=yes
35037 else
35038   glibcxx_cv_func__atan2f_use=no
35039 fi
35040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35041       ac_ext=c
35042 ac_cpp='$CPP $CPPFLAGS'
35043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35046
35047
35048 fi
35049
35050   fi
35051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35052 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35053
35054     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35055       for ac_func in _atan2f
35056 do :
35057   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35058 if test "x$ac_cv_func__atan2f" = x""yes; then :
35059   cat >>confdefs.h <<_ACEOF
35060 #define HAVE__ATAN2F 1
35061 _ACEOF
35062
35063 fi
35064 done
35065
35066     fi
35067   fi
35068
35069
35070
35071
35072
35073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35074 $as_echo_n "checking for fabsf declaration... " >&6; }
35075   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35076     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35077   $as_echo_n "(cached) " >&6
35078 else
35079
35080
35081       ac_ext=cpp
35082 ac_cpp='$CXXCPP $CPPFLAGS'
35083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35086
35087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35088 /* end confdefs.h.  */
35089 #include <math.h>
35090                       #ifdef HAVE_IEEEFP_H
35091                       #include <ieeefp.h>
35092                       #endif
35093
35094 int
35095 main ()
35096 {
35097  fabsf(0);
35098   ;
35099   return 0;
35100 }
35101 _ACEOF
35102 if ac_fn_cxx_try_compile "$LINENO"; then :
35103   glibcxx_cv_func_fabsf_use=yes
35104 else
35105   glibcxx_cv_func_fabsf_use=no
35106 fi
35107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35108       ac_ext=c
35109 ac_cpp='$CPP $CPPFLAGS'
35110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35113
35114
35115 fi
35116
35117   fi
35118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35119 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35120
35121   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35122     for ac_func in fabsf
35123 do :
35124   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35125 if test "x$ac_cv_func_fabsf" = x""yes; then :
35126   cat >>confdefs.h <<_ACEOF
35127 #define HAVE_FABSF 1
35128 _ACEOF
35129
35130 fi
35131 done
35132
35133   else
35134
35135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35136 $as_echo_n "checking for _fabsf declaration... " >&6; }
35137   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35138     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35139   $as_echo_n "(cached) " >&6
35140 else
35141
35142
35143       ac_ext=cpp
35144 ac_cpp='$CXXCPP $CPPFLAGS'
35145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35148
35149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35150 /* end confdefs.h.  */
35151 #include <math.h>
35152                       #ifdef HAVE_IEEEFP_H
35153                       #include <ieeefp.h>
35154                       #endif
35155
35156 int
35157 main ()
35158 {
35159  _fabsf(0);
35160   ;
35161   return 0;
35162 }
35163 _ACEOF
35164 if ac_fn_cxx_try_compile "$LINENO"; then :
35165   glibcxx_cv_func__fabsf_use=yes
35166 else
35167   glibcxx_cv_func__fabsf_use=no
35168 fi
35169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35170       ac_ext=c
35171 ac_cpp='$CPP $CPPFLAGS'
35172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35175
35176
35177 fi
35178
35179   fi
35180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35181 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35182
35183     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35184       for ac_func in _fabsf
35185 do :
35186   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35187 if test "x$ac_cv_func__fabsf" = x""yes; then :
35188   cat >>confdefs.h <<_ACEOF
35189 #define HAVE__FABSF 1
35190 _ACEOF
35191
35192 fi
35193 done
35194
35195     fi
35196   fi
35197
35198
35199
35200
35201
35202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35203 $as_echo_n "checking for fmodf declaration... " >&6; }
35204   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35205     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35206   $as_echo_n "(cached) " >&6
35207 else
35208
35209
35210       ac_ext=cpp
35211 ac_cpp='$CXXCPP $CPPFLAGS'
35212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35215
35216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35217 /* end confdefs.h.  */
35218 #include <math.h>
35219 int
35220 main ()
35221 {
35222  fmodf(0, 0);
35223   ;
35224   return 0;
35225 }
35226 _ACEOF
35227 if ac_fn_cxx_try_compile "$LINENO"; then :
35228   glibcxx_cv_func_fmodf_use=yes
35229 else
35230   glibcxx_cv_func_fmodf_use=no
35231 fi
35232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35233       ac_ext=c
35234 ac_cpp='$CPP $CPPFLAGS'
35235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35238
35239
35240 fi
35241
35242   fi
35243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35244 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35245
35246   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35247     for ac_func in fmodf
35248 do :
35249   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35250 if test "x$ac_cv_func_fmodf" = x""yes; then :
35251   cat >>confdefs.h <<_ACEOF
35252 #define HAVE_FMODF 1
35253 _ACEOF
35254
35255 fi
35256 done
35257
35258   else
35259
35260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35261 $as_echo_n "checking for _fmodf declaration... " >&6; }
35262   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35263     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35264   $as_echo_n "(cached) " >&6
35265 else
35266
35267
35268       ac_ext=cpp
35269 ac_cpp='$CXXCPP $CPPFLAGS'
35270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35273
35274       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35275 /* end confdefs.h.  */
35276 #include <math.h>
35277 int
35278 main ()
35279 {
35280  _fmodf(0, 0);
35281   ;
35282   return 0;
35283 }
35284 _ACEOF
35285 if ac_fn_cxx_try_compile "$LINENO"; then :
35286   glibcxx_cv_func__fmodf_use=yes
35287 else
35288   glibcxx_cv_func__fmodf_use=no
35289 fi
35290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35291       ac_ext=c
35292 ac_cpp='$CPP $CPPFLAGS'
35293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35296
35297
35298 fi
35299
35300   fi
35301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35302 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35303
35304     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35305       for ac_func in _fmodf
35306 do :
35307   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35308 if test "x$ac_cv_func__fmodf" = x""yes; then :
35309   cat >>confdefs.h <<_ACEOF
35310 #define HAVE__FMODF 1
35311 _ACEOF
35312
35313 fi
35314 done
35315
35316     fi
35317   fi
35318
35319
35320
35321
35322
35323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35324 $as_echo_n "checking for frexpf declaration... " >&6; }
35325   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35326     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35327   $as_echo_n "(cached) " >&6
35328 else
35329
35330
35331       ac_ext=cpp
35332 ac_cpp='$CXXCPP $CPPFLAGS'
35333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35336
35337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35338 /* end confdefs.h.  */
35339 #include <math.h>
35340 int
35341 main ()
35342 {
35343  frexpf(0, 0);
35344   ;
35345   return 0;
35346 }
35347 _ACEOF
35348 if ac_fn_cxx_try_compile "$LINENO"; then :
35349   glibcxx_cv_func_frexpf_use=yes
35350 else
35351   glibcxx_cv_func_frexpf_use=no
35352 fi
35353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35354       ac_ext=c
35355 ac_cpp='$CPP $CPPFLAGS'
35356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35359
35360
35361 fi
35362
35363   fi
35364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35365 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35366
35367   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35368     for ac_func in frexpf
35369 do :
35370   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35371 if test "x$ac_cv_func_frexpf" = x""yes; then :
35372   cat >>confdefs.h <<_ACEOF
35373 #define HAVE_FREXPF 1
35374 _ACEOF
35375
35376 fi
35377 done
35378
35379   else
35380
35381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35382 $as_echo_n "checking for _frexpf declaration... " >&6; }
35383   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35384     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35385   $as_echo_n "(cached) " >&6
35386 else
35387
35388
35389       ac_ext=cpp
35390 ac_cpp='$CXXCPP $CPPFLAGS'
35391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35394
35395       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35396 /* end confdefs.h.  */
35397 #include <math.h>
35398 int
35399 main ()
35400 {
35401  _frexpf(0, 0);
35402   ;
35403   return 0;
35404 }
35405 _ACEOF
35406 if ac_fn_cxx_try_compile "$LINENO"; then :
35407   glibcxx_cv_func__frexpf_use=yes
35408 else
35409   glibcxx_cv_func__frexpf_use=no
35410 fi
35411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35412       ac_ext=c
35413 ac_cpp='$CPP $CPPFLAGS'
35414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35417
35418
35419 fi
35420
35421   fi
35422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35423 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35424
35425     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35426       for ac_func in _frexpf
35427 do :
35428   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35429 if test "x$ac_cv_func__frexpf" = x""yes; then :
35430   cat >>confdefs.h <<_ACEOF
35431 #define HAVE__FREXPF 1
35432 _ACEOF
35433
35434 fi
35435 done
35436
35437     fi
35438   fi
35439
35440
35441
35442
35443
35444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35445 $as_echo_n "checking for hypotf declaration... " >&6; }
35446   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35447     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35448   $as_echo_n "(cached) " >&6
35449 else
35450
35451
35452       ac_ext=cpp
35453 ac_cpp='$CXXCPP $CPPFLAGS'
35454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35457
35458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35459 /* end confdefs.h.  */
35460 #include <math.h>
35461 int
35462 main ()
35463 {
35464  hypotf(0, 0);
35465   ;
35466   return 0;
35467 }
35468 _ACEOF
35469 if ac_fn_cxx_try_compile "$LINENO"; then :
35470   glibcxx_cv_func_hypotf_use=yes
35471 else
35472   glibcxx_cv_func_hypotf_use=no
35473 fi
35474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35475       ac_ext=c
35476 ac_cpp='$CPP $CPPFLAGS'
35477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35480
35481
35482 fi
35483
35484   fi
35485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35486 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35487
35488   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35489     for ac_func in hypotf
35490 do :
35491   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35492 if test "x$ac_cv_func_hypotf" = x""yes; then :
35493   cat >>confdefs.h <<_ACEOF
35494 #define HAVE_HYPOTF 1
35495 _ACEOF
35496
35497 fi
35498 done
35499
35500   else
35501
35502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35503 $as_echo_n "checking for _hypotf declaration... " >&6; }
35504   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35505     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35506   $as_echo_n "(cached) " >&6
35507 else
35508
35509
35510       ac_ext=cpp
35511 ac_cpp='$CXXCPP $CPPFLAGS'
35512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35515
35516       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35517 /* end confdefs.h.  */
35518 #include <math.h>
35519 int
35520 main ()
35521 {
35522  _hypotf(0, 0);
35523   ;
35524   return 0;
35525 }
35526 _ACEOF
35527 if ac_fn_cxx_try_compile "$LINENO"; then :
35528   glibcxx_cv_func__hypotf_use=yes
35529 else
35530   glibcxx_cv_func__hypotf_use=no
35531 fi
35532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35533       ac_ext=c
35534 ac_cpp='$CPP $CPPFLAGS'
35535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35538
35539
35540 fi
35541
35542   fi
35543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35544 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35545
35546     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35547       for ac_func in _hypotf
35548 do :
35549   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35550 if test "x$ac_cv_func__hypotf" = x""yes; then :
35551   cat >>confdefs.h <<_ACEOF
35552 #define HAVE__HYPOTF 1
35553 _ACEOF
35554
35555 fi
35556 done
35557
35558     fi
35559   fi
35560
35561
35562
35563
35564
35565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35566 $as_echo_n "checking for ldexpf declaration... " >&6; }
35567   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35568     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35569   $as_echo_n "(cached) " >&6
35570 else
35571
35572
35573       ac_ext=cpp
35574 ac_cpp='$CXXCPP $CPPFLAGS'
35575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35578
35579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35580 /* end confdefs.h.  */
35581 #include <math.h>
35582 int
35583 main ()
35584 {
35585  ldexpf(0, 0);
35586   ;
35587   return 0;
35588 }
35589 _ACEOF
35590 if ac_fn_cxx_try_compile "$LINENO"; then :
35591   glibcxx_cv_func_ldexpf_use=yes
35592 else
35593   glibcxx_cv_func_ldexpf_use=no
35594 fi
35595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35596       ac_ext=c
35597 ac_cpp='$CPP $CPPFLAGS'
35598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35601
35602
35603 fi
35604
35605   fi
35606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35607 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35608
35609   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35610     for ac_func in ldexpf
35611 do :
35612   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35613 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35614   cat >>confdefs.h <<_ACEOF
35615 #define HAVE_LDEXPF 1
35616 _ACEOF
35617
35618 fi
35619 done
35620
35621   else
35622
35623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35624 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35625   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35626     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35627   $as_echo_n "(cached) " >&6
35628 else
35629
35630
35631       ac_ext=cpp
35632 ac_cpp='$CXXCPP $CPPFLAGS'
35633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35636
35637       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35638 /* end confdefs.h.  */
35639 #include <math.h>
35640 int
35641 main ()
35642 {
35643  _ldexpf(0, 0);
35644   ;
35645   return 0;
35646 }
35647 _ACEOF
35648 if ac_fn_cxx_try_compile "$LINENO"; then :
35649   glibcxx_cv_func__ldexpf_use=yes
35650 else
35651   glibcxx_cv_func__ldexpf_use=no
35652 fi
35653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35654       ac_ext=c
35655 ac_cpp='$CPP $CPPFLAGS'
35656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35659
35660
35661 fi
35662
35663   fi
35664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35665 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35666
35667     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35668       for ac_func in _ldexpf
35669 do :
35670   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35671 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35672   cat >>confdefs.h <<_ACEOF
35673 #define HAVE__LDEXPF 1
35674 _ACEOF
35675
35676 fi
35677 done
35678
35679     fi
35680   fi
35681
35682
35683
35684
35685
35686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35687 $as_echo_n "checking for logf declaration... " >&6; }
35688   if test x${glibcxx_cv_func_logf_use+set} != xset; then
35689     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35690   $as_echo_n "(cached) " >&6
35691 else
35692
35693
35694       ac_ext=cpp
35695 ac_cpp='$CXXCPP $CPPFLAGS'
35696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35699
35700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35701 /* end confdefs.h.  */
35702 #include <math.h>
35703                       #ifdef HAVE_IEEEFP_H
35704                       #include <ieeefp.h>
35705                       #endif
35706
35707 int
35708 main ()
35709 {
35710  logf(0);
35711   ;
35712   return 0;
35713 }
35714 _ACEOF
35715 if ac_fn_cxx_try_compile "$LINENO"; then :
35716   glibcxx_cv_func_logf_use=yes
35717 else
35718   glibcxx_cv_func_logf_use=no
35719 fi
35720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35721       ac_ext=c
35722 ac_cpp='$CPP $CPPFLAGS'
35723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35726
35727
35728 fi
35729
35730   fi
35731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35732 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35733
35734   if test x$glibcxx_cv_func_logf_use = x"yes"; then
35735     for ac_func in logf
35736 do :
35737   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35738 if test "x$ac_cv_func_logf" = x""yes; then :
35739   cat >>confdefs.h <<_ACEOF
35740 #define HAVE_LOGF 1
35741 _ACEOF
35742
35743 fi
35744 done
35745
35746   else
35747
35748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35749 $as_echo_n "checking for _logf declaration... " >&6; }
35750   if test x${glibcxx_cv_func__logf_use+set} != xset; then
35751     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35752   $as_echo_n "(cached) " >&6
35753 else
35754
35755
35756       ac_ext=cpp
35757 ac_cpp='$CXXCPP $CPPFLAGS'
35758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35761
35762       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35763 /* end confdefs.h.  */
35764 #include <math.h>
35765                       #ifdef HAVE_IEEEFP_H
35766                       #include <ieeefp.h>
35767                       #endif
35768
35769 int
35770 main ()
35771 {
35772  _logf(0);
35773   ;
35774   return 0;
35775 }
35776 _ACEOF
35777 if ac_fn_cxx_try_compile "$LINENO"; then :
35778   glibcxx_cv_func__logf_use=yes
35779 else
35780   glibcxx_cv_func__logf_use=no
35781 fi
35782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35783       ac_ext=c
35784 ac_cpp='$CPP $CPPFLAGS'
35785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35788
35789
35790 fi
35791
35792   fi
35793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35794 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35795
35796     if test x$glibcxx_cv_func__logf_use = x"yes"; then
35797       for ac_func in _logf
35798 do :
35799   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35800 if test "x$ac_cv_func__logf" = x""yes; then :
35801   cat >>confdefs.h <<_ACEOF
35802 #define HAVE__LOGF 1
35803 _ACEOF
35804
35805 fi
35806 done
35807
35808     fi
35809   fi
35810
35811
35812
35813
35814
35815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35816 $as_echo_n "checking for log10f declaration... " >&6; }
35817   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35818     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35819   $as_echo_n "(cached) " >&6
35820 else
35821
35822
35823       ac_ext=cpp
35824 ac_cpp='$CXXCPP $CPPFLAGS'
35825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35828
35829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35830 /* end confdefs.h.  */
35831 #include <math.h>
35832                       #ifdef HAVE_IEEEFP_H
35833                       #include <ieeefp.h>
35834                       #endif
35835
35836 int
35837 main ()
35838 {
35839  log10f(0);
35840   ;
35841   return 0;
35842 }
35843 _ACEOF
35844 if ac_fn_cxx_try_compile "$LINENO"; then :
35845   glibcxx_cv_func_log10f_use=yes
35846 else
35847   glibcxx_cv_func_log10f_use=no
35848 fi
35849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35850       ac_ext=c
35851 ac_cpp='$CPP $CPPFLAGS'
35852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35855
35856
35857 fi
35858
35859   fi
35860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35861 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35862
35863   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35864     for ac_func in log10f
35865 do :
35866   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35867 if test "x$ac_cv_func_log10f" = x""yes; then :
35868   cat >>confdefs.h <<_ACEOF
35869 #define HAVE_LOG10F 1
35870 _ACEOF
35871
35872 fi
35873 done
35874
35875   else
35876
35877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35878 $as_echo_n "checking for _log10f declaration... " >&6; }
35879   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35880     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35881   $as_echo_n "(cached) " >&6
35882 else
35883
35884
35885       ac_ext=cpp
35886 ac_cpp='$CXXCPP $CPPFLAGS'
35887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35890
35891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35892 /* end confdefs.h.  */
35893 #include <math.h>
35894                       #ifdef HAVE_IEEEFP_H
35895                       #include <ieeefp.h>
35896                       #endif
35897
35898 int
35899 main ()
35900 {
35901  _log10f(0);
35902   ;
35903   return 0;
35904 }
35905 _ACEOF
35906 if ac_fn_cxx_try_compile "$LINENO"; then :
35907   glibcxx_cv_func__log10f_use=yes
35908 else
35909   glibcxx_cv_func__log10f_use=no
35910 fi
35911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35912       ac_ext=c
35913 ac_cpp='$CPP $CPPFLAGS'
35914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35917
35918
35919 fi
35920
35921   fi
35922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35923 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35924
35925     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35926       for ac_func in _log10f
35927 do :
35928   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35929 if test "x$ac_cv_func__log10f" = x""yes; then :
35930   cat >>confdefs.h <<_ACEOF
35931 #define HAVE__LOG10F 1
35932 _ACEOF
35933
35934 fi
35935 done
35936
35937     fi
35938   fi
35939
35940
35941
35942
35943
35944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35945 $as_echo_n "checking for modff declaration... " >&6; }
35946   if test x${glibcxx_cv_func_modff_use+set} != xset; then
35947     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35948   $as_echo_n "(cached) " >&6
35949 else
35950
35951
35952       ac_ext=cpp
35953 ac_cpp='$CXXCPP $CPPFLAGS'
35954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35957
35958       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35959 /* end confdefs.h.  */
35960 #include <math.h>
35961 int
35962 main ()
35963 {
35964  modff(0, 0);
35965   ;
35966   return 0;
35967 }
35968 _ACEOF
35969 if ac_fn_cxx_try_compile "$LINENO"; then :
35970   glibcxx_cv_func_modff_use=yes
35971 else
35972   glibcxx_cv_func_modff_use=no
35973 fi
35974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35975       ac_ext=c
35976 ac_cpp='$CPP $CPPFLAGS'
35977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35980
35981
35982 fi
35983
35984   fi
35985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35986 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35987
35988   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35989     for ac_func in modff
35990 do :
35991   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35992 if test "x$ac_cv_func_modff" = x""yes; then :
35993   cat >>confdefs.h <<_ACEOF
35994 #define HAVE_MODFF 1
35995 _ACEOF
35996
35997 fi
35998 done
35999
36000   else
36001
36002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36003 $as_echo_n "checking for _modff declaration... " >&6; }
36004   if test x${glibcxx_cv_func__modff_use+set} != xset; then
36005     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36006   $as_echo_n "(cached) " >&6
36007 else
36008
36009
36010       ac_ext=cpp
36011 ac_cpp='$CXXCPP $CPPFLAGS'
36012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36015
36016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36017 /* end confdefs.h.  */
36018 #include <math.h>
36019 int
36020 main ()
36021 {
36022  _modff(0, 0);
36023   ;
36024   return 0;
36025 }
36026 _ACEOF
36027 if ac_fn_cxx_try_compile "$LINENO"; then :
36028   glibcxx_cv_func__modff_use=yes
36029 else
36030   glibcxx_cv_func__modff_use=no
36031 fi
36032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36033       ac_ext=c
36034 ac_cpp='$CPP $CPPFLAGS'
36035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36038
36039
36040 fi
36041
36042   fi
36043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36044 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36045
36046     if test x$glibcxx_cv_func__modff_use = x"yes"; then
36047       for ac_func in _modff
36048 do :
36049   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36050 if test "x$ac_cv_func__modff" = x""yes; then :
36051   cat >>confdefs.h <<_ACEOF
36052 #define HAVE__MODFF 1
36053 _ACEOF
36054
36055 fi
36056 done
36057
36058     fi
36059   fi
36060
36061
36062
36063
36064
36065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36066 $as_echo_n "checking for modf declaration... " >&6; }
36067   if test x${glibcxx_cv_func_modf_use+set} != xset; then
36068     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36069   $as_echo_n "(cached) " >&6
36070 else
36071
36072
36073       ac_ext=cpp
36074 ac_cpp='$CXXCPP $CPPFLAGS'
36075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36078
36079       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36080 /* end confdefs.h.  */
36081 #include <math.h>
36082 int
36083 main ()
36084 {
36085  modf(0, 0);
36086   ;
36087   return 0;
36088 }
36089 _ACEOF
36090 if ac_fn_cxx_try_compile "$LINENO"; then :
36091   glibcxx_cv_func_modf_use=yes
36092 else
36093   glibcxx_cv_func_modf_use=no
36094 fi
36095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36096       ac_ext=c
36097 ac_cpp='$CPP $CPPFLAGS'
36098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36101
36102
36103 fi
36104
36105   fi
36106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36107 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36108
36109   if test x$glibcxx_cv_func_modf_use = x"yes"; then
36110     for ac_func in modf
36111 do :
36112   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36113 if test "x$ac_cv_func_modf" = x""yes; then :
36114   cat >>confdefs.h <<_ACEOF
36115 #define HAVE_MODF 1
36116 _ACEOF
36117
36118 fi
36119 done
36120
36121   else
36122
36123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36124 $as_echo_n "checking for _modf declaration... " >&6; }
36125   if test x${glibcxx_cv_func__modf_use+set} != xset; then
36126     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36127   $as_echo_n "(cached) " >&6
36128 else
36129
36130
36131       ac_ext=cpp
36132 ac_cpp='$CXXCPP $CPPFLAGS'
36133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36136
36137       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36138 /* end confdefs.h.  */
36139 #include <math.h>
36140 int
36141 main ()
36142 {
36143  _modf(0, 0);
36144   ;
36145   return 0;
36146 }
36147 _ACEOF
36148 if ac_fn_cxx_try_compile "$LINENO"; then :
36149   glibcxx_cv_func__modf_use=yes
36150 else
36151   glibcxx_cv_func__modf_use=no
36152 fi
36153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36154       ac_ext=c
36155 ac_cpp='$CPP $CPPFLAGS'
36156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36159
36160
36161 fi
36162
36163   fi
36164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36165 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36166
36167     if test x$glibcxx_cv_func__modf_use = x"yes"; then
36168       for ac_func in _modf
36169 do :
36170   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36171 if test "x$ac_cv_func__modf" = x""yes; then :
36172   cat >>confdefs.h <<_ACEOF
36173 #define HAVE__MODF 1
36174 _ACEOF
36175
36176 fi
36177 done
36178
36179     fi
36180   fi
36181
36182
36183
36184
36185
36186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36187 $as_echo_n "checking for powf declaration... " >&6; }
36188   if test x${glibcxx_cv_func_powf_use+set} != xset; then
36189     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36190   $as_echo_n "(cached) " >&6
36191 else
36192
36193
36194       ac_ext=cpp
36195 ac_cpp='$CXXCPP $CPPFLAGS'
36196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36199
36200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36201 /* end confdefs.h.  */
36202 #include <math.h>
36203 int
36204 main ()
36205 {
36206  powf(0, 0);
36207   ;
36208   return 0;
36209 }
36210 _ACEOF
36211 if ac_fn_cxx_try_compile "$LINENO"; then :
36212   glibcxx_cv_func_powf_use=yes
36213 else
36214   glibcxx_cv_func_powf_use=no
36215 fi
36216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36217       ac_ext=c
36218 ac_cpp='$CPP $CPPFLAGS'
36219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36222
36223
36224 fi
36225
36226   fi
36227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36228 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36229
36230   if test x$glibcxx_cv_func_powf_use = x"yes"; then
36231     for ac_func in powf
36232 do :
36233   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36234 if test "x$ac_cv_func_powf" = x""yes; then :
36235   cat >>confdefs.h <<_ACEOF
36236 #define HAVE_POWF 1
36237 _ACEOF
36238
36239 fi
36240 done
36241
36242   else
36243
36244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36245 $as_echo_n "checking for _powf declaration... " >&6; }
36246   if test x${glibcxx_cv_func__powf_use+set} != xset; then
36247     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36248   $as_echo_n "(cached) " >&6
36249 else
36250
36251
36252       ac_ext=cpp
36253 ac_cpp='$CXXCPP $CPPFLAGS'
36254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36257
36258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36259 /* end confdefs.h.  */
36260 #include <math.h>
36261 int
36262 main ()
36263 {
36264  _powf(0, 0);
36265   ;
36266   return 0;
36267 }
36268 _ACEOF
36269 if ac_fn_cxx_try_compile "$LINENO"; then :
36270   glibcxx_cv_func__powf_use=yes
36271 else
36272   glibcxx_cv_func__powf_use=no
36273 fi
36274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36275       ac_ext=c
36276 ac_cpp='$CPP $CPPFLAGS'
36277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36280
36281
36282 fi
36283
36284   fi
36285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36286 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36287
36288     if test x$glibcxx_cv_func__powf_use = x"yes"; then
36289       for ac_func in _powf
36290 do :
36291   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36292 if test "x$ac_cv_func__powf" = x""yes; then :
36293   cat >>confdefs.h <<_ACEOF
36294 #define HAVE__POWF 1
36295 _ACEOF
36296
36297 fi
36298 done
36299
36300     fi
36301   fi
36302
36303
36304
36305
36306
36307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36308 $as_echo_n "checking for sqrtf declaration... " >&6; }
36309   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36310     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36311   $as_echo_n "(cached) " >&6
36312 else
36313
36314
36315       ac_ext=cpp
36316 ac_cpp='$CXXCPP $CPPFLAGS'
36317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36320
36321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36322 /* end confdefs.h.  */
36323 #include <math.h>
36324                       #ifdef HAVE_IEEEFP_H
36325                       #include <ieeefp.h>
36326                       #endif
36327
36328 int
36329 main ()
36330 {
36331  sqrtf(0);
36332   ;
36333   return 0;
36334 }
36335 _ACEOF
36336 if ac_fn_cxx_try_compile "$LINENO"; then :
36337   glibcxx_cv_func_sqrtf_use=yes
36338 else
36339   glibcxx_cv_func_sqrtf_use=no
36340 fi
36341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36342       ac_ext=c
36343 ac_cpp='$CPP $CPPFLAGS'
36344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36347
36348
36349 fi
36350
36351   fi
36352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36353 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36354
36355   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36356     for ac_func in sqrtf
36357 do :
36358   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36359 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36360   cat >>confdefs.h <<_ACEOF
36361 #define HAVE_SQRTF 1
36362 _ACEOF
36363
36364 fi
36365 done
36366
36367   else
36368
36369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36370 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36371   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36372     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36373   $as_echo_n "(cached) " >&6
36374 else
36375
36376
36377       ac_ext=cpp
36378 ac_cpp='$CXXCPP $CPPFLAGS'
36379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36382
36383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36384 /* end confdefs.h.  */
36385 #include <math.h>
36386                       #ifdef HAVE_IEEEFP_H
36387                       #include <ieeefp.h>
36388                       #endif
36389
36390 int
36391 main ()
36392 {
36393  _sqrtf(0);
36394   ;
36395   return 0;
36396 }
36397 _ACEOF
36398 if ac_fn_cxx_try_compile "$LINENO"; then :
36399   glibcxx_cv_func__sqrtf_use=yes
36400 else
36401   glibcxx_cv_func__sqrtf_use=no
36402 fi
36403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36404       ac_ext=c
36405 ac_cpp='$CPP $CPPFLAGS'
36406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36409
36410
36411 fi
36412
36413   fi
36414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36415 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36416
36417     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36418       for ac_func in _sqrtf
36419 do :
36420   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36421 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36422   cat >>confdefs.h <<_ACEOF
36423 #define HAVE__SQRTF 1
36424 _ACEOF
36425
36426 fi
36427 done
36428
36429     fi
36430   fi
36431
36432
36433
36434
36435
36436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36437 $as_echo_n "checking for sincosf declaration... " >&6; }
36438   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36439     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36440   $as_echo_n "(cached) " >&6
36441 else
36442
36443
36444       ac_ext=cpp
36445 ac_cpp='$CXXCPP $CPPFLAGS'
36446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36449
36450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36451 /* end confdefs.h.  */
36452 #include <math.h>
36453 int
36454 main ()
36455 {
36456  sincosf(0, 0, 0);
36457   ;
36458   return 0;
36459 }
36460 _ACEOF
36461 if ac_fn_cxx_try_compile "$LINENO"; then :
36462   glibcxx_cv_func_sincosf_use=yes
36463 else
36464   glibcxx_cv_func_sincosf_use=no
36465 fi
36466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36467       ac_ext=c
36468 ac_cpp='$CPP $CPPFLAGS'
36469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36472
36473
36474 fi
36475
36476   fi
36477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36478 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36479
36480   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36481     for ac_func in sincosf
36482 do :
36483   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36484 if test "x$ac_cv_func_sincosf" = x""yes; then :
36485   cat >>confdefs.h <<_ACEOF
36486 #define HAVE_SINCOSF 1
36487 _ACEOF
36488
36489 fi
36490 done
36491
36492   else
36493
36494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36495 $as_echo_n "checking for _sincosf declaration... " >&6; }
36496   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36497     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36498   $as_echo_n "(cached) " >&6
36499 else
36500
36501
36502       ac_ext=cpp
36503 ac_cpp='$CXXCPP $CPPFLAGS'
36504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36507
36508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36509 /* end confdefs.h.  */
36510 #include <math.h>
36511 int
36512 main ()
36513 {
36514  _sincosf(0, 0, 0);
36515   ;
36516   return 0;
36517 }
36518 _ACEOF
36519 if ac_fn_cxx_try_compile "$LINENO"; then :
36520   glibcxx_cv_func__sincosf_use=yes
36521 else
36522   glibcxx_cv_func__sincosf_use=no
36523 fi
36524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36525       ac_ext=c
36526 ac_cpp='$CPP $CPPFLAGS'
36527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36530
36531
36532 fi
36533
36534   fi
36535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36536 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36537
36538     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36539       for ac_func in _sincosf
36540 do :
36541   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36542 if test "x$ac_cv_func__sincosf" = x""yes; then :
36543   cat >>confdefs.h <<_ACEOF
36544 #define HAVE__SINCOSF 1
36545 _ACEOF
36546
36547 fi
36548 done
36549
36550     fi
36551   fi
36552
36553
36554
36555
36556
36557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36558 $as_echo_n "checking for finitef declaration... " >&6; }
36559   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36560     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36561   $as_echo_n "(cached) " >&6
36562 else
36563
36564
36565       ac_ext=cpp
36566 ac_cpp='$CXXCPP $CPPFLAGS'
36567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36570
36571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36572 /* end confdefs.h.  */
36573 #include <math.h>
36574                       #ifdef HAVE_IEEEFP_H
36575                       #include <ieeefp.h>
36576                       #endif
36577
36578 int
36579 main ()
36580 {
36581  finitef(0);
36582   ;
36583   return 0;
36584 }
36585 _ACEOF
36586 if ac_fn_cxx_try_compile "$LINENO"; then :
36587   glibcxx_cv_func_finitef_use=yes
36588 else
36589   glibcxx_cv_func_finitef_use=no
36590 fi
36591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36592       ac_ext=c
36593 ac_cpp='$CPP $CPPFLAGS'
36594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36597
36598
36599 fi
36600
36601   fi
36602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36603 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36604
36605   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36606     for ac_func in finitef
36607 do :
36608   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36609 if test "x$ac_cv_func_finitef" = x""yes; then :
36610   cat >>confdefs.h <<_ACEOF
36611 #define HAVE_FINITEF 1
36612 _ACEOF
36613
36614 fi
36615 done
36616
36617   else
36618
36619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36620 $as_echo_n "checking for _finitef declaration... " >&6; }
36621   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36622     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36623   $as_echo_n "(cached) " >&6
36624 else
36625
36626
36627       ac_ext=cpp
36628 ac_cpp='$CXXCPP $CPPFLAGS'
36629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36632
36633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36634 /* end confdefs.h.  */
36635 #include <math.h>
36636                       #ifdef HAVE_IEEEFP_H
36637                       #include <ieeefp.h>
36638                       #endif
36639
36640 int
36641 main ()
36642 {
36643  _finitef(0);
36644   ;
36645   return 0;
36646 }
36647 _ACEOF
36648 if ac_fn_cxx_try_compile "$LINENO"; then :
36649   glibcxx_cv_func__finitef_use=yes
36650 else
36651   glibcxx_cv_func__finitef_use=no
36652 fi
36653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36654       ac_ext=c
36655 ac_cpp='$CPP $CPPFLAGS'
36656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36659
36660
36661 fi
36662
36663   fi
36664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36665 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36666
36667     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36668       for ac_func in _finitef
36669 do :
36670   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36671 if test "x$ac_cv_func__finitef" = x""yes; then :
36672   cat >>confdefs.h <<_ACEOF
36673 #define HAVE__FINITEF 1
36674 _ACEOF
36675
36676 fi
36677 done
36678
36679     fi
36680   fi
36681
36682
36683
36684
36685
36686     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36687 $as_echo_n "checking for long double trig functions... " >&6; }
36688   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36689   $as_echo_n "(cached) " >&6
36690 else
36691
36692
36693     ac_ext=cpp
36694 ac_cpp='$CXXCPP $CPPFLAGS'
36695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36698
36699     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36700 /* end confdefs.h.  */
36701 #include <math.h>
36702 int
36703 main ()
36704 {
36705 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36706   ;
36707   return 0;
36708 }
36709 _ACEOF
36710 if ac_fn_cxx_try_compile "$LINENO"; then :
36711   glibcxx_cv_func_long_double_trig_use=yes
36712 else
36713   glibcxx_cv_func_long_double_trig_use=no
36714 fi
36715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36716     ac_ext=c
36717 ac_cpp='$CPP $CPPFLAGS'
36718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36721
36722 fi
36723
36724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36725 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36726   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36727     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36728 do :
36729   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36731 eval as_val=\$$as_ac_var
36732    if test "x$as_val" = x""yes; then :
36733   cat >>confdefs.h <<_ACEOF
36734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36735 _ACEOF
36736
36737 fi
36738 done
36739
36740   else
36741     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36742 $as_echo_n "checking for _long double trig functions... " >&6; }
36743     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36744   $as_echo_n "(cached) " >&6
36745 else
36746
36747
36748       ac_ext=cpp
36749 ac_cpp='$CXXCPP $CPPFLAGS'
36750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36753
36754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36755 /* end confdefs.h.  */
36756 #include <math.h>
36757 int
36758 main ()
36759 {
36760 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36761   ;
36762   return 0;
36763 }
36764 _ACEOF
36765 if ac_fn_cxx_try_compile "$LINENO"; then :
36766   glibcxx_cv_func__long_double_trig_use=yes
36767 else
36768   glibcxx_cv_func__long_double_trig_use=no
36769 fi
36770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36771       ac_ext=c
36772 ac_cpp='$CPP $CPPFLAGS'
36773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36776
36777 fi
36778
36779     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36780 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36781     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36782       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36783 do :
36784   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36785 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36786 eval as_val=\$$as_ac_var
36787    if test "x$as_val" = x""yes; then :
36788   cat >>confdefs.h <<_ACEOF
36789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36790 _ACEOF
36791
36792 fi
36793 done
36794
36795     fi
36796   fi
36797
36798
36799
36800
36801
36802     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36803 $as_echo_n "checking for long double round functions... " >&6; }
36804   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36805   $as_echo_n "(cached) " >&6
36806 else
36807
36808
36809     ac_ext=cpp
36810 ac_cpp='$CXXCPP $CPPFLAGS'
36811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36814
36815     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36816 /* end confdefs.h.  */
36817 #include <math.h>
36818 int
36819 main ()
36820 {
36821 ceill (0); floorl (0);
36822   ;
36823   return 0;
36824 }
36825 _ACEOF
36826 if ac_fn_cxx_try_compile "$LINENO"; then :
36827   glibcxx_cv_func_long_double_round_use=yes
36828 else
36829   glibcxx_cv_func_long_double_round_use=no
36830 fi
36831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36832     ac_ext=c
36833 ac_cpp='$CPP $CPPFLAGS'
36834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36837
36838 fi
36839
36840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36841 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36842   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36843     for ac_func in ceill floorl
36844 do :
36845   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36847 eval as_val=\$$as_ac_var
36848    if test "x$as_val" = x""yes; then :
36849   cat >>confdefs.h <<_ACEOF
36850 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36851 _ACEOF
36852
36853 fi
36854 done
36855
36856   else
36857     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36858 $as_echo_n "checking for _long double round functions... " >&6; }
36859     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36860   $as_echo_n "(cached) " >&6
36861 else
36862
36863
36864       ac_ext=cpp
36865 ac_cpp='$CXXCPP $CPPFLAGS'
36866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36869
36870       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36871 /* end confdefs.h.  */
36872 #include <math.h>
36873 int
36874 main ()
36875 {
36876 _ceill (0); _floorl (0);
36877   ;
36878   return 0;
36879 }
36880 _ACEOF
36881 if ac_fn_cxx_try_compile "$LINENO"; then :
36882   glibcxx_cv_func__long_double_round_use=yes
36883 else
36884   glibcxx_cv_func__long_double_round_use=no
36885 fi
36886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36887       ac_ext=c
36888 ac_cpp='$CPP $CPPFLAGS'
36889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36892
36893 fi
36894
36895     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36896 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36897     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36898       for ac_func in _ceill _floorl
36899 do :
36900   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36901 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36902 eval as_val=\$$as_ac_var
36903    if test "x$as_val" = x""yes; then :
36904   cat >>confdefs.h <<_ACEOF
36905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36906 _ACEOF
36907
36908 fi
36909 done
36910
36911     fi
36912   fi
36913
36914
36915
36916
36917
36918
36919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36920 $as_echo_n "checking for isnanl declaration... " >&6; }
36921   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36922     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36923   $as_echo_n "(cached) " >&6
36924 else
36925
36926
36927       ac_ext=cpp
36928 ac_cpp='$CXXCPP $CPPFLAGS'
36929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36932
36933       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36934 /* end confdefs.h.  */
36935 #include <math.h>
36936                       #ifdef HAVE_IEEEFP_H
36937                       #include <ieeefp.h>
36938                       #endif
36939
36940 int
36941 main ()
36942 {
36943  isnanl(0);
36944   ;
36945   return 0;
36946 }
36947 _ACEOF
36948 if ac_fn_cxx_try_compile "$LINENO"; then :
36949   glibcxx_cv_func_isnanl_use=yes
36950 else
36951   glibcxx_cv_func_isnanl_use=no
36952 fi
36953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36954       ac_ext=c
36955 ac_cpp='$CPP $CPPFLAGS'
36956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36959
36960
36961 fi
36962
36963   fi
36964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36965 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36966
36967   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36968     for ac_func in isnanl
36969 do :
36970   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36971 if test "x$ac_cv_func_isnanl" = x""yes; then :
36972   cat >>confdefs.h <<_ACEOF
36973 #define HAVE_ISNANL 1
36974 _ACEOF
36975
36976 fi
36977 done
36978
36979   else
36980
36981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36982 $as_echo_n "checking for _isnanl declaration... " >&6; }
36983   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36984     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36985   $as_echo_n "(cached) " >&6
36986 else
36987
36988
36989       ac_ext=cpp
36990 ac_cpp='$CXXCPP $CPPFLAGS'
36991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36994
36995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36996 /* end confdefs.h.  */
36997 #include <math.h>
36998                       #ifdef HAVE_IEEEFP_H
36999                       #include <ieeefp.h>
37000                       #endif
37001
37002 int
37003 main ()
37004 {
37005  _isnanl(0);
37006   ;
37007   return 0;
37008 }
37009 _ACEOF
37010 if ac_fn_cxx_try_compile "$LINENO"; then :
37011   glibcxx_cv_func__isnanl_use=yes
37012 else
37013   glibcxx_cv_func__isnanl_use=no
37014 fi
37015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37016       ac_ext=c
37017 ac_cpp='$CPP $CPPFLAGS'
37018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37021
37022
37023 fi
37024
37025   fi
37026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37027 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37028
37029     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37030       for ac_func in _isnanl
37031 do :
37032   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37033 if test "x$ac_cv_func__isnanl" = x""yes; then :
37034   cat >>confdefs.h <<_ACEOF
37035 #define HAVE__ISNANL 1
37036 _ACEOF
37037
37038 fi
37039 done
37040
37041     fi
37042   fi
37043
37044
37045
37046
37047
37048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37049 $as_echo_n "checking for isinfl declaration... " >&6; }
37050   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37051     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37052   $as_echo_n "(cached) " >&6
37053 else
37054
37055
37056       ac_ext=cpp
37057 ac_cpp='$CXXCPP $CPPFLAGS'
37058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37061
37062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37063 /* end confdefs.h.  */
37064 #include <math.h>
37065                       #ifdef HAVE_IEEEFP_H
37066                       #include <ieeefp.h>
37067                       #endif
37068
37069 int
37070 main ()
37071 {
37072  isinfl(0);
37073   ;
37074   return 0;
37075 }
37076 _ACEOF
37077 if ac_fn_cxx_try_compile "$LINENO"; then :
37078   glibcxx_cv_func_isinfl_use=yes
37079 else
37080   glibcxx_cv_func_isinfl_use=no
37081 fi
37082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37083       ac_ext=c
37084 ac_cpp='$CPP $CPPFLAGS'
37085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37088
37089
37090 fi
37091
37092   fi
37093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37094 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37095
37096   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37097     for ac_func in isinfl
37098 do :
37099   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37100 if test "x$ac_cv_func_isinfl" = x""yes; then :
37101   cat >>confdefs.h <<_ACEOF
37102 #define HAVE_ISINFL 1
37103 _ACEOF
37104
37105 fi
37106 done
37107
37108   else
37109
37110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37111 $as_echo_n "checking for _isinfl declaration... " >&6; }
37112   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37113     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37114   $as_echo_n "(cached) " >&6
37115 else
37116
37117
37118       ac_ext=cpp
37119 ac_cpp='$CXXCPP $CPPFLAGS'
37120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37123
37124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37125 /* end confdefs.h.  */
37126 #include <math.h>
37127                       #ifdef HAVE_IEEEFP_H
37128                       #include <ieeefp.h>
37129                       #endif
37130
37131 int
37132 main ()
37133 {
37134  _isinfl(0);
37135   ;
37136   return 0;
37137 }
37138 _ACEOF
37139 if ac_fn_cxx_try_compile "$LINENO"; then :
37140   glibcxx_cv_func__isinfl_use=yes
37141 else
37142   glibcxx_cv_func__isinfl_use=no
37143 fi
37144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37145       ac_ext=c
37146 ac_cpp='$CPP $CPPFLAGS'
37147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37150
37151
37152 fi
37153
37154   fi
37155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37156 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37157
37158     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37159       for ac_func in _isinfl
37160 do :
37161   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37162 if test "x$ac_cv_func__isinfl" = x""yes; then :
37163   cat >>confdefs.h <<_ACEOF
37164 #define HAVE__ISINFL 1
37165 _ACEOF
37166
37167 fi
37168 done
37169
37170     fi
37171   fi
37172
37173
37174
37175
37176
37177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37178 $as_echo_n "checking for atan2l declaration... " >&6; }
37179   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37180     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37181   $as_echo_n "(cached) " >&6
37182 else
37183
37184
37185       ac_ext=cpp
37186 ac_cpp='$CXXCPP $CPPFLAGS'
37187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37190
37191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37192 /* end confdefs.h.  */
37193 #include <math.h>
37194 int
37195 main ()
37196 {
37197  atan2l(0, 0);
37198   ;
37199   return 0;
37200 }
37201 _ACEOF
37202 if ac_fn_cxx_try_compile "$LINENO"; then :
37203   glibcxx_cv_func_atan2l_use=yes
37204 else
37205   glibcxx_cv_func_atan2l_use=no
37206 fi
37207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37208       ac_ext=c
37209 ac_cpp='$CPP $CPPFLAGS'
37210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37213
37214
37215 fi
37216
37217   fi
37218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37219 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37220
37221   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37222     for ac_func in atan2l
37223 do :
37224   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37225 if test "x$ac_cv_func_atan2l" = x""yes; then :
37226   cat >>confdefs.h <<_ACEOF
37227 #define HAVE_ATAN2L 1
37228 _ACEOF
37229
37230 fi
37231 done
37232
37233   else
37234
37235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37236 $as_echo_n "checking for _atan2l declaration... " >&6; }
37237   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37238     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37239   $as_echo_n "(cached) " >&6
37240 else
37241
37242
37243       ac_ext=cpp
37244 ac_cpp='$CXXCPP $CPPFLAGS'
37245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37248
37249       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37250 /* end confdefs.h.  */
37251 #include <math.h>
37252 int
37253 main ()
37254 {
37255  _atan2l(0, 0);
37256   ;
37257   return 0;
37258 }
37259 _ACEOF
37260 if ac_fn_cxx_try_compile "$LINENO"; then :
37261   glibcxx_cv_func__atan2l_use=yes
37262 else
37263   glibcxx_cv_func__atan2l_use=no
37264 fi
37265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37266       ac_ext=c
37267 ac_cpp='$CPP $CPPFLAGS'
37268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37271
37272
37273 fi
37274
37275   fi
37276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37277 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37278
37279     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37280       for ac_func in _atan2l
37281 do :
37282   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37283 if test "x$ac_cv_func__atan2l" = x""yes; then :
37284   cat >>confdefs.h <<_ACEOF
37285 #define HAVE__ATAN2L 1
37286 _ACEOF
37287
37288 fi
37289 done
37290
37291     fi
37292   fi
37293
37294
37295
37296
37297
37298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37299 $as_echo_n "checking for expl declaration... " >&6; }
37300   if test x${glibcxx_cv_func_expl_use+set} != xset; then
37301     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37302   $as_echo_n "(cached) " >&6
37303 else
37304
37305
37306       ac_ext=cpp
37307 ac_cpp='$CXXCPP $CPPFLAGS'
37308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37311
37312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37313 /* end confdefs.h.  */
37314 #include <math.h>
37315                       #ifdef HAVE_IEEEFP_H
37316                       #include <ieeefp.h>
37317                       #endif
37318
37319 int
37320 main ()
37321 {
37322  expl(0);
37323   ;
37324   return 0;
37325 }
37326 _ACEOF
37327 if ac_fn_cxx_try_compile "$LINENO"; then :
37328   glibcxx_cv_func_expl_use=yes
37329 else
37330   glibcxx_cv_func_expl_use=no
37331 fi
37332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37333       ac_ext=c
37334 ac_cpp='$CPP $CPPFLAGS'
37335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37338
37339
37340 fi
37341
37342   fi
37343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37344 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37345
37346   if test x$glibcxx_cv_func_expl_use = x"yes"; then
37347     for ac_func in expl
37348 do :
37349   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37350 if test "x$ac_cv_func_expl" = x""yes; then :
37351   cat >>confdefs.h <<_ACEOF
37352 #define HAVE_EXPL 1
37353 _ACEOF
37354
37355 fi
37356 done
37357
37358   else
37359
37360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37361 $as_echo_n "checking for _expl declaration... " >&6; }
37362   if test x${glibcxx_cv_func__expl_use+set} != xset; then
37363     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37364   $as_echo_n "(cached) " >&6
37365 else
37366
37367
37368       ac_ext=cpp
37369 ac_cpp='$CXXCPP $CPPFLAGS'
37370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37373
37374       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37375 /* end confdefs.h.  */
37376 #include <math.h>
37377                       #ifdef HAVE_IEEEFP_H
37378                       #include <ieeefp.h>
37379                       #endif
37380
37381 int
37382 main ()
37383 {
37384  _expl(0);
37385   ;
37386   return 0;
37387 }
37388 _ACEOF
37389 if ac_fn_cxx_try_compile "$LINENO"; then :
37390   glibcxx_cv_func__expl_use=yes
37391 else
37392   glibcxx_cv_func__expl_use=no
37393 fi
37394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37395       ac_ext=c
37396 ac_cpp='$CPP $CPPFLAGS'
37397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37400
37401
37402 fi
37403
37404   fi
37405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37406 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37407
37408     if test x$glibcxx_cv_func__expl_use = x"yes"; then
37409       for ac_func in _expl
37410 do :
37411   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37412 if test "x$ac_cv_func__expl" = x""yes; then :
37413   cat >>confdefs.h <<_ACEOF
37414 #define HAVE__EXPL 1
37415 _ACEOF
37416
37417 fi
37418 done
37419
37420     fi
37421   fi
37422
37423
37424
37425
37426
37427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37428 $as_echo_n "checking for fabsl declaration... " >&6; }
37429   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37430     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37431   $as_echo_n "(cached) " >&6
37432 else
37433
37434
37435       ac_ext=cpp
37436 ac_cpp='$CXXCPP $CPPFLAGS'
37437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37440
37441       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37442 /* end confdefs.h.  */
37443 #include <math.h>
37444                       #ifdef HAVE_IEEEFP_H
37445                       #include <ieeefp.h>
37446                       #endif
37447
37448 int
37449 main ()
37450 {
37451  fabsl(0);
37452   ;
37453   return 0;
37454 }
37455 _ACEOF
37456 if ac_fn_cxx_try_compile "$LINENO"; then :
37457   glibcxx_cv_func_fabsl_use=yes
37458 else
37459   glibcxx_cv_func_fabsl_use=no
37460 fi
37461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37462       ac_ext=c
37463 ac_cpp='$CPP $CPPFLAGS'
37464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37467
37468
37469 fi
37470
37471   fi
37472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37473 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37474
37475   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37476     for ac_func in fabsl
37477 do :
37478   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37479 if test "x$ac_cv_func_fabsl" = x""yes; then :
37480   cat >>confdefs.h <<_ACEOF
37481 #define HAVE_FABSL 1
37482 _ACEOF
37483
37484 fi
37485 done
37486
37487   else
37488
37489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37490 $as_echo_n "checking for _fabsl declaration... " >&6; }
37491   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37492     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37493   $as_echo_n "(cached) " >&6
37494 else
37495
37496
37497       ac_ext=cpp
37498 ac_cpp='$CXXCPP $CPPFLAGS'
37499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37502
37503       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37504 /* end confdefs.h.  */
37505 #include <math.h>
37506                       #ifdef HAVE_IEEEFP_H
37507                       #include <ieeefp.h>
37508                       #endif
37509
37510 int
37511 main ()
37512 {
37513  _fabsl(0);
37514   ;
37515   return 0;
37516 }
37517 _ACEOF
37518 if ac_fn_cxx_try_compile "$LINENO"; then :
37519   glibcxx_cv_func__fabsl_use=yes
37520 else
37521   glibcxx_cv_func__fabsl_use=no
37522 fi
37523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37524       ac_ext=c
37525 ac_cpp='$CPP $CPPFLAGS'
37526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37529
37530
37531 fi
37532
37533   fi
37534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37535 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37536
37537     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37538       for ac_func in _fabsl
37539 do :
37540   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37541 if test "x$ac_cv_func__fabsl" = x""yes; then :
37542   cat >>confdefs.h <<_ACEOF
37543 #define HAVE__FABSL 1
37544 _ACEOF
37545
37546 fi
37547 done
37548
37549     fi
37550   fi
37551
37552
37553
37554
37555
37556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37557 $as_echo_n "checking for fmodl declaration... " >&6; }
37558   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37559     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37560   $as_echo_n "(cached) " >&6
37561 else
37562
37563
37564       ac_ext=cpp
37565 ac_cpp='$CXXCPP $CPPFLAGS'
37566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37569
37570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37571 /* end confdefs.h.  */
37572 #include <math.h>
37573 int
37574 main ()
37575 {
37576  fmodl(0, 0);
37577   ;
37578   return 0;
37579 }
37580 _ACEOF
37581 if ac_fn_cxx_try_compile "$LINENO"; then :
37582   glibcxx_cv_func_fmodl_use=yes
37583 else
37584   glibcxx_cv_func_fmodl_use=no
37585 fi
37586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37587       ac_ext=c
37588 ac_cpp='$CPP $CPPFLAGS'
37589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37592
37593
37594 fi
37595
37596   fi
37597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37598 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37599
37600   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37601     for ac_func in fmodl
37602 do :
37603   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37604 if test "x$ac_cv_func_fmodl" = x""yes; then :
37605   cat >>confdefs.h <<_ACEOF
37606 #define HAVE_FMODL 1
37607 _ACEOF
37608
37609 fi
37610 done
37611
37612   else
37613
37614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37615 $as_echo_n "checking for _fmodl declaration... " >&6; }
37616   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37617     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37618   $as_echo_n "(cached) " >&6
37619 else
37620
37621
37622       ac_ext=cpp
37623 ac_cpp='$CXXCPP $CPPFLAGS'
37624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37627
37628       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37629 /* end confdefs.h.  */
37630 #include <math.h>
37631 int
37632 main ()
37633 {
37634  _fmodl(0, 0);
37635   ;
37636   return 0;
37637 }
37638 _ACEOF
37639 if ac_fn_cxx_try_compile "$LINENO"; then :
37640   glibcxx_cv_func__fmodl_use=yes
37641 else
37642   glibcxx_cv_func__fmodl_use=no
37643 fi
37644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37645       ac_ext=c
37646 ac_cpp='$CPP $CPPFLAGS'
37647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37650
37651
37652 fi
37653
37654   fi
37655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37656 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37657
37658     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37659       for ac_func in _fmodl
37660 do :
37661   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37662 if test "x$ac_cv_func__fmodl" = x""yes; then :
37663   cat >>confdefs.h <<_ACEOF
37664 #define HAVE__FMODL 1
37665 _ACEOF
37666
37667 fi
37668 done
37669
37670     fi
37671   fi
37672
37673
37674
37675
37676
37677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37678 $as_echo_n "checking for frexpl declaration... " >&6; }
37679   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37680     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37681   $as_echo_n "(cached) " >&6
37682 else
37683
37684
37685       ac_ext=cpp
37686 ac_cpp='$CXXCPP $CPPFLAGS'
37687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37690
37691       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37692 /* end confdefs.h.  */
37693 #include <math.h>
37694 int
37695 main ()
37696 {
37697  frexpl(0, 0);
37698   ;
37699   return 0;
37700 }
37701 _ACEOF
37702 if ac_fn_cxx_try_compile "$LINENO"; then :
37703   glibcxx_cv_func_frexpl_use=yes
37704 else
37705   glibcxx_cv_func_frexpl_use=no
37706 fi
37707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37708       ac_ext=c
37709 ac_cpp='$CPP $CPPFLAGS'
37710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37713
37714
37715 fi
37716
37717   fi
37718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37719 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37720
37721   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37722     for ac_func in frexpl
37723 do :
37724   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37725 if test "x$ac_cv_func_frexpl" = x""yes; then :
37726   cat >>confdefs.h <<_ACEOF
37727 #define HAVE_FREXPL 1
37728 _ACEOF
37729
37730 fi
37731 done
37732
37733   else
37734
37735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37736 $as_echo_n "checking for _frexpl declaration... " >&6; }
37737   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37738     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37739   $as_echo_n "(cached) " >&6
37740 else
37741
37742
37743       ac_ext=cpp
37744 ac_cpp='$CXXCPP $CPPFLAGS'
37745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37748
37749       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37750 /* end confdefs.h.  */
37751 #include <math.h>
37752 int
37753 main ()
37754 {
37755  _frexpl(0, 0);
37756   ;
37757   return 0;
37758 }
37759 _ACEOF
37760 if ac_fn_cxx_try_compile "$LINENO"; then :
37761   glibcxx_cv_func__frexpl_use=yes
37762 else
37763   glibcxx_cv_func__frexpl_use=no
37764 fi
37765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37766       ac_ext=c
37767 ac_cpp='$CPP $CPPFLAGS'
37768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37771
37772
37773 fi
37774
37775   fi
37776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37777 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37778
37779     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37780       for ac_func in _frexpl
37781 do :
37782   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37783 if test "x$ac_cv_func__frexpl" = x""yes; then :
37784   cat >>confdefs.h <<_ACEOF
37785 #define HAVE__FREXPL 1
37786 _ACEOF
37787
37788 fi
37789 done
37790
37791     fi
37792   fi
37793
37794
37795
37796
37797
37798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37799 $as_echo_n "checking for hypotl declaration... " >&6; }
37800   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37801     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37802   $as_echo_n "(cached) " >&6
37803 else
37804
37805
37806       ac_ext=cpp
37807 ac_cpp='$CXXCPP $CPPFLAGS'
37808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37811
37812       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37813 /* end confdefs.h.  */
37814 #include <math.h>
37815 int
37816 main ()
37817 {
37818  hypotl(0, 0);
37819   ;
37820   return 0;
37821 }
37822 _ACEOF
37823 if ac_fn_cxx_try_compile "$LINENO"; then :
37824   glibcxx_cv_func_hypotl_use=yes
37825 else
37826   glibcxx_cv_func_hypotl_use=no
37827 fi
37828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37829       ac_ext=c
37830 ac_cpp='$CPP $CPPFLAGS'
37831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37834
37835
37836 fi
37837
37838   fi
37839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37840 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37841
37842   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37843     for ac_func in hypotl
37844 do :
37845   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37846 if test "x$ac_cv_func_hypotl" = x""yes; then :
37847   cat >>confdefs.h <<_ACEOF
37848 #define HAVE_HYPOTL 1
37849 _ACEOF
37850
37851 fi
37852 done
37853
37854   else
37855
37856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37857 $as_echo_n "checking for _hypotl declaration... " >&6; }
37858   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37859     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37860   $as_echo_n "(cached) " >&6
37861 else
37862
37863
37864       ac_ext=cpp
37865 ac_cpp='$CXXCPP $CPPFLAGS'
37866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37869
37870       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37871 /* end confdefs.h.  */
37872 #include <math.h>
37873 int
37874 main ()
37875 {
37876  _hypotl(0, 0);
37877   ;
37878   return 0;
37879 }
37880 _ACEOF
37881 if ac_fn_cxx_try_compile "$LINENO"; then :
37882   glibcxx_cv_func__hypotl_use=yes
37883 else
37884   glibcxx_cv_func__hypotl_use=no
37885 fi
37886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37887       ac_ext=c
37888 ac_cpp='$CPP $CPPFLAGS'
37889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37892
37893
37894 fi
37895
37896   fi
37897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37898 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37899
37900     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37901       for ac_func in _hypotl
37902 do :
37903   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37904 if test "x$ac_cv_func__hypotl" = x""yes; then :
37905   cat >>confdefs.h <<_ACEOF
37906 #define HAVE__HYPOTL 1
37907 _ACEOF
37908
37909 fi
37910 done
37911
37912     fi
37913   fi
37914
37915
37916
37917
37918
37919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37920 $as_echo_n "checking for ldexpl declaration... " >&6; }
37921   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37922     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37923   $as_echo_n "(cached) " >&6
37924 else
37925
37926
37927       ac_ext=cpp
37928 ac_cpp='$CXXCPP $CPPFLAGS'
37929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37932
37933       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37934 /* end confdefs.h.  */
37935 #include <math.h>
37936 int
37937 main ()
37938 {
37939  ldexpl(0, 0);
37940   ;
37941   return 0;
37942 }
37943 _ACEOF
37944 if ac_fn_cxx_try_compile "$LINENO"; then :
37945   glibcxx_cv_func_ldexpl_use=yes
37946 else
37947   glibcxx_cv_func_ldexpl_use=no
37948 fi
37949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37950       ac_ext=c
37951 ac_cpp='$CPP $CPPFLAGS'
37952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37955
37956
37957 fi
37958
37959   fi
37960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37961 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37962
37963   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37964     for ac_func in ldexpl
37965 do :
37966   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37967 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37968   cat >>confdefs.h <<_ACEOF
37969 #define HAVE_LDEXPL 1
37970 _ACEOF
37971
37972 fi
37973 done
37974
37975   else
37976
37977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37978 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37979   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37980     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37981   $as_echo_n "(cached) " >&6
37982 else
37983
37984
37985       ac_ext=cpp
37986 ac_cpp='$CXXCPP $CPPFLAGS'
37987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37990
37991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37992 /* end confdefs.h.  */
37993 #include <math.h>
37994 int
37995 main ()
37996 {
37997  _ldexpl(0, 0);
37998   ;
37999   return 0;
38000 }
38001 _ACEOF
38002 if ac_fn_cxx_try_compile "$LINENO"; then :
38003   glibcxx_cv_func__ldexpl_use=yes
38004 else
38005   glibcxx_cv_func__ldexpl_use=no
38006 fi
38007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38008       ac_ext=c
38009 ac_cpp='$CPP $CPPFLAGS'
38010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38013
38014
38015 fi
38016
38017   fi
38018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38019 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38020
38021     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38022       for ac_func in _ldexpl
38023 do :
38024   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38025 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38026   cat >>confdefs.h <<_ACEOF
38027 #define HAVE__LDEXPL 1
38028 _ACEOF
38029
38030 fi
38031 done
38032
38033     fi
38034   fi
38035
38036
38037
38038
38039
38040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38041 $as_echo_n "checking for logl declaration... " >&6; }
38042   if test x${glibcxx_cv_func_logl_use+set} != xset; then
38043     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38044   $as_echo_n "(cached) " >&6
38045 else
38046
38047
38048       ac_ext=cpp
38049 ac_cpp='$CXXCPP $CPPFLAGS'
38050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38053
38054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38055 /* end confdefs.h.  */
38056 #include <math.h>
38057                       #ifdef HAVE_IEEEFP_H
38058                       #include <ieeefp.h>
38059                       #endif
38060
38061 int
38062 main ()
38063 {
38064  logl(0);
38065   ;
38066   return 0;
38067 }
38068 _ACEOF
38069 if ac_fn_cxx_try_compile "$LINENO"; then :
38070   glibcxx_cv_func_logl_use=yes
38071 else
38072   glibcxx_cv_func_logl_use=no
38073 fi
38074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38075       ac_ext=c
38076 ac_cpp='$CPP $CPPFLAGS'
38077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38080
38081
38082 fi
38083
38084   fi
38085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38086 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38087
38088   if test x$glibcxx_cv_func_logl_use = x"yes"; then
38089     for ac_func in logl
38090 do :
38091   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38092 if test "x$ac_cv_func_logl" = x""yes; then :
38093   cat >>confdefs.h <<_ACEOF
38094 #define HAVE_LOGL 1
38095 _ACEOF
38096
38097 fi
38098 done
38099
38100   else
38101
38102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38103 $as_echo_n "checking for _logl declaration... " >&6; }
38104   if test x${glibcxx_cv_func__logl_use+set} != xset; then
38105     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38106   $as_echo_n "(cached) " >&6
38107 else
38108
38109
38110       ac_ext=cpp
38111 ac_cpp='$CXXCPP $CPPFLAGS'
38112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38115
38116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38117 /* end confdefs.h.  */
38118 #include <math.h>
38119                       #ifdef HAVE_IEEEFP_H
38120                       #include <ieeefp.h>
38121                       #endif
38122
38123 int
38124 main ()
38125 {
38126  _logl(0);
38127   ;
38128   return 0;
38129 }
38130 _ACEOF
38131 if ac_fn_cxx_try_compile "$LINENO"; then :
38132   glibcxx_cv_func__logl_use=yes
38133 else
38134   glibcxx_cv_func__logl_use=no
38135 fi
38136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38137       ac_ext=c
38138 ac_cpp='$CPP $CPPFLAGS'
38139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38142
38143
38144 fi
38145
38146   fi
38147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38148 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38149
38150     if test x$glibcxx_cv_func__logl_use = x"yes"; then
38151       for ac_func in _logl
38152 do :
38153   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38154 if test "x$ac_cv_func__logl" = x""yes; then :
38155   cat >>confdefs.h <<_ACEOF
38156 #define HAVE__LOGL 1
38157 _ACEOF
38158
38159 fi
38160 done
38161
38162     fi
38163   fi
38164
38165
38166
38167
38168
38169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38170 $as_echo_n "checking for log10l declaration... " >&6; }
38171   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38172     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38173   $as_echo_n "(cached) " >&6
38174 else
38175
38176
38177       ac_ext=cpp
38178 ac_cpp='$CXXCPP $CPPFLAGS'
38179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38182
38183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38184 /* end confdefs.h.  */
38185 #include <math.h>
38186                       #ifdef HAVE_IEEEFP_H
38187                       #include <ieeefp.h>
38188                       #endif
38189
38190 int
38191 main ()
38192 {
38193  log10l(0);
38194   ;
38195   return 0;
38196 }
38197 _ACEOF
38198 if ac_fn_cxx_try_compile "$LINENO"; then :
38199   glibcxx_cv_func_log10l_use=yes
38200 else
38201   glibcxx_cv_func_log10l_use=no
38202 fi
38203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38204       ac_ext=c
38205 ac_cpp='$CPP $CPPFLAGS'
38206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38209
38210
38211 fi
38212
38213   fi
38214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38215 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38216
38217   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38218     for ac_func in log10l
38219 do :
38220   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38221 if test "x$ac_cv_func_log10l" = x""yes; then :
38222   cat >>confdefs.h <<_ACEOF
38223 #define HAVE_LOG10L 1
38224 _ACEOF
38225
38226 fi
38227 done
38228
38229   else
38230
38231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38232 $as_echo_n "checking for _log10l declaration... " >&6; }
38233   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38234     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38235   $as_echo_n "(cached) " >&6
38236 else
38237
38238
38239       ac_ext=cpp
38240 ac_cpp='$CXXCPP $CPPFLAGS'
38241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38244
38245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38246 /* end confdefs.h.  */
38247 #include <math.h>
38248                       #ifdef HAVE_IEEEFP_H
38249                       #include <ieeefp.h>
38250                       #endif
38251
38252 int
38253 main ()
38254 {
38255  _log10l(0);
38256   ;
38257   return 0;
38258 }
38259 _ACEOF
38260 if ac_fn_cxx_try_compile "$LINENO"; then :
38261   glibcxx_cv_func__log10l_use=yes
38262 else
38263   glibcxx_cv_func__log10l_use=no
38264 fi
38265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38266       ac_ext=c
38267 ac_cpp='$CPP $CPPFLAGS'
38268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38271
38272
38273 fi
38274
38275   fi
38276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38277 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38278
38279     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38280       for ac_func in _log10l
38281 do :
38282   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38283 if test "x$ac_cv_func__log10l" = x""yes; then :
38284   cat >>confdefs.h <<_ACEOF
38285 #define HAVE__LOG10L 1
38286 _ACEOF
38287
38288 fi
38289 done
38290
38291     fi
38292   fi
38293
38294
38295
38296
38297
38298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38299 $as_echo_n "checking for modfl declaration... " >&6; }
38300   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38301     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38302   $as_echo_n "(cached) " >&6
38303 else
38304
38305
38306       ac_ext=cpp
38307 ac_cpp='$CXXCPP $CPPFLAGS'
38308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38311
38312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38313 /* end confdefs.h.  */
38314 #include <math.h>
38315 int
38316 main ()
38317 {
38318  modfl(0, 0);
38319   ;
38320   return 0;
38321 }
38322 _ACEOF
38323 if ac_fn_cxx_try_compile "$LINENO"; then :
38324   glibcxx_cv_func_modfl_use=yes
38325 else
38326   glibcxx_cv_func_modfl_use=no
38327 fi
38328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38329       ac_ext=c
38330 ac_cpp='$CPP $CPPFLAGS'
38331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38334
38335
38336 fi
38337
38338   fi
38339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38340 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38341
38342   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38343     for ac_func in modfl
38344 do :
38345   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38346 if test "x$ac_cv_func_modfl" = x""yes; then :
38347   cat >>confdefs.h <<_ACEOF
38348 #define HAVE_MODFL 1
38349 _ACEOF
38350
38351 fi
38352 done
38353
38354   else
38355
38356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38357 $as_echo_n "checking for _modfl declaration... " >&6; }
38358   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38359     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38360   $as_echo_n "(cached) " >&6
38361 else
38362
38363
38364       ac_ext=cpp
38365 ac_cpp='$CXXCPP $CPPFLAGS'
38366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38369
38370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38371 /* end confdefs.h.  */
38372 #include <math.h>
38373 int
38374 main ()
38375 {
38376  _modfl(0, 0);
38377   ;
38378   return 0;
38379 }
38380 _ACEOF
38381 if ac_fn_cxx_try_compile "$LINENO"; then :
38382   glibcxx_cv_func__modfl_use=yes
38383 else
38384   glibcxx_cv_func__modfl_use=no
38385 fi
38386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38387       ac_ext=c
38388 ac_cpp='$CPP $CPPFLAGS'
38389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38392
38393
38394 fi
38395
38396   fi
38397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38398 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38399
38400     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38401       for ac_func in _modfl
38402 do :
38403   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38404 if test "x$ac_cv_func__modfl" = x""yes; then :
38405   cat >>confdefs.h <<_ACEOF
38406 #define HAVE__MODFL 1
38407 _ACEOF
38408
38409 fi
38410 done
38411
38412     fi
38413   fi
38414
38415
38416
38417
38418
38419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38420 $as_echo_n "checking for powl declaration... " >&6; }
38421   if test x${glibcxx_cv_func_powl_use+set} != xset; then
38422     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38423   $as_echo_n "(cached) " >&6
38424 else
38425
38426
38427       ac_ext=cpp
38428 ac_cpp='$CXXCPP $CPPFLAGS'
38429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38432
38433       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38434 /* end confdefs.h.  */
38435 #include <math.h>
38436 int
38437 main ()
38438 {
38439  powl(0, 0);
38440   ;
38441   return 0;
38442 }
38443 _ACEOF
38444 if ac_fn_cxx_try_compile "$LINENO"; then :
38445   glibcxx_cv_func_powl_use=yes
38446 else
38447   glibcxx_cv_func_powl_use=no
38448 fi
38449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38450       ac_ext=c
38451 ac_cpp='$CPP $CPPFLAGS'
38452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38455
38456
38457 fi
38458
38459   fi
38460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38461 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38462
38463   if test x$glibcxx_cv_func_powl_use = x"yes"; then
38464     for ac_func in powl
38465 do :
38466   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38467 if test "x$ac_cv_func_powl" = x""yes; then :
38468   cat >>confdefs.h <<_ACEOF
38469 #define HAVE_POWL 1
38470 _ACEOF
38471
38472 fi
38473 done
38474
38475   else
38476
38477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38478 $as_echo_n "checking for _powl declaration... " >&6; }
38479   if test x${glibcxx_cv_func__powl_use+set} != xset; then
38480     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38481   $as_echo_n "(cached) " >&6
38482 else
38483
38484
38485       ac_ext=cpp
38486 ac_cpp='$CXXCPP $CPPFLAGS'
38487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38490
38491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38492 /* end confdefs.h.  */
38493 #include <math.h>
38494 int
38495 main ()
38496 {
38497  _powl(0, 0);
38498   ;
38499   return 0;
38500 }
38501 _ACEOF
38502 if ac_fn_cxx_try_compile "$LINENO"; then :
38503   glibcxx_cv_func__powl_use=yes
38504 else
38505   glibcxx_cv_func__powl_use=no
38506 fi
38507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38508       ac_ext=c
38509 ac_cpp='$CPP $CPPFLAGS'
38510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38513
38514
38515 fi
38516
38517   fi
38518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38519 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38520
38521     if test x$glibcxx_cv_func__powl_use = x"yes"; then
38522       for ac_func in _powl
38523 do :
38524   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38525 if test "x$ac_cv_func__powl" = x""yes; then :
38526   cat >>confdefs.h <<_ACEOF
38527 #define HAVE__POWL 1
38528 _ACEOF
38529
38530 fi
38531 done
38532
38533     fi
38534   fi
38535
38536
38537
38538
38539
38540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38541 $as_echo_n "checking for sqrtl declaration... " >&6; }
38542   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38543     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38544   $as_echo_n "(cached) " >&6
38545 else
38546
38547
38548       ac_ext=cpp
38549 ac_cpp='$CXXCPP $CPPFLAGS'
38550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38553
38554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38555 /* end confdefs.h.  */
38556 #include <math.h>
38557                       #ifdef HAVE_IEEEFP_H
38558                       #include <ieeefp.h>
38559                       #endif
38560
38561 int
38562 main ()
38563 {
38564  sqrtl(0);
38565   ;
38566   return 0;
38567 }
38568 _ACEOF
38569 if ac_fn_cxx_try_compile "$LINENO"; then :
38570   glibcxx_cv_func_sqrtl_use=yes
38571 else
38572   glibcxx_cv_func_sqrtl_use=no
38573 fi
38574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38575       ac_ext=c
38576 ac_cpp='$CPP $CPPFLAGS'
38577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38580
38581
38582 fi
38583
38584   fi
38585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38586 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38587
38588   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38589     for ac_func in sqrtl
38590 do :
38591   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38592 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38593   cat >>confdefs.h <<_ACEOF
38594 #define HAVE_SQRTL 1
38595 _ACEOF
38596
38597 fi
38598 done
38599
38600   else
38601
38602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38603 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38604   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38605     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38606   $as_echo_n "(cached) " >&6
38607 else
38608
38609
38610       ac_ext=cpp
38611 ac_cpp='$CXXCPP $CPPFLAGS'
38612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38615
38616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38617 /* end confdefs.h.  */
38618 #include <math.h>
38619                       #ifdef HAVE_IEEEFP_H
38620                       #include <ieeefp.h>
38621                       #endif
38622
38623 int
38624 main ()
38625 {
38626  _sqrtl(0);
38627   ;
38628   return 0;
38629 }
38630 _ACEOF
38631 if ac_fn_cxx_try_compile "$LINENO"; then :
38632   glibcxx_cv_func__sqrtl_use=yes
38633 else
38634   glibcxx_cv_func__sqrtl_use=no
38635 fi
38636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38637       ac_ext=c
38638 ac_cpp='$CPP $CPPFLAGS'
38639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38642
38643
38644 fi
38645
38646   fi
38647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38648 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38649
38650     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38651       for ac_func in _sqrtl
38652 do :
38653   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38654 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38655   cat >>confdefs.h <<_ACEOF
38656 #define HAVE__SQRTL 1
38657 _ACEOF
38658
38659 fi
38660 done
38661
38662     fi
38663   fi
38664
38665
38666
38667
38668
38669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38670 $as_echo_n "checking for sincosl declaration... " >&6; }
38671   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38672     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38673   $as_echo_n "(cached) " >&6
38674 else
38675
38676
38677       ac_ext=cpp
38678 ac_cpp='$CXXCPP $CPPFLAGS'
38679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38682
38683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38684 /* end confdefs.h.  */
38685 #include <math.h>
38686 int
38687 main ()
38688 {
38689  sincosl(0, 0, 0);
38690   ;
38691   return 0;
38692 }
38693 _ACEOF
38694 if ac_fn_cxx_try_compile "$LINENO"; then :
38695   glibcxx_cv_func_sincosl_use=yes
38696 else
38697   glibcxx_cv_func_sincosl_use=no
38698 fi
38699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38700       ac_ext=c
38701 ac_cpp='$CPP $CPPFLAGS'
38702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38705
38706
38707 fi
38708
38709   fi
38710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38711 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38712
38713   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38714     for ac_func in sincosl
38715 do :
38716   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38717 if test "x$ac_cv_func_sincosl" = x""yes; then :
38718   cat >>confdefs.h <<_ACEOF
38719 #define HAVE_SINCOSL 1
38720 _ACEOF
38721
38722 fi
38723 done
38724
38725   else
38726
38727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38728 $as_echo_n "checking for _sincosl declaration... " >&6; }
38729   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38730     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38731   $as_echo_n "(cached) " >&6
38732 else
38733
38734
38735       ac_ext=cpp
38736 ac_cpp='$CXXCPP $CPPFLAGS'
38737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38740
38741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38742 /* end confdefs.h.  */
38743 #include <math.h>
38744 int
38745 main ()
38746 {
38747  _sincosl(0, 0, 0);
38748   ;
38749   return 0;
38750 }
38751 _ACEOF
38752 if ac_fn_cxx_try_compile "$LINENO"; then :
38753   glibcxx_cv_func__sincosl_use=yes
38754 else
38755   glibcxx_cv_func__sincosl_use=no
38756 fi
38757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38758       ac_ext=c
38759 ac_cpp='$CPP $CPPFLAGS'
38760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38763
38764
38765 fi
38766
38767   fi
38768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38769 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38770
38771     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38772       for ac_func in _sincosl
38773 do :
38774   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38775 if test "x$ac_cv_func__sincosl" = x""yes; then :
38776   cat >>confdefs.h <<_ACEOF
38777 #define HAVE__SINCOSL 1
38778 _ACEOF
38779
38780 fi
38781 done
38782
38783     fi
38784   fi
38785
38786
38787
38788
38789
38790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38791 $as_echo_n "checking for finitel declaration... " >&6; }
38792   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38793     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38794   $as_echo_n "(cached) " >&6
38795 else
38796
38797
38798       ac_ext=cpp
38799 ac_cpp='$CXXCPP $CPPFLAGS'
38800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38803
38804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38805 /* end confdefs.h.  */
38806 #include <math.h>
38807                       #ifdef HAVE_IEEEFP_H
38808                       #include <ieeefp.h>
38809                       #endif
38810
38811 int
38812 main ()
38813 {
38814  finitel(0);
38815   ;
38816   return 0;
38817 }
38818 _ACEOF
38819 if ac_fn_cxx_try_compile "$LINENO"; then :
38820   glibcxx_cv_func_finitel_use=yes
38821 else
38822   glibcxx_cv_func_finitel_use=no
38823 fi
38824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38825       ac_ext=c
38826 ac_cpp='$CPP $CPPFLAGS'
38827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38830
38831
38832 fi
38833
38834   fi
38835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38836 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38837
38838   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38839     for ac_func in finitel
38840 do :
38841   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38842 if test "x$ac_cv_func_finitel" = x""yes; then :
38843   cat >>confdefs.h <<_ACEOF
38844 #define HAVE_FINITEL 1
38845 _ACEOF
38846
38847 fi
38848 done
38849
38850   else
38851
38852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38853 $as_echo_n "checking for _finitel declaration... " >&6; }
38854   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38855     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38856   $as_echo_n "(cached) " >&6
38857 else
38858
38859
38860       ac_ext=cpp
38861 ac_cpp='$CXXCPP $CPPFLAGS'
38862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38865
38866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38867 /* end confdefs.h.  */
38868 #include <math.h>
38869                       #ifdef HAVE_IEEEFP_H
38870                       #include <ieeefp.h>
38871                       #endif
38872
38873 int
38874 main ()
38875 {
38876  _finitel(0);
38877   ;
38878   return 0;
38879 }
38880 _ACEOF
38881 if ac_fn_cxx_try_compile "$LINENO"; then :
38882   glibcxx_cv_func__finitel_use=yes
38883 else
38884   glibcxx_cv_func__finitel_use=no
38885 fi
38886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38887       ac_ext=c
38888 ac_cpp='$CPP $CPPFLAGS'
38889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38892
38893
38894 fi
38895
38896   fi
38897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38898 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38899
38900     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38901       for ac_func in _finitel
38902 do :
38903   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38904 if test "x$ac_cv_func__finitel" = x""yes; then :
38905   cat >>confdefs.h <<_ACEOF
38906 #define HAVE__FINITEL 1
38907 _ACEOF
38908
38909 fi
38910 done
38911
38912     fi
38913   fi
38914
38915
38916
38917
38918   LIBS="$ac_save_LIBS"
38919   CXXFLAGS="$ac_save_CXXFLAGS"
38920
38921
38922   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38923   ac_save_CXXFLAGS="$CXXFLAGS"
38924   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38925
38926
38927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38928 $as_echo_n "checking for strtold declaration... " >&6; }
38929   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38930     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38931   $as_echo_n "(cached) " >&6
38932 else
38933
38934
38935       ac_ext=cpp
38936 ac_cpp='$CXXCPP $CPPFLAGS'
38937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38940
38941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38942 /* end confdefs.h.  */
38943 #include <stdlib.h>
38944 int
38945 main ()
38946 {
38947  strtold(0, 0);
38948   ;
38949   return 0;
38950 }
38951 _ACEOF
38952 if ac_fn_cxx_try_compile "$LINENO"; then :
38953   glibcxx_cv_func_strtold_use=yes
38954 else
38955   glibcxx_cv_func_strtold_use=no
38956 fi
38957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38958       ac_ext=c
38959 ac_cpp='$CPP $CPPFLAGS'
38960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38963
38964
38965 fi
38966
38967   fi
38968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38969 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38970   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38971     for ac_func in strtold
38972 do :
38973   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38974 if test "x$ac_cv_func_strtold" = x""yes; then :
38975   cat >>confdefs.h <<_ACEOF
38976 #define HAVE_STRTOLD 1
38977 _ACEOF
38978
38979 fi
38980 done
38981
38982   fi
38983
38984
38985
38986
38987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38988 $as_echo_n "checking for strtof declaration... " >&6; }
38989   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38990     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38991   $as_echo_n "(cached) " >&6
38992 else
38993
38994
38995       ac_ext=cpp
38996 ac_cpp='$CXXCPP $CPPFLAGS'
38997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39000
39001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39002 /* end confdefs.h.  */
39003 #include <stdlib.h>
39004 int
39005 main ()
39006 {
39007  strtof(0, 0);
39008   ;
39009   return 0;
39010 }
39011 _ACEOF
39012 if ac_fn_cxx_try_compile "$LINENO"; then :
39013   glibcxx_cv_func_strtof_use=yes
39014 else
39015   glibcxx_cv_func_strtof_use=no
39016 fi
39017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39018       ac_ext=c
39019 ac_cpp='$CPP $CPPFLAGS'
39020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39023
39024
39025 fi
39026
39027   fi
39028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39029 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39030   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39031     for ac_func in strtof
39032 do :
39033   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39034 if test "x$ac_cv_func_strtof" = x""yes; then :
39035   cat >>confdefs.h <<_ACEOF
39036 #define HAVE_STRTOF 1
39037 _ACEOF
39038
39039 fi
39040 done
39041
39042   fi
39043
39044
39045
39046
39047   CXXFLAGS="$ac_save_CXXFLAGS"
39048
39049     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39050
39051     # We don't yet support AIX's TLS ABI.
39052     #GCC_CHECK_TLS
39053
39054
39055
39056
39057
39058           am_save_CPPFLAGS="$CPPFLAGS"
39059
39060   for element in $INCICONV; do
39061     haveit=
39062     for x in $CPPFLAGS; do
39063
39064   acl_save_prefix="$prefix"
39065   prefix="$acl_final_prefix"
39066   acl_save_exec_prefix="$exec_prefix"
39067   exec_prefix="$acl_final_exec_prefix"
39068   eval x=\"$x\"
39069   exec_prefix="$acl_save_exec_prefix"
39070   prefix="$acl_save_prefix"
39071
39072       if test "X$x" = "X$element"; then
39073         haveit=yes
39074         break
39075       fi
39076     done
39077     if test -z "$haveit"; then
39078       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39079     fi
39080   done
39081
39082
39083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39084 $as_echo_n "checking for iconv... " >&6; }
39085 if test "${am_cv_func_iconv+set}" = set; then :
39086   $as_echo_n "(cached) " >&6
39087 else
39088
39089     am_cv_func_iconv="no, consider installing GNU libiconv"
39090     am_cv_lib_iconv=no
39091     if test x$gcc_no_link = xyes; then
39092   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39093 fi
39094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39095 /* end confdefs.h.  */
39096 #include <stdlib.h>
39097 #include <iconv.h>
39098 int
39099 main ()
39100 {
39101 iconv_t cd = iconv_open("","");
39102        iconv(cd,NULL,NULL,NULL,NULL);
39103        iconv_close(cd);
39104   ;
39105   return 0;
39106 }
39107 _ACEOF
39108 if ac_fn_c_try_link "$LINENO"; then :
39109   am_cv_func_iconv=yes
39110 fi
39111 rm -f core conftest.err conftest.$ac_objext \
39112     conftest$ac_exeext conftest.$ac_ext
39113     if test "$am_cv_func_iconv" != yes; then
39114       am_save_LIBS="$LIBS"
39115       LIBS="$LIBS $LIBICONV"
39116       if test x$gcc_no_link = xyes; then
39117   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39118 fi
39119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39120 /* end confdefs.h.  */
39121 #include <stdlib.h>
39122 #include <iconv.h>
39123 int
39124 main ()
39125 {
39126 iconv_t cd = iconv_open("","");
39127          iconv(cd,NULL,NULL,NULL,NULL);
39128          iconv_close(cd);
39129   ;
39130   return 0;
39131 }
39132 _ACEOF
39133 if ac_fn_c_try_link "$LINENO"; then :
39134   am_cv_lib_iconv=yes
39135         am_cv_func_iconv=yes
39136 fi
39137 rm -f core conftest.err conftest.$ac_objext \
39138     conftest$ac_exeext conftest.$ac_ext
39139       LIBS="$am_save_LIBS"
39140     fi
39141
39142 fi
39143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39144 $as_echo "$am_cv_func_iconv" >&6; }
39145   if test "$am_cv_func_iconv" = yes; then
39146
39147 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39148
39149   fi
39150   if test "$am_cv_lib_iconv" = yes; then
39151     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39152 $as_echo_n "checking how to link with libiconv... " >&6; }
39153     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39154 $as_echo "$LIBICONV" >&6; }
39155   else
39156             CPPFLAGS="$am_save_CPPFLAGS"
39157     LIBICONV=
39158     LTLIBICONV=
39159   fi
39160
39161
39162
39163   if test "$am_cv_func_iconv" = yes; then
39164     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39165 $as_echo_n "checking for iconv declaration... " >&6; }
39166     if test "${am_cv_proto_iconv+set}" = set; then :
39167   $as_echo_n "(cached) " >&6
39168 else
39169
39170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39171 /* end confdefs.h.  */
39172
39173 #include <stdlib.h>
39174 #include <iconv.h>
39175 extern
39176 #ifdef __cplusplus
39177 "C"
39178 #endif
39179 #if defined(__STDC__) || defined(__cplusplus)
39180 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39181 #else
39182 size_t iconv();
39183 #endif
39184
39185 int
39186 main ()
39187 {
39188
39189   ;
39190   return 0;
39191 }
39192 _ACEOF
39193 if ac_fn_c_try_compile "$LINENO"; then :
39194   am_cv_proto_iconv_arg1=""
39195 else
39196   am_cv_proto_iconv_arg1="const"
39197 fi
39198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39199       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);"
39200 fi
39201
39202     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39203     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39204          }$am_cv_proto_iconv" >&5
39205 $as_echo "${ac_t:-
39206          }$am_cv_proto_iconv" >&6; }
39207
39208 cat >>confdefs.h <<_ACEOF
39209 #define ICONV_CONST $am_cv_proto_iconv_arg1
39210 _ACEOF
39211
39212   fi
39213
39214     ;;
39215
39216   *-darwin*)
39217     # Darwin versions vary, but the linker should work in a cross environment,
39218     # so we just check for all the features here.
39219     # Check for available headers.
39220
39221     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39222
39223   ac_test_CXXFLAGS="${CXXFLAGS+set}"
39224   ac_save_CXXFLAGS="$CXXFLAGS"
39225   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39226
39227     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39228 $as_echo_n "checking for sin in -lm... " >&6; }
39229 if test "${ac_cv_lib_m_sin+set}" = set; then :
39230   $as_echo_n "(cached) " >&6
39231 else
39232   ac_check_lib_save_LIBS=$LIBS
39233 LIBS="-lm  $LIBS"
39234 if test x$gcc_no_link = xyes; then
39235   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39236 fi
39237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39238 /* end confdefs.h.  */
39239
39240 /* Override any GCC internal prototype to avoid an error.
39241    Use char because int might match the return type of a GCC
39242    builtin and then its argument prototype would still apply.  */
39243 #ifdef __cplusplus
39244 extern "C"
39245 #endif
39246 char sin ();
39247 int
39248 main ()
39249 {
39250 return sin ();
39251   ;
39252   return 0;
39253 }
39254 _ACEOF
39255 if ac_fn_c_try_link "$LINENO"; then :
39256   ac_cv_lib_m_sin=yes
39257 else
39258   ac_cv_lib_m_sin=no
39259 fi
39260 rm -f core conftest.err conftest.$ac_objext \
39261     conftest$ac_exeext conftest.$ac_ext
39262 LIBS=$ac_check_lib_save_LIBS
39263 fi
39264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39265 $as_echo "$ac_cv_lib_m_sin" >&6; }
39266 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39267   libm="-lm"
39268 fi
39269
39270   ac_save_LIBS="$LIBS"
39271   LIBS="$LIBS $libm"
39272
39273
39274
39275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39276 $as_echo_n "checking for isinf declaration... " >&6; }
39277   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39278     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39279   $as_echo_n "(cached) " >&6
39280 else
39281
39282
39283       ac_ext=cpp
39284 ac_cpp='$CXXCPP $CPPFLAGS'
39285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39288
39289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39290 /* end confdefs.h.  */
39291 #include <math.h>
39292                       #ifdef HAVE_IEEEFP_H
39293                       #include <ieeefp.h>
39294                       #endif
39295
39296 int
39297 main ()
39298 {
39299  isinf(0);
39300   ;
39301   return 0;
39302 }
39303 _ACEOF
39304 if ac_fn_cxx_try_compile "$LINENO"; then :
39305   glibcxx_cv_func_isinf_use=yes
39306 else
39307   glibcxx_cv_func_isinf_use=no
39308 fi
39309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39310       ac_ext=c
39311 ac_cpp='$CPP $CPPFLAGS'
39312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39315
39316
39317 fi
39318
39319   fi
39320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39321 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39322
39323   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39324     for ac_func in isinf
39325 do :
39326   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39327 if test "x$ac_cv_func_isinf" = x""yes; then :
39328   cat >>confdefs.h <<_ACEOF
39329 #define HAVE_ISINF 1
39330 _ACEOF
39331
39332 fi
39333 done
39334
39335   else
39336
39337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39338 $as_echo_n "checking for _isinf declaration... " >&6; }
39339   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39340     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39341   $as_echo_n "(cached) " >&6
39342 else
39343
39344
39345       ac_ext=cpp
39346 ac_cpp='$CXXCPP $CPPFLAGS'
39347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39350
39351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39352 /* end confdefs.h.  */
39353 #include <math.h>
39354                       #ifdef HAVE_IEEEFP_H
39355                       #include <ieeefp.h>
39356                       #endif
39357
39358 int
39359 main ()
39360 {
39361  _isinf(0);
39362   ;
39363   return 0;
39364 }
39365 _ACEOF
39366 if ac_fn_cxx_try_compile "$LINENO"; then :
39367   glibcxx_cv_func__isinf_use=yes
39368 else
39369   glibcxx_cv_func__isinf_use=no
39370 fi
39371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39372       ac_ext=c
39373 ac_cpp='$CPP $CPPFLAGS'
39374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39377
39378
39379 fi
39380
39381   fi
39382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39383 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39384
39385     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39386       for ac_func in _isinf
39387 do :
39388   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39389 if test "x$ac_cv_func__isinf" = x""yes; then :
39390   cat >>confdefs.h <<_ACEOF
39391 #define HAVE__ISINF 1
39392 _ACEOF
39393
39394 fi
39395 done
39396
39397     fi
39398   fi
39399
39400
39401
39402
39403
39404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39405 $as_echo_n "checking for isnan declaration... " >&6; }
39406   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39407     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39408   $as_echo_n "(cached) " >&6
39409 else
39410
39411
39412       ac_ext=cpp
39413 ac_cpp='$CXXCPP $CPPFLAGS'
39414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39417
39418       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39419 /* end confdefs.h.  */
39420 #include <math.h>
39421                       #ifdef HAVE_IEEEFP_H
39422                       #include <ieeefp.h>
39423                       #endif
39424
39425 int
39426 main ()
39427 {
39428  isnan(0);
39429   ;
39430   return 0;
39431 }
39432 _ACEOF
39433 if ac_fn_cxx_try_compile "$LINENO"; then :
39434   glibcxx_cv_func_isnan_use=yes
39435 else
39436   glibcxx_cv_func_isnan_use=no
39437 fi
39438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39439       ac_ext=c
39440 ac_cpp='$CPP $CPPFLAGS'
39441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39444
39445
39446 fi
39447
39448   fi
39449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39450 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39451
39452   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39453     for ac_func in isnan
39454 do :
39455   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39456 if test "x$ac_cv_func_isnan" = x""yes; then :
39457   cat >>confdefs.h <<_ACEOF
39458 #define HAVE_ISNAN 1
39459 _ACEOF
39460
39461 fi
39462 done
39463
39464   else
39465
39466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39467 $as_echo_n "checking for _isnan declaration... " >&6; }
39468   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39469     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39470   $as_echo_n "(cached) " >&6
39471 else
39472
39473
39474       ac_ext=cpp
39475 ac_cpp='$CXXCPP $CPPFLAGS'
39476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39479
39480       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39481 /* end confdefs.h.  */
39482 #include <math.h>
39483                       #ifdef HAVE_IEEEFP_H
39484                       #include <ieeefp.h>
39485                       #endif
39486
39487 int
39488 main ()
39489 {
39490  _isnan(0);
39491   ;
39492   return 0;
39493 }
39494 _ACEOF
39495 if ac_fn_cxx_try_compile "$LINENO"; then :
39496   glibcxx_cv_func__isnan_use=yes
39497 else
39498   glibcxx_cv_func__isnan_use=no
39499 fi
39500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39501       ac_ext=c
39502 ac_cpp='$CPP $CPPFLAGS'
39503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39506
39507
39508 fi
39509
39510   fi
39511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39512 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39513
39514     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39515       for ac_func in _isnan
39516 do :
39517   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39518 if test "x$ac_cv_func__isnan" = x""yes; then :
39519   cat >>confdefs.h <<_ACEOF
39520 #define HAVE__ISNAN 1
39521 _ACEOF
39522
39523 fi
39524 done
39525
39526     fi
39527   fi
39528
39529
39530
39531
39532
39533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39534 $as_echo_n "checking for finite declaration... " >&6; }
39535   if test x${glibcxx_cv_func_finite_use+set} != xset; then
39536     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39537   $as_echo_n "(cached) " >&6
39538 else
39539
39540
39541       ac_ext=cpp
39542 ac_cpp='$CXXCPP $CPPFLAGS'
39543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39546
39547       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39548 /* end confdefs.h.  */
39549 #include <math.h>
39550                       #ifdef HAVE_IEEEFP_H
39551                       #include <ieeefp.h>
39552                       #endif
39553
39554 int
39555 main ()
39556 {
39557  finite(0);
39558   ;
39559   return 0;
39560 }
39561 _ACEOF
39562 if ac_fn_cxx_try_compile "$LINENO"; then :
39563   glibcxx_cv_func_finite_use=yes
39564 else
39565   glibcxx_cv_func_finite_use=no
39566 fi
39567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39568       ac_ext=c
39569 ac_cpp='$CPP $CPPFLAGS'
39570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39573
39574
39575 fi
39576
39577   fi
39578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39579 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39580
39581   if test x$glibcxx_cv_func_finite_use = x"yes"; then
39582     for ac_func in finite
39583 do :
39584   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39585 if test "x$ac_cv_func_finite" = x""yes; then :
39586   cat >>confdefs.h <<_ACEOF
39587 #define HAVE_FINITE 1
39588 _ACEOF
39589
39590 fi
39591 done
39592
39593   else
39594
39595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39596 $as_echo_n "checking for _finite declaration... " >&6; }
39597   if test x${glibcxx_cv_func__finite_use+set} != xset; then
39598     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39599   $as_echo_n "(cached) " >&6
39600 else
39601
39602
39603       ac_ext=cpp
39604 ac_cpp='$CXXCPP $CPPFLAGS'
39605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39608
39609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39610 /* end confdefs.h.  */
39611 #include <math.h>
39612                       #ifdef HAVE_IEEEFP_H
39613                       #include <ieeefp.h>
39614                       #endif
39615
39616 int
39617 main ()
39618 {
39619  _finite(0);
39620   ;
39621   return 0;
39622 }
39623 _ACEOF
39624 if ac_fn_cxx_try_compile "$LINENO"; then :
39625   glibcxx_cv_func__finite_use=yes
39626 else
39627   glibcxx_cv_func__finite_use=no
39628 fi
39629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39630       ac_ext=c
39631 ac_cpp='$CPP $CPPFLAGS'
39632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39635
39636
39637 fi
39638
39639   fi
39640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39641 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39642
39643     if test x$glibcxx_cv_func__finite_use = x"yes"; then
39644       for ac_func in _finite
39645 do :
39646   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39647 if test "x$ac_cv_func__finite" = x""yes; then :
39648   cat >>confdefs.h <<_ACEOF
39649 #define HAVE__FINITE 1
39650 _ACEOF
39651
39652 fi
39653 done
39654
39655     fi
39656   fi
39657
39658
39659
39660
39661
39662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39663 $as_echo_n "checking for sincos declaration... " >&6; }
39664   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39665     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39666   $as_echo_n "(cached) " >&6
39667 else
39668
39669
39670       ac_ext=cpp
39671 ac_cpp='$CXXCPP $CPPFLAGS'
39672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39675
39676       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39677 /* end confdefs.h.  */
39678 #include <math.h>
39679 int
39680 main ()
39681 {
39682  sincos(0, 0, 0);
39683   ;
39684   return 0;
39685 }
39686 _ACEOF
39687 if ac_fn_cxx_try_compile "$LINENO"; then :
39688   glibcxx_cv_func_sincos_use=yes
39689 else
39690   glibcxx_cv_func_sincos_use=no
39691 fi
39692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39693       ac_ext=c
39694 ac_cpp='$CPP $CPPFLAGS'
39695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39698
39699
39700 fi
39701
39702   fi
39703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39704 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39705
39706   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39707     for ac_func in sincos
39708 do :
39709   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39710 if test "x$ac_cv_func_sincos" = x""yes; then :
39711   cat >>confdefs.h <<_ACEOF
39712 #define HAVE_SINCOS 1
39713 _ACEOF
39714
39715 fi
39716 done
39717
39718   else
39719
39720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39721 $as_echo_n "checking for _sincos declaration... " >&6; }
39722   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39723     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39724   $as_echo_n "(cached) " >&6
39725 else
39726
39727
39728       ac_ext=cpp
39729 ac_cpp='$CXXCPP $CPPFLAGS'
39730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39733
39734       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39735 /* end confdefs.h.  */
39736 #include <math.h>
39737 int
39738 main ()
39739 {
39740  _sincos(0, 0, 0);
39741   ;
39742   return 0;
39743 }
39744 _ACEOF
39745 if ac_fn_cxx_try_compile "$LINENO"; then :
39746   glibcxx_cv_func__sincos_use=yes
39747 else
39748   glibcxx_cv_func__sincos_use=no
39749 fi
39750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39751       ac_ext=c
39752 ac_cpp='$CPP $CPPFLAGS'
39753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39756
39757
39758 fi
39759
39760   fi
39761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39762 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39763
39764     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39765       for ac_func in _sincos
39766 do :
39767   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39768 if test "x$ac_cv_func__sincos" = x""yes; then :
39769   cat >>confdefs.h <<_ACEOF
39770 #define HAVE__SINCOS 1
39771 _ACEOF
39772
39773 fi
39774 done
39775
39776     fi
39777   fi
39778
39779
39780
39781
39782
39783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39784 $as_echo_n "checking for fpclass declaration... " >&6; }
39785   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39786     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39787   $as_echo_n "(cached) " >&6
39788 else
39789
39790
39791       ac_ext=cpp
39792 ac_cpp='$CXXCPP $CPPFLAGS'
39793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39796
39797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39798 /* end confdefs.h.  */
39799 #include <math.h>
39800                       #ifdef HAVE_IEEEFP_H
39801                       #include <ieeefp.h>
39802                       #endif
39803
39804 int
39805 main ()
39806 {
39807  fpclass(0);
39808   ;
39809   return 0;
39810 }
39811 _ACEOF
39812 if ac_fn_cxx_try_compile "$LINENO"; then :
39813   glibcxx_cv_func_fpclass_use=yes
39814 else
39815   glibcxx_cv_func_fpclass_use=no
39816 fi
39817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39818       ac_ext=c
39819 ac_cpp='$CPP $CPPFLAGS'
39820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39823
39824
39825 fi
39826
39827   fi
39828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39829 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39830
39831   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39832     for ac_func in fpclass
39833 do :
39834   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39835 if test "x$ac_cv_func_fpclass" = x""yes; then :
39836   cat >>confdefs.h <<_ACEOF
39837 #define HAVE_FPCLASS 1
39838 _ACEOF
39839
39840 fi
39841 done
39842
39843   else
39844
39845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39846 $as_echo_n "checking for _fpclass declaration... " >&6; }
39847   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39848     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39849   $as_echo_n "(cached) " >&6
39850 else
39851
39852
39853       ac_ext=cpp
39854 ac_cpp='$CXXCPP $CPPFLAGS'
39855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39858
39859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39860 /* end confdefs.h.  */
39861 #include <math.h>
39862                       #ifdef HAVE_IEEEFP_H
39863                       #include <ieeefp.h>
39864                       #endif
39865
39866 int
39867 main ()
39868 {
39869  _fpclass(0);
39870   ;
39871   return 0;
39872 }
39873 _ACEOF
39874 if ac_fn_cxx_try_compile "$LINENO"; then :
39875   glibcxx_cv_func__fpclass_use=yes
39876 else
39877   glibcxx_cv_func__fpclass_use=no
39878 fi
39879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39880       ac_ext=c
39881 ac_cpp='$CPP $CPPFLAGS'
39882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39885
39886
39887 fi
39888
39889   fi
39890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39891 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39892
39893     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39894       for ac_func in _fpclass
39895 do :
39896   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39897 if test "x$ac_cv_func__fpclass" = x""yes; then :
39898   cat >>confdefs.h <<_ACEOF
39899 #define HAVE__FPCLASS 1
39900 _ACEOF
39901
39902 fi
39903 done
39904
39905     fi
39906   fi
39907
39908
39909
39910
39911
39912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39913 $as_echo_n "checking for qfpclass declaration... " >&6; }
39914   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39915     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39916   $as_echo_n "(cached) " >&6
39917 else
39918
39919
39920       ac_ext=cpp
39921 ac_cpp='$CXXCPP $CPPFLAGS'
39922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39925
39926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39927 /* end confdefs.h.  */
39928 #include <math.h>
39929                       #ifdef HAVE_IEEEFP_H
39930                       #include <ieeefp.h>
39931                       #endif
39932
39933 int
39934 main ()
39935 {
39936  qfpclass(0);
39937   ;
39938   return 0;
39939 }
39940 _ACEOF
39941 if ac_fn_cxx_try_compile "$LINENO"; then :
39942   glibcxx_cv_func_qfpclass_use=yes
39943 else
39944   glibcxx_cv_func_qfpclass_use=no
39945 fi
39946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39947       ac_ext=c
39948 ac_cpp='$CPP $CPPFLAGS'
39949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39952
39953
39954 fi
39955
39956   fi
39957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39958 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39959
39960   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39961     for ac_func in qfpclass
39962 do :
39963   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39964 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39965   cat >>confdefs.h <<_ACEOF
39966 #define HAVE_QFPCLASS 1
39967 _ACEOF
39968
39969 fi
39970 done
39971
39972   else
39973
39974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39975 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39976   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39977     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39978   $as_echo_n "(cached) " >&6
39979 else
39980
39981
39982       ac_ext=cpp
39983 ac_cpp='$CXXCPP $CPPFLAGS'
39984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39987
39988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39989 /* end confdefs.h.  */
39990 #include <math.h>
39991                       #ifdef HAVE_IEEEFP_H
39992                       #include <ieeefp.h>
39993                       #endif
39994
39995 int
39996 main ()
39997 {
39998  _qfpclass(0);
39999   ;
40000   return 0;
40001 }
40002 _ACEOF
40003 if ac_fn_cxx_try_compile "$LINENO"; then :
40004   glibcxx_cv_func__qfpclass_use=yes
40005 else
40006   glibcxx_cv_func__qfpclass_use=no
40007 fi
40008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40009       ac_ext=c
40010 ac_cpp='$CPP $CPPFLAGS'
40011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40014
40015
40016 fi
40017
40018   fi
40019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40020 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40021
40022     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40023       for ac_func in _qfpclass
40024 do :
40025   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40026 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40027   cat >>confdefs.h <<_ACEOF
40028 #define HAVE__QFPCLASS 1
40029 _ACEOF
40030
40031 fi
40032 done
40033
40034     fi
40035   fi
40036
40037
40038
40039
40040
40041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40042 $as_echo_n "checking for hypot declaration... " >&6; }
40043   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40044     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40045   $as_echo_n "(cached) " >&6
40046 else
40047
40048
40049       ac_ext=cpp
40050 ac_cpp='$CXXCPP $CPPFLAGS'
40051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40054
40055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40056 /* end confdefs.h.  */
40057 #include <math.h>
40058 int
40059 main ()
40060 {
40061  hypot(0, 0);
40062   ;
40063   return 0;
40064 }
40065 _ACEOF
40066 if ac_fn_cxx_try_compile "$LINENO"; then :
40067   glibcxx_cv_func_hypot_use=yes
40068 else
40069   glibcxx_cv_func_hypot_use=no
40070 fi
40071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40072       ac_ext=c
40073 ac_cpp='$CPP $CPPFLAGS'
40074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40077
40078
40079 fi
40080
40081   fi
40082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40083 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40084
40085   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40086     for ac_func in hypot
40087 do :
40088   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40089 if test "x$ac_cv_func_hypot" = x""yes; then :
40090   cat >>confdefs.h <<_ACEOF
40091 #define HAVE_HYPOT 1
40092 _ACEOF
40093
40094 fi
40095 done
40096
40097   else
40098
40099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40100 $as_echo_n "checking for _hypot declaration... " >&6; }
40101   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40102     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40103   $as_echo_n "(cached) " >&6
40104 else
40105
40106
40107       ac_ext=cpp
40108 ac_cpp='$CXXCPP $CPPFLAGS'
40109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40112
40113       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40114 /* end confdefs.h.  */
40115 #include <math.h>
40116 int
40117 main ()
40118 {
40119  _hypot(0, 0);
40120   ;
40121   return 0;
40122 }
40123 _ACEOF
40124 if ac_fn_cxx_try_compile "$LINENO"; then :
40125   glibcxx_cv_func__hypot_use=yes
40126 else
40127   glibcxx_cv_func__hypot_use=no
40128 fi
40129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40130       ac_ext=c
40131 ac_cpp='$CPP $CPPFLAGS'
40132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40135
40136
40137 fi
40138
40139   fi
40140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40141 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40142
40143     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40144       for ac_func in _hypot
40145 do :
40146   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40147 if test "x$ac_cv_func__hypot" = x""yes; then :
40148   cat >>confdefs.h <<_ACEOF
40149 #define HAVE__HYPOT 1
40150 _ACEOF
40151
40152 fi
40153 done
40154
40155     fi
40156   fi
40157
40158
40159
40160
40161
40162     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40163 $as_echo_n "checking for float trig functions... " >&6; }
40164   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40165   $as_echo_n "(cached) " >&6
40166 else
40167
40168
40169     ac_ext=cpp
40170 ac_cpp='$CXXCPP $CPPFLAGS'
40171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40174
40175     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40176 /* end confdefs.h.  */
40177 #include <math.h>
40178 int
40179 main ()
40180 {
40181 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40182   ;
40183   return 0;
40184 }
40185 _ACEOF
40186 if ac_fn_cxx_try_compile "$LINENO"; then :
40187   glibcxx_cv_func_float_trig_use=yes
40188 else
40189   glibcxx_cv_func_float_trig_use=no
40190 fi
40191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40192     ac_ext=c
40193 ac_cpp='$CPP $CPPFLAGS'
40194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40197
40198 fi
40199
40200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40201 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40202   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40203     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40204 do :
40205   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40207 eval as_val=\$$as_ac_var
40208    if test "x$as_val" = x""yes; then :
40209   cat >>confdefs.h <<_ACEOF
40210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40211 _ACEOF
40212
40213 fi
40214 done
40215
40216   else
40217     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40218 $as_echo_n "checking for _float trig functions... " >&6; }
40219     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40220   $as_echo_n "(cached) " >&6
40221 else
40222
40223
40224       ac_ext=cpp
40225 ac_cpp='$CXXCPP $CPPFLAGS'
40226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40229
40230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40231 /* end confdefs.h.  */
40232 #include <math.h>
40233 int
40234 main ()
40235 {
40236 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40237   ;
40238   return 0;
40239 }
40240 _ACEOF
40241 if ac_fn_cxx_try_compile "$LINENO"; then :
40242   glibcxx_cv_func__float_trig_use=yes
40243 else
40244   glibcxx_cv_func__float_trig_use=no
40245 fi
40246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40247       ac_ext=c
40248 ac_cpp='$CPP $CPPFLAGS'
40249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40252
40253 fi
40254
40255     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40256 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40257     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40258       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40259 do :
40260   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40262 eval as_val=\$$as_ac_var
40263    if test "x$as_val" = x""yes; then :
40264   cat >>confdefs.h <<_ACEOF
40265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40266 _ACEOF
40267
40268 fi
40269 done
40270
40271     fi
40272   fi
40273
40274
40275
40276
40277
40278     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40279 $as_echo_n "checking for float round functions... " >&6; }
40280   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40281   $as_echo_n "(cached) " >&6
40282 else
40283
40284
40285     ac_ext=cpp
40286 ac_cpp='$CXXCPP $CPPFLAGS'
40287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40290
40291     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40292 /* end confdefs.h.  */
40293 #include <math.h>
40294 int
40295 main ()
40296 {
40297 ceilf (0); floorf (0);
40298   ;
40299   return 0;
40300 }
40301 _ACEOF
40302 if ac_fn_cxx_try_compile "$LINENO"; then :
40303   glibcxx_cv_func_float_round_use=yes
40304 else
40305   glibcxx_cv_func_float_round_use=no
40306 fi
40307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40308     ac_ext=c
40309 ac_cpp='$CPP $CPPFLAGS'
40310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40313
40314 fi
40315
40316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40317 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40318   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40319     for ac_func in ceilf floorf
40320 do :
40321   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40323 eval as_val=\$$as_ac_var
40324    if test "x$as_val" = x""yes; then :
40325   cat >>confdefs.h <<_ACEOF
40326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40327 _ACEOF
40328
40329 fi
40330 done
40331
40332   else
40333     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40334 $as_echo_n "checking for _float round functions... " >&6; }
40335     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40336   $as_echo_n "(cached) " >&6
40337 else
40338
40339
40340       ac_ext=cpp
40341 ac_cpp='$CXXCPP $CPPFLAGS'
40342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40345
40346       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40347 /* end confdefs.h.  */
40348 #include <math.h>
40349 int
40350 main ()
40351 {
40352 _ceilf (0); _floorf (0);
40353   ;
40354   return 0;
40355 }
40356 _ACEOF
40357 if ac_fn_cxx_try_compile "$LINENO"; then :
40358   glibcxx_cv_func__float_round_use=yes
40359 else
40360   glibcxx_cv_func__float_round_use=no
40361 fi
40362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40363       ac_ext=c
40364 ac_cpp='$CPP $CPPFLAGS'
40365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40368
40369 fi
40370
40371     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40372 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40373     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40374       for ac_func in _ceilf _floorf
40375 do :
40376   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40378 eval as_val=\$$as_ac_var
40379    if test "x$as_val" = x""yes; then :
40380   cat >>confdefs.h <<_ACEOF
40381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40382 _ACEOF
40383
40384 fi
40385 done
40386
40387     fi
40388   fi
40389
40390
40391
40392
40393
40394
40395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40396 $as_echo_n "checking for expf declaration... " >&6; }
40397   if test x${glibcxx_cv_func_expf_use+set} != xset; then
40398     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40399   $as_echo_n "(cached) " >&6
40400 else
40401
40402
40403       ac_ext=cpp
40404 ac_cpp='$CXXCPP $CPPFLAGS'
40405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40408
40409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40410 /* end confdefs.h.  */
40411 #include <math.h>
40412                       #ifdef HAVE_IEEEFP_H
40413                       #include <ieeefp.h>
40414                       #endif
40415
40416 int
40417 main ()
40418 {
40419  expf(0);
40420   ;
40421   return 0;
40422 }
40423 _ACEOF
40424 if ac_fn_cxx_try_compile "$LINENO"; then :
40425   glibcxx_cv_func_expf_use=yes
40426 else
40427   glibcxx_cv_func_expf_use=no
40428 fi
40429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40430       ac_ext=c
40431 ac_cpp='$CPP $CPPFLAGS'
40432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40435
40436
40437 fi
40438
40439   fi
40440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40441 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40442
40443   if test x$glibcxx_cv_func_expf_use = x"yes"; then
40444     for ac_func in expf
40445 do :
40446   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40447 if test "x$ac_cv_func_expf" = x""yes; then :
40448   cat >>confdefs.h <<_ACEOF
40449 #define HAVE_EXPF 1
40450 _ACEOF
40451
40452 fi
40453 done
40454
40455   else
40456
40457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40458 $as_echo_n "checking for _expf declaration... " >&6; }
40459   if test x${glibcxx_cv_func__expf_use+set} != xset; then
40460     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40461   $as_echo_n "(cached) " >&6
40462 else
40463
40464
40465       ac_ext=cpp
40466 ac_cpp='$CXXCPP $CPPFLAGS'
40467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40470
40471       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40472 /* end confdefs.h.  */
40473 #include <math.h>
40474                       #ifdef HAVE_IEEEFP_H
40475                       #include <ieeefp.h>
40476                       #endif
40477
40478 int
40479 main ()
40480 {
40481  _expf(0);
40482   ;
40483   return 0;
40484 }
40485 _ACEOF
40486 if ac_fn_cxx_try_compile "$LINENO"; then :
40487   glibcxx_cv_func__expf_use=yes
40488 else
40489   glibcxx_cv_func__expf_use=no
40490 fi
40491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40492       ac_ext=c
40493 ac_cpp='$CPP $CPPFLAGS'
40494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40497
40498
40499 fi
40500
40501   fi
40502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40503 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40504
40505     if test x$glibcxx_cv_func__expf_use = x"yes"; then
40506       for ac_func in _expf
40507 do :
40508   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40509 if test "x$ac_cv_func__expf" = x""yes; then :
40510   cat >>confdefs.h <<_ACEOF
40511 #define HAVE__EXPF 1
40512 _ACEOF
40513
40514 fi
40515 done
40516
40517     fi
40518   fi
40519
40520
40521
40522
40523
40524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40525 $as_echo_n "checking for isnanf declaration... " >&6; }
40526   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40527     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40528   $as_echo_n "(cached) " >&6
40529 else
40530
40531
40532       ac_ext=cpp
40533 ac_cpp='$CXXCPP $CPPFLAGS'
40534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40537
40538       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40539 /* end confdefs.h.  */
40540 #include <math.h>
40541                       #ifdef HAVE_IEEEFP_H
40542                       #include <ieeefp.h>
40543                       #endif
40544
40545 int
40546 main ()
40547 {
40548  isnanf(0);
40549   ;
40550   return 0;
40551 }
40552 _ACEOF
40553 if ac_fn_cxx_try_compile "$LINENO"; then :
40554   glibcxx_cv_func_isnanf_use=yes
40555 else
40556   glibcxx_cv_func_isnanf_use=no
40557 fi
40558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40559       ac_ext=c
40560 ac_cpp='$CPP $CPPFLAGS'
40561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40564
40565
40566 fi
40567
40568   fi
40569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40570 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40571
40572   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40573     for ac_func in isnanf
40574 do :
40575   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40576 if test "x$ac_cv_func_isnanf" = x""yes; then :
40577   cat >>confdefs.h <<_ACEOF
40578 #define HAVE_ISNANF 1
40579 _ACEOF
40580
40581 fi
40582 done
40583
40584   else
40585
40586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40587 $as_echo_n "checking for _isnanf declaration... " >&6; }
40588   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40589     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40590   $as_echo_n "(cached) " >&6
40591 else
40592
40593
40594       ac_ext=cpp
40595 ac_cpp='$CXXCPP $CPPFLAGS'
40596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40599
40600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40601 /* end confdefs.h.  */
40602 #include <math.h>
40603                       #ifdef HAVE_IEEEFP_H
40604                       #include <ieeefp.h>
40605                       #endif
40606
40607 int
40608 main ()
40609 {
40610  _isnanf(0);
40611   ;
40612   return 0;
40613 }
40614 _ACEOF
40615 if ac_fn_cxx_try_compile "$LINENO"; then :
40616   glibcxx_cv_func__isnanf_use=yes
40617 else
40618   glibcxx_cv_func__isnanf_use=no
40619 fi
40620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40621       ac_ext=c
40622 ac_cpp='$CPP $CPPFLAGS'
40623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40626
40627
40628 fi
40629
40630   fi
40631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40632 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40633
40634     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40635       for ac_func in _isnanf
40636 do :
40637   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40638 if test "x$ac_cv_func__isnanf" = x""yes; then :
40639   cat >>confdefs.h <<_ACEOF
40640 #define HAVE__ISNANF 1
40641 _ACEOF
40642
40643 fi
40644 done
40645
40646     fi
40647   fi
40648
40649
40650
40651
40652
40653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40654 $as_echo_n "checking for isinff declaration... " >&6; }
40655   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40656     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40657   $as_echo_n "(cached) " >&6
40658 else
40659
40660
40661       ac_ext=cpp
40662 ac_cpp='$CXXCPP $CPPFLAGS'
40663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40666
40667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40668 /* end confdefs.h.  */
40669 #include <math.h>
40670                       #ifdef HAVE_IEEEFP_H
40671                       #include <ieeefp.h>
40672                       #endif
40673
40674 int
40675 main ()
40676 {
40677  isinff(0);
40678   ;
40679   return 0;
40680 }
40681 _ACEOF
40682 if ac_fn_cxx_try_compile "$LINENO"; then :
40683   glibcxx_cv_func_isinff_use=yes
40684 else
40685   glibcxx_cv_func_isinff_use=no
40686 fi
40687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40688       ac_ext=c
40689 ac_cpp='$CPP $CPPFLAGS'
40690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40693
40694
40695 fi
40696
40697   fi
40698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40699 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40700
40701   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40702     for ac_func in isinff
40703 do :
40704   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40705 if test "x$ac_cv_func_isinff" = x""yes; then :
40706   cat >>confdefs.h <<_ACEOF
40707 #define HAVE_ISINFF 1
40708 _ACEOF
40709
40710 fi
40711 done
40712
40713   else
40714
40715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40716 $as_echo_n "checking for _isinff declaration... " >&6; }
40717   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40718     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40719   $as_echo_n "(cached) " >&6
40720 else
40721
40722
40723       ac_ext=cpp
40724 ac_cpp='$CXXCPP $CPPFLAGS'
40725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40728
40729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40730 /* end confdefs.h.  */
40731 #include <math.h>
40732                       #ifdef HAVE_IEEEFP_H
40733                       #include <ieeefp.h>
40734                       #endif
40735
40736 int
40737 main ()
40738 {
40739  _isinff(0);
40740   ;
40741   return 0;
40742 }
40743 _ACEOF
40744 if ac_fn_cxx_try_compile "$LINENO"; then :
40745   glibcxx_cv_func__isinff_use=yes
40746 else
40747   glibcxx_cv_func__isinff_use=no
40748 fi
40749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40750       ac_ext=c
40751 ac_cpp='$CPP $CPPFLAGS'
40752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40755
40756
40757 fi
40758
40759   fi
40760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40761 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40762
40763     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40764       for ac_func in _isinff
40765 do :
40766   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40767 if test "x$ac_cv_func__isinff" = x""yes; then :
40768   cat >>confdefs.h <<_ACEOF
40769 #define HAVE__ISINFF 1
40770 _ACEOF
40771
40772 fi
40773 done
40774
40775     fi
40776   fi
40777
40778
40779
40780
40781
40782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40783 $as_echo_n "checking for atan2f declaration... " >&6; }
40784   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40785     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40786   $as_echo_n "(cached) " >&6
40787 else
40788
40789
40790       ac_ext=cpp
40791 ac_cpp='$CXXCPP $CPPFLAGS'
40792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40795
40796       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40797 /* end confdefs.h.  */
40798 #include <math.h>
40799 int
40800 main ()
40801 {
40802  atan2f(0, 0);
40803   ;
40804   return 0;
40805 }
40806 _ACEOF
40807 if ac_fn_cxx_try_compile "$LINENO"; then :
40808   glibcxx_cv_func_atan2f_use=yes
40809 else
40810   glibcxx_cv_func_atan2f_use=no
40811 fi
40812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40813       ac_ext=c
40814 ac_cpp='$CPP $CPPFLAGS'
40815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40818
40819
40820 fi
40821
40822   fi
40823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40824 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40825
40826   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40827     for ac_func in atan2f
40828 do :
40829   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40830 if test "x$ac_cv_func_atan2f" = x""yes; then :
40831   cat >>confdefs.h <<_ACEOF
40832 #define HAVE_ATAN2F 1
40833 _ACEOF
40834
40835 fi
40836 done
40837
40838   else
40839
40840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40841 $as_echo_n "checking for _atan2f declaration... " >&6; }
40842   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40843     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40844   $as_echo_n "(cached) " >&6
40845 else
40846
40847
40848       ac_ext=cpp
40849 ac_cpp='$CXXCPP $CPPFLAGS'
40850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40853
40854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40855 /* end confdefs.h.  */
40856 #include <math.h>
40857 int
40858 main ()
40859 {
40860  _atan2f(0, 0);
40861   ;
40862   return 0;
40863 }
40864 _ACEOF
40865 if ac_fn_cxx_try_compile "$LINENO"; then :
40866   glibcxx_cv_func__atan2f_use=yes
40867 else
40868   glibcxx_cv_func__atan2f_use=no
40869 fi
40870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40871       ac_ext=c
40872 ac_cpp='$CPP $CPPFLAGS'
40873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40876
40877
40878 fi
40879
40880   fi
40881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40882 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40883
40884     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40885       for ac_func in _atan2f
40886 do :
40887   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40888 if test "x$ac_cv_func__atan2f" = x""yes; then :
40889   cat >>confdefs.h <<_ACEOF
40890 #define HAVE__ATAN2F 1
40891 _ACEOF
40892
40893 fi
40894 done
40895
40896     fi
40897   fi
40898
40899
40900
40901
40902
40903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40904 $as_echo_n "checking for fabsf declaration... " >&6; }
40905   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40906     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40907   $as_echo_n "(cached) " >&6
40908 else
40909
40910
40911       ac_ext=cpp
40912 ac_cpp='$CXXCPP $CPPFLAGS'
40913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40916
40917       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40918 /* end confdefs.h.  */
40919 #include <math.h>
40920                       #ifdef HAVE_IEEEFP_H
40921                       #include <ieeefp.h>
40922                       #endif
40923
40924 int
40925 main ()
40926 {
40927  fabsf(0);
40928   ;
40929   return 0;
40930 }
40931 _ACEOF
40932 if ac_fn_cxx_try_compile "$LINENO"; then :
40933   glibcxx_cv_func_fabsf_use=yes
40934 else
40935   glibcxx_cv_func_fabsf_use=no
40936 fi
40937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40938       ac_ext=c
40939 ac_cpp='$CPP $CPPFLAGS'
40940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40943
40944
40945 fi
40946
40947   fi
40948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40949 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40950
40951   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40952     for ac_func in fabsf
40953 do :
40954   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40955 if test "x$ac_cv_func_fabsf" = x""yes; then :
40956   cat >>confdefs.h <<_ACEOF
40957 #define HAVE_FABSF 1
40958 _ACEOF
40959
40960 fi
40961 done
40962
40963   else
40964
40965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40966 $as_echo_n "checking for _fabsf declaration... " >&6; }
40967   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40968     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40969   $as_echo_n "(cached) " >&6
40970 else
40971
40972
40973       ac_ext=cpp
40974 ac_cpp='$CXXCPP $CPPFLAGS'
40975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40978
40979       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40980 /* end confdefs.h.  */
40981 #include <math.h>
40982                       #ifdef HAVE_IEEEFP_H
40983                       #include <ieeefp.h>
40984                       #endif
40985
40986 int
40987 main ()
40988 {
40989  _fabsf(0);
40990   ;
40991   return 0;
40992 }
40993 _ACEOF
40994 if ac_fn_cxx_try_compile "$LINENO"; then :
40995   glibcxx_cv_func__fabsf_use=yes
40996 else
40997   glibcxx_cv_func__fabsf_use=no
40998 fi
40999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41000       ac_ext=c
41001 ac_cpp='$CPP $CPPFLAGS'
41002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41005
41006
41007 fi
41008
41009   fi
41010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41011 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41012
41013     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41014       for ac_func in _fabsf
41015 do :
41016   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41017 if test "x$ac_cv_func__fabsf" = x""yes; then :
41018   cat >>confdefs.h <<_ACEOF
41019 #define HAVE__FABSF 1
41020 _ACEOF
41021
41022 fi
41023 done
41024
41025     fi
41026   fi
41027
41028
41029
41030
41031
41032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41033 $as_echo_n "checking for fmodf declaration... " >&6; }
41034   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41035     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41036   $as_echo_n "(cached) " >&6
41037 else
41038
41039
41040       ac_ext=cpp
41041 ac_cpp='$CXXCPP $CPPFLAGS'
41042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41045
41046       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41047 /* end confdefs.h.  */
41048 #include <math.h>
41049 int
41050 main ()
41051 {
41052  fmodf(0, 0);
41053   ;
41054   return 0;
41055 }
41056 _ACEOF
41057 if ac_fn_cxx_try_compile "$LINENO"; then :
41058   glibcxx_cv_func_fmodf_use=yes
41059 else
41060   glibcxx_cv_func_fmodf_use=no
41061 fi
41062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41063       ac_ext=c
41064 ac_cpp='$CPP $CPPFLAGS'
41065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41068
41069
41070 fi
41071
41072   fi
41073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41074 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41075
41076   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41077     for ac_func in fmodf
41078 do :
41079   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41080 if test "x$ac_cv_func_fmodf" = x""yes; then :
41081   cat >>confdefs.h <<_ACEOF
41082 #define HAVE_FMODF 1
41083 _ACEOF
41084
41085 fi
41086 done
41087
41088   else
41089
41090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41091 $as_echo_n "checking for _fmodf declaration... " >&6; }
41092   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41093     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41094   $as_echo_n "(cached) " >&6
41095 else
41096
41097
41098       ac_ext=cpp
41099 ac_cpp='$CXXCPP $CPPFLAGS'
41100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41103
41104       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41105 /* end confdefs.h.  */
41106 #include <math.h>
41107 int
41108 main ()
41109 {
41110  _fmodf(0, 0);
41111   ;
41112   return 0;
41113 }
41114 _ACEOF
41115 if ac_fn_cxx_try_compile "$LINENO"; then :
41116   glibcxx_cv_func__fmodf_use=yes
41117 else
41118   glibcxx_cv_func__fmodf_use=no
41119 fi
41120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41121       ac_ext=c
41122 ac_cpp='$CPP $CPPFLAGS'
41123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41126
41127
41128 fi
41129
41130   fi
41131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41132 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41133
41134     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41135       for ac_func in _fmodf
41136 do :
41137   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41138 if test "x$ac_cv_func__fmodf" = x""yes; then :
41139   cat >>confdefs.h <<_ACEOF
41140 #define HAVE__FMODF 1
41141 _ACEOF
41142
41143 fi
41144 done
41145
41146     fi
41147   fi
41148
41149
41150
41151
41152
41153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41154 $as_echo_n "checking for frexpf declaration... " >&6; }
41155   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41156     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41157   $as_echo_n "(cached) " >&6
41158 else
41159
41160
41161       ac_ext=cpp
41162 ac_cpp='$CXXCPP $CPPFLAGS'
41163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41166
41167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41168 /* end confdefs.h.  */
41169 #include <math.h>
41170 int
41171 main ()
41172 {
41173  frexpf(0, 0);
41174   ;
41175   return 0;
41176 }
41177 _ACEOF
41178 if ac_fn_cxx_try_compile "$LINENO"; then :
41179   glibcxx_cv_func_frexpf_use=yes
41180 else
41181   glibcxx_cv_func_frexpf_use=no
41182 fi
41183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41184       ac_ext=c
41185 ac_cpp='$CPP $CPPFLAGS'
41186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41189
41190
41191 fi
41192
41193   fi
41194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41195 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41196
41197   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41198     for ac_func in frexpf
41199 do :
41200   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41201 if test "x$ac_cv_func_frexpf" = x""yes; then :
41202   cat >>confdefs.h <<_ACEOF
41203 #define HAVE_FREXPF 1
41204 _ACEOF
41205
41206 fi
41207 done
41208
41209   else
41210
41211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41212 $as_echo_n "checking for _frexpf declaration... " >&6; }
41213   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41214     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41215   $as_echo_n "(cached) " >&6
41216 else
41217
41218
41219       ac_ext=cpp
41220 ac_cpp='$CXXCPP $CPPFLAGS'
41221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41224
41225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41226 /* end confdefs.h.  */
41227 #include <math.h>
41228 int
41229 main ()
41230 {
41231  _frexpf(0, 0);
41232   ;
41233   return 0;
41234 }
41235 _ACEOF
41236 if ac_fn_cxx_try_compile "$LINENO"; then :
41237   glibcxx_cv_func__frexpf_use=yes
41238 else
41239   glibcxx_cv_func__frexpf_use=no
41240 fi
41241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41242       ac_ext=c
41243 ac_cpp='$CPP $CPPFLAGS'
41244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41247
41248
41249 fi
41250
41251   fi
41252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41253 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41254
41255     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41256       for ac_func in _frexpf
41257 do :
41258   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41259 if test "x$ac_cv_func__frexpf" = x""yes; then :
41260   cat >>confdefs.h <<_ACEOF
41261 #define HAVE__FREXPF 1
41262 _ACEOF
41263
41264 fi
41265 done
41266
41267     fi
41268   fi
41269
41270
41271
41272
41273
41274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41275 $as_echo_n "checking for hypotf declaration... " >&6; }
41276   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41277     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41278   $as_echo_n "(cached) " >&6
41279 else
41280
41281
41282       ac_ext=cpp
41283 ac_cpp='$CXXCPP $CPPFLAGS'
41284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41287
41288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41289 /* end confdefs.h.  */
41290 #include <math.h>
41291 int
41292 main ()
41293 {
41294  hypotf(0, 0);
41295   ;
41296   return 0;
41297 }
41298 _ACEOF
41299 if ac_fn_cxx_try_compile "$LINENO"; then :
41300   glibcxx_cv_func_hypotf_use=yes
41301 else
41302   glibcxx_cv_func_hypotf_use=no
41303 fi
41304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41305       ac_ext=c
41306 ac_cpp='$CPP $CPPFLAGS'
41307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41310
41311
41312 fi
41313
41314   fi
41315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41316 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41317
41318   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41319     for ac_func in hypotf
41320 do :
41321   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41322 if test "x$ac_cv_func_hypotf" = x""yes; then :
41323   cat >>confdefs.h <<_ACEOF
41324 #define HAVE_HYPOTF 1
41325 _ACEOF
41326
41327 fi
41328 done
41329
41330   else
41331
41332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41333 $as_echo_n "checking for _hypotf declaration... " >&6; }
41334   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41335     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41336   $as_echo_n "(cached) " >&6
41337 else
41338
41339
41340       ac_ext=cpp
41341 ac_cpp='$CXXCPP $CPPFLAGS'
41342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41345
41346       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41347 /* end confdefs.h.  */
41348 #include <math.h>
41349 int
41350 main ()
41351 {
41352  _hypotf(0, 0);
41353   ;
41354   return 0;
41355 }
41356 _ACEOF
41357 if ac_fn_cxx_try_compile "$LINENO"; then :
41358   glibcxx_cv_func__hypotf_use=yes
41359 else
41360   glibcxx_cv_func__hypotf_use=no
41361 fi
41362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41363       ac_ext=c
41364 ac_cpp='$CPP $CPPFLAGS'
41365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41368
41369
41370 fi
41371
41372   fi
41373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41374 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41375
41376     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41377       for ac_func in _hypotf
41378 do :
41379   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41380 if test "x$ac_cv_func__hypotf" = x""yes; then :
41381   cat >>confdefs.h <<_ACEOF
41382 #define HAVE__HYPOTF 1
41383 _ACEOF
41384
41385 fi
41386 done
41387
41388     fi
41389   fi
41390
41391
41392
41393
41394
41395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41396 $as_echo_n "checking for ldexpf declaration... " >&6; }
41397   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41398     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41399   $as_echo_n "(cached) " >&6
41400 else
41401
41402
41403       ac_ext=cpp
41404 ac_cpp='$CXXCPP $CPPFLAGS'
41405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41408
41409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41410 /* end confdefs.h.  */
41411 #include <math.h>
41412 int
41413 main ()
41414 {
41415  ldexpf(0, 0);
41416   ;
41417   return 0;
41418 }
41419 _ACEOF
41420 if ac_fn_cxx_try_compile "$LINENO"; then :
41421   glibcxx_cv_func_ldexpf_use=yes
41422 else
41423   glibcxx_cv_func_ldexpf_use=no
41424 fi
41425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41426       ac_ext=c
41427 ac_cpp='$CPP $CPPFLAGS'
41428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41431
41432
41433 fi
41434
41435   fi
41436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41437 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41438
41439   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41440     for ac_func in ldexpf
41441 do :
41442   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41443 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41444   cat >>confdefs.h <<_ACEOF
41445 #define HAVE_LDEXPF 1
41446 _ACEOF
41447
41448 fi
41449 done
41450
41451   else
41452
41453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41454 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41455   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41456     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41457   $as_echo_n "(cached) " >&6
41458 else
41459
41460
41461       ac_ext=cpp
41462 ac_cpp='$CXXCPP $CPPFLAGS'
41463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41466
41467       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41468 /* end confdefs.h.  */
41469 #include <math.h>
41470 int
41471 main ()
41472 {
41473  _ldexpf(0, 0);
41474   ;
41475   return 0;
41476 }
41477 _ACEOF
41478 if ac_fn_cxx_try_compile "$LINENO"; then :
41479   glibcxx_cv_func__ldexpf_use=yes
41480 else
41481   glibcxx_cv_func__ldexpf_use=no
41482 fi
41483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41484       ac_ext=c
41485 ac_cpp='$CPP $CPPFLAGS'
41486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41489
41490
41491 fi
41492
41493   fi
41494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41495 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41496
41497     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41498       for ac_func in _ldexpf
41499 do :
41500   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41501 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41502   cat >>confdefs.h <<_ACEOF
41503 #define HAVE__LDEXPF 1
41504 _ACEOF
41505
41506 fi
41507 done
41508
41509     fi
41510   fi
41511
41512
41513
41514
41515
41516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41517 $as_echo_n "checking for logf declaration... " >&6; }
41518   if test x${glibcxx_cv_func_logf_use+set} != xset; then
41519     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41520   $as_echo_n "(cached) " >&6
41521 else
41522
41523
41524       ac_ext=cpp
41525 ac_cpp='$CXXCPP $CPPFLAGS'
41526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41529
41530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41531 /* end confdefs.h.  */
41532 #include <math.h>
41533                       #ifdef HAVE_IEEEFP_H
41534                       #include <ieeefp.h>
41535                       #endif
41536
41537 int
41538 main ()
41539 {
41540  logf(0);
41541   ;
41542   return 0;
41543 }
41544 _ACEOF
41545 if ac_fn_cxx_try_compile "$LINENO"; then :
41546   glibcxx_cv_func_logf_use=yes
41547 else
41548   glibcxx_cv_func_logf_use=no
41549 fi
41550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41551       ac_ext=c
41552 ac_cpp='$CPP $CPPFLAGS'
41553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41556
41557
41558 fi
41559
41560   fi
41561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41562 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41563
41564   if test x$glibcxx_cv_func_logf_use = x"yes"; then
41565     for ac_func in logf
41566 do :
41567   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41568 if test "x$ac_cv_func_logf" = x""yes; then :
41569   cat >>confdefs.h <<_ACEOF
41570 #define HAVE_LOGF 1
41571 _ACEOF
41572
41573 fi
41574 done
41575
41576   else
41577
41578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41579 $as_echo_n "checking for _logf declaration... " >&6; }
41580   if test x${glibcxx_cv_func__logf_use+set} != xset; then
41581     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41582   $as_echo_n "(cached) " >&6
41583 else
41584
41585
41586       ac_ext=cpp
41587 ac_cpp='$CXXCPP $CPPFLAGS'
41588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41591
41592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41593 /* end confdefs.h.  */
41594 #include <math.h>
41595                       #ifdef HAVE_IEEEFP_H
41596                       #include <ieeefp.h>
41597                       #endif
41598
41599 int
41600 main ()
41601 {
41602  _logf(0);
41603   ;
41604   return 0;
41605 }
41606 _ACEOF
41607 if ac_fn_cxx_try_compile "$LINENO"; then :
41608   glibcxx_cv_func__logf_use=yes
41609 else
41610   glibcxx_cv_func__logf_use=no
41611 fi
41612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41613       ac_ext=c
41614 ac_cpp='$CPP $CPPFLAGS'
41615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41618
41619
41620 fi
41621
41622   fi
41623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41624 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41625
41626     if test x$glibcxx_cv_func__logf_use = x"yes"; then
41627       for ac_func in _logf
41628 do :
41629   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41630 if test "x$ac_cv_func__logf" = x""yes; then :
41631   cat >>confdefs.h <<_ACEOF
41632 #define HAVE__LOGF 1
41633 _ACEOF
41634
41635 fi
41636 done
41637
41638     fi
41639   fi
41640
41641
41642
41643
41644
41645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41646 $as_echo_n "checking for log10f declaration... " >&6; }
41647   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41648     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41649   $as_echo_n "(cached) " >&6
41650 else
41651
41652
41653       ac_ext=cpp
41654 ac_cpp='$CXXCPP $CPPFLAGS'
41655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41658
41659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41660 /* end confdefs.h.  */
41661 #include <math.h>
41662                       #ifdef HAVE_IEEEFP_H
41663                       #include <ieeefp.h>
41664                       #endif
41665
41666 int
41667 main ()
41668 {
41669  log10f(0);
41670   ;
41671   return 0;
41672 }
41673 _ACEOF
41674 if ac_fn_cxx_try_compile "$LINENO"; then :
41675   glibcxx_cv_func_log10f_use=yes
41676 else
41677   glibcxx_cv_func_log10f_use=no
41678 fi
41679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41680       ac_ext=c
41681 ac_cpp='$CPP $CPPFLAGS'
41682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41685
41686
41687 fi
41688
41689   fi
41690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41691 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41692
41693   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41694     for ac_func in log10f
41695 do :
41696   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41697 if test "x$ac_cv_func_log10f" = x""yes; then :
41698   cat >>confdefs.h <<_ACEOF
41699 #define HAVE_LOG10F 1
41700 _ACEOF
41701
41702 fi
41703 done
41704
41705   else
41706
41707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41708 $as_echo_n "checking for _log10f declaration... " >&6; }
41709   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41710     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41711   $as_echo_n "(cached) " >&6
41712 else
41713
41714
41715       ac_ext=cpp
41716 ac_cpp='$CXXCPP $CPPFLAGS'
41717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41720
41721       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41722 /* end confdefs.h.  */
41723 #include <math.h>
41724                       #ifdef HAVE_IEEEFP_H
41725                       #include <ieeefp.h>
41726                       #endif
41727
41728 int
41729 main ()
41730 {
41731  _log10f(0);
41732   ;
41733   return 0;
41734 }
41735 _ACEOF
41736 if ac_fn_cxx_try_compile "$LINENO"; then :
41737   glibcxx_cv_func__log10f_use=yes
41738 else
41739   glibcxx_cv_func__log10f_use=no
41740 fi
41741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41742       ac_ext=c
41743 ac_cpp='$CPP $CPPFLAGS'
41744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41747
41748
41749 fi
41750
41751   fi
41752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41753 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41754
41755     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41756       for ac_func in _log10f
41757 do :
41758   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41759 if test "x$ac_cv_func__log10f" = x""yes; then :
41760   cat >>confdefs.h <<_ACEOF
41761 #define HAVE__LOG10F 1
41762 _ACEOF
41763
41764 fi
41765 done
41766
41767     fi
41768   fi
41769
41770
41771
41772
41773
41774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41775 $as_echo_n "checking for modff declaration... " >&6; }
41776   if test x${glibcxx_cv_func_modff_use+set} != xset; then
41777     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41778   $as_echo_n "(cached) " >&6
41779 else
41780
41781
41782       ac_ext=cpp
41783 ac_cpp='$CXXCPP $CPPFLAGS'
41784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41787
41788       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41789 /* end confdefs.h.  */
41790 #include <math.h>
41791 int
41792 main ()
41793 {
41794  modff(0, 0);
41795   ;
41796   return 0;
41797 }
41798 _ACEOF
41799 if ac_fn_cxx_try_compile "$LINENO"; then :
41800   glibcxx_cv_func_modff_use=yes
41801 else
41802   glibcxx_cv_func_modff_use=no
41803 fi
41804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41805       ac_ext=c
41806 ac_cpp='$CPP $CPPFLAGS'
41807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41810
41811
41812 fi
41813
41814   fi
41815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41816 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41817
41818   if test x$glibcxx_cv_func_modff_use = x"yes"; then
41819     for ac_func in modff
41820 do :
41821   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41822 if test "x$ac_cv_func_modff" = x""yes; then :
41823   cat >>confdefs.h <<_ACEOF
41824 #define HAVE_MODFF 1
41825 _ACEOF
41826
41827 fi
41828 done
41829
41830   else
41831
41832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41833 $as_echo_n "checking for _modff declaration... " >&6; }
41834   if test x${glibcxx_cv_func__modff_use+set} != xset; then
41835     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41836   $as_echo_n "(cached) " >&6
41837 else
41838
41839
41840       ac_ext=cpp
41841 ac_cpp='$CXXCPP $CPPFLAGS'
41842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41845
41846       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41847 /* end confdefs.h.  */
41848 #include <math.h>
41849 int
41850 main ()
41851 {
41852  _modff(0, 0);
41853   ;
41854   return 0;
41855 }
41856 _ACEOF
41857 if ac_fn_cxx_try_compile "$LINENO"; then :
41858   glibcxx_cv_func__modff_use=yes
41859 else
41860   glibcxx_cv_func__modff_use=no
41861 fi
41862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41863       ac_ext=c
41864 ac_cpp='$CPP $CPPFLAGS'
41865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41868
41869
41870 fi
41871
41872   fi
41873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41874 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41875
41876     if test x$glibcxx_cv_func__modff_use = x"yes"; then
41877       for ac_func in _modff
41878 do :
41879   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41880 if test "x$ac_cv_func__modff" = x""yes; then :
41881   cat >>confdefs.h <<_ACEOF
41882 #define HAVE__MODFF 1
41883 _ACEOF
41884
41885 fi
41886 done
41887
41888     fi
41889   fi
41890
41891
41892
41893
41894
41895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41896 $as_echo_n "checking for modf declaration... " >&6; }
41897   if test x${glibcxx_cv_func_modf_use+set} != xset; then
41898     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41899   $as_echo_n "(cached) " >&6
41900 else
41901
41902
41903       ac_ext=cpp
41904 ac_cpp='$CXXCPP $CPPFLAGS'
41905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41908
41909       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41910 /* end confdefs.h.  */
41911 #include <math.h>
41912 int
41913 main ()
41914 {
41915  modf(0, 0);
41916   ;
41917   return 0;
41918 }
41919 _ACEOF
41920 if ac_fn_cxx_try_compile "$LINENO"; then :
41921   glibcxx_cv_func_modf_use=yes
41922 else
41923   glibcxx_cv_func_modf_use=no
41924 fi
41925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41926       ac_ext=c
41927 ac_cpp='$CPP $CPPFLAGS'
41928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41931
41932
41933 fi
41934
41935   fi
41936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41937 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41938
41939   if test x$glibcxx_cv_func_modf_use = x"yes"; then
41940     for ac_func in modf
41941 do :
41942   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41943 if test "x$ac_cv_func_modf" = x""yes; then :
41944   cat >>confdefs.h <<_ACEOF
41945 #define HAVE_MODF 1
41946 _ACEOF
41947
41948 fi
41949 done
41950
41951   else
41952
41953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41954 $as_echo_n "checking for _modf declaration... " >&6; }
41955   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41956     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41957   $as_echo_n "(cached) " >&6
41958 else
41959
41960
41961       ac_ext=cpp
41962 ac_cpp='$CXXCPP $CPPFLAGS'
41963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41966
41967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41968 /* end confdefs.h.  */
41969 #include <math.h>
41970 int
41971 main ()
41972 {
41973  _modf(0, 0);
41974   ;
41975   return 0;
41976 }
41977 _ACEOF
41978 if ac_fn_cxx_try_compile "$LINENO"; then :
41979   glibcxx_cv_func__modf_use=yes
41980 else
41981   glibcxx_cv_func__modf_use=no
41982 fi
41983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41984       ac_ext=c
41985 ac_cpp='$CPP $CPPFLAGS'
41986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41989
41990
41991 fi
41992
41993   fi
41994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41995 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41996
41997     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41998       for ac_func in _modf
41999 do :
42000   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42001 if test "x$ac_cv_func__modf" = x""yes; then :
42002   cat >>confdefs.h <<_ACEOF
42003 #define HAVE__MODF 1
42004 _ACEOF
42005
42006 fi
42007 done
42008
42009     fi
42010   fi
42011
42012
42013
42014
42015
42016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42017 $as_echo_n "checking for powf declaration... " >&6; }
42018   if test x${glibcxx_cv_func_powf_use+set} != xset; then
42019     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42020   $as_echo_n "(cached) " >&6
42021 else
42022
42023
42024       ac_ext=cpp
42025 ac_cpp='$CXXCPP $CPPFLAGS'
42026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42029
42030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42031 /* end confdefs.h.  */
42032 #include <math.h>
42033 int
42034 main ()
42035 {
42036  powf(0, 0);
42037   ;
42038   return 0;
42039 }
42040 _ACEOF
42041 if ac_fn_cxx_try_compile "$LINENO"; then :
42042   glibcxx_cv_func_powf_use=yes
42043 else
42044   glibcxx_cv_func_powf_use=no
42045 fi
42046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42047       ac_ext=c
42048 ac_cpp='$CPP $CPPFLAGS'
42049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42052
42053
42054 fi
42055
42056   fi
42057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42058 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42059
42060   if test x$glibcxx_cv_func_powf_use = x"yes"; then
42061     for ac_func in powf
42062 do :
42063   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42064 if test "x$ac_cv_func_powf" = x""yes; then :
42065   cat >>confdefs.h <<_ACEOF
42066 #define HAVE_POWF 1
42067 _ACEOF
42068
42069 fi
42070 done
42071
42072   else
42073
42074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42075 $as_echo_n "checking for _powf declaration... " >&6; }
42076   if test x${glibcxx_cv_func__powf_use+set} != xset; then
42077     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42078   $as_echo_n "(cached) " >&6
42079 else
42080
42081
42082       ac_ext=cpp
42083 ac_cpp='$CXXCPP $CPPFLAGS'
42084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42087
42088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42089 /* end confdefs.h.  */
42090 #include <math.h>
42091 int
42092 main ()
42093 {
42094  _powf(0, 0);
42095   ;
42096   return 0;
42097 }
42098 _ACEOF
42099 if ac_fn_cxx_try_compile "$LINENO"; then :
42100   glibcxx_cv_func__powf_use=yes
42101 else
42102   glibcxx_cv_func__powf_use=no
42103 fi
42104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42105       ac_ext=c
42106 ac_cpp='$CPP $CPPFLAGS'
42107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42110
42111
42112 fi
42113
42114   fi
42115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42116 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42117
42118     if test x$glibcxx_cv_func__powf_use = x"yes"; then
42119       for ac_func in _powf
42120 do :
42121   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42122 if test "x$ac_cv_func__powf" = x""yes; then :
42123   cat >>confdefs.h <<_ACEOF
42124 #define HAVE__POWF 1
42125 _ACEOF
42126
42127 fi
42128 done
42129
42130     fi
42131   fi
42132
42133
42134
42135
42136
42137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42138 $as_echo_n "checking for sqrtf declaration... " >&6; }
42139   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42140     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42141   $as_echo_n "(cached) " >&6
42142 else
42143
42144
42145       ac_ext=cpp
42146 ac_cpp='$CXXCPP $CPPFLAGS'
42147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42150
42151       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42152 /* end confdefs.h.  */
42153 #include <math.h>
42154                       #ifdef HAVE_IEEEFP_H
42155                       #include <ieeefp.h>
42156                       #endif
42157
42158 int
42159 main ()
42160 {
42161  sqrtf(0);
42162   ;
42163   return 0;
42164 }
42165 _ACEOF
42166 if ac_fn_cxx_try_compile "$LINENO"; then :
42167   glibcxx_cv_func_sqrtf_use=yes
42168 else
42169   glibcxx_cv_func_sqrtf_use=no
42170 fi
42171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42172       ac_ext=c
42173 ac_cpp='$CPP $CPPFLAGS'
42174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42177
42178
42179 fi
42180
42181   fi
42182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42183 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42184
42185   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42186     for ac_func in sqrtf
42187 do :
42188   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42189 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42190   cat >>confdefs.h <<_ACEOF
42191 #define HAVE_SQRTF 1
42192 _ACEOF
42193
42194 fi
42195 done
42196
42197   else
42198
42199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42200 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42201   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42202     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42203   $as_echo_n "(cached) " >&6
42204 else
42205
42206
42207       ac_ext=cpp
42208 ac_cpp='$CXXCPP $CPPFLAGS'
42209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42212
42213       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42214 /* end confdefs.h.  */
42215 #include <math.h>
42216                       #ifdef HAVE_IEEEFP_H
42217                       #include <ieeefp.h>
42218                       #endif
42219
42220 int
42221 main ()
42222 {
42223  _sqrtf(0);
42224   ;
42225   return 0;
42226 }
42227 _ACEOF
42228 if ac_fn_cxx_try_compile "$LINENO"; then :
42229   glibcxx_cv_func__sqrtf_use=yes
42230 else
42231   glibcxx_cv_func__sqrtf_use=no
42232 fi
42233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42234       ac_ext=c
42235 ac_cpp='$CPP $CPPFLAGS'
42236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42239
42240
42241 fi
42242
42243   fi
42244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42245 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42246
42247     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42248       for ac_func in _sqrtf
42249 do :
42250   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42251 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42252   cat >>confdefs.h <<_ACEOF
42253 #define HAVE__SQRTF 1
42254 _ACEOF
42255
42256 fi
42257 done
42258
42259     fi
42260   fi
42261
42262
42263
42264
42265
42266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42267 $as_echo_n "checking for sincosf declaration... " >&6; }
42268   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42269     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42270   $as_echo_n "(cached) " >&6
42271 else
42272
42273
42274       ac_ext=cpp
42275 ac_cpp='$CXXCPP $CPPFLAGS'
42276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42279
42280       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42281 /* end confdefs.h.  */
42282 #include <math.h>
42283 int
42284 main ()
42285 {
42286  sincosf(0, 0, 0);
42287   ;
42288   return 0;
42289 }
42290 _ACEOF
42291 if ac_fn_cxx_try_compile "$LINENO"; then :
42292   glibcxx_cv_func_sincosf_use=yes
42293 else
42294   glibcxx_cv_func_sincosf_use=no
42295 fi
42296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42297       ac_ext=c
42298 ac_cpp='$CPP $CPPFLAGS'
42299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42302
42303
42304 fi
42305
42306   fi
42307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42308 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42309
42310   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42311     for ac_func in sincosf
42312 do :
42313   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42314 if test "x$ac_cv_func_sincosf" = x""yes; then :
42315   cat >>confdefs.h <<_ACEOF
42316 #define HAVE_SINCOSF 1
42317 _ACEOF
42318
42319 fi
42320 done
42321
42322   else
42323
42324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42325 $as_echo_n "checking for _sincosf declaration... " >&6; }
42326   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42327     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42328   $as_echo_n "(cached) " >&6
42329 else
42330
42331
42332       ac_ext=cpp
42333 ac_cpp='$CXXCPP $CPPFLAGS'
42334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42337
42338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42339 /* end confdefs.h.  */
42340 #include <math.h>
42341 int
42342 main ()
42343 {
42344  _sincosf(0, 0, 0);
42345   ;
42346   return 0;
42347 }
42348 _ACEOF
42349 if ac_fn_cxx_try_compile "$LINENO"; then :
42350   glibcxx_cv_func__sincosf_use=yes
42351 else
42352   glibcxx_cv_func__sincosf_use=no
42353 fi
42354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42355       ac_ext=c
42356 ac_cpp='$CPP $CPPFLAGS'
42357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42360
42361
42362 fi
42363
42364   fi
42365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42366 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42367
42368     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42369       for ac_func in _sincosf
42370 do :
42371   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42372 if test "x$ac_cv_func__sincosf" = x""yes; then :
42373   cat >>confdefs.h <<_ACEOF
42374 #define HAVE__SINCOSF 1
42375 _ACEOF
42376
42377 fi
42378 done
42379
42380     fi
42381   fi
42382
42383
42384
42385
42386
42387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42388 $as_echo_n "checking for finitef declaration... " >&6; }
42389   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42390     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42391   $as_echo_n "(cached) " >&6
42392 else
42393
42394
42395       ac_ext=cpp
42396 ac_cpp='$CXXCPP $CPPFLAGS'
42397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42400
42401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42402 /* end confdefs.h.  */
42403 #include <math.h>
42404                       #ifdef HAVE_IEEEFP_H
42405                       #include <ieeefp.h>
42406                       #endif
42407
42408 int
42409 main ()
42410 {
42411  finitef(0);
42412   ;
42413   return 0;
42414 }
42415 _ACEOF
42416 if ac_fn_cxx_try_compile "$LINENO"; then :
42417   glibcxx_cv_func_finitef_use=yes
42418 else
42419   glibcxx_cv_func_finitef_use=no
42420 fi
42421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42422       ac_ext=c
42423 ac_cpp='$CPP $CPPFLAGS'
42424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42427
42428
42429 fi
42430
42431   fi
42432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42433 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42434
42435   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42436     for ac_func in finitef
42437 do :
42438   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42439 if test "x$ac_cv_func_finitef" = x""yes; then :
42440   cat >>confdefs.h <<_ACEOF
42441 #define HAVE_FINITEF 1
42442 _ACEOF
42443
42444 fi
42445 done
42446
42447   else
42448
42449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42450 $as_echo_n "checking for _finitef declaration... " >&6; }
42451   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42452     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42453   $as_echo_n "(cached) " >&6
42454 else
42455
42456
42457       ac_ext=cpp
42458 ac_cpp='$CXXCPP $CPPFLAGS'
42459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42462
42463       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42464 /* end confdefs.h.  */
42465 #include <math.h>
42466                       #ifdef HAVE_IEEEFP_H
42467                       #include <ieeefp.h>
42468                       #endif
42469
42470 int
42471 main ()
42472 {
42473  _finitef(0);
42474   ;
42475   return 0;
42476 }
42477 _ACEOF
42478 if ac_fn_cxx_try_compile "$LINENO"; then :
42479   glibcxx_cv_func__finitef_use=yes
42480 else
42481   glibcxx_cv_func__finitef_use=no
42482 fi
42483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42484       ac_ext=c
42485 ac_cpp='$CPP $CPPFLAGS'
42486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42489
42490
42491 fi
42492
42493   fi
42494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42495 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42496
42497     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42498       for ac_func in _finitef
42499 do :
42500   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42501 if test "x$ac_cv_func__finitef" = x""yes; then :
42502   cat >>confdefs.h <<_ACEOF
42503 #define HAVE__FINITEF 1
42504 _ACEOF
42505
42506 fi
42507 done
42508
42509     fi
42510   fi
42511
42512
42513
42514
42515
42516     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42517 $as_echo_n "checking for long double trig functions... " >&6; }
42518   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42519   $as_echo_n "(cached) " >&6
42520 else
42521
42522
42523     ac_ext=cpp
42524 ac_cpp='$CXXCPP $CPPFLAGS'
42525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42528
42529     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42530 /* end confdefs.h.  */
42531 #include <math.h>
42532 int
42533 main ()
42534 {
42535 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42536   ;
42537   return 0;
42538 }
42539 _ACEOF
42540 if ac_fn_cxx_try_compile "$LINENO"; then :
42541   glibcxx_cv_func_long_double_trig_use=yes
42542 else
42543   glibcxx_cv_func_long_double_trig_use=no
42544 fi
42545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42546     ac_ext=c
42547 ac_cpp='$CPP $CPPFLAGS'
42548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42551
42552 fi
42553
42554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42555 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42556   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42557     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42558 do :
42559   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42561 eval as_val=\$$as_ac_var
42562    if test "x$as_val" = x""yes; then :
42563   cat >>confdefs.h <<_ACEOF
42564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42565 _ACEOF
42566
42567 fi
42568 done
42569
42570   else
42571     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42572 $as_echo_n "checking for _long double trig functions... " >&6; }
42573     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42574   $as_echo_n "(cached) " >&6
42575 else
42576
42577
42578       ac_ext=cpp
42579 ac_cpp='$CXXCPP $CPPFLAGS'
42580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42583
42584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42585 /* end confdefs.h.  */
42586 #include <math.h>
42587 int
42588 main ()
42589 {
42590 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42591   ;
42592   return 0;
42593 }
42594 _ACEOF
42595 if ac_fn_cxx_try_compile "$LINENO"; then :
42596   glibcxx_cv_func__long_double_trig_use=yes
42597 else
42598   glibcxx_cv_func__long_double_trig_use=no
42599 fi
42600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42601       ac_ext=c
42602 ac_cpp='$CPP $CPPFLAGS'
42603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42606
42607 fi
42608
42609     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42610 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42611     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42612       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42613 do :
42614   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42616 eval as_val=\$$as_ac_var
42617    if test "x$as_val" = x""yes; then :
42618   cat >>confdefs.h <<_ACEOF
42619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42620 _ACEOF
42621
42622 fi
42623 done
42624
42625     fi
42626   fi
42627
42628
42629
42630
42631
42632     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42633 $as_echo_n "checking for long double round functions... " >&6; }
42634   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42635   $as_echo_n "(cached) " >&6
42636 else
42637
42638
42639     ac_ext=cpp
42640 ac_cpp='$CXXCPP $CPPFLAGS'
42641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42644
42645     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42646 /* end confdefs.h.  */
42647 #include <math.h>
42648 int
42649 main ()
42650 {
42651 ceill (0); floorl (0);
42652   ;
42653   return 0;
42654 }
42655 _ACEOF
42656 if ac_fn_cxx_try_compile "$LINENO"; then :
42657   glibcxx_cv_func_long_double_round_use=yes
42658 else
42659   glibcxx_cv_func_long_double_round_use=no
42660 fi
42661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42662     ac_ext=c
42663 ac_cpp='$CPP $CPPFLAGS'
42664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42667
42668 fi
42669
42670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42671 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42672   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42673     for ac_func in ceill floorl
42674 do :
42675   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42676 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42677 eval as_val=\$$as_ac_var
42678    if test "x$as_val" = x""yes; then :
42679   cat >>confdefs.h <<_ACEOF
42680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42681 _ACEOF
42682
42683 fi
42684 done
42685
42686   else
42687     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42688 $as_echo_n "checking for _long double round functions... " >&6; }
42689     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42690   $as_echo_n "(cached) " >&6
42691 else
42692
42693
42694       ac_ext=cpp
42695 ac_cpp='$CXXCPP $CPPFLAGS'
42696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42699
42700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42701 /* end confdefs.h.  */
42702 #include <math.h>
42703 int
42704 main ()
42705 {
42706 _ceill (0); _floorl (0);
42707   ;
42708   return 0;
42709 }
42710 _ACEOF
42711 if ac_fn_cxx_try_compile "$LINENO"; then :
42712   glibcxx_cv_func__long_double_round_use=yes
42713 else
42714   glibcxx_cv_func__long_double_round_use=no
42715 fi
42716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42717       ac_ext=c
42718 ac_cpp='$CPP $CPPFLAGS'
42719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42722
42723 fi
42724
42725     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42726 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42727     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42728       for ac_func in _ceill _floorl
42729 do :
42730   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42731 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42732 eval as_val=\$$as_ac_var
42733    if test "x$as_val" = x""yes; then :
42734   cat >>confdefs.h <<_ACEOF
42735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42736 _ACEOF
42737
42738 fi
42739 done
42740
42741     fi
42742   fi
42743
42744
42745
42746
42747
42748
42749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42750 $as_echo_n "checking for isnanl declaration... " >&6; }
42751   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42752     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42753   $as_echo_n "(cached) " >&6
42754 else
42755
42756
42757       ac_ext=cpp
42758 ac_cpp='$CXXCPP $CPPFLAGS'
42759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42762
42763       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42764 /* end confdefs.h.  */
42765 #include <math.h>
42766                       #ifdef HAVE_IEEEFP_H
42767                       #include <ieeefp.h>
42768                       #endif
42769
42770 int
42771 main ()
42772 {
42773  isnanl(0);
42774   ;
42775   return 0;
42776 }
42777 _ACEOF
42778 if ac_fn_cxx_try_compile "$LINENO"; then :
42779   glibcxx_cv_func_isnanl_use=yes
42780 else
42781   glibcxx_cv_func_isnanl_use=no
42782 fi
42783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42784       ac_ext=c
42785 ac_cpp='$CPP $CPPFLAGS'
42786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42789
42790
42791 fi
42792
42793   fi
42794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42795 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42796
42797   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42798     for ac_func in isnanl
42799 do :
42800   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42801 if test "x$ac_cv_func_isnanl" = x""yes; then :
42802   cat >>confdefs.h <<_ACEOF
42803 #define HAVE_ISNANL 1
42804 _ACEOF
42805
42806 fi
42807 done
42808
42809   else
42810
42811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42812 $as_echo_n "checking for _isnanl declaration... " >&6; }
42813   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42814     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42815   $as_echo_n "(cached) " >&6
42816 else
42817
42818
42819       ac_ext=cpp
42820 ac_cpp='$CXXCPP $CPPFLAGS'
42821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42824
42825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42826 /* end confdefs.h.  */
42827 #include <math.h>
42828                       #ifdef HAVE_IEEEFP_H
42829                       #include <ieeefp.h>
42830                       #endif
42831
42832 int
42833 main ()
42834 {
42835  _isnanl(0);
42836   ;
42837   return 0;
42838 }
42839 _ACEOF
42840 if ac_fn_cxx_try_compile "$LINENO"; then :
42841   glibcxx_cv_func__isnanl_use=yes
42842 else
42843   glibcxx_cv_func__isnanl_use=no
42844 fi
42845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42846       ac_ext=c
42847 ac_cpp='$CPP $CPPFLAGS'
42848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42851
42852
42853 fi
42854
42855   fi
42856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42857 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42858
42859     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42860       for ac_func in _isnanl
42861 do :
42862   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42863 if test "x$ac_cv_func__isnanl" = x""yes; then :
42864   cat >>confdefs.h <<_ACEOF
42865 #define HAVE__ISNANL 1
42866 _ACEOF
42867
42868 fi
42869 done
42870
42871     fi
42872   fi
42873
42874
42875
42876
42877
42878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42879 $as_echo_n "checking for isinfl declaration... " >&6; }
42880   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42881     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42882   $as_echo_n "(cached) " >&6
42883 else
42884
42885
42886       ac_ext=cpp
42887 ac_cpp='$CXXCPP $CPPFLAGS'
42888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42891
42892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42893 /* end confdefs.h.  */
42894 #include <math.h>
42895                       #ifdef HAVE_IEEEFP_H
42896                       #include <ieeefp.h>
42897                       #endif
42898
42899 int
42900 main ()
42901 {
42902  isinfl(0);
42903   ;
42904   return 0;
42905 }
42906 _ACEOF
42907 if ac_fn_cxx_try_compile "$LINENO"; then :
42908   glibcxx_cv_func_isinfl_use=yes
42909 else
42910   glibcxx_cv_func_isinfl_use=no
42911 fi
42912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42913       ac_ext=c
42914 ac_cpp='$CPP $CPPFLAGS'
42915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42918
42919
42920 fi
42921
42922   fi
42923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42924 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42925
42926   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42927     for ac_func in isinfl
42928 do :
42929   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42930 if test "x$ac_cv_func_isinfl" = x""yes; then :
42931   cat >>confdefs.h <<_ACEOF
42932 #define HAVE_ISINFL 1
42933 _ACEOF
42934
42935 fi
42936 done
42937
42938   else
42939
42940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42941 $as_echo_n "checking for _isinfl declaration... " >&6; }
42942   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42943     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42944   $as_echo_n "(cached) " >&6
42945 else
42946
42947
42948       ac_ext=cpp
42949 ac_cpp='$CXXCPP $CPPFLAGS'
42950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42953
42954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42955 /* end confdefs.h.  */
42956 #include <math.h>
42957                       #ifdef HAVE_IEEEFP_H
42958                       #include <ieeefp.h>
42959                       #endif
42960
42961 int
42962 main ()
42963 {
42964  _isinfl(0);
42965   ;
42966   return 0;
42967 }
42968 _ACEOF
42969 if ac_fn_cxx_try_compile "$LINENO"; then :
42970   glibcxx_cv_func__isinfl_use=yes
42971 else
42972   glibcxx_cv_func__isinfl_use=no
42973 fi
42974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42975       ac_ext=c
42976 ac_cpp='$CPP $CPPFLAGS'
42977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42980
42981
42982 fi
42983
42984   fi
42985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42986 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42987
42988     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42989       for ac_func in _isinfl
42990 do :
42991   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42992 if test "x$ac_cv_func__isinfl" = x""yes; then :
42993   cat >>confdefs.h <<_ACEOF
42994 #define HAVE__ISINFL 1
42995 _ACEOF
42996
42997 fi
42998 done
42999
43000     fi
43001   fi
43002
43003
43004
43005
43006
43007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43008 $as_echo_n "checking for atan2l declaration... " >&6; }
43009   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43010     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43011   $as_echo_n "(cached) " >&6
43012 else
43013
43014
43015       ac_ext=cpp
43016 ac_cpp='$CXXCPP $CPPFLAGS'
43017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43020
43021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43022 /* end confdefs.h.  */
43023 #include <math.h>
43024 int
43025 main ()
43026 {
43027  atan2l(0, 0);
43028   ;
43029   return 0;
43030 }
43031 _ACEOF
43032 if ac_fn_cxx_try_compile "$LINENO"; then :
43033   glibcxx_cv_func_atan2l_use=yes
43034 else
43035   glibcxx_cv_func_atan2l_use=no
43036 fi
43037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43038       ac_ext=c
43039 ac_cpp='$CPP $CPPFLAGS'
43040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43043
43044
43045 fi
43046
43047   fi
43048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43049 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43050
43051   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43052     for ac_func in atan2l
43053 do :
43054   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43055 if test "x$ac_cv_func_atan2l" = x""yes; then :
43056   cat >>confdefs.h <<_ACEOF
43057 #define HAVE_ATAN2L 1
43058 _ACEOF
43059
43060 fi
43061 done
43062
43063   else
43064
43065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43066 $as_echo_n "checking for _atan2l declaration... " >&6; }
43067   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43068     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43069   $as_echo_n "(cached) " >&6
43070 else
43071
43072
43073       ac_ext=cpp
43074 ac_cpp='$CXXCPP $CPPFLAGS'
43075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43078
43079       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43080 /* end confdefs.h.  */
43081 #include <math.h>
43082 int
43083 main ()
43084 {
43085  _atan2l(0, 0);
43086   ;
43087   return 0;
43088 }
43089 _ACEOF
43090 if ac_fn_cxx_try_compile "$LINENO"; then :
43091   glibcxx_cv_func__atan2l_use=yes
43092 else
43093   glibcxx_cv_func__atan2l_use=no
43094 fi
43095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43096       ac_ext=c
43097 ac_cpp='$CPP $CPPFLAGS'
43098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43101
43102
43103 fi
43104
43105   fi
43106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43107 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43108
43109     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43110       for ac_func in _atan2l
43111 do :
43112   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43113 if test "x$ac_cv_func__atan2l" = x""yes; then :
43114   cat >>confdefs.h <<_ACEOF
43115 #define HAVE__ATAN2L 1
43116 _ACEOF
43117
43118 fi
43119 done
43120
43121     fi
43122   fi
43123
43124
43125
43126
43127
43128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43129 $as_echo_n "checking for expl declaration... " >&6; }
43130   if test x${glibcxx_cv_func_expl_use+set} != xset; then
43131     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43132   $as_echo_n "(cached) " >&6
43133 else
43134
43135
43136       ac_ext=cpp
43137 ac_cpp='$CXXCPP $CPPFLAGS'
43138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43141
43142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43143 /* end confdefs.h.  */
43144 #include <math.h>
43145                       #ifdef HAVE_IEEEFP_H
43146                       #include <ieeefp.h>
43147                       #endif
43148
43149 int
43150 main ()
43151 {
43152  expl(0);
43153   ;
43154   return 0;
43155 }
43156 _ACEOF
43157 if ac_fn_cxx_try_compile "$LINENO"; then :
43158   glibcxx_cv_func_expl_use=yes
43159 else
43160   glibcxx_cv_func_expl_use=no
43161 fi
43162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43163       ac_ext=c
43164 ac_cpp='$CPP $CPPFLAGS'
43165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43168
43169
43170 fi
43171
43172   fi
43173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43174 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43175
43176   if test x$glibcxx_cv_func_expl_use = x"yes"; then
43177     for ac_func in expl
43178 do :
43179   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43180 if test "x$ac_cv_func_expl" = x""yes; then :
43181   cat >>confdefs.h <<_ACEOF
43182 #define HAVE_EXPL 1
43183 _ACEOF
43184
43185 fi
43186 done
43187
43188   else
43189
43190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43191 $as_echo_n "checking for _expl declaration... " >&6; }
43192   if test x${glibcxx_cv_func__expl_use+set} != xset; then
43193     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43194   $as_echo_n "(cached) " >&6
43195 else
43196
43197
43198       ac_ext=cpp
43199 ac_cpp='$CXXCPP $CPPFLAGS'
43200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43203
43204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43205 /* end confdefs.h.  */
43206 #include <math.h>
43207                       #ifdef HAVE_IEEEFP_H
43208                       #include <ieeefp.h>
43209                       #endif
43210
43211 int
43212 main ()
43213 {
43214  _expl(0);
43215   ;
43216   return 0;
43217 }
43218 _ACEOF
43219 if ac_fn_cxx_try_compile "$LINENO"; then :
43220   glibcxx_cv_func__expl_use=yes
43221 else
43222   glibcxx_cv_func__expl_use=no
43223 fi
43224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43225       ac_ext=c
43226 ac_cpp='$CPP $CPPFLAGS'
43227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43230
43231
43232 fi
43233
43234   fi
43235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43236 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43237
43238     if test x$glibcxx_cv_func__expl_use = x"yes"; then
43239       for ac_func in _expl
43240 do :
43241   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43242 if test "x$ac_cv_func__expl" = x""yes; then :
43243   cat >>confdefs.h <<_ACEOF
43244 #define HAVE__EXPL 1
43245 _ACEOF
43246
43247 fi
43248 done
43249
43250     fi
43251   fi
43252
43253
43254
43255
43256
43257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43258 $as_echo_n "checking for fabsl declaration... " >&6; }
43259   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43260     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43261   $as_echo_n "(cached) " >&6
43262 else
43263
43264
43265       ac_ext=cpp
43266 ac_cpp='$CXXCPP $CPPFLAGS'
43267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43270
43271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43272 /* end confdefs.h.  */
43273 #include <math.h>
43274                       #ifdef HAVE_IEEEFP_H
43275                       #include <ieeefp.h>
43276                       #endif
43277
43278 int
43279 main ()
43280 {
43281  fabsl(0);
43282   ;
43283   return 0;
43284 }
43285 _ACEOF
43286 if ac_fn_cxx_try_compile "$LINENO"; then :
43287   glibcxx_cv_func_fabsl_use=yes
43288 else
43289   glibcxx_cv_func_fabsl_use=no
43290 fi
43291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43292       ac_ext=c
43293 ac_cpp='$CPP $CPPFLAGS'
43294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43297
43298
43299 fi
43300
43301   fi
43302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43303 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43304
43305   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43306     for ac_func in fabsl
43307 do :
43308   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43309 if test "x$ac_cv_func_fabsl" = x""yes; then :
43310   cat >>confdefs.h <<_ACEOF
43311 #define HAVE_FABSL 1
43312 _ACEOF
43313
43314 fi
43315 done
43316
43317   else
43318
43319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43320 $as_echo_n "checking for _fabsl declaration... " >&6; }
43321   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43322     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43323   $as_echo_n "(cached) " >&6
43324 else
43325
43326
43327       ac_ext=cpp
43328 ac_cpp='$CXXCPP $CPPFLAGS'
43329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43332
43333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43334 /* end confdefs.h.  */
43335 #include <math.h>
43336                       #ifdef HAVE_IEEEFP_H
43337                       #include <ieeefp.h>
43338                       #endif
43339
43340 int
43341 main ()
43342 {
43343  _fabsl(0);
43344   ;
43345   return 0;
43346 }
43347 _ACEOF
43348 if ac_fn_cxx_try_compile "$LINENO"; then :
43349   glibcxx_cv_func__fabsl_use=yes
43350 else
43351   glibcxx_cv_func__fabsl_use=no
43352 fi
43353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43354       ac_ext=c
43355 ac_cpp='$CPP $CPPFLAGS'
43356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43359
43360
43361 fi
43362
43363   fi
43364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43365 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43366
43367     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43368       for ac_func in _fabsl
43369 do :
43370   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43371 if test "x$ac_cv_func__fabsl" = x""yes; then :
43372   cat >>confdefs.h <<_ACEOF
43373 #define HAVE__FABSL 1
43374 _ACEOF
43375
43376 fi
43377 done
43378
43379     fi
43380   fi
43381
43382
43383
43384
43385
43386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43387 $as_echo_n "checking for fmodl declaration... " >&6; }
43388   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43389     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43390   $as_echo_n "(cached) " >&6
43391 else
43392
43393
43394       ac_ext=cpp
43395 ac_cpp='$CXXCPP $CPPFLAGS'
43396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43399
43400       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43401 /* end confdefs.h.  */
43402 #include <math.h>
43403 int
43404 main ()
43405 {
43406  fmodl(0, 0);
43407   ;
43408   return 0;
43409 }
43410 _ACEOF
43411 if ac_fn_cxx_try_compile "$LINENO"; then :
43412   glibcxx_cv_func_fmodl_use=yes
43413 else
43414   glibcxx_cv_func_fmodl_use=no
43415 fi
43416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43417       ac_ext=c
43418 ac_cpp='$CPP $CPPFLAGS'
43419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43422
43423
43424 fi
43425
43426   fi
43427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43428 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43429
43430   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43431     for ac_func in fmodl
43432 do :
43433   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43434 if test "x$ac_cv_func_fmodl" = x""yes; then :
43435   cat >>confdefs.h <<_ACEOF
43436 #define HAVE_FMODL 1
43437 _ACEOF
43438
43439 fi
43440 done
43441
43442   else
43443
43444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43445 $as_echo_n "checking for _fmodl declaration... " >&6; }
43446   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43447     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43448   $as_echo_n "(cached) " >&6
43449 else
43450
43451
43452       ac_ext=cpp
43453 ac_cpp='$CXXCPP $CPPFLAGS'
43454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43457
43458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43459 /* end confdefs.h.  */
43460 #include <math.h>
43461 int
43462 main ()
43463 {
43464  _fmodl(0, 0);
43465   ;
43466   return 0;
43467 }
43468 _ACEOF
43469 if ac_fn_cxx_try_compile "$LINENO"; then :
43470   glibcxx_cv_func__fmodl_use=yes
43471 else
43472   glibcxx_cv_func__fmodl_use=no
43473 fi
43474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43475       ac_ext=c
43476 ac_cpp='$CPP $CPPFLAGS'
43477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43480
43481
43482 fi
43483
43484   fi
43485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43486 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43487
43488     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43489       for ac_func in _fmodl
43490 do :
43491   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43492 if test "x$ac_cv_func__fmodl" = x""yes; then :
43493   cat >>confdefs.h <<_ACEOF
43494 #define HAVE__FMODL 1
43495 _ACEOF
43496
43497 fi
43498 done
43499
43500     fi
43501   fi
43502
43503
43504
43505
43506
43507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43508 $as_echo_n "checking for frexpl declaration... " >&6; }
43509   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43510     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43511   $as_echo_n "(cached) " >&6
43512 else
43513
43514
43515       ac_ext=cpp
43516 ac_cpp='$CXXCPP $CPPFLAGS'
43517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43520
43521       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43522 /* end confdefs.h.  */
43523 #include <math.h>
43524 int
43525 main ()
43526 {
43527  frexpl(0, 0);
43528   ;
43529   return 0;
43530 }
43531 _ACEOF
43532 if ac_fn_cxx_try_compile "$LINENO"; then :
43533   glibcxx_cv_func_frexpl_use=yes
43534 else
43535   glibcxx_cv_func_frexpl_use=no
43536 fi
43537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43538       ac_ext=c
43539 ac_cpp='$CPP $CPPFLAGS'
43540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43543
43544
43545 fi
43546
43547   fi
43548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43549 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43550
43551   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43552     for ac_func in frexpl
43553 do :
43554   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43555 if test "x$ac_cv_func_frexpl" = x""yes; then :
43556   cat >>confdefs.h <<_ACEOF
43557 #define HAVE_FREXPL 1
43558 _ACEOF
43559
43560 fi
43561 done
43562
43563   else
43564
43565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43566 $as_echo_n "checking for _frexpl declaration... " >&6; }
43567   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43568     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43569   $as_echo_n "(cached) " >&6
43570 else
43571
43572
43573       ac_ext=cpp
43574 ac_cpp='$CXXCPP $CPPFLAGS'
43575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43578
43579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43580 /* end confdefs.h.  */
43581 #include <math.h>
43582 int
43583 main ()
43584 {
43585  _frexpl(0, 0);
43586   ;
43587   return 0;
43588 }
43589 _ACEOF
43590 if ac_fn_cxx_try_compile "$LINENO"; then :
43591   glibcxx_cv_func__frexpl_use=yes
43592 else
43593   glibcxx_cv_func__frexpl_use=no
43594 fi
43595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43596       ac_ext=c
43597 ac_cpp='$CPP $CPPFLAGS'
43598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43601
43602
43603 fi
43604
43605   fi
43606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43607 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43608
43609     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43610       for ac_func in _frexpl
43611 do :
43612   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43613 if test "x$ac_cv_func__frexpl" = x""yes; then :
43614   cat >>confdefs.h <<_ACEOF
43615 #define HAVE__FREXPL 1
43616 _ACEOF
43617
43618 fi
43619 done
43620
43621     fi
43622   fi
43623
43624
43625
43626
43627
43628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43629 $as_echo_n "checking for hypotl declaration... " >&6; }
43630   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43631     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43632   $as_echo_n "(cached) " >&6
43633 else
43634
43635
43636       ac_ext=cpp
43637 ac_cpp='$CXXCPP $CPPFLAGS'
43638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43641
43642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43643 /* end confdefs.h.  */
43644 #include <math.h>
43645 int
43646 main ()
43647 {
43648  hypotl(0, 0);
43649   ;
43650   return 0;
43651 }
43652 _ACEOF
43653 if ac_fn_cxx_try_compile "$LINENO"; then :
43654   glibcxx_cv_func_hypotl_use=yes
43655 else
43656   glibcxx_cv_func_hypotl_use=no
43657 fi
43658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43659       ac_ext=c
43660 ac_cpp='$CPP $CPPFLAGS'
43661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43664
43665
43666 fi
43667
43668   fi
43669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43670 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43671
43672   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43673     for ac_func in hypotl
43674 do :
43675   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43676 if test "x$ac_cv_func_hypotl" = x""yes; then :
43677   cat >>confdefs.h <<_ACEOF
43678 #define HAVE_HYPOTL 1
43679 _ACEOF
43680
43681 fi
43682 done
43683
43684   else
43685
43686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43687 $as_echo_n "checking for _hypotl declaration... " >&6; }
43688   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43689     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43690   $as_echo_n "(cached) " >&6
43691 else
43692
43693
43694       ac_ext=cpp
43695 ac_cpp='$CXXCPP $CPPFLAGS'
43696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43699
43700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43701 /* end confdefs.h.  */
43702 #include <math.h>
43703 int
43704 main ()
43705 {
43706  _hypotl(0, 0);
43707   ;
43708   return 0;
43709 }
43710 _ACEOF
43711 if ac_fn_cxx_try_compile "$LINENO"; then :
43712   glibcxx_cv_func__hypotl_use=yes
43713 else
43714   glibcxx_cv_func__hypotl_use=no
43715 fi
43716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43717       ac_ext=c
43718 ac_cpp='$CPP $CPPFLAGS'
43719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43722
43723
43724 fi
43725
43726   fi
43727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43728 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43729
43730     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43731       for ac_func in _hypotl
43732 do :
43733   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43734 if test "x$ac_cv_func__hypotl" = x""yes; then :
43735   cat >>confdefs.h <<_ACEOF
43736 #define HAVE__HYPOTL 1
43737 _ACEOF
43738
43739 fi
43740 done
43741
43742     fi
43743   fi
43744
43745
43746
43747
43748
43749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43750 $as_echo_n "checking for ldexpl declaration... " >&6; }
43751   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43752     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43753   $as_echo_n "(cached) " >&6
43754 else
43755
43756
43757       ac_ext=cpp
43758 ac_cpp='$CXXCPP $CPPFLAGS'
43759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43762
43763       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43764 /* end confdefs.h.  */
43765 #include <math.h>
43766 int
43767 main ()
43768 {
43769  ldexpl(0, 0);
43770   ;
43771   return 0;
43772 }
43773 _ACEOF
43774 if ac_fn_cxx_try_compile "$LINENO"; then :
43775   glibcxx_cv_func_ldexpl_use=yes
43776 else
43777   glibcxx_cv_func_ldexpl_use=no
43778 fi
43779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43780       ac_ext=c
43781 ac_cpp='$CPP $CPPFLAGS'
43782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43785
43786
43787 fi
43788
43789   fi
43790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43791 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43792
43793   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43794     for ac_func in ldexpl
43795 do :
43796   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43797 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43798   cat >>confdefs.h <<_ACEOF
43799 #define HAVE_LDEXPL 1
43800 _ACEOF
43801
43802 fi
43803 done
43804
43805   else
43806
43807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43808 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43809   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43810     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43811   $as_echo_n "(cached) " >&6
43812 else
43813
43814
43815       ac_ext=cpp
43816 ac_cpp='$CXXCPP $CPPFLAGS'
43817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43820
43821       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43822 /* end confdefs.h.  */
43823 #include <math.h>
43824 int
43825 main ()
43826 {
43827  _ldexpl(0, 0);
43828   ;
43829   return 0;
43830 }
43831 _ACEOF
43832 if ac_fn_cxx_try_compile "$LINENO"; then :
43833   glibcxx_cv_func__ldexpl_use=yes
43834 else
43835   glibcxx_cv_func__ldexpl_use=no
43836 fi
43837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43838       ac_ext=c
43839 ac_cpp='$CPP $CPPFLAGS'
43840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43843
43844
43845 fi
43846
43847   fi
43848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43849 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43850
43851     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43852       for ac_func in _ldexpl
43853 do :
43854   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43855 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43856   cat >>confdefs.h <<_ACEOF
43857 #define HAVE__LDEXPL 1
43858 _ACEOF
43859
43860 fi
43861 done
43862
43863     fi
43864   fi
43865
43866
43867
43868
43869
43870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43871 $as_echo_n "checking for logl declaration... " >&6; }
43872   if test x${glibcxx_cv_func_logl_use+set} != xset; then
43873     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43874   $as_echo_n "(cached) " >&6
43875 else
43876
43877
43878       ac_ext=cpp
43879 ac_cpp='$CXXCPP $CPPFLAGS'
43880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43883
43884       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43885 /* end confdefs.h.  */
43886 #include <math.h>
43887                       #ifdef HAVE_IEEEFP_H
43888                       #include <ieeefp.h>
43889                       #endif
43890
43891 int
43892 main ()
43893 {
43894  logl(0);
43895   ;
43896   return 0;
43897 }
43898 _ACEOF
43899 if ac_fn_cxx_try_compile "$LINENO"; then :
43900   glibcxx_cv_func_logl_use=yes
43901 else
43902   glibcxx_cv_func_logl_use=no
43903 fi
43904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43905       ac_ext=c
43906 ac_cpp='$CPP $CPPFLAGS'
43907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43910
43911
43912 fi
43913
43914   fi
43915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43916 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43917
43918   if test x$glibcxx_cv_func_logl_use = x"yes"; then
43919     for ac_func in logl
43920 do :
43921   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43922 if test "x$ac_cv_func_logl" = x""yes; then :
43923   cat >>confdefs.h <<_ACEOF
43924 #define HAVE_LOGL 1
43925 _ACEOF
43926
43927 fi
43928 done
43929
43930   else
43931
43932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43933 $as_echo_n "checking for _logl declaration... " >&6; }
43934   if test x${glibcxx_cv_func__logl_use+set} != xset; then
43935     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43936   $as_echo_n "(cached) " >&6
43937 else
43938
43939
43940       ac_ext=cpp
43941 ac_cpp='$CXXCPP $CPPFLAGS'
43942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43945
43946       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43947 /* end confdefs.h.  */
43948 #include <math.h>
43949                       #ifdef HAVE_IEEEFP_H
43950                       #include <ieeefp.h>
43951                       #endif
43952
43953 int
43954 main ()
43955 {
43956  _logl(0);
43957   ;
43958   return 0;
43959 }
43960 _ACEOF
43961 if ac_fn_cxx_try_compile "$LINENO"; then :
43962   glibcxx_cv_func__logl_use=yes
43963 else
43964   glibcxx_cv_func__logl_use=no
43965 fi
43966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43967       ac_ext=c
43968 ac_cpp='$CPP $CPPFLAGS'
43969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43972
43973
43974 fi
43975
43976   fi
43977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43978 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43979
43980     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43981       for ac_func in _logl
43982 do :
43983   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43984 if test "x$ac_cv_func__logl" = x""yes; then :
43985   cat >>confdefs.h <<_ACEOF
43986 #define HAVE__LOGL 1
43987 _ACEOF
43988
43989 fi
43990 done
43991
43992     fi
43993   fi
43994
43995
43996
43997
43998
43999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44000 $as_echo_n "checking for log10l declaration... " >&6; }
44001   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44002     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44003   $as_echo_n "(cached) " >&6
44004 else
44005
44006
44007       ac_ext=cpp
44008 ac_cpp='$CXXCPP $CPPFLAGS'
44009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44012
44013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44014 /* end confdefs.h.  */
44015 #include <math.h>
44016                       #ifdef HAVE_IEEEFP_H
44017                       #include <ieeefp.h>
44018                       #endif
44019
44020 int
44021 main ()
44022 {
44023  log10l(0);
44024   ;
44025   return 0;
44026 }
44027 _ACEOF
44028 if ac_fn_cxx_try_compile "$LINENO"; then :
44029   glibcxx_cv_func_log10l_use=yes
44030 else
44031   glibcxx_cv_func_log10l_use=no
44032 fi
44033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44034       ac_ext=c
44035 ac_cpp='$CPP $CPPFLAGS'
44036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44039
44040
44041 fi
44042
44043   fi
44044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44045 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44046
44047   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44048     for ac_func in log10l
44049 do :
44050   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44051 if test "x$ac_cv_func_log10l" = x""yes; then :
44052   cat >>confdefs.h <<_ACEOF
44053 #define HAVE_LOG10L 1
44054 _ACEOF
44055
44056 fi
44057 done
44058
44059   else
44060
44061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44062 $as_echo_n "checking for _log10l declaration... " >&6; }
44063   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44064     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44065   $as_echo_n "(cached) " >&6
44066 else
44067
44068
44069       ac_ext=cpp
44070 ac_cpp='$CXXCPP $CPPFLAGS'
44071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44074
44075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44076 /* end confdefs.h.  */
44077 #include <math.h>
44078                       #ifdef HAVE_IEEEFP_H
44079                       #include <ieeefp.h>
44080                       #endif
44081
44082 int
44083 main ()
44084 {
44085  _log10l(0);
44086   ;
44087   return 0;
44088 }
44089 _ACEOF
44090 if ac_fn_cxx_try_compile "$LINENO"; then :
44091   glibcxx_cv_func__log10l_use=yes
44092 else
44093   glibcxx_cv_func__log10l_use=no
44094 fi
44095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44096       ac_ext=c
44097 ac_cpp='$CPP $CPPFLAGS'
44098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44101
44102
44103 fi
44104
44105   fi
44106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44107 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44108
44109     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44110       for ac_func in _log10l
44111 do :
44112   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44113 if test "x$ac_cv_func__log10l" = x""yes; then :
44114   cat >>confdefs.h <<_ACEOF
44115 #define HAVE__LOG10L 1
44116 _ACEOF
44117
44118 fi
44119 done
44120
44121     fi
44122   fi
44123
44124
44125
44126
44127
44128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44129 $as_echo_n "checking for modfl declaration... " >&6; }
44130   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44131     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44132   $as_echo_n "(cached) " >&6
44133 else
44134
44135
44136       ac_ext=cpp
44137 ac_cpp='$CXXCPP $CPPFLAGS'
44138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44141
44142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44143 /* end confdefs.h.  */
44144 #include <math.h>
44145 int
44146 main ()
44147 {
44148  modfl(0, 0);
44149   ;
44150   return 0;
44151 }
44152 _ACEOF
44153 if ac_fn_cxx_try_compile "$LINENO"; then :
44154   glibcxx_cv_func_modfl_use=yes
44155 else
44156   glibcxx_cv_func_modfl_use=no
44157 fi
44158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44159       ac_ext=c
44160 ac_cpp='$CPP $CPPFLAGS'
44161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44164
44165
44166 fi
44167
44168   fi
44169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44170 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44171
44172   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44173     for ac_func in modfl
44174 do :
44175   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44176 if test "x$ac_cv_func_modfl" = x""yes; then :
44177   cat >>confdefs.h <<_ACEOF
44178 #define HAVE_MODFL 1
44179 _ACEOF
44180
44181 fi
44182 done
44183
44184   else
44185
44186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44187 $as_echo_n "checking for _modfl declaration... " >&6; }
44188   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44189     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44190   $as_echo_n "(cached) " >&6
44191 else
44192
44193
44194       ac_ext=cpp
44195 ac_cpp='$CXXCPP $CPPFLAGS'
44196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44199
44200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44201 /* end confdefs.h.  */
44202 #include <math.h>
44203 int
44204 main ()
44205 {
44206  _modfl(0, 0);
44207   ;
44208   return 0;
44209 }
44210 _ACEOF
44211 if ac_fn_cxx_try_compile "$LINENO"; then :
44212   glibcxx_cv_func__modfl_use=yes
44213 else
44214   glibcxx_cv_func__modfl_use=no
44215 fi
44216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44217       ac_ext=c
44218 ac_cpp='$CPP $CPPFLAGS'
44219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44222
44223
44224 fi
44225
44226   fi
44227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44228 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44229
44230     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44231       for ac_func in _modfl
44232 do :
44233   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44234 if test "x$ac_cv_func__modfl" = x""yes; then :
44235   cat >>confdefs.h <<_ACEOF
44236 #define HAVE__MODFL 1
44237 _ACEOF
44238
44239 fi
44240 done
44241
44242     fi
44243   fi
44244
44245
44246
44247
44248
44249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44250 $as_echo_n "checking for powl declaration... " >&6; }
44251   if test x${glibcxx_cv_func_powl_use+set} != xset; then
44252     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44253   $as_echo_n "(cached) " >&6
44254 else
44255
44256
44257       ac_ext=cpp
44258 ac_cpp='$CXXCPP $CPPFLAGS'
44259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44262
44263       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44264 /* end confdefs.h.  */
44265 #include <math.h>
44266 int
44267 main ()
44268 {
44269  powl(0, 0);
44270   ;
44271   return 0;
44272 }
44273 _ACEOF
44274 if ac_fn_cxx_try_compile "$LINENO"; then :
44275   glibcxx_cv_func_powl_use=yes
44276 else
44277   glibcxx_cv_func_powl_use=no
44278 fi
44279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44280       ac_ext=c
44281 ac_cpp='$CPP $CPPFLAGS'
44282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44285
44286
44287 fi
44288
44289   fi
44290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44291 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44292
44293   if test x$glibcxx_cv_func_powl_use = x"yes"; then
44294     for ac_func in powl
44295 do :
44296   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44297 if test "x$ac_cv_func_powl" = x""yes; then :
44298   cat >>confdefs.h <<_ACEOF
44299 #define HAVE_POWL 1
44300 _ACEOF
44301
44302 fi
44303 done
44304
44305   else
44306
44307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44308 $as_echo_n "checking for _powl declaration... " >&6; }
44309   if test x${glibcxx_cv_func__powl_use+set} != xset; then
44310     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44311   $as_echo_n "(cached) " >&6
44312 else
44313
44314
44315       ac_ext=cpp
44316 ac_cpp='$CXXCPP $CPPFLAGS'
44317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44320
44321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44322 /* end confdefs.h.  */
44323 #include <math.h>
44324 int
44325 main ()
44326 {
44327  _powl(0, 0);
44328   ;
44329   return 0;
44330 }
44331 _ACEOF
44332 if ac_fn_cxx_try_compile "$LINENO"; then :
44333   glibcxx_cv_func__powl_use=yes
44334 else
44335   glibcxx_cv_func__powl_use=no
44336 fi
44337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44338       ac_ext=c
44339 ac_cpp='$CPP $CPPFLAGS'
44340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44343
44344
44345 fi
44346
44347   fi
44348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44349 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44350
44351     if test x$glibcxx_cv_func__powl_use = x"yes"; then
44352       for ac_func in _powl
44353 do :
44354   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44355 if test "x$ac_cv_func__powl" = x""yes; then :
44356   cat >>confdefs.h <<_ACEOF
44357 #define HAVE__POWL 1
44358 _ACEOF
44359
44360 fi
44361 done
44362
44363     fi
44364   fi
44365
44366
44367
44368
44369
44370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44371 $as_echo_n "checking for sqrtl declaration... " >&6; }
44372   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44373     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44374   $as_echo_n "(cached) " >&6
44375 else
44376
44377
44378       ac_ext=cpp
44379 ac_cpp='$CXXCPP $CPPFLAGS'
44380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44383
44384       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44385 /* end confdefs.h.  */
44386 #include <math.h>
44387                       #ifdef HAVE_IEEEFP_H
44388                       #include <ieeefp.h>
44389                       #endif
44390
44391 int
44392 main ()
44393 {
44394  sqrtl(0);
44395   ;
44396   return 0;
44397 }
44398 _ACEOF
44399 if ac_fn_cxx_try_compile "$LINENO"; then :
44400   glibcxx_cv_func_sqrtl_use=yes
44401 else
44402   glibcxx_cv_func_sqrtl_use=no
44403 fi
44404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44405       ac_ext=c
44406 ac_cpp='$CPP $CPPFLAGS'
44407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44410
44411
44412 fi
44413
44414   fi
44415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44416 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44417
44418   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44419     for ac_func in sqrtl
44420 do :
44421   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44422 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44423   cat >>confdefs.h <<_ACEOF
44424 #define HAVE_SQRTL 1
44425 _ACEOF
44426
44427 fi
44428 done
44429
44430   else
44431
44432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44433 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44434   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44435     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44436   $as_echo_n "(cached) " >&6
44437 else
44438
44439
44440       ac_ext=cpp
44441 ac_cpp='$CXXCPP $CPPFLAGS'
44442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44445
44446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44447 /* end confdefs.h.  */
44448 #include <math.h>
44449                       #ifdef HAVE_IEEEFP_H
44450                       #include <ieeefp.h>
44451                       #endif
44452
44453 int
44454 main ()
44455 {
44456  _sqrtl(0);
44457   ;
44458   return 0;
44459 }
44460 _ACEOF
44461 if ac_fn_cxx_try_compile "$LINENO"; then :
44462   glibcxx_cv_func__sqrtl_use=yes
44463 else
44464   glibcxx_cv_func__sqrtl_use=no
44465 fi
44466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44467       ac_ext=c
44468 ac_cpp='$CPP $CPPFLAGS'
44469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44472
44473
44474 fi
44475
44476   fi
44477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44478 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44479
44480     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44481       for ac_func in _sqrtl
44482 do :
44483   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44484 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44485   cat >>confdefs.h <<_ACEOF
44486 #define HAVE__SQRTL 1
44487 _ACEOF
44488
44489 fi
44490 done
44491
44492     fi
44493   fi
44494
44495
44496
44497
44498
44499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44500 $as_echo_n "checking for sincosl declaration... " >&6; }
44501   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44502     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44503   $as_echo_n "(cached) " >&6
44504 else
44505
44506
44507       ac_ext=cpp
44508 ac_cpp='$CXXCPP $CPPFLAGS'
44509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44512
44513       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44514 /* end confdefs.h.  */
44515 #include <math.h>
44516 int
44517 main ()
44518 {
44519  sincosl(0, 0, 0);
44520   ;
44521   return 0;
44522 }
44523 _ACEOF
44524 if ac_fn_cxx_try_compile "$LINENO"; then :
44525   glibcxx_cv_func_sincosl_use=yes
44526 else
44527   glibcxx_cv_func_sincosl_use=no
44528 fi
44529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44530       ac_ext=c
44531 ac_cpp='$CPP $CPPFLAGS'
44532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44535
44536
44537 fi
44538
44539   fi
44540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44541 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44542
44543   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44544     for ac_func in sincosl
44545 do :
44546   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44547 if test "x$ac_cv_func_sincosl" = x""yes; then :
44548   cat >>confdefs.h <<_ACEOF
44549 #define HAVE_SINCOSL 1
44550 _ACEOF
44551
44552 fi
44553 done
44554
44555   else
44556
44557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44558 $as_echo_n "checking for _sincosl declaration... " >&6; }
44559   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44560     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44561   $as_echo_n "(cached) " >&6
44562 else
44563
44564
44565       ac_ext=cpp
44566 ac_cpp='$CXXCPP $CPPFLAGS'
44567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44570
44571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44572 /* end confdefs.h.  */
44573 #include <math.h>
44574 int
44575 main ()
44576 {
44577  _sincosl(0, 0, 0);
44578   ;
44579   return 0;
44580 }
44581 _ACEOF
44582 if ac_fn_cxx_try_compile "$LINENO"; then :
44583   glibcxx_cv_func__sincosl_use=yes
44584 else
44585   glibcxx_cv_func__sincosl_use=no
44586 fi
44587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44588       ac_ext=c
44589 ac_cpp='$CPP $CPPFLAGS'
44590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44593
44594
44595 fi
44596
44597   fi
44598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44599 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44600
44601     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44602       for ac_func in _sincosl
44603 do :
44604   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44605 if test "x$ac_cv_func__sincosl" = x""yes; then :
44606   cat >>confdefs.h <<_ACEOF
44607 #define HAVE__SINCOSL 1
44608 _ACEOF
44609
44610 fi
44611 done
44612
44613     fi
44614   fi
44615
44616
44617
44618
44619
44620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44621 $as_echo_n "checking for finitel declaration... " >&6; }
44622   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44623     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44624   $as_echo_n "(cached) " >&6
44625 else
44626
44627
44628       ac_ext=cpp
44629 ac_cpp='$CXXCPP $CPPFLAGS'
44630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44633
44634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44635 /* end confdefs.h.  */
44636 #include <math.h>
44637                       #ifdef HAVE_IEEEFP_H
44638                       #include <ieeefp.h>
44639                       #endif
44640
44641 int
44642 main ()
44643 {
44644  finitel(0);
44645   ;
44646   return 0;
44647 }
44648 _ACEOF
44649 if ac_fn_cxx_try_compile "$LINENO"; then :
44650   glibcxx_cv_func_finitel_use=yes
44651 else
44652   glibcxx_cv_func_finitel_use=no
44653 fi
44654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44655       ac_ext=c
44656 ac_cpp='$CPP $CPPFLAGS'
44657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44660
44661
44662 fi
44663
44664   fi
44665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44666 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44667
44668   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44669     for ac_func in finitel
44670 do :
44671   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44672 if test "x$ac_cv_func_finitel" = x""yes; then :
44673   cat >>confdefs.h <<_ACEOF
44674 #define HAVE_FINITEL 1
44675 _ACEOF
44676
44677 fi
44678 done
44679
44680   else
44681
44682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44683 $as_echo_n "checking for _finitel declaration... " >&6; }
44684   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44685     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44686   $as_echo_n "(cached) " >&6
44687 else
44688
44689
44690       ac_ext=cpp
44691 ac_cpp='$CXXCPP $CPPFLAGS'
44692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44695
44696       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44697 /* end confdefs.h.  */
44698 #include <math.h>
44699                       #ifdef HAVE_IEEEFP_H
44700                       #include <ieeefp.h>
44701                       #endif
44702
44703 int
44704 main ()
44705 {
44706  _finitel(0);
44707   ;
44708   return 0;
44709 }
44710 _ACEOF
44711 if ac_fn_cxx_try_compile "$LINENO"; then :
44712   glibcxx_cv_func__finitel_use=yes
44713 else
44714   glibcxx_cv_func__finitel_use=no
44715 fi
44716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44717       ac_ext=c
44718 ac_cpp='$CPP $CPPFLAGS'
44719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44722
44723
44724 fi
44725
44726   fi
44727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44728 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44729
44730     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44731       for ac_func in _finitel
44732 do :
44733   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44734 if test "x$ac_cv_func__finitel" = x""yes; then :
44735   cat >>confdefs.h <<_ACEOF
44736 #define HAVE__FINITEL 1
44737 _ACEOF
44738
44739 fi
44740 done
44741
44742     fi
44743   fi
44744
44745
44746
44747
44748   LIBS="$ac_save_LIBS"
44749   CXXFLAGS="$ac_save_CXXFLAGS"
44750
44751
44752   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44753   ac_save_CXXFLAGS="$CXXFLAGS"
44754   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44755
44756
44757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44758 $as_echo_n "checking for strtold declaration... " >&6; }
44759   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44760     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44761   $as_echo_n "(cached) " >&6
44762 else
44763
44764
44765       ac_ext=cpp
44766 ac_cpp='$CXXCPP $CPPFLAGS'
44767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44770
44771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44772 /* end confdefs.h.  */
44773 #include <stdlib.h>
44774 int
44775 main ()
44776 {
44777  strtold(0, 0);
44778   ;
44779   return 0;
44780 }
44781 _ACEOF
44782 if ac_fn_cxx_try_compile "$LINENO"; then :
44783   glibcxx_cv_func_strtold_use=yes
44784 else
44785   glibcxx_cv_func_strtold_use=no
44786 fi
44787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44788       ac_ext=c
44789 ac_cpp='$CPP $CPPFLAGS'
44790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44793
44794
44795 fi
44796
44797   fi
44798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44799 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44800   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44801     for ac_func in strtold
44802 do :
44803   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44804 if test "x$ac_cv_func_strtold" = x""yes; then :
44805   cat >>confdefs.h <<_ACEOF
44806 #define HAVE_STRTOLD 1
44807 _ACEOF
44808
44809 fi
44810 done
44811
44812   fi
44813
44814
44815
44816
44817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44818 $as_echo_n "checking for strtof declaration... " >&6; }
44819   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44820     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44821   $as_echo_n "(cached) " >&6
44822 else
44823
44824
44825       ac_ext=cpp
44826 ac_cpp='$CXXCPP $CPPFLAGS'
44827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44830
44831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44832 /* end confdefs.h.  */
44833 #include <stdlib.h>
44834 int
44835 main ()
44836 {
44837  strtof(0, 0);
44838   ;
44839   return 0;
44840 }
44841 _ACEOF
44842 if ac_fn_cxx_try_compile "$LINENO"; then :
44843   glibcxx_cv_func_strtof_use=yes
44844 else
44845   glibcxx_cv_func_strtof_use=no
44846 fi
44847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44848       ac_ext=c
44849 ac_cpp='$CPP $CPPFLAGS'
44850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44853
44854
44855 fi
44856
44857   fi
44858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44859 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44860   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44861     for ac_func in strtof
44862 do :
44863   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44864 if test "x$ac_cv_func_strtof" = x""yes; then :
44865   cat >>confdefs.h <<_ACEOF
44866 #define HAVE_STRTOF 1
44867 _ACEOF
44868
44869 fi
44870 done
44871
44872   fi
44873
44874
44875
44876
44877   CXXFLAGS="$ac_save_CXXFLAGS"
44878
44879     ;;
44880
44881   *djgpp)
44882     # GLIBCXX_CHECK_MATH_SUPPORT
44883     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44884
44885     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44886
44887     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44888
44889     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44890
44891     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44892
44893     ;;
44894
44895   *-freebsd*)
44896     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44897
44898
44899   # If we're not using GNU ld, then there's no point in even trying these
44900   # tests.  Check for that first.  We should have already tested for gld
44901   # by now (in libtool), but require it now just to be safe...
44902   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44903   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44904
44905
44906
44907   # The name set by libtool depends on the version of libtool.  Shame on us
44908   # for depending on an impl detail, but c'est la vie.  Older versions used
44909   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44910   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44911   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44912   # set (hence we're using an older libtool), then set it.
44913   if test x${with_gnu_ld+set} != xset; then
44914     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44915       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44916       with_gnu_ld=no
44917     else
44918       with_gnu_ld=$ac_cv_prog_gnu_ld
44919     fi
44920   fi
44921
44922   # Start by getting the version number.  I think the libtool test already
44923   # does some of this, but throws away the result.
44924   glibcxx_ld_is_gold=no
44925   if test x"$with_gnu_ld" = x"yes"; then
44926     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44927 $as_echo_n "checking for ld version... " >&6; }
44928
44929     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44930       glibcxx_ld_is_gold=yes
44931     fi
44932     ldver=`$LD --version 2>/dev/null |
44933            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'`
44934
44935     glibcxx_gnu_ld_version=`echo $ldver | \
44936            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44937     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44938 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44939   fi
44940
44941   # Set --gc-sections.
44942   glibcxx_have_gc_sections=no
44943   if test "$glibcxx_ld_is_gold" = "yes"; then
44944     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44945       glibcxx_have_gc_sections=yes
44946     fi
44947   else
44948     glibcxx_gcsections_min_ld=21602
44949     if test x"$with_gnu_ld" = x"yes" &&
44950         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44951       glibcxx_have_gc_sections=yes
44952     fi
44953   fi
44954   if test "$glibcxx_have_gc_sections" = "yes"; then
44955     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44956     # NB: This flag only works reliably after 2.16.1. Configure tests
44957     # for this are difficult, so hard wire a value that should work.
44958
44959     ac_test_CFLAGS="${CFLAGS+set}"
44960     ac_save_CFLAGS="$CFLAGS"
44961     CFLAGS='-Wl,--gc-sections'
44962
44963     # Check for -Wl,--gc-sections
44964     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44965 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44966     if test x$gcc_no_link = xyes; then
44967   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44968 fi
44969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44970 /* end confdefs.h.  */
44971  int one(void) { return 1; }
44972      int two(void) { return 2; }
44973
44974 int
44975 main ()
44976 {
44977  two();
44978   ;
44979   return 0;
44980 }
44981 _ACEOF
44982 if ac_fn_c_try_link "$LINENO"; then :
44983   ac_gcsections=yes
44984 else
44985   ac_gcsections=no
44986 fi
44987 rm -f core conftest.err conftest.$ac_objext \
44988     conftest$ac_exeext conftest.$ac_ext
44989     if test "$ac_gcsections" = "yes"; then
44990       rm -f conftest.c
44991       touch conftest.c
44992       if $CC -c conftest.c; then
44993         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44994            grep "Warning: gc-sections option ignored" > /dev/null; then
44995           ac_gcsections=no
44996         fi
44997       fi
44998       rm -f conftest.c conftest.o conftest
44999     fi
45000     if test "$ac_gcsections" = "yes"; then
45001       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45002     fi
45003     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45004 $as_echo "$ac_gcsections" >&6; }
45005
45006     if test "$ac_test_CFLAGS" = set; then
45007       CFLAGS="$ac_save_CFLAGS"
45008     else
45009       # this is the suspicious part
45010       CFLAGS=''
45011     fi
45012   fi
45013
45014   # Set -z,relro.
45015   # Note this is only for shared objects.
45016   ac_ld_relro=no
45017   if test x"$with_gnu_ld" = x"yes"; then
45018     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45019 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45020     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45021     if test -n "$cxx_z_relo"; then
45022       OPT_LDFLAGS="-Wl,-z,relro"
45023       ac_ld_relro=yes
45024     fi
45025     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45026 $as_echo "$ac_ld_relro" >&6; }
45027   fi
45028
45029   # Set linker optimization flags.
45030   if test x"$with_gnu_ld" = x"yes"; then
45031     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45032   fi
45033
45034
45035
45036
45037     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45038
45039     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45040
45041     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45042
45043     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45044
45045     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45046
45047     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45048
45049     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45050
45051     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45052
45053     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45054
45055
45056     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45057
45058     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45059
45060     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45061
45062     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45063
45064     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45065
45066     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45067
45068     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45069
45070     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45071
45072     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45073
45074     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45075
45076     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45077
45078     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45079
45080     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45081
45082     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45083
45084     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45085
45086     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45087
45088     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45089
45090     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45091
45092     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45093
45094     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45095
45096     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45097
45098     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45099
45100     if test x"long_double_math_on_this_cpu" = x"yes"; then
45101       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45102
45103       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45104
45105       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45106
45107     fi
45108     ;;
45109   *-hpux*)
45110     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45111
45112
45113   # If we're not using GNU ld, then there's no point in even trying these
45114   # tests.  Check for that first.  We should have already tested for gld
45115   # by now (in libtool), but require it now just to be safe...
45116   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45117   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45118
45119
45120
45121   # The name set by libtool depends on the version of libtool.  Shame on us
45122   # for depending on an impl detail, but c'est la vie.  Older versions used
45123   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45124   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45125   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45126   # set (hence we're using an older libtool), then set it.
45127   if test x${with_gnu_ld+set} != xset; then
45128     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45129       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45130       with_gnu_ld=no
45131     else
45132       with_gnu_ld=$ac_cv_prog_gnu_ld
45133     fi
45134   fi
45135
45136   # Start by getting the version number.  I think the libtool test already
45137   # does some of this, but throws away the result.
45138   glibcxx_ld_is_gold=no
45139   if test x"$with_gnu_ld" = x"yes"; then
45140     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45141 $as_echo_n "checking for ld version... " >&6; }
45142
45143     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45144       glibcxx_ld_is_gold=yes
45145     fi
45146     ldver=`$LD --version 2>/dev/null |
45147            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'`
45148
45149     glibcxx_gnu_ld_version=`echo $ldver | \
45150            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45151     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45152 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45153   fi
45154
45155   # Set --gc-sections.
45156   glibcxx_have_gc_sections=no
45157   if test "$glibcxx_ld_is_gold" = "yes"; then
45158     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45159       glibcxx_have_gc_sections=yes
45160     fi
45161   else
45162     glibcxx_gcsections_min_ld=21602
45163     if test x"$with_gnu_ld" = x"yes" &&
45164         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45165       glibcxx_have_gc_sections=yes
45166     fi
45167   fi
45168   if test "$glibcxx_have_gc_sections" = "yes"; then
45169     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45170     # NB: This flag only works reliably after 2.16.1. Configure tests
45171     # for this are difficult, so hard wire a value that should work.
45172
45173     ac_test_CFLAGS="${CFLAGS+set}"
45174     ac_save_CFLAGS="$CFLAGS"
45175     CFLAGS='-Wl,--gc-sections'
45176
45177     # Check for -Wl,--gc-sections
45178     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45179 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45180     if test x$gcc_no_link = xyes; then
45181   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45182 fi
45183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45184 /* end confdefs.h.  */
45185  int one(void) { return 1; }
45186      int two(void) { return 2; }
45187
45188 int
45189 main ()
45190 {
45191  two();
45192   ;
45193   return 0;
45194 }
45195 _ACEOF
45196 if ac_fn_c_try_link "$LINENO"; then :
45197   ac_gcsections=yes
45198 else
45199   ac_gcsections=no
45200 fi
45201 rm -f core conftest.err conftest.$ac_objext \
45202     conftest$ac_exeext conftest.$ac_ext
45203     if test "$ac_gcsections" = "yes"; then
45204       rm -f conftest.c
45205       touch conftest.c
45206       if $CC -c conftest.c; then
45207         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45208            grep "Warning: gc-sections option ignored" > /dev/null; then
45209           ac_gcsections=no
45210         fi
45211       fi
45212       rm -f conftest.c conftest.o conftest
45213     fi
45214     if test "$ac_gcsections" = "yes"; then
45215       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45216     fi
45217     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45218 $as_echo "$ac_gcsections" >&6; }
45219
45220     if test "$ac_test_CFLAGS" = set; then
45221       CFLAGS="$ac_save_CFLAGS"
45222     else
45223       # this is the suspicious part
45224       CFLAGS=''
45225     fi
45226   fi
45227
45228   # Set -z,relro.
45229   # Note this is only for shared objects.
45230   ac_ld_relro=no
45231   if test x"$with_gnu_ld" = x"yes"; then
45232     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45233 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45234     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45235     if test -n "$cxx_z_relo"; then
45236       OPT_LDFLAGS="-Wl,-z,relro"
45237       ac_ld_relro=yes
45238     fi
45239     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45240 $as_echo "$ac_ld_relro" >&6; }
45241   fi
45242
45243   # Set linker optimization flags.
45244   if test x"$with_gnu_ld" = x"yes"; then
45245     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45246   fi
45247
45248
45249
45250
45251
45252     # GLIBCXX_CHECK_MATH_SUPPORT
45253     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45254
45255     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45256
45257     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45258
45259     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45260
45261     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45262
45263     $as_echo "#define HAVE_COSF 1" >>confdefs.h
45264
45265     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45266
45267     $as_echo "#define HAVE_SINF 1" >>confdefs.h
45268
45269     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45270
45271     $as_echo "#define HAVE_TANF 1" >>confdefs.h
45272
45273     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45274
45275     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45276
45277     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45278
45279     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45280
45281     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45282
45283     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45284
45285     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45286
45287     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45288
45289     $as_echo "#define HAVE_MODF 1" >>confdefs.h
45290
45291     $as_echo "#define HAVE_POWF 1" >>confdefs.h
45292
45293     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45294
45295
45296     # GLIBCXX_CHECK_STDLIB_SUPPORT
45297     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45298
45299
45300
45301
45302    # Check whether --enable-tls was given.
45303 if test "${enable_tls+set}" = set; then :
45304   enableval=$enable_tls;
45305       case "$enableval" in
45306        yes|no) ;;
45307        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45308       esac
45309
45310 else
45311   enable_tls=yes
45312 fi
45313
45314
45315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45316 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45317 if test "${gcc_cv_have_tls+set}" = set; then :
45318   $as_echo_n "(cached) " >&6
45319 else
45320
45321     if test "$cross_compiling" = yes; then :
45322                 if test x$gcc_no_link = xyes; then
45323   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45324 fi
45325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45326 /* end confdefs.h.  */
45327 __thread int a; int b; int main() { return a = b; }
45328 _ACEOF
45329 if ac_fn_c_try_link "$LINENO"; then :
45330   chktls_save_LDFLAGS="$LDFLAGS"
45331                           case $host in
45332             *-*-linux*)
45333               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45334               ;;
45335           esac
45336           chktls_save_CFLAGS="$CFLAGS"
45337           CFLAGS="-fPIC $CFLAGS"
45338                   if test x$gcc_no_link = xyes; then
45339   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45340 fi
45341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45342 /* end confdefs.h.  */
45343 int f() { return 0; }
45344 _ACEOF
45345 if ac_fn_c_try_link "$LINENO"; then :
45346   if test x$gcc_no_link = xyes; then
45347   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45348 fi
45349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45350 /* end confdefs.h.  */
45351 __thread int a; int b; int f() { return a = b; }
45352 _ACEOF
45353 if ac_fn_c_try_link "$LINENO"; then :
45354   gcc_cv_have_tls=yes
45355 else
45356   gcc_cv_have_tls=no
45357 fi
45358 rm -f core conftest.err conftest.$ac_objext \
45359     conftest$ac_exeext conftest.$ac_ext
45360 else
45361   gcc_cv_have_tls=yes
45362 fi
45363 rm -f core conftest.err conftest.$ac_objext \
45364     conftest$ac_exeext conftest.$ac_ext
45365           CFLAGS="$chktls_save_CFLAGS"
45366           LDFLAGS="$chktls_save_LDFLAGS"
45367 else
45368   gcc_cv_have_tls=no
45369 fi
45370 rm -f core conftest.err conftest.$ac_objext \
45371     conftest$ac_exeext conftest.$ac_ext
45372
45373
45374 else
45375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45376 /* end confdefs.h.  */
45377 __thread int a; int b; int main() { return a = b; }
45378 _ACEOF
45379 if ac_fn_c_try_run "$LINENO"; then :
45380                       chktls_save_LDFLAGS="$LDFLAGS"
45381       LDFLAGS="-static $LDFLAGS"
45382       if test x$gcc_no_link = xyes; then
45383   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45384 fi
45385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45386 /* end confdefs.h.  */
45387 int main() { return 0; }
45388 _ACEOF
45389 if ac_fn_c_try_link "$LINENO"; then :
45390   if test "$cross_compiling" = yes; then :
45391   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45393 as_fn_error "cannot run test program while cross compiling
45394 See \`config.log' for more details." "$LINENO" 5; }
45395 else
45396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45397 /* end confdefs.h.  */
45398 __thread int a; int b; int main() { return a = b; }
45399 _ACEOF
45400 if ac_fn_c_try_run "$LINENO"; then :
45401   gcc_cv_have_tls=yes
45402 else
45403   gcc_cv_have_tls=no
45404 fi
45405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45406   conftest.$ac_objext conftest.beam conftest.$ac_ext
45407 fi
45408
45409 else
45410   gcc_cv_have_tls=yes
45411 fi
45412 rm -f core conftest.err conftest.$ac_objext \
45413     conftest$ac_exeext conftest.$ac_ext
45414       LDFLAGS="$chktls_save_LDFLAGS"
45415       if test $gcc_cv_have_tls = yes; then
45416                                                 chktls_save_CFLAGS="$CFLAGS"
45417         thread_CFLAGS=failed
45418         for flag in '' '-pthread' '-lpthread'; do
45419           CFLAGS="$flag $chktls_save_CFLAGS"
45420           if test x$gcc_no_link = xyes; then
45421   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45422 fi
45423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45424 /* end confdefs.h.  */
45425 #include <pthread.h>
45426                 void *g(void *d) { return NULL; }
45427 int
45428 main ()
45429 {
45430 pthread_t t; pthread_create(&t,NULL,g,NULL);
45431   ;
45432   return 0;
45433 }
45434 _ACEOF
45435 if ac_fn_c_try_link "$LINENO"; then :
45436   thread_CFLAGS="$flag"
45437 fi
45438 rm -f core conftest.err conftest.$ac_objext \
45439     conftest$ac_exeext conftest.$ac_ext
45440           if test "X$thread_CFLAGS" != Xfailed; then
45441             break
45442           fi
45443         done
45444         CFLAGS="$chktls_save_CFLAGS"
45445         if test "X$thread_CFLAGS" != Xfailed; then
45446           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45447                                                   if test "$cross_compiling" = yes; then :
45448   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45450 as_fn_error "cannot run test program while cross compiling
45451 See \`config.log' for more details." "$LINENO" 5; }
45452 else
45453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45454 /* end confdefs.h.  */
45455 #include <pthread.h>
45456                 __thread int a;
45457                 static int *volatile a_in_other_thread;
45458                 static void *
45459                 thread_func (void *arg)
45460                 {
45461                   a_in_other_thread = &a;
45462                   return (void *)0;
45463                 }
45464 int
45465 main ()
45466 {
45467 pthread_t thread;
45468                 void *thread_retval;
45469                 int *volatile a_in_main_thread;
45470                 a_in_main_thread = &a;
45471                 if (pthread_create (&thread, (pthread_attr_t *)0,
45472                                     thread_func, (void *)0))
45473                   return 0;
45474                 if (pthread_join (thread, &thread_retval))
45475                   return 0;
45476                 return (a_in_other_thread == a_in_main_thread);
45477   ;
45478   return 0;
45479 }
45480 _ACEOF
45481 if ac_fn_c_try_run "$LINENO"; then :
45482   gcc_cv_have_tls=yes
45483 else
45484   gcc_cv_have_tls=no
45485 fi
45486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45487   conftest.$ac_objext conftest.beam conftest.$ac_ext
45488 fi
45489
45490           CFLAGS="$chktls_save_CFLAGS"
45491         fi
45492       fi
45493 else
45494   gcc_cv_have_tls=no
45495 fi
45496 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45497   conftest.$ac_objext conftest.beam conftest.$ac_ext
45498 fi
45499
45500 fi
45501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45502 $as_echo "$gcc_cv_have_tls" >&6; }
45503   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45504
45505 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45506
45507   fi
45508     case "$target" in
45509       *-hpux10*)
45510         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45511
45512         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45513
45514         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45515
45516         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45517
45518         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45519
45520         ;;
45521     esac
45522     ;;
45523   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45524
45525   # All these tests are for C++; save the language and the compiler flags.
45526   # The CXXFLAGS thing is suspicious, but based on similar bits previously
45527   # found in GLIBCXX_CONFIGURE.
45528
45529   ac_ext=cpp
45530 ac_cpp='$CXXCPP $CPPFLAGS'
45531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45534
45535   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45536   ac_save_CXXFLAGS="$CXXFLAGS"
45537
45538   # Check for maintainer-mode bits.
45539   if test x"$USE_MAINTAINER_MODE" = xno; then
45540     WERROR=''
45541   else
45542     WERROR='-Werror'
45543   fi
45544
45545   # Check for -ffunction-sections -fdata-sections
45546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45547 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45548   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45550 /* end confdefs.h.  */
45551 int foo; void bar() { };
45552 int
45553 main ()
45554 {
45555
45556   ;
45557   return 0;
45558 }
45559 _ACEOF
45560 if ac_fn_cxx_try_compile "$LINENO"; then :
45561   ac_fdsections=yes
45562 else
45563   ac_fdsections=no
45564 fi
45565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45566   if test "$ac_test_CXXFLAGS" = set; then
45567     CXXFLAGS="$ac_save_CXXFLAGS"
45568   else
45569     # this is the suspicious part
45570     CXXFLAGS=''
45571   fi
45572   if test x"$ac_fdsections" = x"yes"; then
45573     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45574   fi
45575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45576 $as_echo "$ac_fdsections" >&6; }
45577
45578   ac_ext=c
45579 ac_cpp='$CPP $CPPFLAGS'
45580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45583
45584
45585
45586
45587
45588   # If we're not using GNU ld, then there's no point in even trying these
45589   # tests.  Check for that first.  We should have already tested for gld
45590   # by now (in libtool), but require it now just to be safe...
45591   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45592   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45593
45594
45595
45596   # The name set by libtool depends on the version of libtool.  Shame on us
45597   # for depending on an impl detail, but c'est la vie.  Older versions used
45598   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45599   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45600   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45601   # set (hence we're using an older libtool), then set it.
45602   if test x${with_gnu_ld+set} != xset; then
45603     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45604       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45605       with_gnu_ld=no
45606     else
45607       with_gnu_ld=$ac_cv_prog_gnu_ld
45608     fi
45609   fi
45610
45611   # Start by getting the version number.  I think the libtool test already
45612   # does some of this, but throws away the result.
45613   glibcxx_ld_is_gold=no
45614   if test x"$with_gnu_ld" = x"yes"; then
45615     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45616 $as_echo_n "checking for ld version... " >&6; }
45617
45618     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45619       glibcxx_ld_is_gold=yes
45620     fi
45621     ldver=`$LD --version 2>/dev/null |
45622            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'`
45623
45624     glibcxx_gnu_ld_version=`echo $ldver | \
45625            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45626     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45627 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45628   fi
45629
45630   # Set --gc-sections.
45631   glibcxx_have_gc_sections=no
45632   if test "$glibcxx_ld_is_gold" = "yes"; then
45633     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45634       glibcxx_have_gc_sections=yes
45635     fi
45636   else
45637     glibcxx_gcsections_min_ld=21602
45638     if test x"$with_gnu_ld" = x"yes" &&
45639         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45640       glibcxx_have_gc_sections=yes
45641     fi
45642   fi
45643   if test "$glibcxx_have_gc_sections" = "yes"; then
45644     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45645     # NB: This flag only works reliably after 2.16.1. Configure tests
45646     # for this are difficult, so hard wire a value that should work.
45647
45648     ac_test_CFLAGS="${CFLAGS+set}"
45649     ac_save_CFLAGS="$CFLAGS"
45650     CFLAGS='-Wl,--gc-sections'
45651
45652     # Check for -Wl,--gc-sections
45653     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45654 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45655     if test x$gcc_no_link = xyes; then
45656   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45657 fi
45658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45659 /* end confdefs.h.  */
45660  int one(void) { return 1; }
45661      int two(void) { return 2; }
45662
45663 int
45664 main ()
45665 {
45666  two();
45667   ;
45668   return 0;
45669 }
45670 _ACEOF
45671 if ac_fn_c_try_link "$LINENO"; then :
45672   ac_gcsections=yes
45673 else
45674   ac_gcsections=no
45675 fi
45676 rm -f core conftest.err conftest.$ac_objext \
45677     conftest$ac_exeext conftest.$ac_ext
45678     if test "$ac_gcsections" = "yes"; then
45679       rm -f conftest.c
45680       touch conftest.c
45681       if $CC -c conftest.c; then
45682         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45683            grep "Warning: gc-sections option ignored" > /dev/null; then
45684           ac_gcsections=no
45685         fi
45686       fi
45687       rm -f conftest.c conftest.o conftest
45688     fi
45689     if test "$ac_gcsections" = "yes"; then
45690       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45691     fi
45692     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45693 $as_echo "$ac_gcsections" >&6; }
45694
45695     if test "$ac_test_CFLAGS" = set; then
45696       CFLAGS="$ac_save_CFLAGS"
45697     else
45698       # this is the suspicious part
45699       CFLAGS=''
45700     fi
45701   fi
45702
45703   # Set -z,relro.
45704   # Note this is only for shared objects.
45705   ac_ld_relro=no
45706   if test x"$with_gnu_ld" = x"yes"; then
45707     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45708 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45709     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45710     if test -n "$cxx_z_relo"; then
45711       OPT_LDFLAGS="-Wl,-z,relro"
45712       ac_ld_relro=yes
45713     fi
45714     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45715 $as_echo "$ac_ld_relro" >&6; }
45716   fi
45717
45718   # Set linker optimization flags.
45719   if test x"$with_gnu_ld" = x"yes"; then
45720     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45721   fi
45722
45723
45724
45725
45726
45727   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45728   ac_save_CXXFLAGS="$CXXFLAGS"
45729   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45730
45731     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45732 $as_echo_n "checking for sin in -lm... " >&6; }
45733 if test "${ac_cv_lib_m_sin+set}" = set; then :
45734   $as_echo_n "(cached) " >&6
45735 else
45736   ac_check_lib_save_LIBS=$LIBS
45737 LIBS="-lm  $LIBS"
45738 if test x$gcc_no_link = xyes; then
45739   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45740 fi
45741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45742 /* end confdefs.h.  */
45743
45744 /* Override any GCC internal prototype to avoid an error.
45745    Use char because int might match the return type of a GCC
45746    builtin and then its argument prototype would still apply.  */
45747 #ifdef __cplusplus
45748 extern "C"
45749 #endif
45750 char sin ();
45751 int
45752 main ()
45753 {
45754 return sin ();
45755   ;
45756   return 0;
45757 }
45758 _ACEOF
45759 if ac_fn_c_try_link "$LINENO"; then :
45760   ac_cv_lib_m_sin=yes
45761 else
45762   ac_cv_lib_m_sin=no
45763 fi
45764 rm -f core conftest.err conftest.$ac_objext \
45765     conftest$ac_exeext conftest.$ac_ext
45766 LIBS=$ac_check_lib_save_LIBS
45767 fi
45768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45769 $as_echo "$ac_cv_lib_m_sin" >&6; }
45770 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45771   libm="-lm"
45772 fi
45773
45774   ac_save_LIBS="$LIBS"
45775   LIBS="$LIBS $libm"
45776
45777
45778
45779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45780 $as_echo_n "checking for isinf declaration... " >&6; }
45781   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45782     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45783   $as_echo_n "(cached) " >&6
45784 else
45785
45786
45787       ac_ext=cpp
45788 ac_cpp='$CXXCPP $CPPFLAGS'
45789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45792
45793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45794 /* end confdefs.h.  */
45795 #include <math.h>
45796                       #ifdef HAVE_IEEEFP_H
45797                       #include <ieeefp.h>
45798                       #endif
45799
45800 int
45801 main ()
45802 {
45803  isinf(0);
45804   ;
45805   return 0;
45806 }
45807 _ACEOF
45808 if ac_fn_cxx_try_compile "$LINENO"; then :
45809   glibcxx_cv_func_isinf_use=yes
45810 else
45811   glibcxx_cv_func_isinf_use=no
45812 fi
45813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45814       ac_ext=c
45815 ac_cpp='$CPP $CPPFLAGS'
45816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45819
45820
45821 fi
45822
45823   fi
45824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45825 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45826
45827   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45828     for ac_func in isinf
45829 do :
45830   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45831 if test "x$ac_cv_func_isinf" = x""yes; then :
45832   cat >>confdefs.h <<_ACEOF
45833 #define HAVE_ISINF 1
45834 _ACEOF
45835
45836 fi
45837 done
45838
45839   else
45840
45841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45842 $as_echo_n "checking for _isinf declaration... " >&6; }
45843   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45844     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45845   $as_echo_n "(cached) " >&6
45846 else
45847
45848
45849       ac_ext=cpp
45850 ac_cpp='$CXXCPP $CPPFLAGS'
45851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45854
45855       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45856 /* end confdefs.h.  */
45857 #include <math.h>
45858                       #ifdef HAVE_IEEEFP_H
45859                       #include <ieeefp.h>
45860                       #endif
45861
45862 int
45863 main ()
45864 {
45865  _isinf(0);
45866   ;
45867   return 0;
45868 }
45869 _ACEOF
45870 if ac_fn_cxx_try_compile "$LINENO"; then :
45871   glibcxx_cv_func__isinf_use=yes
45872 else
45873   glibcxx_cv_func__isinf_use=no
45874 fi
45875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45876       ac_ext=c
45877 ac_cpp='$CPP $CPPFLAGS'
45878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45881
45882
45883 fi
45884
45885   fi
45886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45887 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45888
45889     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45890       for ac_func in _isinf
45891 do :
45892   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45893 if test "x$ac_cv_func__isinf" = x""yes; then :
45894   cat >>confdefs.h <<_ACEOF
45895 #define HAVE__ISINF 1
45896 _ACEOF
45897
45898 fi
45899 done
45900
45901     fi
45902   fi
45903
45904
45905
45906
45907
45908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45909 $as_echo_n "checking for isnan declaration... " >&6; }
45910   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45911     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45912   $as_echo_n "(cached) " >&6
45913 else
45914
45915
45916       ac_ext=cpp
45917 ac_cpp='$CXXCPP $CPPFLAGS'
45918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45921
45922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45923 /* end confdefs.h.  */
45924 #include <math.h>
45925                       #ifdef HAVE_IEEEFP_H
45926                       #include <ieeefp.h>
45927                       #endif
45928
45929 int
45930 main ()
45931 {
45932  isnan(0);
45933   ;
45934   return 0;
45935 }
45936 _ACEOF
45937 if ac_fn_cxx_try_compile "$LINENO"; then :
45938   glibcxx_cv_func_isnan_use=yes
45939 else
45940   glibcxx_cv_func_isnan_use=no
45941 fi
45942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45943       ac_ext=c
45944 ac_cpp='$CPP $CPPFLAGS'
45945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45948
45949
45950 fi
45951
45952   fi
45953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45954 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45955
45956   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45957     for ac_func in isnan
45958 do :
45959   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45960 if test "x$ac_cv_func_isnan" = x""yes; then :
45961   cat >>confdefs.h <<_ACEOF
45962 #define HAVE_ISNAN 1
45963 _ACEOF
45964
45965 fi
45966 done
45967
45968   else
45969
45970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45971 $as_echo_n "checking for _isnan declaration... " >&6; }
45972   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45973     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45974   $as_echo_n "(cached) " >&6
45975 else
45976
45977
45978       ac_ext=cpp
45979 ac_cpp='$CXXCPP $CPPFLAGS'
45980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45983
45984       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45985 /* end confdefs.h.  */
45986 #include <math.h>
45987                       #ifdef HAVE_IEEEFP_H
45988                       #include <ieeefp.h>
45989                       #endif
45990
45991 int
45992 main ()
45993 {
45994  _isnan(0);
45995   ;
45996   return 0;
45997 }
45998 _ACEOF
45999 if ac_fn_cxx_try_compile "$LINENO"; then :
46000   glibcxx_cv_func__isnan_use=yes
46001 else
46002   glibcxx_cv_func__isnan_use=no
46003 fi
46004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46005       ac_ext=c
46006 ac_cpp='$CPP $CPPFLAGS'
46007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46010
46011
46012 fi
46013
46014   fi
46015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46016 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46017
46018     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46019       for ac_func in _isnan
46020 do :
46021   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46022 if test "x$ac_cv_func__isnan" = x""yes; then :
46023   cat >>confdefs.h <<_ACEOF
46024 #define HAVE__ISNAN 1
46025 _ACEOF
46026
46027 fi
46028 done
46029
46030     fi
46031   fi
46032
46033
46034
46035
46036
46037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46038 $as_echo_n "checking for finite declaration... " >&6; }
46039   if test x${glibcxx_cv_func_finite_use+set} != xset; then
46040     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46041   $as_echo_n "(cached) " >&6
46042 else
46043
46044
46045       ac_ext=cpp
46046 ac_cpp='$CXXCPP $CPPFLAGS'
46047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46050
46051       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46052 /* end confdefs.h.  */
46053 #include <math.h>
46054                       #ifdef HAVE_IEEEFP_H
46055                       #include <ieeefp.h>
46056                       #endif
46057
46058 int
46059 main ()
46060 {
46061  finite(0);
46062   ;
46063   return 0;
46064 }
46065 _ACEOF
46066 if ac_fn_cxx_try_compile "$LINENO"; then :
46067   glibcxx_cv_func_finite_use=yes
46068 else
46069   glibcxx_cv_func_finite_use=no
46070 fi
46071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46072       ac_ext=c
46073 ac_cpp='$CPP $CPPFLAGS'
46074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46077
46078
46079 fi
46080
46081   fi
46082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46083 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46084
46085   if test x$glibcxx_cv_func_finite_use = x"yes"; then
46086     for ac_func in finite
46087 do :
46088   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46089 if test "x$ac_cv_func_finite" = x""yes; then :
46090   cat >>confdefs.h <<_ACEOF
46091 #define HAVE_FINITE 1
46092 _ACEOF
46093
46094 fi
46095 done
46096
46097   else
46098
46099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46100 $as_echo_n "checking for _finite declaration... " >&6; }
46101   if test x${glibcxx_cv_func__finite_use+set} != xset; then
46102     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46103   $as_echo_n "(cached) " >&6
46104 else
46105
46106
46107       ac_ext=cpp
46108 ac_cpp='$CXXCPP $CPPFLAGS'
46109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46112
46113       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46114 /* end confdefs.h.  */
46115 #include <math.h>
46116                       #ifdef HAVE_IEEEFP_H
46117                       #include <ieeefp.h>
46118                       #endif
46119
46120 int
46121 main ()
46122 {
46123  _finite(0);
46124   ;
46125   return 0;
46126 }
46127 _ACEOF
46128 if ac_fn_cxx_try_compile "$LINENO"; then :
46129   glibcxx_cv_func__finite_use=yes
46130 else
46131   glibcxx_cv_func__finite_use=no
46132 fi
46133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46134       ac_ext=c
46135 ac_cpp='$CPP $CPPFLAGS'
46136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46139
46140
46141 fi
46142
46143   fi
46144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46145 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46146
46147     if test x$glibcxx_cv_func__finite_use = x"yes"; then
46148       for ac_func in _finite
46149 do :
46150   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46151 if test "x$ac_cv_func__finite" = x""yes; then :
46152   cat >>confdefs.h <<_ACEOF
46153 #define HAVE__FINITE 1
46154 _ACEOF
46155
46156 fi
46157 done
46158
46159     fi
46160   fi
46161
46162
46163
46164
46165
46166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46167 $as_echo_n "checking for sincos declaration... " >&6; }
46168   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46169     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46170   $as_echo_n "(cached) " >&6
46171 else
46172
46173
46174       ac_ext=cpp
46175 ac_cpp='$CXXCPP $CPPFLAGS'
46176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46179
46180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46181 /* end confdefs.h.  */
46182 #include <math.h>
46183 int
46184 main ()
46185 {
46186  sincos(0, 0, 0);
46187   ;
46188   return 0;
46189 }
46190 _ACEOF
46191 if ac_fn_cxx_try_compile "$LINENO"; then :
46192   glibcxx_cv_func_sincos_use=yes
46193 else
46194   glibcxx_cv_func_sincos_use=no
46195 fi
46196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46197       ac_ext=c
46198 ac_cpp='$CPP $CPPFLAGS'
46199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46202
46203
46204 fi
46205
46206   fi
46207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46208 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46209
46210   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46211     for ac_func in sincos
46212 do :
46213   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46214 if test "x$ac_cv_func_sincos" = x""yes; then :
46215   cat >>confdefs.h <<_ACEOF
46216 #define HAVE_SINCOS 1
46217 _ACEOF
46218
46219 fi
46220 done
46221
46222   else
46223
46224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46225 $as_echo_n "checking for _sincos declaration... " >&6; }
46226   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46227     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46228   $as_echo_n "(cached) " >&6
46229 else
46230
46231
46232       ac_ext=cpp
46233 ac_cpp='$CXXCPP $CPPFLAGS'
46234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46237
46238       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46239 /* end confdefs.h.  */
46240 #include <math.h>
46241 int
46242 main ()
46243 {
46244  _sincos(0, 0, 0);
46245   ;
46246   return 0;
46247 }
46248 _ACEOF
46249 if ac_fn_cxx_try_compile "$LINENO"; then :
46250   glibcxx_cv_func__sincos_use=yes
46251 else
46252   glibcxx_cv_func__sincos_use=no
46253 fi
46254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46255       ac_ext=c
46256 ac_cpp='$CPP $CPPFLAGS'
46257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46260
46261
46262 fi
46263
46264   fi
46265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46266 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46267
46268     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46269       for ac_func in _sincos
46270 do :
46271   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46272 if test "x$ac_cv_func__sincos" = x""yes; then :
46273   cat >>confdefs.h <<_ACEOF
46274 #define HAVE__SINCOS 1
46275 _ACEOF
46276
46277 fi
46278 done
46279
46280     fi
46281   fi
46282
46283
46284
46285
46286
46287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46288 $as_echo_n "checking for fpclass declaration... " >&6; }
46289   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46290     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46291   $as_echo_n "(cached) " >&6
46292 else
46293
46294
46295       ac_ext=cpp
46296 ac_cpp='$CXXCPP $CPPFLAGS'
46297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46300
46301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46302 /* end confdefs.h.  */
46303 #include <math.h>
46304                       #ifdef HAVE_IEEEFP_H
46305                       #include <ieeefp.h>
46306                       #endif
46307
46308 int
46309 main ()
46310 {
46311  fpclass(0);
46312   ;
46313   return 0;
46314 }
46315 _ACEOF
46316 if ac_fn_cxx_try_compile "$LINENO"; then :
46317   glibcxx_cv_func_fpclass_use=yes
46318 else
46319   glibcxx_cv_func_fpclass_use=no
46320 fi
46321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46322       ac_ext=c
46323 ac_cpp='$CPP $CPPFLAGS'
46324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46327
46328
46329 fi
46330
46331   fi
46332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46333 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46334
46335   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46336     for ac_func in fpclass
46337 do :
46338   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46339 if test "x$ac_cv_func_fpclass" = x""yes; then :
46340   cat >>confdefs.h <<_ACEOF
46341 #define HAVE_FPCLASS 1
46342 _ACEOF
46343
46344 fi
46345 done
46346
46347   else
46348
46349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46350 $as_echo_n "checking for _fpclass declaration... " >&6; }
46351   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46352     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46353   $as_echo_n "(cached) " >&6
46354 else
46355
46356
46357       ac_ext=cpp
46358 ac_cpp='$CXXCPP $CPPFLAGS'
46359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46362
46363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46364 /* end confdefs.h.  */
46365 #include <math.h>
46366                       #ifdef HAVE_IEEEFP_H
46367                       #include <ieeefp.h>
46368                       #endif
46369
46370 int
46371 main ()
46372 {
46373  _fpclass(0);
46374   ;
46375   return 0;
46376 }
46377 _ACEOF
46378 if ac_fn_cxx_try_compile "$LINENO"; then :
46379   glibcxx_cv_func__fpclass_use=yes
46380 else
46381   glibcxx_cv_func__fpclass_use=no
46382 fi
46383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46384       ac_ext=c
46385 ac_cpp='$CPP $CPPFLAGS'
46386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46389
46390
46391 fi
46392
46393   fi
46394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46395 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46396
46397     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46398       for ac_func in _fpclass
46399 do :
46400   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46401 if test "x$ac_cv_func__fpclass" = x""yes; then :
46402   cat >>confdefs.h <<_ACEOF
46403 #define HAVE__FPCLASS 1
46404 _ACEOF
46405
46406 fi
46407 done
46408
46409     fi
46410   fi
46411
46412
46413
46414
46415
46416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46417 $as_echo_n "checking for qfpclass declaration... " >&6; }
46418   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46419     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46420   $as_echo_n "(cached) " >&6
46421 else
46422
46423
46424       ac_ext=cpp
46425 ac_cpp='$CXXCPP $CPPFLAGS'
46426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46429
46430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46431 /* end confdefs.h.  */
46432 #include <math.h>
46433                       #ifdef HAVE_IEEEFP_H
46434                       #include <ieeefp.h>
46435                       #endif
46436
46437 int
46438 main ()
46439 {
46440  qfpclass(0);
46441   ;
46442   return 0;
46443 }
46444 _ACEOF
46445 if ac_fn_cxx_try_compile "$LINENO"; then :
46446   glibcxx_cv_func_qfpclass_use=yes
46447 else
46448   glibcxx_cv_func_qfpclass_use=no
46449 fi
46450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46451       ac_ext=c
46452 ac_cpp='$CPP $CPPFLAGS'
46453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46456
46457
46458 fi
46459
46460   fi
46461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46462 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46463
46464   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46465     for ac_func in qfpclass
46466 do :
46467   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46468 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46469   cat >>confdefs.h <<_ACEOF
46470 #define HAVE_QFPCLASS 1
46471 _ACEOF
46472
46473 fi
46474 done
46475
46476   else
46477
46478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46479 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46480   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46481     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46482   $as_echo_n "(cached) " >&6
46483 else
46484
46485
46486       ac_ext=cpp
46487 ac_cpp='$CXXCPP $CPPFLAGS'
46488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46491
46492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46493 /* end confdefs.h.  */
46494 #include <math.h>
46495                       #ifdef HAVE_IEEEFP_H
46496                       #include <ieeefp.h>
46497                       #endif
46498
46499 int
46500 main ()
46501 {
46502  _qfpclass(0);
46503   ;
46504   return 0;
46505 }
46506 _ACEOF
46507 if ac_fn_cxx_try_compile "$LINENO"; then :
46508   glibcxx_cv_func__qfpclass_use=yes
46509 else
46510   glibcxx_cv_func__qfpclass_use=no
46511 fi
46512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46513       ac_ext=c
46514 ac_cpp='$CPP $CPPFLAGS'
46515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46518
46519
46520 fi
46521
46522   fi
46523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46524 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46525
46526     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46527       for ac_func in _qfpclass
46528 do :
46529   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46530 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46531   cat >>confdefs.h <<_ACEOF
46532 #define HAVE__QFPCLASS 1
46533 _ACEOF
46534
46535 fi
46536 done
46537
46538     fi
46539   fi
46540
46541
46542
46543
46544
46545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46546 $as_echo_n "checking for hypot declaration... " >&6; }
46547   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46548     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46549   $as_echo_n "(cached) " >&6
46550 else
46551
46552
46553       ac_ext=cpp
46554 ac_cpp='$CXXCPP $CPPFLAGS'
46555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46558
46559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46560 /* end confdefs.h.  */
46561 #include <math.h>
46562 int
46563 main ()
46564 {
46565  hypot(0, 0);
46566   ;
46567   return 0;
46568 }
46569 _ACEOF
46570 if ac_fn_cxx_try_compile "$LINENO"; then :
46571   glibcxx_cv_func_hypot_use=yes
46572 else
46573   glibcxx_cv_func_hypot_use=no
46574 fi
46575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46576       ac_ext=c
46577 ac_cpp='$CPP $CPPFLAGS'
46578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46581
46582
46583 fi
46584
46585   fi
46586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46587 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46588
46589   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46590     for ac_func in hypot
46591 do :
46592   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46593 if test "x$ac_cv_func_hypot" = x""yes; then :
46594   cat >>confdefs.h <<_ACEOF
46595 #define HAVE_HYPOT 1
46596 _ACEOF
46597
46598 fi
46599 done
46600
46601   else
46602
46603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46604 $as_echo_n "checking for _hypot declaration... " >&6; }
46605   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46606     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46607   $as_echo_n "(cached) " >&6
46608 else
46609
46610
46611       ac_ext=cpp
46612 ac_cpp='$CXXCPP $CPPFLAGS'
46613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46616
46617       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46618 /* end confdefs.h.  */
46619 #include <math.h>
46620 int
46621 main ()
46622 {
46623  _hypot(0, 0);
46624   ;
46625   return 0;
46626 }
46627 _ACEOF
46628 if ac_fn_cxx_try_compile "$LINENO"; then :
46629   glibcxx_cv_func__hypot_use=yes
46630 else
46631   glibcxx_cv_func__hypot_use=no
46632 fi
46633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46634       ac_ext=c
46635 ac_cpp='$CPP $CPPFLAGS'
46636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46639
46640
46641 fi
46642
46643   fi
46644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46645 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46646
46647     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46648       for ac_func in _hypot
46649 do :
46650   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46651 if test "x$ac_cv_func__hypot" = x""yes; then :
46652   cat >>confdefs.h <<_ACEOF
46653 #define HAVE__HYPOT 1
46654 _ACEOF
46655
46656 fi
46657 done
46658
46659     fi
46660   fi
46661
46662
46663
46664
46665
46666     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46667 $as_echo_n "checking for float trig functions... " >&6; }
46668   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46669   $as_echo_n "(cached) " >&6
46670 else
46671
46672
46673     ac_ext=cpp
46674 ac_cpp='$CXXCPP $CPPFLAGS'
46675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46678
46679     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46680 /* end confdefs.h.  */
46681 #include <math.h>
46682 int
46683 main ()
46684 {
46685 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46686   ;
46687   return 0;
46688 }
46689 _ACEOF
46690 if ac_fn_cxx_try_compile "$LINENO"; then :
46691   glibcxx_cv_func_float_trig_use=yes
46692 else
46693   glibcxx_cv_func_float_trig_use=no
46694 fi
46695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46696     ac_ext=c
46697 ac_cpp='$CPP $CPPFLAGS'
46698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46701
46702 fi
46703
46704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46705 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46706   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46707     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46708 do :
46709   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46710 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46711 eval as_val=\$$as_ac_var
46712    if test "x$as_val" = x""yes; then :
46713   cat >>confdefs.h <<_ACEOF
46714 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46715 _ACEOF
46716
46717 fi
46718 done
46719
46720   else
46721     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46722 $as_echo_n "checking for _float trig functions... " >&6; }
46723     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46724   $as_echo_n "(cached) " >&6
46725 else
46726
46727
46728       ac_ext=cpp
46729 ac_cpp='$CXXCPP $CPPFLAGS'
46730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46733
46734       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46735 /* end confdefs.h.  */
46736 #include <math.h>
46737 int
46738 main ()
46739 {
46740 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46741   ;
46742   return 0;
46743 }
46744 _ACEOF
46745 if ac_fn_cxx_try_compile "$LINENO"; then :
46746   glibcxx_cv_func__float_trig_use=yes
46747 else
46748   glibcxx_cv_func__float_trig_use=no
46749 fi
46750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46751       ac_ext=c
46752 ac_cpp='$CPP $CPPFLAGS'
46753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46756
46757 fi
46758
46759     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46760 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46761     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46762       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46763 do :
46764   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46765 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46766 eval as_val=\$$as_ac_var
46767    if test "x$as_val" = x""yes; then :
46768   cat >>confdefs.h <<_ACEOF
46769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46770 _ACEOF
46771
46772 fi
46773 done
46774
46775     fi
46776   fi
46777
46778
46779
46780
46781
46782     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46783 $as_echo_n "checking for float round functions... " >&6; }
46784   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46785   $as_echo_n "(cached) " >&6
46786 else
46787
46788
46789     ac_ext=cpp
46790 ac_cpp='$CXXCPP $CPPFLAGS'
46791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46794
46795     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46796 /* end confdefs.h.  */
46797 #include <math.h>
46798 int
46799 main ()
46800 {
46801 ceilf (0); floorf (0);
46802   ;
46803   return 0;
46804 }
46805 _ACEOF
46806 if ac_fn_cxx_try_compile "$LINENO"; then :
46807   glibcxx_cv_func_float_round_use=yes
46808 else
46809   glibcxx_cv_func_float_round_use=no
46810 fi
46811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46812     ac_ext=c
46813 ac_cpp='$CPP $CPPFLAGS'
46814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46817
46818 fi
46819
46820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46821 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46822   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46823     for ac_func in ceilf floorf
46824 do :
46825   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46826 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46827 eval as_val=\$$as_ac_var
46828    if test "x$as_val" = x""yes; then :
46829   cat >>confdefs.h <<_ACEOF
46830 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46831 _ACEOF
46832
46833 fi
46834 done
46835
46836   else
46837     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46838 $as_echo_n "checking for _float round functions... " >&6; }
46839     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46840   $as_echo_n "(cached) " >&6
46841 else
46842
46843
46844       ac_ext=cpp
46845 ac_cpp='$CXXCPP $CPPFLAGS'
46846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46849
46850       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46851 /* end confdefs.h.  */
46852 #include <math.h>
46853 int
46854 main ()
46855 {
46856 _ceilf (0); _floorf (0);
46857   ;
46858   return 0;
46859 }
46860 _ACEOF
46861 if ac_fn_cxx_try_compile "$LINENO"; then :
46862   glibcxx_cv_func__float_round_use=yes
46863 else
46864   glibcxx_cv_func__float_round_use=no
46865 fi
46866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46867       ac_ext=c
46868 ac_cpp='$CPP $CPPFLAGS'
46869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46872
46873 fi
46874
46875     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46876 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46877     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46878       for ac_func in _ceilf _floorf
46879 do :
46880   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46881 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46882 eval as_val=\$$as_ac_var
46883    if test "x$as_val" = x""yes; then :
46884   cat >>confdefs.h <<_ACEOF
46885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46886 _ACEOF
46887
46888 fi
46889 done
46890
46891     fi
46892   fi
46893
46894
46895
46896
46897
46898
46899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46900 $as_echo_n "checking for expf declaration... " >&6; }
46901   if test x${glibcxx_cv_func_expf_use+set} != xset; then
46902     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46903   $as_echo_n "(cached) " >&6
46904 else
46905
46906
46907       ac_ext=cpp
46908 ac_cpp='$CXXCPP $CPPFLAGS'
46909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46912
46913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46914 /* end confdefs.h.  */
46915 #include <math.h>
46916                       #ifdef HAVE_IEEEFP_H
46917                       #include <ieeefp.h>
46918                       #endif
46919
46920 int
46921 main ()
46922 {
46923  expf(0);
46924   ;
46925   return 0;
46926 }
46927 _ACEOF
46928 if ac_fn_cxx_try_compile "$LINENO"; then :
46929   glibcxx_cv_func_expf_use=yes
46930 else
46931   glibcxx_cv_func_expf_use=no
46932 fi
46933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46934       ac_ext=c
46935 ac_cpp='$CPP $CPPFLAGS'
46936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46939
46940
46941 fi
46942
46943   fi
46944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46945 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46946
46947   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46948     for ac_func in expf
46949 do :
46950   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46951 if test "x$ac_cv_func_expf" = x""yes; then :
46952   cat >>confdefs.h <<_ACEOF
46953 #define HAVE_EXPF 1
46954 _ACEOF
46955
46956 fi
46957 done
46958
46959   else
46960
46961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46962 $as_echo_n "checking for _expf declaration... " >&6; }
46963   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46964     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46965   $as_echo_n "(cached) " >&6
46966 else
46967
46968
46969       ac_ext=cpp
46970 ac_cpp='$CXXCPP $CPPFLAGS'
46971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46974
46975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46976 /* end confdefs.h.  */
46977 #include <math.h>
46978                       #ifdef HAVE_IEEEFP_H
46979                       #include <ieeefp.h>
46980                       #endif
46981
46982 int
46983 main ()
46984 {
46985  _expf(0);
46986   ;
46987   return 0;
46988 }
46989 _ACEOF
46990 if ac_fn_cxx_try_compile "$LINENO"; then :
46991   glibcxx_cv_func__expf_use=yes
46992 else
46993   glibcxx_cv_func__expf_use=no
46994 fi
46995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46996       ac_ext=c
46997 ac_cpp='$CPP $CPPFLAGS'
46998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47001
47002
47003 fi
47004
47005   fi
47006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47007 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47008
47009     if test x$glibcxx_cv_func__expf_use = x"yes"; then
47010       for ac_func in _expf
47011 do :
47012   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47013 if test "x$ac_cv_func__expf" = x""yes; then :
47014   cat >>confdefs.h <<_ACEOF
47015 #define HAVE__EXPF 1
47016 _ACEOF
47017
47018 fi
47019 done
47020
47021     fi
47022   fi
47023
47024
47025
47026
47027
47028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47029 $as_echo_n "checking for isnanf declaration... " >&6; }
47030   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47031     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47032   $as_echo_n "(cached) " >&6
47033 else
47034
47035
47036       ac_ext=cpp
47037 ac_cpp='$CXXCPP $CPPFLAGS'
47038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47041
47042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47043 /* end confdefs.h.  */
47044 #include <math.h>
47045                       #ifdef HAVE_IEEEFP_H
47046                       #include <ieeefp.h>
47047                       #endif
47048
47049 int
47050 main ()
47051 {
47052  isnanf(0);
47053   ;
47054   return 0;
47055 }
47056 _ACEOF
47057 if ac_fn_cxx_try_compile "$LINENO"; then :
47058   glibcxx_cv_func_isnanf_use=yes
47059 else
47060   glibcxx_cv_func_isnanf_use=no
47061 fi
47062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47063       ac_ext=c
47064 ac_cpp='$CPP $CPPFLAGS'
47065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47068
47069
47070 fi
47071
47072   fi
47073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47074 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47075
47076   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47077     for ac_func in isnanf
47078 do :
47079   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47080 if test "x$ac_cv_func_isnanf" = x""yes; then :
47081   cat >>confdefs.h <<_ACEOF
47082 #define HAVE_ISNANF 1
47083 _ACEOF
47084
47085 fi
47086 done
47087
47088   else
47089
47090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47091 $as_echo_n "checking for _isnanf declaration... " >&6; }
47092   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47093     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47094   $as_echo_n "(cached) " >&6
47095 else
47096
47097
47098       ac_ext=cpp
47099 ac_cpp='$CXXCPP $CPPFLAGS'
47100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47103
47104       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47105 /* end confdefs.h.  */
47106 #include <math.h>
47107                       #ifdef HAVE_IEEEFP_H
47108                       #include <ieeefp.h>
47109                       #endif
47110
47111 int
47112 main ()
47113 {
47114  _isnanf(0);
47115   ;
47116   return 0;
47117 }
47118 _ACEOF
47119 if ac_fn_cxx_try_compile "$LINENO"; then :
47120   glibcxx_cv_func__isnanf_use=yes
47121 else
47122   glibcxx_cv_func__isnanf_use=no
47123 fi
47124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47125       ac_ext=c
47126 ac_cpp='$CPP $CPPFLAGS'
47127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47130
47131
47132 fi
47133
47134   fi
47135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47136 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47137
47138     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47139       for ac_func in _isnanf
47140 do :
47141   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47142 if test "x$ac_cv_func__isnanf" = x""yes; then :
47143   cat >>confdefs.h <<_ACEOF
47144 #define HAVE__ISNANF 1
47145 _ACEOF
47146
47147 fi
47148 done
47149
47150     fi
47151   fi
47152
47153
47154
47155
47156
47157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47158 $as_echo_n "checking for isinff declaration... " >&6; }
47159   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47160     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47161   $as_echo_n "(cached) " >&6
47162 else
47163
47164
47165       ac_ext=cpp
47166 ac_cpp='$CXXCPP $CPPFLAGS'
47167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47170
47171       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47172 /* end confdefs.h.  */
47173 #include <math.h>
47174                       #ifdef HAVE_IEEEFP_H
47175                       #include <ieeefp.h>
47176                       #endif
47177
47178 int
47179 main ()
47180 {
47181  isinff(0);
47182   ;
47183   return 0;
47184 }
47185 _ACEOF
47186 if ac_fn_cxx_try_compile "$LINENO"; then :
47187   glibcxx_cv_func_isinff_use=yes
47188 else
47189   glibcxx_cv_func_isinff_use=no
47190 fi
47191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47192       ac_ext=c
47193 ac_cpp='$CPP $CPPFLAGS'
47194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47197
47198
47199 fi
47200
47201   fi
47202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47203 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47204
47205   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47206     for ac_func in isinff
47207 do :
47208   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47209 if test "x$ac_cv_func_isinff" = x""yes; then :
47210   cat >>confdefs.h <<_ACEOF
47211 #define HAVE_ISINFF 1
47212 _ACEOF
47213
47214 fi
47215 done
47216
47217   else
47218
47219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47220 $as_echo_n "checking for _isinff declaration... " >&6; }
47221   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47222     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47223   $as_echo_n "(cached) " >&6
47224 else
47225
47226
47227       ac_ext=cpp
47228 ac_cpp='$CXXCPP $CPPFLAGS'
47229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47232
47233       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47234 /* end confdefs.h.  */
47235 #include <math.h>
47236                       #ifdef HAVE_IEEEFP_H
47237                       #include <ieeefp.h>
47238                       #endif
47239
47240 int
47241 main ()
47242 {
47243  _isinff(0);
47244   ;
47245   return 0;
47246 }
47247 _ACEOF
47248 if ac_fn_cxx_try_compile "$LINENO"; then :
47249   glibcxx_cv_func__isinff_use=yes
47250 else
47251   glibcxx_cv_func__isinff_use=no
47252 fi
47253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47254       ac_ext=c
47255 ac_cpp='$CPP $CPPFLAGS'
47256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47259
47260
47261 fi
47262
47263   fi
47264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47265 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47266
47267     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47268       for ac_func in _isinff
47269 do :
47270   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47271 if test "x$ac_cv_func__isinff" = x""yes; then :
47272   cat >>confdefs.h <<_ACEOF
47273 #define HAVE__ISINFF 1
47274 _ACEOF
47275
47276 fi
47277 done
47278
47279     fi
47280   fi
47281
47282
47283
47284
47285
47286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47287 $as_echo_n "checking for atan2f declaration... " >&6; }
47288   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47289     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47290   $as_echo_n "(cached) " >&6
47291 else
47292
47293
47294       ac_ext=cpp
47295 ac_cpp='$CXXCPP $CPPFLAGS'
47296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47299
47300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47301 /* end confdefs.h.  */
47302 #include <math.h>
47303 int
47304 main ()
47305 {
47306  atan2f(0, 0);
47307   ;
47308   return 0;
47309 }
47310 _ACEOF
47311 if ac_fn_cxx_try_compile "$LINENO"; then :
47312   glibcxx_cv_func_atan2f_use=yes
47313 else
47314   glibcxx_cv_func_atan2f_use=no
47315 fi
47316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47317       ac_ext=c
47318 ac_cpp='$CPP $CPPFLAGS'
47319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47322
47323
47324 fi
47325
47326   fi
47327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47328 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47329
47330   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47331     for ac_func in atan2f
47332 do :
47333   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47334 if test "x$ac_cv_func_atan2f" = x""yes; then :
47335   cat >>confdefs.h <<_ACEOF
47336 #define HAVE_ATAN2F 1
47337 _ACEOF
47338
47339 fi
47340 done
47341
47342   else
47343
47344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47345 $as_echo_n "checking for _atan2f declaration... " >&6; }
47346   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47347     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47348   $as_echo_n "(cached) " >&6
47349 else
47350
47351
47352       ac_ext=cpp
47353 ac_cpp='$CXXCPP $CPPFLAGS'
47354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47357
47358       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47359 /* end confdefs.h.  */
47360 #include <math.h>
47361 int
47362 main ()
47363 {
47364  _atan2f(0, 0);
47365   ;
47366   return 0;
47367 }
47368 _ACEOF
47369 if ac_fn_cxx_try_compile "$LINENO"; then :
47370   glibcxx_cv_func__atan2f_use=yes
47371 else
47372   glibcxx_cv_func__atan2f_use=no
47373 fi
47374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47375       ac_ext=c
47376 ac_cpp='$CPP $CPPFLAGS'
47377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47380
47381
47382 fi
47383
47384   fi
47385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47386 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47387
47388     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47389       for ac_func in _atan2f
47390 do :
47391   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47392 if test "x$ac_cv_func__atan2f" = x""yes; then :
47393   cat >>confdefs.h <<_ACEOF
47394 #define HAVE__ATAN2F 1
47395 _ACEOF
47396
47397 fi
47398 done
47399
47400     fi
47401   fi
47402
47403
47404
47405
47406
47407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47408 $as_echo_n "checking for fabsf declaration... " >&6; }
47409   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47410     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47411   $as_echo_n "(cached) " >&6
47412 else
47413
47414
47415       ac_ext=cpp
47416 ac_cpp='$CXXCPP $CPPFLAGS'
47417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47420
47421       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47422 /* end confdefs.h.  */
47423 #include <math.h>
47424                       #ifdef HAVE_IEEEFP_H
47425                       #include <ieeefp.h>
47426                       #endif
47427
47428 int
47429 main ()
47430 {
47431  fabsf(0);
47432   ;
47433   return 0;
47434 }
47435 _ACEOF
47436 if ac_fn_cxx_try_compile "$LINENO"; then :
47437   glibcxx_cv_func_fabsf_use=yes
47438 else
47439   glibcxx_cv_func_fabsf_use=no
47440 fi
47441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47442       ac_ext=c
47443 ac_cpp='$CPP $CPPFLAGS'
47444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47447
47448
47449 fi
47450
47451   fi
47452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47453 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47454
47455   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47456     for ac_func in fabsf
47457 do :
47458   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47459 if test "x$ac_cv_func_fabsf" = x""yes; then :
47460   cat >>confdefs.h <<_ACEOF
47461 #define HAVE_FABSF 1
47462 _ACEOF
47463
47464 fi
47465 done
47466
47467   else
47468
47469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47470 $as_echo_n "checking for _fabsf declaration... " >&6; }
47471   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47472     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47473   $as_echo_n "(cached) " >&6
47474 else
47475
47476
47477       ac_ext=cpp
47478 ac_cpp='$CXXCPP $CPPFLAGS'
47479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47482
47483       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47484 /* end confdefs.h.  */
47485 #include <math.h>
47486                       #ifdef HAVE_IEEEFP_H
47487                       #include <ieeefp.h>
47488                       #endif
47489
47490 int
47491 main ()
47492 {
47493  _fabsf(0);
47494   ;
47495   return 0;
47496 }
47497 _ACEOF
47498 if ac_fn_cxx_try_compile "$LINENO"; then :
47499   glibcxx_cv_func__fabsf_use=yes
47500 else
47501   glibcxx_cv_func__fabsf_use=no
47502 fi
47503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47504       ac_ext=c
47505 ac_cpp='$CPP $CPPFLAGS'
47506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47509
47510
47511 fi
47512
47513   fi
47514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47515 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47516
47517     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47518       for ac_func in _fabsf
47519 do :
47520   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47521 if test "x$ac_cv_func__fabsf" = x""yes; then :
47522   cat >>confdefs.h <<_ACEOF
47523 #define HAVE__FABSF 1
47524 _ACEOF
47525
47526 fi
47527 done
47528
47529     fi
47530   fi
47531
47532
47533
47534
47535
47536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47537 $as_echo_n "checking for fmodf declaration... " >&6; }
47538   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47539     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47540   $as_echo_n "(cached) " >&6
47541 else
47542
47543
47544       ac_ext=cpp
47545 ac_cpp='$CXXCPP $CPPFLAGS'
47546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47549
47550       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47551 /* end confdefs.h.  */
47552 #include <math.h>
47553 int
47554 main ()
47555 {
47556  fmodf(0, 0);
47557   ;
47558   return 0;
47559 }
47560 _ACEOF
47561 if ac_fn_cxx_try_compile "$LINENO"; then :
47562   glibcxx_cv_func_fmodf_use=yes
47563 else
47564   glibcxx_cv_func_fmodf_use=no
47565 fi
47566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47567       ac_ext=c
47568 ac_cpp='$CPP $CPPFLAGS'
47569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47572
47573
47574 fi
47575
47576   fi
47577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47578 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47579
47580   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47581     for ac_func in fmodf
47582 do :
47583   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47584 if test "x$ac_cv_func_fmodf" = x""yes; then :
47585   cat >>confdefs.h <<_ACEOF
47586 #define HAVE_FMODF 1
47587 _ACEOF
47588
47589 fi
47590 done
47591
47592   else
47593
47594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47595 $as_echo_n "checking for _fmodf declaration... " >&6; }
47596   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47597     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47598   $as_echo_n "(cached) " >&6
47599 else
47600
47601
47602       ac_ext=cpp
47603 ac_cpp='$CXXCPP $CPPFLAGS'
47604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47607
47608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47609 /* end confdefs.h.  */
47610 #include <math.h>
47611 int
47612 main ()
47613 {
47614  _fmodf(0, 0);
47615   ;
47616   return 0;
47617 }
47618 _ACEOF
47619 if ac_fn_cxx_try_compile "$LINENO"; then :
47620   glibcxx_cv_func__fmodf_use=yes
47621 else
47622   glibcxx_cv_func__fmodf_use=no
47623 fi
47624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47625       ac_ext=c
47626 ac_cpp='$CPP $CPPFLAGS'
47627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47630
47631
47632 fi
47633
47634   fi
47635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47636 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47637
47638     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47639       for ac_func in _fmodf
47640 do :
47641   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47642 if test "x$ac_cv_func__fmodf" = x""yes; then :
47643   cat >>confdefs.h <<_ACEOF
47644 #define HAVE__FMODF 1
47645 _ACEOF
47646
47647 fi
47648 done
47649
47650     fi
47651   fi
47652
47653
47654
47655
47656
47657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47658 $as_echo_n "checking for frexpf declaration... " >&6; }
47659   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47660     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47661   $as_echo_n "(cached) " >&6
47662 else
47663
47664
47665       ac_ext=cpp
47666 ac_cpp='$CXXCPP $CPPFLAGS'
47667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47670
47671       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47672 /* end confdefs.h.  */
47673 #include <math.h>
47674 int
47675 main ()
47676 {
47677  frexpf(0, 0);
47678   ;
47679   return 0;
47680 }
47681 _ACEOF
47682 if ac_fn_cxx_try_compile "$LINENO"; then :
47683   glibcxx_cv_func_frexpf_use=yes
47684 else
47685   glibcxx_cv_func_frexpf_use=no
47686 fi
47687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47688       ac_ext=c
47689 ac_cpp='$CPP $CPPFLAGS'
47690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47693
47694
47695 fi
47696
47697   fi
47698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47699 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47700
47701   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47702     for ac_func in frexpf
47703 do :
47704   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47705 if test "x$ac_cv_func_frexpf" = x""yes; then :
47706   cat >>confdefs.h <<_ACEOF
47707 #define HAVE_FREXPF 1
47708 _ACEOF
47709
47710 fi
47711 done
47712
47713   else
47714
47715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47716 $as_echo_n "checking for _frexpf declaration... " >&6; }
47717   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47718     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47719   $as_echo_n "(cached) " >&6
47720 else
47721
47722
47723       ac_ext=cpp
47724 ac_cpp='$CXXCPP $CPPFLAGS'
47725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47728
47729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47730 /* end confdefs.h.  */
47731 #include <math.h>
47732 int
47733 main ()
47734 {
47735  _frexpf(0, 0);
47736   ;
47737   return 0;
47738 }
47739 _ACEOF
47740 if ac_fn_cxx_try_compile "$LINENO"; then :
47741   glibcxx_cv_func__frexpf_use=yes
47742 else
47743   glibcxx_cv_func__frexpf_use=no
47744 fi
47745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47746       ac_ext=c
47747 ac_cpp='$CPP $CPPFLAGS'
47748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47751
47752
47753 fi
47754
47755   fi
47756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47757 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47758
47759     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47760       for ac_func in _frexpf
47761 do :
47762   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47763 if test "x$ac_cv_func__frexpf" = x""yes; then :
47764   cat >>confdefs.h <<_ACEOF
47765 #define HAVE__FREXPF 1
47766 _ACEOF
47767
47768 fi
47769 done
47770
47771     fi
47772   fi
47773
47774
47775
47776
47777
47778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47779 $as_echo_n "checking for hypotf declaration... " >&6; }
47780   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47781     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47782   $as_echo_n "(cached) " >&6
47783 else
47784
47785
47786       ac_ext=cpp
47787 ac_cpp='$CXXCPP $CPPFLAGS'
47788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47791
47792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47793 /* end confdefs.h.  */
47794 #include <math.h>
47795 int
47796 main ()
47797 {
47798  hypotf(0, 0);
47799   ;
47800   return 0;
47801 }
47802 _ACEOF
47803 if ac_fn_cxx_try_compile "$LINENO"; then :
47804   glibcxx_cv_func_hypotf_use=yes
47805 else
47806   glibcxx_cv_func_hypotf_use=no
47807 fi
47808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47809       ac_ext=c
47810 ac_cpp='$CPP $CPPFLAGS'
47811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47814
47815
47816 fi
47817
47818   fi
47819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47820 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47821
47822   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47823     for ac_func in hypotf
47824 do :
47825   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47826 if test "x$ac_cv_func_hypotf" = x""yes; then :
47827   cat >>confdefs.h <<_ACEOF
47828 #define HAVE_HYPOTF 1
47829 _ACEOF
47830
47831 fi
47832 done
47833
47834   else
47835
47836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47837 $as_echo_n "checking for _hypotf declaration... " >&6; }
47838   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47839     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47840   $as_echo_n "(cached) " >&6
47841 else
47842
47843
47844       ac_ext=cpp
47845 ac_cpp='$CXXCPP $CPPFLAGS'
47846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47849
47850       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47851 /* end confdefs.h.  */
47852 #include <math.h>
47853 int
47854 main ()
47855 {
47856  _hypotf(0, 0);
47857   ;
47858   return 0;
47859 }
47860 _ACEOF
47861 if ac_fn_cxx_try_compile "$LINENO"; then :
47862   glibcxx_cv_func__hypotf_use=yes
47863 else
47864   glibcxx_cv_func__hypotf_use=no
47865 fi
47866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47867       ac_ext=c
47868 ac_cpp='$CPP $CPPFLAGS'
47869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47872
47873
47874 fi
47875
47876   fi
47877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47878 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47879
47880     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47881       for ac_func in _hypotf
47882 do :
47883   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47884 if test "x$ac_cv_func__hypotf" = x""yes; then :
47885   cat >>confdefs.h <<_ACEOF
47886 #define HAVE__HYPOTF 1
47887 _ACEOF
47888
47889 fi
47890 done
47891
47892     fi
47893   fi
47894
47895
47896
47897
47898
47899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47900 $as_echo_n "checking for ldexpf declaration... " >&6; }
47901   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47902     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47903   $as_echo_n "(cached) " >&6
47904 else
47905
47906
47907       ac_ext=cpp
47908 ac_cpp='$CXXCPP $CPPFLAGS'
47909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47912
47913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47914 /* end confdefs.h.  */
47915 #include <math.h>
47916 int
47917 main ()
47918 {
47919  ldexpf(0, 0);
47920   ;
47921   return 0;
47922 }
47923 _ACEOF
47924 if ac_fn_cxx_try_compile "$LINENO"; then :
47925   glibcxx_cv_func_ldexpf_use=yes
47926 else
47927   glibcxx_cv_func_ldexpf_use=no
47928 fi
47929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47930       ac_ext=c
47931 ac_cpp='$CPP $CPPFLAGS'
47932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47935
47936
47937 fi
47938
47939   fi
47940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47941 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47942
47943   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47944     for ac_func in ldexpf
47945 do :
47946   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47947 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47948   cat >>confdefs.h <<_ACEOF
47949 #define HAVE_LDEXPF 1
47950 _ACEOF
47951
47952 fi
47953 done
47954
47955   else
47956
47957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47958 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47959   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47960     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47961   $as_echo_n "(cached) " >&6
47962 else
47963
47964
47965       ac_ext=cpp
47966 ac_cpp='$CXXCPP $CPPFLAGS'
47967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47970
47971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47972 /* end confdefs.h.  */
47973 #include <math.h>
47974 int
47975 main ()
47976 {
47977  _ldexpf(0, 0);
47978   ;
47979   return 0;
47980 }
47981 _ACEOF
47982 if ac_fn_cxx_try_compile "$LINENO"; then :
47983   glibcxx_cv_func__ldexpf_use=yes
47984 else
47985   glibcxx_cv_func__ldexpf_use=no
47986 fi
47987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47988       ac_ext=c
47989 ac_cpp='$CPP $CPPFLAGS'
47990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47993
47994
47995 fi
47996
47997   fi
47998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47999 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48000
48001     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48002       for ac_func in _ldexpf
48003 do :
48004   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48005 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48006   cat >>confdefs.h <<_ACEOF
48007 #define HAVE__LDEXPF 1
48008 _ACEOF
48009
48010 fi
48011 done
48012
48013     fi
48014   fi
48015
48016
48017
48018
48019
48020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48021 $as_echo_n "checking for logf declaration... " >&6; }
48022   if test x${glibcxx_cv_func_logf_use+set} != xset; then
48023     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48024   $as_echo_n "(cached) " >&6
48025 else
48026
48027
48028       ac_ext=cpp
48029 ac_cpp='$CXXCPP $CPPFLAGS'
48030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48033
48034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48035 /* end confdefs.h.  */
48036 #include <math.h>
48037                       #ifdef HAVE_IEEEFP_H
48038                       #include <ieeefp.h>
48039                       #endif
48040
48041 int
48042 main ()
48043 {
48044  logf(0);
48045   ;
48046   return 0;
48047 }
48048 _ACEOF
48049 if ac_fn_cxx_try_compile "$LINENO"; then :
48050   glibcxx_cv_func_logf_use=yes
48051 else
48052   glibcxx_cv_func_logf_use=no
48053 fi
48054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48055       ac_ext=c
48056 ac_cpp='$CPP $CPPFLAGS'
48057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48060
48061
48062 fi
48063
48064   fi
48065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48066 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48067
48068   if test x$glibcxx_cv_func_logf_use = x"yes"; then
48069     for ac_func in logf
48070 do :
48071   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48072 if test "x$ac_cv_func_logf" = x""yes; then :
48073   cat >>confdefs.h <<_ACEOF
48074 #define HAVE_LOGF 1
48075 _ACEOF
48076
48077 fi
48078 done
48079
48080   else
48081
48082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48083 $as_echo_n "checking for _logf declaration... " >&6; }
48084   if test x${glibcxx_cv_func__logf_use+set} != xset; then
48085     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48086   $as_echo_n "(cached) " >&6
48087 else
48088
48089
48090       ac_ext=cpp
48091 ac_cpp='$CXXCPP $CPPFLAGS'
48092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48095
48096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48097 /* end confdefs.h.  */
48098 #include <math.h>
48099                       #ifdef HAVE_IEEEFP_H
48100                       #include <ieeefp.h>
48101                       #endif
48102
48103 int
48104 main ()
48105 {
48106  _logf(0);
48107   ;
48108   return 0;
48109 }
48110 _ACEOF
48111 if ac_fn_cxx_try_compile "$LINENO"; then :
48112   glibcxx_cv_func__logf_use=yes
48113 else
48114   glibcxx_cv_func__logf_use=no
48115 fi
48116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48117       ac_ext=c
48118 ac_cpp='$CPP $CPPFLAGS'
48119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48122
48123
48124 fi
48125
48126   fi
48127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48128 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48129
48130     if test x$glibcxx_cv_func__logf_use = x"yes"; then
48131       for ac_func in _logf
48132 do :
48133   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48134 if test "x$ac_cv_func__logf" = x""yes; then :
48135   cat >>confdefs.h <<_ACEOF
48136 #define HAVE__LOGF 1
48137 _ACEOF
48138
48139 fi
48140 done
48141
48142     fi
48143   fi
48144
48145
48146
48147
48148
48149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48150 $as_echo_n "checking for log10f declaration... " >&6; }
48151   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48152     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48153   $as_echo_n "(cached) " >&6
48154 else
48155
48156
48157       ac_ext=cpp
48158 ac_cpp='$CXXCPP $CPPFLAGS'
48159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48162
48163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48164 /* end confdefs.h.  */
48165 #include <math.h>
48166                       #ifdef HAVE_IEEEFP_H
48167                       #include <ieeefp.h>
48168                       #endif
48169
48170 int
48171 main ()
48172 {
48173  log10f(0);
48174   ;
48175   return 0;
48176 }
48177 _ACEOF
48178 if ac_fn_cxx_try_compile "$LINENO"; then :
48179   glibcxx_cv_func_log10f_use=yes
48180 else
48181   glibcxx_cv_func_log10f_use=no
48182 fi
48183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48184       ac_ext=c
48185 ac_cpp='$CPP $CPPFLAGS'
48186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48189
48190
48191 fi
48192
48193   fi
48194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48195 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48196
48197   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48198     for ac_func in log10f
48199 do :
48200   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48201 if test "x$ac_cv_func_log10f" = x""yes; then :
48202   cat >>confdefs.h <<_ACEOF
48203 #define HAVE_LOG10F 1
48204 _ACEOF
48205
48206 fi
48207 done
48208
48209   else
48210
48211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48212 $as_echo_n "checking for _log10f declaration... " >&6; }
48213   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48214     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48215   $as_echo_n "(cached) " >&6
48216 else
48217
48218
48219       ac_ext=cpp
48220 ac_cpp='$CXXCPP $CPPFLAGS'
48221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48224
48225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48226 /* end confdefs.h.  */
48227 #include <math.h>
48228                       #ifdef HAVE_IEEEFP_H
48229                       #include <ieeefp.h>
48230                       #endif
48231
48232 int
48233 main ()
48234 {
48235  _log10f(0);
48236   ;
48237   return 0;
48238 }
48239 _ACEOF
48240 if ac_fn_cxx_try_compile "$LINENO"; then :
48241   glibcxx_cv_func__log10f_use=yes
48242 else
48243   glibcxx_cv_func__log10f_use=no
48244 fi
48245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48246       ac_ext=c
48247 ac_cpp='$CPP $CPPFLAGS'
48248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48251
48252
48253 fi
48254
48255   fi
48256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48257 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48258
48259     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48260       for ac_func in _log10f
48261 do :
48262   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48263 if test "x$ac_cv_func__log10f" = x""yes; then :
48264   cat >>confdefs.h <<_ACEOF
48265 #define HAVE__LOG10F 1
48266 _ACEOF
48267
48268 fi
48269 done
48270
48271     fi
48272   fi
48273
48274
48275
48276
48277
48278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48279 $as_echo_n "checking for modff declaration... " >&6; }
48280   if test x${glibcxx_cv_func_modff_use+set} != xset; then
48281     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48282   $as_echo_n "(cached) " >&6
48283 else
48284
48285
48286       ac_ext=cpp
48287 ac_cpp='$CXXCPP $CPPFLAGS'
48288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48291
48292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48293 /* end confdefs.h.  */
48294 #include <math.h>
48295 int
48296 main ()
48297 {
48298  modff(0, 0);
48299   ;
48300   return 0;
48301 }
48302 _ACEOF
48303 if ac_fn_cxx_try_compile "$LINENO"; then :
48304   glibcxx_cv_func_modff_use=yes
48305 else
48306   glibcxx_cv_func_modff_use=no
48307 fi
48308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48309       ac_ext=c
48310 ac_cpp='$CPP $CPPFLAGS'
48311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48314
48315
48316 fi
48317
48318   fi
48319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48320 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48321
48322   if test x$glibcxx_cv_func_modff_use = x"yes"; then
48323     for ac_func in modff
48324 do :
48325   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48326 if test "x$ac_cv_func_modff" = x""yes; then :
48327   cat >>confdefs.h <<_ACEOF
48328 #define HAVE_MODFF 1
48329 _ACEOF
48330
48331 fi
48332 done
48333
48334   else
48335
48336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48337 $as_echo_n "checking for _modff declaration... " >&6; }
48338   if test x${glibcxx_cv_func__modff_use+set} != xset; then
48339     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48340   $as_echo_n "(cached) " >&6
48341 else
48342
48343
48344       ac_ext=cpp
48345 ac_cpp='$CXXCPP $CPPFLAGS'
48346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48349
48350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48351 /* end confdefs.h.  */
48352 #include <math.h>
48353 int
48354 main ()
48355 {
48356  _modff(0, 0);
48357   ;
48358   return 0;
48359 }
48360 _ACEOF
48361 if ac_fn_cxx_try_compile "$LINENO"; then :
48362   glibcxx_cv_func__modff_use=yes
48363 else
48364   glibcxx_cv_func__modff_use=no
48365 fi
48366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48367       ac_ext=c
48368 ac_cpp='$CPP $CPPFLAGS'
48369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48372
48373
48374 fi
48375
48376   fi
48377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48378 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48379
48380     if test x$glibcxx_cv_func__modff_use = x"yes"; then
48381       for ac_func in _modff
48382 do :
48383   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48384 if test "x$ac_cv_func__modff" = x""yes; then :
48385   cat >>confdefs.h <<_ACEOF
48386 #define HAVE__MODFF 1
48387 _ACEOF
48388
48389 fi
48390 done
48391
48392     fi
48393   fi
48394
48395
48396
48397
48398
48399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48400 $as_echo_n "checking for modf declaration... " >&6; }
48401   if test x${glibcxx_cv_func_modf_use+set} != xset; then
48402     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48403   $as_echo_n "(cached) " >&6
48404 else
48405
48406
48407       ac_ext=cpp
48408 ac_cpp='$CXXCPP $CPPFLAGS'
48409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48412
48413       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48414 /* end confdefs.h.  */
48415 #include <math.h>
48416 int
48417 main ()
48418 {
48419  modf(0, 0);
48420   ;
48421   return 0;
48422 }
48423 _ACEOF
48424 if ac_fn_cxx_try_compile "$LINENO"; then :
48425   glibcxx_cv_func_modf_use=yes
48426 else
48427   glibcxx_cv_func_modf_use=no
48428 fi
48429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48430       ac_ext=c
48431 ac_cpp='$CPP $CPPFLAGS'
48432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48435
48436
48437 fi
48438
48439   fi
48440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48441 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48442
48443   if test x$glibcxx_cv_func_modf_use = x"yes"; then
48444     for ac_func in modf
48445 do :
48446   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48447 if test "x$ac_cv_func_modf" = x""yes; then :
48448   cat >>confdefs.h <<_ACEOF
48449 #define HAVE_MODF 1
48450 _ACEOF
48451
48452 fi
48453 done
48454
48455   else
48456
48457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48458 $as_echo_n "checking for _modf declaration... " >&6; }
48459   if test x${glibcxx_cv_func__modf_use+set} != xset; then
48460     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48461   $as_echo_n "(cached) " >&6
48462 else
48463
48464
48465       ac_ext=cpp
48466 ac_cpp='$CXXCPP $CPPFLAGS'
48467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48470
48471       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48472 /* end confdefs.h.  */
48473 #include <math.h>
48474 int
48475 main ()
48476 {
48477  _modf(0, 0);
48478   ;
48479   return 0;
48480 }
48481 _ACEOF
48482 if ac_fn_cxx_try_compile "$LINENO"; then :
48483   glibcxx_cv_func__modf_use=yes
48484 else
48485   glibcxx_cv_func__modf_use=no
48486 fi
48487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48488       ac_ext=c
48489 ac_cpp='$CPP $CPPFLAGS'
48490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48493
48494
48495 fi
48496
48497   fi
48498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48499 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48500
48501     if test x$glibcxx_cv_func__modf_use = x"yes"; then
48502       for ac_func in _modf
48503 do :
48504   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48505 if test "x$ac_cv_func__modf" = x""yes; then :
48506   cat >>confdefs.h <<_ACEOF
48507 #define HAVE__MODF 1
48508 _ACEOF
48509
48510 fi
48511 done
48512
48513     fi
48514   fi
48515
48516
48517
48518
48519
48520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48521 $as_echo_n "checking for powf declaration... " >&6; }
48522   if test x${glibcxx_cv_func_powf_use+set} != xset; then
48523     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48524   $as_echo_n "(cached) " >&6
48525 else
48526
48527
48528       ac_ext=cpp
48529 ac_cpp='$CXXCPP $CPPFLAGS'
48530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48533
48534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48535 /* end confdefs.h.  */
48536 #include <math.h>
48537 int
48538 main ()
48539 {
48540  powf(0, 0);
48541   ;
48542   return 0;
48543 }
48544 _ACEOF
48545 if ac_fn_cxx_try_compile "$LINENO"; then :
48546   glibcxx_cv_func_powf_use=yes
48547 else
48548   glibcxx_cv_func_powf_use=no
48549 fi
48550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48551       ac_ext=c
48552 ac_cpp='$CPP $CPPFLAGS'
48553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48556
48557
48558 fi
48559
48560   fi
48561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48562 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48563
48564   if test x$glibcxx_cv_func_powf_use = x"yes"; then
48565     for ac_func in powf
48566 do :
48567   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48568 if test "x$ac_cv_func_powf" = x""yes; then :
48569   cat >>confdefs.h <<_ACEOF
48570 #define HAVE_POWF 1
48571 _ACEOF
48572
48573 fi
48574 done
48575
48576   else
48577
48578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48579 $as_echo_n "checking for _powf declaration... " >&6; }
48580   if test x${glibcxx_cv_func__powf_use+set} != xset; then
48581     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48582   $as_echo_n "(cached) " >&6
48583 else
48584
48585
48586       ac_ext=cpp
48587 ac_cpp='$CXXCPP $CPPFLAGS'
48588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48591
48592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48593 /* end confdefs.h.  */
48594 #include <math.h>
48595 int
48596 main ()
48597 {
48598  _powf(0, 0);
48599   ;
48600   return 0;
48601 }
48602 _ACEOF
48603 if ac_fn_cxx_try_compile "$LINENO"; then :
48604   glibcxx_cv_func__powf_use=yes
48605 else
48606   glibcxx_cv_func__powf_use=no
48607 fi
48608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48609       ac_ext=c
48610 ac_cpp='$CPP $CPPFLAGS'
48611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48614
48615
48616 fi
48617
48618   fi
48619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48620 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48621
48622     if test x$glibcxx_cv_func__powf_use = x"yes"; then
48623       for ac_func in _powf
48624 do :
48625   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48626 if test "x$ac_cv_func__powf" = x""yes; then :
48627   cat >>confdefs.h <<_ACEOF
48628 #define HAVE__POWF 1
48629 _ACEOF
48630
48631 fi
48632 done
48633
48634     fi
48635   fi
48636
48637
48638
48639
48640
48641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48642 $as_echo_n "checking for sqrtf declaration... " >&6; }
48643   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48644     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48645   $as_echo_n "(cached) " >&6
48646 else
48647
48648
48649       ac_ext=cpp
48650 ac_cpp='$CXXCPP $CPPFLAGS'
48651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48654
48655       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48656 /* end confdefs.h.  */
48657 #include <math.h>
48658                       #ifdef HAVE_IEEEFP_H
48659                       #include <ieeefp.h>
48660                       #endif
48661
48662 int
48663 main ()
48664 {
48665  sqrtf(0);
48666   ;
48667   return 0;
48668 }
48669 _ACEOF
48670 if ac_fn_cxx_try_compile "$LINENO"; then :
48671   glibcxx_cv_func_sqrtf_use=yes
48672 else
48673   glibcxx_cv_func_sqrtf_use=no
48674 fi
48675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48676       ac_ext=c
48677 ac_cpp='$CPP $CPPFLAGS'
48678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48681
48682
48683 fi
48684
48685   fi
48686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48687 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48688
48689   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48690     for ac_func in sqrtf
48691 do :
48692   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48693 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48694   cat >>confdefs.h <<_ACEOF
48695 #define HAVE_SQRTF 1
48696 _ACEOF
48697
48698 fi
48699 done
48700
48701   else
48702
48703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48704 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48705   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48706     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48707   $as_echo_n "(cached) " >&6
48708 else
48709
48710
48711       ac_ext=cpp
48712 ac_cpp='$CXXCPP $CPPFLAGS'
48713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48716
48717       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48718 /* end confdefs.h.  */
48719 #include <math.h>
48720                       #ifdef HAVE_IEEEFP_H
48721                       #include <ieeefp.h>
48722                       #endif
48723
48724 int
48725 main ()
48726 {
48727  _sqrtf(0);
48728   ;
48729   return 0;
48730 }
48731 _ACEOF
48732 if ac_fn_cxx_try_compile "$LINENO"; then :
48733   glibcxx_cv_func__sqrtf_use=yes
48734 else
48735   glibcxx_cv_func__sqrtf_use=no
48736 fi
48737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48738       ac_ext=c
48739 ac_cpp='$CPP $CPPFLAGS'
48740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48743
48744
48745 fi
48746
48747   fi
48748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48749 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48750
48751     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48752       for ac_func in _sqrtf
48753 do :
48754   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48755 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48756   cat >>confdefs.h <<_ACEOF
48757 #define HAVE__SQRTF 1
48758 _ACEOF
48759
48760 fi
48761 done
48762
48763     fi
48764   fi
48765
48766
48767
48768
48769
48770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48771 $as_echo_n "checking for sincosf declaration... " >&6; }
48772   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48773     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48774   $as_echo_n "(cached) " >&6
48775 else
48776
48777
48778       ac_ext=cpp
48779 ac_cpp='$CXXCPP $CPPFLAGS'
48780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48783
48784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48785 /* end confdefs.h.  */
48786 #include <math.h>
48787 int
48788 main ()
48789 {
48790  sincosf(0, 0, 0);
48791   ;
48792   return 0;
48793 }
48794 _ACEOF
48795 if ac_fn_cxx_try_compile "$LINENO"; then :
48796   glibcxx_cv_func_sincosf_use=yes
48797 else
48798   glibcxx_cv_func_sincosf_use=no
48799 fi
48800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48801       ac_ext=c
48802 ac_cpp='$CPP $CPPFLAGS'
48803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48806
48807
48808 fi
48809
48810   fi
48811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48812 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48813
48814   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48815     for ac_func in sincosf
48816 do :
48817   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48818 if test "x$ac_cv_func_sincosf" = x""yes; then :
48819   cat >>confdefs.h <<_ACEOF
48820 #define HAVE_SINCOSF 1
48821 _ACEOF
48822
48823 fi
48824 done
48825
48826   else
48827
48828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48829 $as_echo_n "checking for _sincosf declaration... " >&6; }
48830   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48831     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48832   $as_echo_n "(cached) " >&6
48833 else
48834
48835
48836       ac_ext=cpp
48837 ac_cpp='$CXXCPP $CPPFLAGS'
48838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48841
48842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48843 /* end confdefs.h.  */
48844 #include <math.h>
48845 int
48846 main ()
48847 {
48848  _sincosf(0, 0, 0);
48849   ;
48850   return 0;
48851 }
48852 _ACEOF
48853 if ac_fn_cxx_try_compile "$LINENO"; then :
48854   glibcxx_cv_func__sincosf_use=yes
48855 else
48856   glibcxx_cv_func__sincosf_use=no
48857 fi
48858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48859       ac_ext=c
48860 ac_cpp='$CPP $CPPFLAGS'
48861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48864
48865
48866 fi
48867
48868   fi
48869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48870 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48871
48872     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48873       for ac_func in _sincosf
48874 do :
48875   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48876 if test "x$ac_cv_func__sincosf" = x""yes; then :
48877   cat >>confdefs.h <<_ACEOF
48878 #define HAVE__SINCOSF 1
48879 _ACEOF
48880
48881 fi
48882 done
48883
48884     fi
48885   fi
48886
48887
48888
48889
48890
48891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48892 $as_echo_n "checking for finitef declaration... " >&6; }
48893   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48894     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48895   $as_echo_n "(cached) " >&6
48896 else
48897
48898
48899       ac_ext=cpp
48900 ac_cpp='$CXXCPP $CPPFLAGS'
48901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48904
48905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48906 /* end confdefs.h.  */
48907 #include <math.h>
48908                       #ifdef HAVE_IEEEFP_H
48909                       #include <ieeefp.h>
48910                       #endif
48911
48912 int
48913 main ()
48914 {
48915  finitef(0);
48916   ;
48917   return 0;
48918 }
48919 _ACEOF
48920 if ac_fn_cxx_try_compile "$LINENO"; then :
48921   glibcxx_cv_func_finitef_use=yes
48922 else
48923   glibcxx_cv_func_finitef_use=no
48924 fi
48925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48926       ac_ext=c
48927 ac_cpp='$CPP $CPPFLAGS'
48928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48931
48932
48933 fi
48934
48935   fi
48936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48937 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48938
48939   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48940     for ac_func in finitef
48941 do :
48942   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48943 if test "x$ac_cv_func_finitef" = x""yes; then :
48944   cat >>confdefs.h <<_ACEOF
48945 #define HAVE_FINITEF 1
48946 _ACEOF
48947
48948 fi
48949 done
48950
48951   else
48952
48953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48954 $as_echo_n "checking for _finitef declaration... " >&6; }
48955   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48956     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48957   $as_echo_n "(cached) " >&6
48958 else
48959
48960
48961       ac_ext=cpp
48962 ac_cpp='$CXXCPP $CPPFLAGS'
48963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48966
48967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48968 /* end confdefs.h.  */
48969 #include <math.h>
48970                       #ifdef HAVE_IEEEFP_H
48971                       #include <ieeefp.h>
48972                       #endif
48973
48974 int
48975 main ()
48976 {
48977  _finitef(0);
48978   ;
48979   return 0;
48980 }
48981 _ACEOF
48982 if ac_fn_cxx_try_compile "$LINENO"; then :
48983   glibcxx_cv_func__finitef_use=yes
48984 else
48985   glibcxx_cv_func__finitef_use=no
48986 fi
48987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48988       ac_ext=c
48989 ac_cpp='$CPP $CPPFLAGS'
48990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48993
48994
48995 fi
48996
48997   fi
48998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48999 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49000
49001     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49002       for ac_func in _finitef
49003 do :
49004   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49005 if test "x$ac_cv_func__finitef" = x""yes; then :
49006   cat >>confdefs.h <<_ACEOF
49007 #define HAVE__FINITEF 1
49008 _ACEOF
49009
49010 fi
49011 done
49012
49013     fi
49014   fi
49015
49016
49017
49018
49019
49020     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49021 $as_echo_n "checking for long double trig functions... " >&6; }
49022   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49023   $as_echo_n "(cached) " >&6
49024 else
49025
49026
49027     ac_ext=cpp
49028 ac_cpp='$CXXCPP $CPPFLAGS'
49029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49032
49033     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49034 /* end confdefs.h.  */
49035 #include <math.h>
49036 int
49037 main ()
49038 {
49039 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49040   ;
49041   return 0;
49042 }
49043 _ACEOF
49044 if ac_fn_cxx_try_compile "$LINENO"; then :
49045   glibcxx_cv_func_long_double_trig_use=yes
49046 else
49047   glibcxx_cv_func_long_double_trig_use=no
49048 fi
49049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49050     ac_ext=c
49051 ac_cpp='$CPP $CPPFLAGS'
49052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49055
49056 fi
49057
49058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49059 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49060   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49061     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49062 do :
49063   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49065 eval as_val=\$$as_ac_var
49066    if test "x$as_val" = x""yes; then :
49067   cat >>confdefs.h <<_ACEOF
49068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49069 _ACEOF
49070
49071 fi
49072 done
49073
49074   else
49075     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49076 $as_echo_n "checking for _long double trig functions... " >&6; }
49077     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49078   $as_echo_n "(cached) " >&6
49079 else
49080
49081
49082       ac_ext=cpp
49083 ac_cpp='$CXXCPP $CPPFLAGS'
49084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49087
49088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49089 /* end confdefs.h.  */
49090 #include <math.h>
49091 int
49092 main ()
49093 {
49094 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49095   ;
49096   return 0;
49097 }
49098 _ACEOF
49099 if ac_fn_cxx_try_compile "$LINENO"; then :
49100   glibcxx_cv_func__long_double_trig_use=yes
49101 else
49102   glibcxx_cv_func__long_double_trig_use=no
49103 fi
49104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49105       ac_ext=c
49106 ac_cpp='$CPP $CPPFLAGS'
49107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49110
49111 fi
49112
49113     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49114 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49115     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49116       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49117 do :
49118   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49120 eval as_val=\$$as_ac_var
49121    if test "x$as_val" = x""yes; then :
49122   cat >>confdefs.h <<_ACEOF
49123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49124 _ACEOF
49125
49126 fi
49127 done
49128
49129     fi
49130   fi
49131
49132
49133
49134
49135
49136     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49137 $as_echo_n "checking for long double round functions... " >&6; }
49138   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49139   $as_echo_n "(cached) " >&6
49140 else
49141
49142
49143     ac_ext=cpp
49144 ac_cpp='$CXXCPP $CPPFLAGS'
49145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49148
49149     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49150 /* end confdefs.h.  */
49151 #include <math.h>
49152 int
49153 main ()
49154 {
49155 ceill (0); floorl (0);
49156   ;
49157   return 0;
49158 }
49159 _ACEOF
49160 if ac_fn_cxx_try_compile "$LINENO"; then :
49161   glibcxx_cv_func_long_double_round_use=yes
49162 else
49163   glibcxx_cv_func_long_double_round_use=no
49164 fi
49165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49166     ac_ext=c
49167 ac_cpp='$CPP $CPPFLAGS'
49168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49171
49172 fi
49173
49174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49175 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49176   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49177     for ac_func in ceill floorl
49178 do :
49179   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49181 eval as_val=\$$as_ac_var
49182    if test "x$as_val" = x""yes; then :
49183   cat >>confdefs.h <<_ACEOF
49184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49185 _ACEOF
49186
49187 fi
49188 done
49189
49190   else
49191     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49192 $as_echo_n "checking for _long double round functions... " >&6; }
49193     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49194   $as_echo_n "(cached) " >&6
49195 else
49196
49197
49198       ac_ext=cpp
49199 ac_cpp='$CXXCPP $CPPFLAGS'
49200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49203
49204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49205 /* end confdefs.h.  */
49206 #include <math.h>
49207 int
49208 main ()
49209 {
49210 _ceill (0); _floorl (0);
49211   ;
49212   return 0;
49213 }
49214 _ACEOF
49215 if ac_fn_cxx_try_compile "$LINENO"; then :
49216   glibcxx_cv_func__long_double_round_use=yes
49217 else
49218   glibcxx_cv_func__long_double_round_use=no
49219 fi
49220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49221       ac_ext=c
49222 ac_cpp='$CPP $CPPFLAGS'
49223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49226
49227 fi
49228
49229     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49230 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49231     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49232       for ac_func in _ceill _floorl
49233 do :
49234   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49236 eval as_val=\$$as_ac_var
49237    if test "x$as_val" = x""yes; then :
49238   cat >>confdefs.h <<_ACEOF
49239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49240 _ACEOF
49241
49242 fi
49243 done
49244
49245     fi
49246   fi
49247
49248
49249
49250
49251
49252
49253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49254 $as_echo_n "checking for isnanl declaration... " >&6; }
49255   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49256     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49257   $as_echo_n "(cached) " >&6
49258 else
49259
49260
49261       ac_ext=cpp
49262 ac_cpp='$CXXCPP $CPPFLAGS'
49263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49266
49267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49268 /* end confdefs.h.  */
49269 #include <math.h>
49270                       #ifdef HAVE_IEEEFP_H
49271                       #include <ieeefp.h>
49272                       #endif
49273
49274 int
49275 main ()
49276 {
49277  isnanl(0);
49278   ;
49279   return 0;
49280 }
49281 _ACEOF
49282 if ac_fn_cxx_try_compile "$LINENO"; then :
49283   glibcxx_cv_func_isnanl_use=yes
49284 else
49285   glibcxx_cv_func_isnanl_use=no
49286 fi
49287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49288       ac_ext=c
49289 ac_cpp='$CPP $CPPFLAGS'
49290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49293
49294
49295 fi
49296
49297   fi
49298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49299 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49300
49301   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49302     for ac_func in isnanl
49303 do :
49304   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49305 if test "x$ac_cv_func_isnanl" = x""yes; then :
49306   cat >>confdefs.h <<_ACEOF
49307 #define HAVE_ISNANL 1
49308 _ACEOF
49309
49310 fi
49311 done
49312
49313   else
49314
49315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49316 $as_echo_n "checking for _isnanl declaration... " >&6; }
49317   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49318     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49319   $as_echo_n "(cached) " >&6
49320 else
49321
49322
49323       ac_ext=cpp
49324 ac_cpp='$CXXCPP $CPPFLAGS'
49325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49328
49329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49330 /* end confdefs.h.  */
49331 #include <math.h>
49332                       #ifdef HAVE_IEEEFP_H
49333                       #include <ieeefp.h>
49334                       #endif
49335
49336 int
49337 main ()
49338 {
49339  _isnanl(0);
49340   ;
49341   return 0;
49342 }
49343 _ACEOF
49344 if ac_fn_cxx_try_compile "$LINENO"; then :
49345   glibcxx_cv_func__isnanl_use=yes
49346 else
49347   glibcxx_cv_func__isnanl_use=no
49348 fi
49349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49350       ac_ext=c
49351 ac_cpp='$CPP $CPPFLAGS'
49352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49355
49356
49357 fi
49358
49359   fi
49360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49361 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49362
49363     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49364       for ac_func in _isnanl
49365 do :
49366   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49367 if test "x$ac_cv_func__isnanl" = x""yes; then :
49368   cat >>confdefs.h <<_ACEOF
49369 #define HAVE__ISNANL 1
49370 _ACEOF
49371
49372 fi
49373 done
49374
49375     fi
49376   fi
49377
49378
49379
49380
49381
49382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49383 $as_echo_n "checking for isinfl declaration... " >&6; }
49384   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49385     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49386   $as_echo_n "(cached) " >&6
49387 else
49388
49389
49390       ac_ext=cpp
49391 ac_cpp='$CXXCPP $CPPFLAGS'
49392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49395
49396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49397 /* end confdefs.h.  */
49398 #include <math.h>
49399                       #ifdef HAVE_IEEEFP_H
49400                       #include <ieeefp.h>
49401                       #endif
49402
49403 int
49404 main ()
49405 {
49406  isinfl(0);
49407   ;
49408   return 0;
49409 }
49410 _ACEOF
49411 if ac_fn_cxx_try_compile "$LINENO"; then :
49412   glibcxx_cv_func_isinfl_use=yes
49413 else
49414   glibcxx_cv_func_isinfl_use=no
49415 fi
49416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49417       ac_ext=c
49418 ac_cpp='$CPP $CPPFLAGS'
49419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49422
49423
49424 fi
49425
49426   fi
49427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49428 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49429
49430   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49431     for ac_func in isinfl
49432 do :
49433   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49434 if test "x$ac_cv_func_isinfl" = x""yes; then :
49435   cat >>confdefs.h <<_ACEOF
49436 #define HAVE_ISINFL 1
49437 _ACEOF
49438
49439 fi
49440 done
49441
49442   else
49443
49444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49445 $as_echo_n "checking for _isinfl declaration... " >&6; }
49446   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49447     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49448   $as_echo_n "(cached) " >&6
49449 else
49450
49451
49452       ac_ext=cpp
49453 ac_cpp='$CXXCPP $CPPFLAGS'
49454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49457
49458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49459 /* end confdefs.h.  */
49460 #include <math.h>
49461                       #ifdef HAVE_IEEEFP_H
49462                       #include <ieeefp.h>
49463                       #endif
49464
49465 int
49466 main ()
49467 {
49468  _isinfl(0);
49469   ;
49470   return 0;
49471 }
49472 _ACEOF
49473 if ac_fn_cxx_try_compile "$LINENO"; then :
49474   glibcxx_cv_func__isinfl_use=yes
49475 else
49476   glibcxx_cv_func__isinfl_use=no
49477 fi
49478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49479       ac_ext=c
49480 ac_cpp='$CPP $CPPFLAGS'
49481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49484
49485
49486 fi
49487
49488   fi
49489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49490 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49491
49492     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49493       for ac_func in _isinfl
49494 do :
49495   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49496 if test "x$ac_cv_func__isinfl" = x""yes; then :
49497   cat >>confdefs.h <<_ACEOF
49498 #define HAVE__ISINFL 1
49499 _ACEOF
49500
49501 fi
49502 done
49503
49504     fi
49505   fi
49506
49507
49508
49509
49510
49511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49512 $as_echo_n "checking for atan2l declaration... " >&6; }
49513   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49514     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49515   $as_echo_n "(cached) " >&6
49516 else
49517
49518
49519       ac_ext=cpp
49520 ac_cpp='$CXXCPP $CPPFLAGS'
49521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49524
49525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49526 /* end confdefs.h.  */
49527 #include <math.h>
49528 int
49529 main ()
49530 {
49531  atan2l(0, 0);
49532   ;
49533   return 0;
49534 }
49535 _ACEOF
49536 if ac_fn_cxx_try_compile "$LINENO"; then :
49537   glibcxx_cv_func_atan2l_use=yes
49538 else
49539   glibcxx_cv_func_atan2l_use=no
49540 fi
49541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49542       ac_ext=c
49543 ac_cpp='$CPP $CPPFLAGS'
49544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49547
49548
49549 fi
49550
49551   fi
49552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49553 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49554
49555   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49556     for ac_func in atan2l
49557 do :
49558   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49559 if test "x$ac_cv_func_atan2l" = x""yes; then :
49560   cat >>confdefs.h <<_ACEOF
49561 #define HAVE_ATAN2L 1
49562 _ACEOF
49563
49564 fi
49565 done
49566
49567   else
49568
49569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49570 $as_echo_n "checking for _atan2l declaration... " >&6; }
49571   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49572     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49573   $as_echo_n "(cached) " >&6
49574 else
49575
49576
49577       ac_ext=cpp
49578 ac_cpp='$CXXCPP $CPPFLAGS'
49579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49582
49583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49584 /* end confdefs.h.  */
49585 #include <math.h>
49586 int
49587 main ()
49588 {
49589  _atan2l(0, 0);
49590   ;
49591   return 0;
49592 }
49593 _ACEOF
49594 if ac_fn_cxx_try_compile "$LINENO"; then :
49595   glibcxx_cv_func__atan2l_use=yes
49596 else
49597   glibcxx_cv_func__atan2l_use=no
49598 fi
49599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49600       ac_ext=c
49601 ac_cpp='$CPP $CPPFLAGS'
49602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49605
49606
49607 fi
49608
49609   fi
49610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49611 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49612
49613     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49614       for ac_func in _atan2l
49615 do :
49616   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49617 if test "x$ac_cv_func__atan2l" = x""yes; then :
49618   cat >>confdefs.h <<_ACEOF
49619 #define HAVE__ATAN2L 1
49620 _ACEOF
49621
49622 fi
49623 done
49624
49625     fi
49626   fi
49627
49628
49629
49630
49631
49632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49633 $as_echo_n "checking for expl declaration... " >&6; }
49634   if test x${glibcxx_cv_func_expl_use+set} != xset; then
49635     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49636   $as_echo_n "(cached) " >&6
49637 else
49638
49639
49640       ac_ext=cpp
49641 ac_cpp='$CXXCPP $CPPFLAGS'
49642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49645
49646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49647 /* end confdefs.h.  */
49648 #include <math.h>
49649                       #ifdef HAVE_IEEEFP_H
49650                       #include <ieeefp.h>
49651                       #endif
49652
49653 int
49654 main ()
49655 {
49656  expl(0);
49657   ;
49658   return 0;
49659 }
49660 _ACEOF
49661 if ac_fn_cxx_try_compile "$LINENO"; then :
49662   glibcxx_cv_func_expl_use=yes
49663 else
49664   glibcxx_cv_func_expl_use=no
49665 fi
49666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49667       ac_ext=c
49668 ac_cpp='$CPP $CPPFLAGS'
49669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49672
49673
49674 fi
49675
49676   fi
49677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49678 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49679
49680   if test x$glibcxx_cv_func_expl_use = x"yes"; then
49681     for ac_func in expl
49682 do :
49683   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49684 if test "x$ac_cv_func_expl" = x""yes; then :
49685   cat >>confdefs.h <<_ACEOF
49686 #define HAVE_EXPL 1
49687 _ACEOF
49688
49689 fi
49690 done
49691
49692   else
49693
49694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49695 $as_echo_n "checking for _expl declaration... " >&6; }
49696   if test x${glibcxx_cv_func__expl_use+set} != xset; then
49697     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49698   $as_echo_n "(cached) " >&6
49699 else
49700
49701
49702       ac_ext=cpp
49703 ac_cpp='$CXXCPP $CPPFLAGS'
49704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49707
49708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49709 /* end confdefs.h.  */
49710 #include <math.h>
49711                       #ifdef HAVE_IEEEFP_H
49712                       #include <ieeefp.h>
49713                       #endif
49714
49715 int
49716 main ()
49717 {
49718  _expl(0);
49719   ;
49720   return 0;
49721 }
49722 _ACEOF
49723 if ac_fn_cxx_try_compile "$LINENO"; then :
49724   glibcxx_cv_func__expl_use=yes
49725 else
49726   glibcxx_cv_func__expl_use=no
49727 fi
49728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49729       ac_ext=c
49730 ac_cpp='$CPP $CPPFLAGS'
49731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49734
49735
49736 fi
49737
49738   fi
49739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49740 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49741
49742     if test x$glibcxx_cv_func__expl_use = x"yes"; then
49743       for ac_func in _expl
49744 do :
49745   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49746 if test "x$ac_cv_func__expl" = x""yes; then :
49747   cat >>confdefs.h <<_ACEOF
49748 #define HAVE__EXPL 1
49749 _ACEOF
49750
49751 fi
49752 done
49753
49754     fi
49755   fi
49756
49757
49758
49759
49760
49761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49762 $as_echo_n "checking for fabsl declaration... " >&6; }
49763   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49764     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49765   $as_echo_n "(cached) " >&6
49766 else
49767
49768
49769       ac_ext=cpp
49770 ac_cpp='$CXXCPP $CPPFLAGS'
49771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49774
49775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49776 /* end confdefs.h.  */
49777 #include <math.h>
49778                       #ifdef HAVE_IEEEFP_H
49779                       #include <ieeefp.h>
49780                       #endif
49781
49782 int
49783 main ()
49784 {
49785  fabsl(0);
49786   ;
49787   return 0;
49788 }
49789 _ACEOF
49790 if ac_fn_cxx_try_compile "$LINENO"; then :
49791   glibcxx_cv_func_fabsl_use=yes
49792 else
49793   glibcxx_cv_func_fabsl_use=no
49794 fi
49795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49796       ac_ext=c
49797 ac_cpp='$CPP $CPPFLAGS'
49798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49801
49802
49803 fi
49804
49805   fi
49806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49807 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49808
49809   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49810     for ac_func in fabsl
49811 do :
49812   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49813 if test "x$ac_cv_func_fabsl" = x""yes; then :
49814   cat >>confdefs.h <<_ACEOF
49815 #define HAVE_FABSL 1
49816 _ACEOF
49817
49818 fi
49819 done
49820
49821   else
49822
49823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49824 $as_echo_n "checking for _fabsl declaration... " >&6; }
49825   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49826     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49827   $as_echo_n "(cached) " >&6
49828 else
49829
49830
49831       ac_ext=cpp
49832 ac_cpp='$CXXCPP $CPPFLAGS'
49833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49836
49837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49838 /* end confdefs.h.  */
49839 #include <math.h>
49840                       #ifdef HAVE_IEEEFP_H
49841                       #include <ieeefp.h>
49842                       #endif
49843
49844 int
49845 main ()
49846 {
49847  _fabsl(0);
49848   ;
49849   return 0;
49850 }
49851 _ACEOF
49852 if ac_fn_cxx_try_compile "$LINENO"; then :
49853   glibcxx_cv_func__fabsl_use=yes
49854 else
49855   glibcxx_cv_func__fabsl_use=no
49856 fi
49857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49858       ac_ext=c
49859 ac_cpp='$CPP $CPPFLAGS'
49860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49863
49864
49865 fi
49866
49867   fi
49868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49869 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49870
49871     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49872       for ac_func in _fabsl
49873 do :
49874   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49875 if test "x$ac_cv_func__fabsl" = x""yes; then :
49876   cat >>confdefs.h <<_ACEOF
49877 #define HAVE__FABSL 1
49878 _ACEOF
49879
49880 fi
49881 done
49882
49883     fi
49884   fi
49885
49886
49887
49888
49889
49890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49891 $as_echo_n "checking for fmodl declaration... " >&6; }
49892   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49893     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49894   $as_echo_n "(cached) " >&6
49895 else
49896
49897
49898       ac_ext=cpp
49899 ac_cpp='$CXXCPP $CPPFLAGS'
49900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49903
49904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49905 /* end confdefs.h.  */
49906 #include <math.h>
49907 int
49908 main ()
49909 {
49910  fmodl(0, 0);
49911   ;
49912   return 0;
49913 }
49914 _ACEOF
49915 if ac_fn_cxx_try_compile "$LINENO"; then :
49916   glibcxx_cv_func_fmodl_use=yes
49917 else
49918   glibcxx_cv_func_fmodl_use=no
49919 fi
49920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49921       ac_ext=c
49922 ac_cpp='$CPP $CPPFLAGS'
49923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49926
49927
49928 fi
49929
49930   fi
49931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49932 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49933
49934   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49935     for ac_func in fmodl
49936 do :
49937   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49938 if test "x$ac_cv_func_fmodl" = x""yes; then :
49939   cat >>confdefs.h <<_ACEOF
49940 #define HAVE_FMODL 1
49941 _ACEOF
49942
49943 fi
49944 done
49945
49946   else
49947
49948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49949 $as_echo_n "checking for _fmodl declaration... " >&6; }
49950   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49951     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49952   $as_echo_n "(cached) " >&6
49953 else
49954
49955
49956       ac_ext=cpp
49957 ac_cpp='$CXXCPP $CPPFLAGS'
49958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49961
49962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49963 /* end confdefs.h.  */
49964 #include <math.h>
49965 int
49966 main ()
49967 {
49968  _fmodl(0, 0);
49969   ;
49970   return 0;
49971 }
49972 _ACEOF
49973 if ac_fn_cxx_try_compile "$LINENO"; then :
49974   glibcxx_cv_func__fmodl_use=yes
49975 else
49976   glibcxx_cv_func__fmodl_use=no
49977 fi
49978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49979       ac_ext=c
49980 ac_cpp='$CPP $CPPFLAGS'
49981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49984
49985
49986 fi
49987
49988   fi
49989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49990 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49991
49992     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49993       for ac_func in _fmodl
49994 do :
49995   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49996 if test "x$ac_cv_func__fmodl" = x""yes; then :
49997   cat >>confdefs.h <<_ACEOF
49998 #define HAVE__FMODL 1
49999 _ACEOF
50000
50001 fi
50002 done
50003
50004     fi
50005   fi
50006
50007
50008
50009
50010
50011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50012 $as_echo_n "checking for frexpl declaration... " >&6; }
50013   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50014     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50015   $as_echo_n "(cached) " >&6
50016 else
50017
50018
50019       ac_ext=cpp
50020 ac_cpp='$CXXCPP $CPPFLAGS'
50021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50024
50025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50026 /* end confdefs.h.  */
50027 #include <math.h>
50028 int
50029 main ()
50030 {
50031  frexpl(0, 0);
50032   ;
50033   return 0;
50034 }
50035 _ACEOF
50036 if ac_fn_cxx_try_compile "$LINENO"; then :
50037   glibcxx_cv_func_frexpl_use=yes
50038 else
50039   glibcxx_cv_func_frexpl_use=no
50040 fi
50041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50042       ac_ext=c
50043 ac_cpp='$CPP $CPPFLAGS'
50044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50047
50048
50049 fi
50050
50051   fi
50052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50053 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50054
50055   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50056     for ac_func in frexpl
50057 do :
50058   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50059 if test "x$ac_cv_func_frexpl" = x""yes; then :
50060   cat >>confdefs.h <<_ACEOF
50061 #define HAVE_FREXPL 1
50062 _ACEOF
50063
50064 fi
50065 done
50066
50067   else
50068
50069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50070 $as_echo_n "checking for _frexpl declaration... " >&6; }
50071   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50072     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50073   $as_echo_n "(cached) " >&6
50074 else
50075
50076
50077       ac_ext=cpp
50078 ac_cpp='$CXXCPP $CPPFLAGS'
50079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50082
50083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50084 /* end confdefs.h.  */
50085 #include <math.h>
50086 int
50087 main ()
50088 {
50089  _frexpl(0, 0);
50090   ;
50091   return 0;
50092 }
50093 _ACEOF
50094 if ac_fn_cxx_try_compile "$LINENO"; then :
50095   glibcxx_cv_func__frexpl_use=yes
50096 else
50097   glibcxx_cv_func__frexpl_use=no
50098 fi
50099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50100       ac_ext=c
50101 ac_cpp='$CPP $CPPFLAGS'
50102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50105
50106
50107 fi
50108
50109   fi
50110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50111 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50112
50113     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50114       for ac_func in _frexpl
50115 do :
50116   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50117 if test "x$ac_cv_func__frexpl" = x""yes; then :
50118   cat >>confdefs.h <<_ACEOF
50119 #define HAVE__FREXPL 1
50120 _ACEOF
50121
50122 fi
50123 done
50124
50125     fi
50126   fi
50127
50128
50129
50130
50131
50132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50133 $as_echo_n "checking for hypotl declaration... " >&6; }
50134   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50135     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50136   $as_echo_n "(cached) " >&6
50137 else
50138
50139
50140       ac_ext=cpp
50141 ac_cpp='$CXXCPP $CPPFLAGS'
50142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50145
50146       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50147 /* end confdefs.h.  */
50148 #include <math.h>
50149 int
50150 main ()
50151 {
50152  hypotl(0, 0);
50153   ;
50154   return 0;
50155 }
50156 _ACEOF
50157 if ac_fn_cxx_try_compile "$LINENO"; then :
50158   glibcxx_cv_func_hypotl_use=yes
50159 else
50160   glibcxx_cv_func_hypotl_use=no
50161 fi
50162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50163       ac_ext=c
50164 ac_cpp='$CPP $CPPFLAGS'
50165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50168
50169
50170 fi
50171
50172   fi
50173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50174 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50175
50176   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50177     for ac_func in hypotl
50178 do :
50179   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50180 if test "x$ac_cv_func_hypotl" = x""yes; then :
50181   cat >>confdefs.h <<_ACEOF
50182 #define HAVE_HYPOTL 1
50183 _ACEOF
50184
50185 fi
50186 done
50187
50188   else
50189
50190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50191 $as_echo_n "checking for _hypotl declaration... " >&6; }
50192   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50193     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50194   $as_echo_n "(cached) " >&6
50195 else
50196
50197
50198       ac_ext=cpp
50199 ac_cpp='$CXXCPP $CPPFLAGS'
50200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50203
50204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50205 /* end confdefs.h.  */
50206 #include <math.h>
50207 int
50208 main ()
50209 {
50210  _hypotl(0, 0);
50211   ;
50212   return 0;
50213 }
50214 _ACEOF
50215 if ac_fn_cxx_try_compile "$LINENO"; then :
50216   glibcxx_cv_func__hypotl_use=yes
50217 else
50218   glibcxx_cv_func__hypotl_use=no
50219 fi
50220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50221       ac_ext=c
50222 ac_cpp='$CPP $CPPFLAGS'
50223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50226
50227
50228 fi
50229
50230   fi
50231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50232 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50233
50234     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50235       for ac_func in _hypotl
50236 do :
50237   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50238 if test "x$ac_cv_func__hypotl" = x""yes; then :
50239   cat >>confdefs.h <<_ACEOF
50240 #define HAVE__HYPOTL 1
50241 _ACEOF
50242
50243 fi
50244 done
50245
50246     fi
50247   fi
50248
50249
50250
50251
50252
50253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50254 $as_echo_n "checking for ldexpl declaration... " >&6; }
50255   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50256     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50257   $as_echo_n "(cached) " >&6
50258 else
50259
50260
50261       ac_ext=cpp
50262 ac_cpp='$CXXCPP $CPPFLAGS'
50263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50266
50267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50268 /* end confdefs.h.  */
50269 #include <math.h>
50270 int
50271 main ()
50272 {
50273  ldexpl(0, 0);
50274   ;
50275   return 0;
50276 }
50277 _ACEOF
50278 if ac_fn_cxx_try_compile "$LINENO"; then :
50279   glibcxx_cv_func_ldexpl_use=yes
50280 else
50281   glibcxx_cv_func_ldexpl_use=no
50282 fi
50283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50284       ac_ext=c
50285 ac_cpp='$CPP $CPPFLAGS'
50286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50289
50290
50291 fi
50292
50293   fi
50294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50295 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50296
50297   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50298     for ac_func in ldexpl
50299 do :
50300   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50301 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50302   cat >>confdefs.h <<_ACEOF
50303 #define HAVE_LDEXPL 1
50304 _ACEOF
50305
50306 fi
50307 done
50308
50309   else
50310
50311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50312 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50313   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50314     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50315   $as_echo_n "(cached) " >&6
50316 else
50317
50318
50319       ac_ext=cpp
50320 ac_cpp='$CXXCPP $CPPFLAGS'
50321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50324
50325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50326 /* end confdefs.h.  */
50327 #include <math.h>
50328 int
50329 main ()
50330 {
50331  _ldexpl(0, 0);
50332   ;
50333   return 0;
50334 }
50335 _ACEOF
50336 if ac_fn_cxx_try_compile "$LINENO"; then :
50337   glibcxx_cv_func__ldexpl_use=yes
50338 else
50339   glibcxx_cv_func__ldexpl_use=no
50340 fi
50341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50342       ac_ext=c
50343 ac_cpp='$CPP $CPPFLAGS'
50344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50347
50348
50349 fi
50350
50351   fi
50352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50353 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50354
50355     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50356       for ac_func in _ldexpl
50357 do :
50358   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50359 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50360   cat >>confdefs.h <<_ACEOF
50361 #define HAVE__LDEXPL 1
50362 _ACEOF
50363
50364 fi
50365 done
50366
50367     fi
50368   fi
50369
50370
50371
50372
50373
50374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50375 $as_echo_n "checking for logl declaration... " >&6; }
50376   if test x${glibcxx_cv_func_logl_use+set} != xset; then
50377     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50378   $as_echo_n "(cached) " >&6
50379 else
50380
50381
50382       ac_ext=cpp
50383 ac_cpp='$CXXCPP $CPPFLAGS'
50384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50387
50388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50389 /* end confdefs.h.  */
50390 #include <math.h>
50391                       #ifdef HAVE_IEEEFP_H
50392                       #include <ieeefp.h>
50393                       #endif
50394
50395 int
50396 main ()
50397 {
50398  logl(0);
50399   ;
50400   return 0;
50401 }
50402 _ACEOF
50403 if ac_fn_cxx_try_compile "$LINENO"; then :
50404   glibcxx_cv_func_logl_use=yes
50405 else
50406   glibcxx_cv_func_logl_use=no
50407 fi
50408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50409       ac_ext=c
50410 ac_cpp='$CPP $CPPFLAGS'
50411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50414
50415
50416 fi
50417
50418   fi
50419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50420 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50421
50422   if test x$glibcxx_cv_func_logl_use = x"yes"; then
50423     for ac_func in logl
50424 do :
50425   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50426 if test "x$ac_cv_func_logl" = x""yes; then :
50427   cat >>confdefs.h <<_ACEOF
50428 #define HAVE_LOGL 1
50429 _ACEOF
50430
50431 fi
50432 done
50433
50434   else
50435
50436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50437 $as_echo_n "checking for _logl declaration... " >&6; }
50438   if test x${glibcxx_cv_func__logl_use+set} != xset; then
50439     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50440   $as_echo_n "(cached) " >&6
50441 else
50442
50443
50444       ac_ext=cpp
50445 ac_cpp='$CXXCPP $CPPFLAGS'
50446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50449
50450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50451 /* end confdefs.h.  */
50452 #include <math.h>
50453                       #ifdef HAVE_IEEEFP_H
50454                       #include <ieeefp.h>
50455                       #endif
50456
50457 int
50458 main ()
50459 {
50460  _logl(0);
50461   ;
50462   return 0;
50463 }
50464 _ACEOF
50465 if ac_fn_cxx_try_compile "$LINENO"; then :
50466   glibcxx_cv_func__logl_use=yes
50467 else
50468   glibcxx_cv_func__logl_use=no
50469 fi
50470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50471       ac_ext=c
50472 ac_cpp='$CPP $CPPFLAGS'
50473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50476
50477
50478 fi
50479
50480   fi
50481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50482 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50483
50484     if test x$glibcxx_cv_func__logl_use = x"yes"; then
50485       for ac_func in _logl
50486 do :
50487   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50488 if test "x$ac_cv_func__logl" = x""yes; then :
50489   cat >>confdefs.h <<_ACEOF
50490 #define HAVE__LOGL 1
50491 _ACEOF
50492
50493 fi
50494 done
50495
50496     fi
50497   fi
50498
50499
50500
50501
50502
50503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50504 $as_echo_n "checking for log10l declaration... " >&6; }
50505   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50506     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50507   $as_echo_n "(cached) " >&6
50508 else
50509
50510
50511       ac_ext=cpp
50512 ac_cpp='$CXXCPP $CPPFLAGS'
50513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50516
50517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50518 /* end confdefs.h.  */
50519 #include <math.h>
50520                       #ifdef HAVE_IEEEFP_H
50521                       #include <ieeefp.h>
50522                       #endif
50523
50524 int
50525 main ()
50526 {
50527  log10l(0);
50528   ;
50529   return 0;
50530 }
50531 _ACEOF
50532 if ac_fn_cxx_try_compile "$LINENO"; then :
50533   glibcxx_cv_func_log10l_use=yes
50534 else
50535   glibcxx_cv_func_log10l_use=no
50536 fi
50537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50538       ac_ext=c
50539 ac_cpp='$CPP $CPPFLAGS'
50540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50543
50544
50545 fi
50546
50547   fi
50548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50549 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50550
50551   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50552     for ac_func in log10l
50553 do :
50554   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50555 if test "x$ac_cv_func_log10l" = x""yes; then :
50556   cat >>confdefs.h <<_ACEOF
50557 #define HAVE_LOG10L 1
50558 _ACEOF
50559
50560 fi
50561 done
50562
50563   else
50564
50565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50566 $as_echo_n "checking for _log10l declaration... " >&6; }
50567   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50568     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50569   $as_echo_n "(cached) " >&6
50570 else
50571
50572
50573       ac_ext=cpp
50574 ac_cpp='$CXXCPP $CPPFLAGS'
50575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50578
50579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50580 /* end confdefs.h.  */
50581 #include <math.h>
50582                       #ifdef HAVE_IEEEFP_H
50583                       #include <ieeefp.h>
50584                       #endif
50585
50586 int
50587 main ()
50588 {
50589  _log10l(0);
50590   ;
50591   return 0;
50592 }
50593 _ACEOF
50594 if ac_fn_cxx_try_compile "$LINENO"; then :
50595   glibcxx_cv_func__log10l_use=yes
50596 else
50597   glibcxx_cv_func__log10l_use=no
50598 fi
50599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50600       ac_ext=c
50601 ac_cpp='$CPP $CPPFLAGS'
50602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50605
50606
50607 fi
50608
50609   fi
50610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50611 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50612
50613     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50614       for ac_func in _log10l
50615 do :
50616   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50617 if test "x$ac_cv_func__log10l" = x""yes; then :
50618   cat >>confdefs.h <<_ACEOF
50619 #define HAVE__LOG10L 1
50620 _ACEOF
50621
50622 fi
50623 done
50624
50625     fi
50626   fi
50627
50628
50629
50630
50631
50632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50633 $as_echo_n "checking for modfl declaration... " >&6; }
50634   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50635     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50636   $as_echo_n "(cached) " >&6
50637 else
50638
50639
50640       ac_ext=cpp
50641 ac_cpp='$CXXCPP $CPPFLAGS'
50642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50645
50646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50647 /* end confdefs.h.  */
50648 #include <math.h>
50649 int
50650 main ()
50651 {
50652  modfl(0, 0);
50653   ;
50654   return 0;
50655 }
50656 _ACEOF
50657 if ac_fn_cxx_try_compile "$LINENO"; then :
50658   glibcxx_cv_func_modfl_use=yes
50659 else
50660   glibcxx_cv_func_modfl_use=no
50661 fi
50662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50663       ac_ext=c
50664 ac_cpp='$CPP $CPPFLAGS'
50665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50668
50669
50670 fi
50671
50672   fi
50673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50674 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50675
50676   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50677     for ac_func in modfl
50678 do :
50679   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50680 if test "x$ac_cv_func_modfl" = x""yes; then :
50681   cat >>confdefs.h <<_ACEOF
50682 #define HAVE_MODFL 1
50683 _ACEOF
50684
50685 fi
50686 done
50687
50688   else
50689
50690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50691 $as_echo_n "checking for _modfl declaration... " >&6; }
50692   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50693     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50694   $as_echo_n "(cached) " >&6
50695 else
50696
50697
50698       ac_ext=cpp
50699 ac_cpp='$CXXCPP $CPPFLAGS'
50700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50703
50704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50705 /* end confdefs.h.  */
50706 #include <math.h>
50707 int
50708 main ()
50709 {
50710  _modfl(0, 0);
50711   ;
50712   return 0;
50713 }
50714 _ACEOF
50715 if ac_fn_cxx_try_compile "$LINENO"; then :
50716   glibcxx_cv_func__modfl_use=yes
50717 else
50718   glibcxx_cv_func__modfl_use=no
50719 fi
50720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50721       ac_ext=c
50722 ac_cpp='$CPP $CPPFLAGS'
50723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50726
50727
50728 fi
50729
50730   fi
50731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50732 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50733
50734     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50735       for ac_func in _modfl
50736 do :
50737   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50738 if test "x$ac_cv_func__modfl" = x""yes; then :
50739   cat >>confdefs.h <<_ACEOF
50740 #define HAVE__MODFL 1
50741 _ACEOF
50742
50743 fi
50744 done
50745
50746     fi
50747   fi
50748
50749
50750
50751
50752
50753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50754 $as_echo_n "checking for powl declaration... " >&6; }
50755   if test x${glibcxx_cv_func_powl_use+set} != xset; then
50756     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50757   $as_echo_n "(cached) " >&6
50758 else
50759
50760
50761       ac_ext=cpp
50762 ac_cpp='$CXXCPP $CPPFLAGS'
50763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50766
50767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50768 /* end confdefs.h.  */
50769 #include <math.h>
50770 int
50771 main ()
50772 {
50773  powl(0, 0);
50774   ;
50775   return 0;
50776 }
50777 _ACEOF
50778 if ac_fn_cxx_try_compile "$LINENO"; then :
50779   glibcxx_cv_func_powl_use=yes
50780 else
50781   glibcxx_cv_func_powl_use=no
50782 fi
50783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50784       ac_ext=c
50785 ac_cpp='$CPP $CPPFLAGS'
50786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50789
50790
50791 fi
50792
50793   fi
50794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50795 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50796
50797   if test x$glibcxx_cv_func_powl_use = x"yes"; then
50798     for ac_func in powl
50799 do :
50800   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50801 if test "x$ac_cv_func_powl" = x""yes; then :
50802   cat >>confdefs.h <<_ACEOF
50803 #define HAVE_POWL 1
50804 _ACEOF
50805
50806 fi
50807 done
50808
50809   else
50810
50811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50812 $as_echo_n "checking for _powl declaration... " >&6; }
50813   if test x${glibcxx_cv_func__powl_use+set} != xset; then
50814     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50815   $as_echo_n "(cached) " >&6
50816 else
50817
50818
50819       ac_ext=cpp
50820 ac_cpp='$CXXCPP $CPPFLAGS'
50821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50824
50825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50826 /* end confdefs.h.  */
50827 #include <math.h>
50828 int
50829 main ()
50830 {
50831  _powl(0, 0);
50832   ;
50833   return 0;
50834 }
50835 _ACEOF
50836 if ac_fn_cxx_try_compile "$LINENO"; then :
50837   glibcxx_cv_func__powl_use=yes
50838 else
50839   glibcxx_cv_func__powl_use=no
50840 fi
50841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50842       ac_ext=c
50843 ac_cpp='$CPP $CPPFLAGS'
50844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50847
50848
50849 fi
50850
50851   fi
50852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50853 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50854
50855     if test x$glibcxx_cv_func__powl_use = x"yes"; then
50856       for ac_func in _powl
50857 do :
50858   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50859 if test "x$ac_cv_func__powl" = x""yes; then :
50860   cat >>confdefs.h <<_ACEOF
50861 #define HAVE__POWL 1
50862 _ACEOF
50863
50864 fi
50865 done
50866
50867     fi
50868   fi
50869
50870
50871
50872
50873
50874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50875 $as_echo_n "checking for sqrtl declaration... " >&6; }
50876   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50877     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50878   $as_echo_n "(cached) " >&6
50879 else
50880
50881
50882       ac_ext=cpp
50883 ac_cpp='$CXXCPP $CPPFLAGS'
50884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50887
50888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50889 /* end confdefs.h.  */
50890 #include <math.h>
50891                       #ifdef HAVE_IEEEFP_H
50892                       #include <ieeefp.h>
50893                       #endif
50894
50895 int
50896 main ()
50897 {
50898  sqrtl(0);
50899   ;
50900   return 0;
50901 }
50902 _ACEOF
50903 if ac_fn_cxx_try_compile "$LINENO"; then :
50904   glibcxx_cv_func_sqrtl_use=yes
50905 else
50906   glibcxx_cv_func_sqrtl_use=no
50907 fi
50908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50909       ac_ext=c
50910 ac_cpp='$CPP $CPPFLAGS'
50911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50914
50915
50916 fi
50917
50918   fi
50919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50920 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50921
50922   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50923     for ac_func in sqrtl
50924 do :
50925   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50926 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50927   cat >>confdefs.h <<_ACEOF
50928 #define HAVE_SQRTL 1
50929 _ACEOF
50930
50931 fi
50932 done
50933
50934   else
50935
50936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50937 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50938   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50939     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50940   $as_echo_n "(cached) " >&6
50941 else
50942
50943
50944       ac_ext=cpp
50945 ac_cpp='$CXXCPP $CPPFLAGS'
50946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50949
50950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50951 /* end confdefs.h.  */
50952 #include <math.h>
50953                       #ifdef HAVE_IEEEFP_H
50954                       #include <ieeefp.h>
50955                       #endif
50956
50957 int
50958 main ()
50959 {
50960  _sqrtl(0);
50961   ;
50962   return 0;
50963 }
50964 _ACEOF
50965 if ac_fn_cxx_try_compile "$LINENO"; then :
50966   glibcxx_cv_func__sqrtl_use=yes
50967 else
50968   glibcxx_cv_func__sqrtl_use=no
50969 fi
50970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50971       ac_ext=c
50972 ac_cpp='$CPP $CPPFLAGS'
50973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50976
50977
50978 fi
50979
50980   fi
50981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50982 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50983
50984     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50985       for ac_func in _sqrtl
50986 do :
50987   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50988 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50989   cat >>confdefs.h <<_ACEOF
50990 #define HAVE__SQRTL 1
50991 _ACEOF
50992
50993 fi
50994 done
50995
50996     fi
50997   fi
50998
50999
51000
51001
51002
51003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51004 $as_echo_n "checking for sincosl declaration... " >&6; }
51005   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51006     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51007   $as_echo_n "(cached) " >&6
51008 else
51009
51010
51011       ac_ext=cpp
51012 ac_cpp='$CXXCPP $CPPFLAGS'
51013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51016
51017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51018 /* end confdefs.h.  */
51019 #include <math.h>
51020 int
51021 main ()
51022 {
51023  sincosl(0, 0, 0);
51024   ;
51025   return 0;
51026 }
51027 _ACEOF
51028 if ac_fn_cxx_try_compile "$LINENO"; then :
51029   glibcxx_cv_func_sincosl_use=yes
51030 else
51031   glibcxx_cv_func_sincosl_use=no
51032 fi
51033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51034       ac_ext=c
51035 ac_cpp='$CPP $CPPFLAGS'
51036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51039
51040
51041 fi
51042
51043   fi
51044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51045 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51046
51047   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51048     for ac_func in sincosl
51049 do :
51050   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51051 if test "x$ac_cv_func_sincosl" = x""yes; then :
51052   cat >>confdefs.h <<_ACEOF
51053 #define HAVE_SINCOSL 1
51054 _ACEOF
51055
51056 fi
51057 done
51058
51059   else
51060
51061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51062 $as_echo_n "checking for _sincosl declaration... " >&6; }
51063   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51064     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51065   $as_echo_n "(cached) " >&6
51066 else
51067
51068
51069       ac_ext=cpp
51070 ac_cpp='$CXXCPP $CPPFLAGS'
51071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51074
51075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51076 /* end confdefs.h.  */
51077 #include <math.h>
51078 int
51079 main ()
51080 {
51081  _sincosl(0, 0, 0);
51082   ;
51083   return 0;
51084 }
51085 _ACEOF
51086 if ac_fn_cxx_try_compile "$LINENO"; then :
51087   glibcxx_cv_func__sincosl_use=yes
51088 else
51089   glibcxx_cv_func__sincosl_use=no
51090 fi
51091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51092       ac_ext=c
51093 ac_cpp='$CPP $CPPFLAGS'
51094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51097
51098
51099 fi
51100
51101   fi
51102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51103 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51104
51105     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51106       for ac_func in _sincosl
51107 do :
51108   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51109 if test "x$ac_cv_func__sincosl" = x""yes; then :
51110   cat >>confdefs.h <<_ACEOF
51111 #define HAVE__SINCOSL 1
51112 _ACEOF
51113
51114 fi
51115 done
51116
51117     fi
51118   fi
51119
51120
51121
51122
51123
51124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51125 $as_echo_n "checking for finitel declaration... " >&6; }
51126   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51127     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51128   $as_echo_n "(cached) " >&6
51129 else
51130
51131
51132       ac_ext=cpp
51133 ac_cpp='$CXXCPP $CPPFLAGS'
51134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51137
51138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51139 /* end confdefs.h.  */
51140 #include <math.h>
51141                       #ifdef HAVE_IEEEFP_H
51142                       #include <ieeefp.h>
51143                       #endif
51144
51145 int
51146 main ()
51147 {
51148  finitel(0);
51149   ;
51150   return 0;
51151 }
51152 _ACEOF
51153 if ac_fn_cxx_try_compile "$LINENO"; then :
51154   glibcxx_cv_func_finitel_use=yes
51155 else
51156   glibcxx_cv_func_finitel_use=no
51157 fi
51158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51159       ac_ext=c
51160 ac_cpp='$CPP $CPPFLAGS'
51161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51164
51165
51166 fi
51167
51168   fi
51169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51170 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51171
51172   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51173     for ac_func in finitel
51174 do :
51175   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51176 if test "x$ac_cv_func_finitel" = x""yes; then :
51177   cat >>confdefs.h <<_ACEOF
51178 #define HAVE_FINITEL 1
51179 _ACEOF
51180
51181 fi
51182 done
51183
51184   else
51185
51186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51187 $as_echo_n "checking for _finitel declaration... " >&6; }
51188   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51189     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51190   $as_echo_n "(cached) " >&6
51191 else
51192
51193
51194       ac_ext=cpp
51195 ac_cpp='$CXXCPP $CPPFLAGS'
51196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51199
51200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51201 /* end confdefs.h.  */
51202 #include <math.h>
51203                       #ifdef HAVE_IEEEFP_H
51204                       #include <ieeefp.h>
51205                       #endif
51206
51207 int
51208 main ()
51209 {
51210  _finitel(0);
51211   ;
51212   return 0;
51213 }
51214 _ACEOF
51215 if ac_fn_cxx_try_compile "$LINENO"; then :
51216   glibcxx_cv_func__finitel_use=yes
51217 else
51218   glibcxx_cv_func__finitel_use=no
51219 fi
51220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51221       ac_ext=c
51222 ac_cpp='$CPP $CPPFLAGS'
51223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51226
51227
51228 fi
51229
51230   fi
51231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51232 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51233
51234     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51235       for ac_func in _finitel
51236 do :
51237   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51238 if test "x$ac_cv_func__finitel" = x""yes; then :
51239   cat >>confdefs.h <<_ACEOF
51240 #define HAVE__FINITEL 1
51241 _ACEOF
51242
51243 fi
51244 done
51245
51246     fi
51247   fi
51248
51249
51250
51251
51252   LIBS="$ac_save_LIBS"
51253   CXXFLAGS="$ac_save_CXXFLAGS"
51254
51255
51256   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51257   ac_save_CXXFLAGS="$CXXFLAGS"
51258   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51259
51260
51261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51262 $as_echo_n "checking for strtold declaration... " >&6; }
51263   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51264     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51265   $as_echo_n "(cached) " >&6
51266 else
51267
51268
51269       ac_ext=cpp
51270 ac_cpp='$CXXCPP $CPPFLAGS'
51271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51274
51275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51276 /* end confdefs.h.  */
51277 #include <stdlib.h>
51278 int
51279 main ()
51280 {
51281  strtold(0, 0);
51282   ;
51283   return 0;
51284 }
51285 _ACEOF
51286 if ac_fn_cxx_try_compile "$LINENO"; then :
51287   glibcxx_cv_func_strtold_use=yes
51288 else
51289   glibcxx_cv_func_strtold_use=no
51290 fi
51291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51292       ac_ext=c
51293 ac_cpp='$CPP $CPPFLAGS'
51294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51297
51298
51299 fi
51300
51301   fi
51302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51303 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51304   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51305     for ac_func in strtold
51306 do :
51307   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51308 if test "x$ac_cv_func_strtold" = x""yes; then :
51309   cat >>confdefs.h <<_ACEOF
51310 #define HAVE_STRTOLD 1
51311 _ACEOF
51312
51313 fi
51314 done
51315
51316   fi
51317
51318
51319
51320
51321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51322 $as_echo_n "checking for strtof declaration... " >&6; }
51323   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51324     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51325   $as_echo_n "(cached) " >&6
51326 else
51327
51328
51329       ac_ext=cpp
51330 ac_cpp='$CXXCPP $CPPFLAGS'
51331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51334
51335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51336 /* end confdefs.h.  */
51337 #include <stdlib.h>
51338 int
51339 main ()
51340 {
51341  strtof(0, 0);
51342   ;
51343   return 0;
51344 }
51345 _ACEOF
51346 if ac_fn_cxx_try_compile "$LINENO"; then :
51347   glibcxx_cv_func_strtof_use=yes
51348 else
51349   glibcxx_cv_func_strtof_use=no
51350 fi
51351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51352       ac_ext=c
51353 ac_cpp='$CPP $CPPFLAGS'
51354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51357
51358
51359 fi
51360
51361   fi
51362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51363 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51364   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51365     for ac_func in strtof
51366 do :
51367   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51368 if test "x$ac_cv_func_strtof" = x""yes; then :
51369   cat >>confdefs.h <<_ACEOF
51370 #define HAVE_STRTOF 1
51371 _ACEOF
51372
51373 fi
51374 done
51375
51376   fi
51377
51378
51379
51380
51381   CXXFLAGS="$ac_save_CXXFLAGS"
51382
51383     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51384
51385
51386
51387    # Check whether --enable-tls was given.
51388 if test "${enable_tls+set}" = set; then :
51389   enableval=$enable_tls;
51390       case "$enableval" in
51391        yes|no) ;;
51392        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51393       esac
51394
51395 else
51396   enable_tls=yes
51397 fi
51398
51399
51400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51401 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51402 if test "${gcc_cv_have_tls+set}" = set; then :
51403   $as_echo_n "(cached) " >&6
51404 else
51405
51406     if test "$cross_compiling" = yes; then :
51407                 if test x$gcc_no_link = xyes; then
51408   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51409 fi
51410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51411 /* end confdefs.h.  */
51412 __thread int a; int b; int main() { return a = b; }
51413 _ACEOF
51414 if ac_fn_c_try_link "$LINENO"; then :
51415   chktls_save_LDFLAGS="$LDFLAGS"
51416                           case $host in
51417             *-*-linux*)
51418               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51419               ;;
51420           esac
51421           chktls_save_CFLAGS="$CFLAGS"
51422           CFLAGS="-fPIC $CFLAGS"
51423                   if test x$gcc_no_link = xyes; then
51424   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51425 fi
51426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51427 /* end confdefs.h.  */
51428 int f() { return 0; }
51429 _ACEOF
51430 if ac_fn_c_try_link "$LINENO"; then :
51431   if test x$gcc_no_link = xyes; then
51432   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51433 fi
51434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51435 /* end confdefs.h.  */
51436 __thread int a; int b; int f() { return a = b; }
51437 _ACEOF
51438 if ac_fn_c_try_link "$LINENO"; then :
51439   gcc_cv_have_tls=yes
51440 else
51441   gcc_cv_have_tls=no
51442 fi
51443 rm -f core conftest.err conftest.$ac_objext \
51444     conftest$ac_exeext conftest.$ac_ext
51445 else
51446   gcc_cv_have_tls=yes
51447 fi
51448 rm -f core conftest.err conftest.$ac_objext \
51449     conftest$ac_exeext conftest.$ac_ext
51450           CFLAGS="$chktls_save_CFLAGS"
51451           LDFLAGS="$chktls_save_LDFLAGS"
51452 else
51453   gcc_cv_have_tls=no
51454 fi
51455 rm -f core conftest.err conftest.$ac_objext \
51456     conftest$ac_exeext conftest.$ac_ext
51457
51458
51459 else
51460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51461 /* end confdefs.h.  */
51462 __thread int a; int b; int main() { return a = b; }
51463 _ACEOF
51464 if ac_fn_c_try_run "$LINENO"; then :
51465                       chktls_save_LDFLAGS="$LDFLAGS"
51466       LDFLAGS="-static $LDFLAGS"
51467       if test x$gcc_no_link = xyes; then
51468   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51469 fi
51470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51471 /* end confdefs.h.  */
51472 int main() { return 0; }
51473 _ACEOF
51474 if ac_fn_c_try_link "$LINENO"; then :
51475   if test "$cross_compiling" = yes; then :
51476   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51478 as_fn_error "cannot run test program while cross compiling
51479 See \`config.log' for more details." "$LINENO" 5; }
51480 else
51481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51482 /* end confdefs.h.  */
51483 __thread int a; int b; int main() { return a = b; }
51484 _ACEOF
51485 if ac_fn_c_try_run "$LINENO"; then :
51486   gcc_cv_have_tls=yes
51487 else
51488   gcc_cv_have_tls=no
51489 fi
51490 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51491   conftest.$ac_objext conftest.beam conftest.$ac_ext
51492 fi
51493
51494 else
51495   gcc_cv_have_tls=yes
51496 fi
51497 rm -f core conftest.err conftest.$ac_objext \
51498     conftest$ac_exeext conftest.$ac_ext
51499       LDFLAGS="$chktls_save_LDFLAGS"
51500       if test $gcc_cv_have_tls = yes; then
51501                                                 chktls_save_CFLAGS="$CFLAGS"
51502         thread_CFLAGS=failed
51503         for flag in '' '-pthread' '-lpthread'; do
51504           CFLAGS="$flag $chktls_save_CFLAGS"
51505           if test x$gcc_no_link = xyes; then
51506   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51507 fi
51508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51509 /* end confdefs.h.  */
51510 #include <pthread.h>
51511                 void *g(void *d) { return NULL; }
51512 int
51513 main ()
51514 {
51515 pthread_t t; pthread_create(&t,NULL,g,NULL);
51516   ;
51517   return 0;
51518 }
51519 _ACEOF
51520 if ac_fn_c_try_link "$LINENO"; then :
51521   thread_CFLAGS="$flag"
51522 fi
51523 rm -f core conftest.err conftest.$ac_objext \
51524     conftest$ac_exeext conftest.$ac_ext
51525           if test "X$thread_CFLAGS" != Xfailed; then
51526             break
51527           fi
51528         done
51529         CFLAGS="$chktls_save_CFLAGS"
51530         if test "X$thread_CFLAGS" != Xfailed; then
51531           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51532                                                   if test "$cross_compiling" = yes; then :
51533   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51535 as_fn_error "cannot run test program while cross compiling
51536 See \`config.log' for more details." "$LINENO" 5; }
51537 else
51538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51539 /* end confdefs.h.  */
51540 #include <pthread.h>
51541                 __thread int a;
51542                 static int *volatile a_in_other_thread;
51543                 static void *
51544                 thread_func (void *arg)
51545                 {
51546                   a_in_other_thread = &a;
51547                   return (void *)0;
51548                 }
51549 int
51550 main ()
51551 {
51552 pthread_t thread;
51553                 void *thread_retval;
51554                 int *volatile a_in_main_thread;
51555                 a_in_main_thread = &a;
51556                 if (pthread_create (&thread, (pthread_attr_t *)0,
51557                                     thread_func, (void *)0))
51558                   return 0;
51559                 if (pthread_join (thread, &thread_retval))
51560                   return 0;
51561                 return (a_in_other_thread == a_in_main_thread);
51562   ;
51563   return 0;
51564 }
51565 _ACEOF
51566 if ac_fn_c_try_run "$LINENO"; then :
51567   gcc_cv_have_tls=yes
51568 else
51569   gcc_cv_have_tls=no
51570 fi
51571 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51572   conftest.$ac_objext conftest.beam conftest.$ac_ext
51573 fi
51574
51575           CFLAGS="$chktls_save_CFLAGS"
51576         fi
51577       fi
51578 else
51579   gcc_cv_have_tls=no
51580 fi
51581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51582   conftest.$ac_objext conftest.beam conftest.$ac_ext
51583 fi
51584
51585 fi
51586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51587 $as_echo "$gcc_cv_have_tls" >&6; }
51588   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51589
51590 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51591
51592   fi
51593
51594
51595
51596
51597
51598           am_save_CPPFLAGS="$CPPFLAGS"
51599
51600   for element in $INCICONV; do
51601     haveit=
51602     for x in $CPPFLAGS; do
51603
51604   acl_save_prefix="$prefix"
51605   prefix="$acl_final_prefix"
51606   acl_save_exec_prefix="$exec_prefix"
51607   exec_prefix="$acl_final_exec_prefix"
51608   eval x=\"$x\"
51609   exec_prefix="$acl_save_exec_prefix"
51610   prefix="$acl_save_prefix"
51611
51612       if test "X$x" = "X$element"; then
51613         haveit=yes
51614         break
51615       fi
51616     done
51617     if test -z "$haveit"; then
51618       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51619     fi
51620   done
51621
51622
51623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51624 $as_echo_n "checking for iconv... " >&6; }
51625 if test "${am_cv_func_iconv+set}" = set; then :
51626   $as_echo_n "(cached) " >&6
51627 else
51628
51629     am_cv_func_iconv="no, consider installing GNU libiconv"
51630     am_cv_lib_iconv=no
51631     if test x$gcc_no_link = xyes; then
51632   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51633 fi
51634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51635 /* end confdefs.h.  */
51636 #include <stdlib.h>
51637 #include <iconv.h>
51638 int
51639 main ()
51640 {
51641 iconv_t cd = iconv_open("","");
51642        iconv(cd,NULL,NULL,NULL,NULL);
51643        iconv_close(cd);
51644   ;
51645   return 0;
51646 }
51647 _ACEOF
51648 if ac_fn_c_try_link "$LINENO"; then :
51649   am_cv_func_iconv=yes
51650 fi
51651 rm -f core conftest.err conftest.$ac_objext \
51652     conftest$ac_exeext conftest.$ac_ext
51653     if test "$am_cv_func_iconv" != yes; then
51654       am_save_LIBS="$LIBS"
51655       LIBS="$LIBS $LIBICONV"
51656       if test x$gcc_no_link = xyes; then
51657   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51658 fi
51659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51660 /* end confdefs.h.  */
51661 #include <stdlib.h>
51662 #include <iconv.h>
51663 int
51664 main ()
51665 {
51666 iconv_t cd = iconv_open("","");
51667          iconv(cd,NULL,NULL,NULL,NULL);
51668          iconv_close(cd);
51669   ;
51670   return 0;
51671 }
51672 _ACEOF
51673 if ac_fn_c_try_link "$LINENO"; then :
51674   am_cv_lib_iconv=yes
51675         am_cv_func_iconv=yes
51676 fi
51677 rm -f core conftest.err conftest.$ac_objext \
51678     conftest$ac_exeext conftest.$ac_ext
51679       LIBS="$am_save_LIBS"
51680     fi
51681
51682 fi
51683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51684 $as_echo "$am_cv_func_iconv" >&6; }
51685   if test "$am_cv_func_iconv" = yes; then
51686
51687 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51688
51689   fi
51690   if test "$am_cv_lib_iconv" = yes; then
51691     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51692 $as_echo_n "checking how to link with libiconv... " >&6; }
51693     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51694 $as_echo "$LIBICONV" >&6; }
51695   else
51696             CPPFLAGS="$am_save_CPPFLAGS"
51697     LIBICONV=
51698     LTLIBICONV=
51699   fi
51700
51701
51702
51703   if test "$am_cv_func_iconv" = yes; then
51704     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51705 $as_echo_n "checking for iconv declaration... " >&6; }
51706     if test "${am_cv_proto_iconv+set}" = set; then :
51707   $as_echo_n "(cached) " >&6
51708 else
51709
51710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51711 /* end confdefs.h.  */
51712
51713 #include <stdlib.h>
51714 #include <iconv.h>
51715 extern
51716 #ifdef __cplusplus
51717 "C"
51718 #endif
51719 #if defined(__STDC__) || defined(__cplusplus)
51720 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51721 #else
51722 size_t iconv();
51723 #endif
51724
51725 int
51726 main ()
51727 {
51728
51729   ;
51730   return 0;
51731 }
51732 _ACEOF
51733 if ac_fn_c_try_compile "$LINENO"; then :
51734   am_cv_proto_iconv_arg1=""
51735 else
51736   am_cv_proto_iconv_arg1="const"
51737 fi
51738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51739       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);"
51740 fi
51741
51742     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51743     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51744          }$am_cv_proto_iconv" >&5
51745 $as_echo "${ac_t:-
51746          }$am_cv_proto_iconv" >&6; }
51747
51748 cat >>confdefs.h <<_ACEOF
51749 #define ICONV_CONST $am_cv_proto_iconv_arg1
51750 _ACEOF
51751
51752   fi
51753
51754     ;;
51755   *-mingw32*)
51756
51757   # If we're not using GNU ld, then there's no point in even trying these
51758   # tests.  Check for that first.  We should have already tested for gld
51759   # by now (in libtool), but require it now just to be safe...
51760   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51761   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51762
51763
51764
51765   # The name set by libtool depends on the version of libtool.  Shame on us
51766   # for depending on an impl detail, but c'est la vie.  Older versions used
51767   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51768   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51769   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
51770   # set (hence we're using an older libtool), then set it.
51771   if test x${with_gnu_ld+set} != xset; then
51772     if test x${ac_cv_prog_gnu_ld+set} != xset; then
51773       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
51774       with_gnu_ld=no
51775     else
51776       with_gnu_ld=$ac_cv_prog_gnu_ld
51777     fi
51778   fi
51779
51780   # Start by getting the version number.  I think the libtool test already
51781   # does some of this, but throws away the result.
51782   glibcxx_ld_is_gold=no
51783   if test x"$with_gnu_ld" = x"yes"; then
51784     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51785 $as_echo_n "checking for ld version... " >&6; }
51786
51787     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51788       glibcxx_ld_is_gold=yes
51789     fi
51790     ldver=`$LD --version 2>/dev/null |
51791            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'`
51792
51793     glibcxx_gnu_ld_version=`echo $ldver | \
51794            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51795     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51796 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51797   fi
51798
51799   # Set --gc-sections.
51800   glibcxx_have_gc_sections=no
51801   if test "$glibcxx_ld_is_gold" = "yes"; then
51802     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51803       glibcxx_have_gc_sections=yes
51804     fi
51805   else
51806     glibcxx_gcsections_min_ld=21602
51807     if test x"$with_gnu_ld" = x"yes" &&
51808         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51809       glibcxx_have_gc_sections=yes
51810     fi
51811   fi
51812   if test "$glibcxx_have_gc_sections" = "yes"; then
51813     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
51814     # NB: This flag only works reliably after 2.16.1. Configure tests
51815     # for this are difficult, so hard wire a value that should work.
51816
51817     ac_test_CFLAGS="${CFLAGS+set}"
51818     ac_save_CFLAGS="$CFLAGS"
51819     CFLAGS='-Wl,--gc-sections'
51820
51821     # Check for -Wl,--gc-sections
51822     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51823 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51824     if test x$gcc_no_link = xyes; then
51825   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51826 fi
51827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51828 /* end confdefs.h.  */
51829  int one(void) { return 1; }
51830      int two(void) { return 2; }
51831
51832 int
51833 main ()
51834 {
51835  two();
51836   ;
51837   return 0;
51838 }
51839 _ACEOF
51840 if ac_fn_c_try_link "$LINENO"; then :
51841   ac_gcsections=yes
51842 else
51843   ac_gcsections=no
51844 fi
51845 rm -f core conftest.err conftest.$ac_objext \
51846     conftest$ac_exeext conftest.$ac_ext
51847     if test "$ac_gcsections" = "yes"; then
51848       rm -f conftest.c
51849       touch conftest.c
51850       if $CC -c conftest.c; then
51851         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51852            grep "Warning: gc-sections option ignored" > /dev/null; then
51853           ac_gcsections=no
51854         fi
51855       fi
51856       rm -f conftest.c conftest.o conftest
51857     fi
51858     if test "$ac_gcsections" = "yes"; then
51859       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51860     fi
51861     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51862 $as_echo "$ac_gcsections" >&6; }
51863
51864     if test "$ac_test_CFLAGS" = set; then
51865       CFLAGS="$ac_save_CFLAGS"
51866     else
51867       # this is the suspicious part
51868       CFLAGS=''
51869     fi
51870   fi
51871
51872   # Set -z,relro.
51873   # Note this is only for shared objects.
51874   ac_ld_relro=no
51875   if test x"$with_gnu_ld" = x"yes"; then
51876     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51877 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51878     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51879     if test -n "$cxx_z_relo"; then
51880       OPT_LDFLAGS="-Wl,-z,relro"
51881       ac_ld_relro=yes
51882     fi
51883     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51884 $as_echo "$ac_ld_relro" >&6; }
51885   fi
51886
51887   # Set linker optimization flags.
51888   if test x"$with_gnu_ld" = x"yes"; then
51889     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51890   fi
51891
51892
51893
51894
51895
51896   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51897   ac_save_CXXFLAGS="$CXXFLAGS"
51898   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51899
51900     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51901 $as_echo_n "checking for sin in -lm... " >&6; }
51902 if test "${ac_cv_lib_m_sin+set}" = set; then :
51903   $as_echo_n "(cached) " >&6
51904 else
51905   ac_check_lib_save_LIBS=$LIBS
51906 LIBS="-lm  $LIBS"
51907 if test x$gcc_no_link = xyes; then
51908   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51909 fi
51910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51911 /* end confdefs.h.  */
51912
51913 /* Override any GCC internal prototype to avoid an error.
51914    Use char because int might match the return type of a GCC
51915    builtin and then its argument prototype would still apply.  */
51916 #ifdef __cplusplus
51917 extern "C"
51918 #endif
51919 char sin ();
51920 int
51921 main ()
51922 {
51923 return sin ();
51924   ;
51925   return 0;
51926 }
51927 _ACEOF
51928 if ac_fn_c_try_link "$LINENO"; then :
51929   ac_cv_lib_m_sin=yes
51930 else
51931   ac_cv_lib_m_sin=no
51932 fi
51933 rm -f core conftest.err conftest.$ac_objext \
51934     conftest$ac_exeext conftest.$ac_ext
51935 LIBS=$ac_check_lib_save_LIBS
51936 fi
51937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51938 $as_echo "$ac_cv_lib_m_sin" >&6; }
51939 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51940   libm="-lm"
51941 fi
51942
51943   ac_save_LIBS="$LIBS"
51944   LIBS="$LIBS $libm"
51945
51946
51947
51948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51949 $as_echo_n "checking for isinf declaration... " >&6; }
51950   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51951     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51952   $as_echo_n "(cached) " >&6
51953 else
51954
51955
51956       ac_ext=cpp
51957 ac_cpp='$CXXCPP $CPPFLAGS'
51958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51961
51962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51963 /* end confdefs.h.  */
51964 #include <math.h>
51965                       #ifdef HAVE_IEEEFP_H
51966                       #include <ieeefp.h>
51967                       #endif
51968
51969 int
51970 main ()
51971 {
51972  isinf(0);
51973   ;
51974   return 0;
51975 }
51976 _ACEOF
51977 if ac_fn_cxx_try_compile "$LINENO"; then :
51978   glibcxx_cv_func_isinf_use=yes
51979 else
51980   glibcxx_cv_func_isinf_use=no
51981 fi
51982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51983       ac_ext=c
51984 ac_cpp='$CPP $CPPFLAGS'
51985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51988
51989
51990 fi
51991
51992   fi
51993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51994 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51995
51996   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51997     for ac_func in isinf
51998 do :
51999   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52000 if test "x$ac_cv_func_isinf" = x""yes; then :
52001   cat >>confdefs.h <<_ACEOF
52002 #define HAVE_ISINF 1
52003 _ACEOF
52004
52005 fi
52006 done
52007
52008   else
52009
52010   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52011 $as_echo_n "checking for _isinf declaration... " >&6; }
52012   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52013     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52014   $as_echo_n "(cached) " >&6
52015 else
52016
52017
52018       ac_ext=cpp
52019 ac_cpp='$CXXCPP $CPPFLAGS'
52020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52023
52024       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52025 /* end confdefs.h.  */
52026 #include <math.h>
52027                       #ifdef HAVE_IEEEFP_H
52028                       #include <ieeefp.h>
52029                       #endif
52030
52031 int
52032 main ()
52033 {
52034  _isinf(0);
52035   ;
52036   return 0;
52037 }
52038 _ACEOF
52039 if ac_fn_cxx_try_compile "$LINENO"; then :
52040   glibcxx_cv_func__isinf_use=yes
52041 else
52042   glibcxx_cv_func__isinf_use=no
52043 fi
52044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52045       ac_ext=c
52046 ac_cpp='$CPP $CPPFLAGS'
52047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52050
52051
52052 fi
52053
52054   fi
52055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52056 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52057
52058     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52059       for ac_func in _isinf
52060 do :
52061   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52062 if test "x$ac_cv_func__isinf" = x""yes; then :
52063   cat >>confdefs.h <<_ACEOF
52064 #define HAVE__ISINF 1
52065 _ACEOF
52066
52067 fi
52068 done
52069
52070     fi
52071   fi
52072
52073
52074
52075
52076
52077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52078 $as_echo_n "checking for isnan declaration... " >&6; }
52079   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52080     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52081   $as_echo_n "(cached) " >&6
52082 else
52083
52084
52085       ac_ext=cpp
52086 ac_cpp='$CXXCPP $CPPFLAGS'
52087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52090
52091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52092 /* end confdefs.h.  */
52093 #include <math.h>
52094                       #ifdef HAVE_IEEEFP_H
52095                       #include <ieeefp.h>
52096                       #endif
52097
52098 int
52099 main ()
52100 {
52101  isnan(0);
52102   ;
52103   return 0;
52104 }
52105 _ACEOF
52106 if ac_fn_cxx_try_compile "$LINENO"; then :
52107   glibcxx_cv_func_isnan_use=yes
52108 else
52109   glibcxx_cv_func_isnan_use=no
52110 fi
52111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52112       ac_ext=c
52113 ac_cpp='$CPP $CPPFLAGS'
52114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52117
52118
52119 fi
52120
52121   fi
52122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52123 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52124
52125   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52126     for ac_func in isnan
52127 do :
52128   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52129 if test "x$ac_cv_func_isnan" = x""yes; then :
52130   cat >>confdefs.h <<_ACEOF
52131 #define HAVE_ISNAN 1
52132 _ACEOF
52133
52134 fi
52135 done
52136
52137   else
52138
52139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52140 $as_echo_n "checking for _isnan declaration... " >&6; }
52141   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52142     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52143   $as_echo_n "(cached) " >&6
52144 else
52145
52146
52147       ac_ext=cpp
52148 ac_cpp='$CXXCPP $CPPFLAGS'
52149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52152
52153       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52154 /* end confdefs.h.  */
52155 #include <math.h>
52156                       #ifdef HAVE_IEEEFP_H
52157                       #include <ieeefp.h>
52158                       #endif
52159
52160 int
52161 main ()
52162 {
52163  _isnan(0);
52164   ;
52165   return 0;
52166 }
52167 _ACEOF
52168 if ac_fn_cxx_try_compile "$LINENO"; then :
52169   glibcxx_cv_func__isnan_use=yes
52170 else
52171   glibcxx_cv_func__isnan_use=no
52172 fi
52173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52174       ac_ext=c
52175 ac_cpp='$CPP $CPPFLAGS'
52176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52179
52180
52181 fi
52182
52183   fi
52184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52185 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52186
52187     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52188       for ac_func in _isnan
52189 do :
52190   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52191 if test "x$ac_cv_func__isnan" = x""yes; then :
52192   cat >>confdefs.h <<_ACEOF
52193 #define HAVE__ISNAN 1
52194 _ACEOF
52195
52196 fi
52197 done
52198
52199     fi
52200   fi
52201
52202
52203
52204
52205
52206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52207 $as_echo_n "checking for finite declaration... " >&6; }
52208   if test x${glibcxx_cv_func_finite_use+set} != xset; then
52209     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52210   $as_echo_n "(cached) " >&6
52211 else
52212
52213
52214       ac_ext=cpp
52215 ac_cpp='$CXXCPP $CPPFLAGS'
52216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52219
52220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52221 /* end confdefs.h.  */
52222 #include <math.h>
52223                       #ifdef HAVE_IEEEFP_H
52224                       #include <ieeefp.h>
52225                       #endif
52226
52227 int
52228 main ()
52229 {
52230  finite(0);
52231   ;
52232   return 0;
52233 }
52234 _ACEOF
52235 if ac_fn_cxx_try_compile "$LINENO"; then :
52236   glibcxx_cv_func_finite_use=yes
52237 else
52238   glibcxx_cv_func_finite_use=no
52239 fi
52240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52241       ac_ext=c
52242 ac_cpp='$CPP $CPPFLAGS'
52243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52246
52247
52248 fi
52249
52250   fi
52251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52252 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52253
52254   if test x$glibcxx_cv_func_finite_use = x"yes"; then
52255     for ac_func in finite
52256 do :
52257   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52258 if test "x$ac_cv_func_finite" = x""yes; then :
52259   cat >>confdefs.h <<_ACEOF
52260 #define HAVE_FINITE 1
52261 _ACEOF
52262
52263 fi
52264 done
52265
52266   else
52267
52268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52269 $as_echo_n "checking for _finite declaration... " >&6; }
52270   if test x${glibcxx_cv_func__finite_use+set} != xset; then
52271     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52272   $as_echo_n "(cached) " >&6
52273 else
52274
52275
52276       ac_ext=cpp
52277 ac_cpp='$CXXCPP $CPPFLAGS'
52278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52281
52282       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52283 /* end confdefs.h.  */
52284 #include <math.h>
52285                       #ifdef HAVE_IEEEFP_H
52286                       #include <ieeefp.h>
52287                       #endif
52288
52289 int
52290 main ()
52291 {
52292  _finite(0);
52293   ;
52294   return 0;
52295 }
52296 _ACEOF
52297 if ac_fn_cxx_try_compile "$LINENO"; then :
52298   glibcxx_cv_func__finite_use=yes
52299 else
52300   glibcxx_cv_func__finite_use=no
52301 fi
52302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52303       ac_ext=c
52304 ac_cpp='$CPP $CPPFLAGS'
52305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52308
52309
52310 fi
52311
52312   fi
52313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52314 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52315
52316     if test x$glibcxx_cv_func__finite_use = x"yes"; then
52317       for ac_func in _finite
52318 do :
52319   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52320 if test "x$ac_cv_func__finite" = x""yes; then :
52321   cat >>confdefs.h <<_ACEOF
52322 #define HAVE__FINITE 1
52323 _ACEOF
52324
52325 fi
52326 done
52327
52328     fi
52329   fi
52330
52331
52332
52333
52334
52335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52336 $as_echo_n "checking for sincos declaration... " >&6; }
52337   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52338     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52339   $as_echo_n "(cached) " >&6
52340 else
52341
52342
52343       ac_ext=cpp
52344 ac_cpp='$CXXCPP $CPPFLAGS'
52345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52348
52349       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52350 /* end confdefs.h.  */
52351 #include <math.h>
52352 int
52353 main ()
52354 {
52355  sincos(0, 0, 0);
52356   ;
52357   return 0;
52358 }
52359 _ACEOF
52360 if ac_fn_cxx_try_compile "$LINENO"; then :
52361   glibcxx_cv_func_sincos_use=yes
52362 else
52363   glibcxx_cv_func_sincos_use=no
52364 fi
52365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52366       ac_ext=c
52367 ac_cpp='$CPP $CPPFLAGS'
52368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52371
52372
52373 fi
52374
52375   fi
52376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52377 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52378
52379   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52380     for ac_func in sincos
52381 do :
52382   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52383 if test "x$ac_cv_func_sincos" = x""yes; then :
52384   cat >>confdefs.h <<_ACEOF
52385 #define HAVE_SINCOS 1
52386 _ACEOF
52387
52388 fi
52389 done
52390
52391   else
52392
52393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52394 $as_echo_n "checking for _sincos declaration... " >&6; }
52395   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52396     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52397   $as_echo_n "(cached) " >&6
52398 else
52399
52400
52401       ac_ext=cpp
52402 ac_cpp='$CXXCPP $CPPFLAGS'
52403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52406
52407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52408 /* end confdefs.h.  */
52409 #include <math.h>
52410 int
52411 main ()
52412 {
52413  _sincos(0, 0, 0);
52414   ;
52415   return 0;
52416 }
52417 _ACEOF
52418 if ac_fn_cxx_try_compile "$LINENO"; then :
52419   glibcxx_cv_func__sincos_use=yes
52420 else
52421   glibcxx_cv_func__sincos_use=no
52422 fi
52423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52424       ac_ext=c
52425 ac_cpp='$CPP $CPPFLAGS'
52426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52429
52430
52431 fi
52432
52433   fi
52434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52435 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52436
52437     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52438       for ac_func in _sincos
52439 do :
52440   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52441 if test "x$ac_cv_func__sincos" = x""yes; then :
52442   cat >>confdefs.h <<_ACEOF
52443 #define HAVE__SINCOS 1
52444 _ACEOF
52445
52446 fi
52447 done
52448
52449     fi
52450   fi
52451
52452
52453
52454
52455
52456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52457 $as_echo_n "checking for fpclass declaration... " >&6; }
52458   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52459     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52460   $as_echo_n "(cached) " >&6
52461 else
52462
52463
52464       ac_ext=cpp
52465 ac_cpp='$CXXCPP $CPPFLAGS'
52466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52469
52470       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52471 /* end confdefs.h.  */
52472 #include <math.h>
52473                       #ifdef HAVE_IEEEFP_H
52474                       #include <ieeefp.h>
52475                       #endif
52476
52477 int
52478 main ()
52479 {
52480  fpclass(0);
52481   ;
52482   return 0;
52483 }
52484 _ACEOF
52485 if ac_fn_cxx_try_compile "$LINENO"; then :
52486   glibcxx_cv_func_fpclass_use=yes
52487 else
52488   glibcxx_cv_func_fpclass_use=no
52489 fi
52490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52491       ac_ext=c
52492 ac_cpp='$CPP $CPPFLAGS'
52493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52496
52497
52498 fi
52499
52500   fi
52501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52502 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52503
52504   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52505     for ac_func in fpclass
52506 do :
52507   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52508 if test "x$ac_cv_func_fpclass" = x""yes; then :
52509   cat >>confdefs.h <<_ACEOF
52510 #define HAVE_FPCLASS 1
52511 _ACEOF
52512
52513 fi
52514 done
52515
52516   else
52517
52518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52519 $as_echo_n "checking for _fpclass declaration... " >&6; }
52520   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52521     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52522   $as_echo_n "(cached) " >&6
52523 else
52524
52525
52526       ac_ext=cpp
52527 ac_cpp='$CXXCPP $CPPFLAGS'
52528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52531
52532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52533 /* end confdefs.h.  */
52534 #include <math.h>
52535                       #ifdef HAVE_IEEEFP_H
52536                       #include <ieeefp.h>
52537                       #endif
52538
52539 int
52540 main ()
52541 {
52542  _fpclass(0);
52543   ;
52544   return 0;
52545 }
52546 _ACEOF
52547 if ac_fn_cxx_try_compile "$LINENO"; then :
52548   glibcxx_cv_func__fpclass_use=yes
52549 else
52550   glibcxx_cv_func__fpclass_use=no
52551 fi
52552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52553       ac_ext=c
52554 ac_cpp='$CPP $CPPFLAGS'
52555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52558
52559
52560 fi
52561
52562   fi
52563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52564 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52565
52566     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52567       for ac_func in _fpclass
52568 do :
52569   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52570 if test "x$ac_cv_func__fpclass" = x""yes; then :
52571   cat >>confdefs.h <<_ACEOF
52572 #define HAVE__FPCLASS 1
52573 _ACEOF
52574
52575 fi
52576 done
52577
52578     fi
52579   fi
52580
52581
52582
52583
52584
52585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52586 $as_echo_n "checking for qfpclass declaration... " >&6; }
52587   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52588     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52589   $as_echo_n "(cached) " >&6
52590 else
52591
52592
52593       ac_ext=cpp
52594 ac_cpp='$CXXCPP $CPPFLAGS'
52595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52598
52599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52600 /* end confdefs.h.  */
52601 #include <math.h>
52602                       #ifdef HAVE_IEEEFP_H
52603                       #include <ieeefp.h>
52604                       #endif
52605
52606 int
52607 main ()
52608 {
52609  qfpclass(0);
52610   ;
52611   return 0;
52612 }
52613 _ACEOF
52614 if ac_fn_cxx_try_compile "$LINENO"; then :
52615   glibcxx_cv_func_qfpclass_use=yes
52616 else
52617   glibcxx_cv_func_qfpclass_use=no
52618 fi
52619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52620       ac_ext=c
52621 ac_cpp='$CPP $CPPFLAGS'
52622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52625
52626
52627 fi
52628
52629   fi
52630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52631 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52632
52633   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52634     for ac_func in qfpclass
52635 do :
52636   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52637 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52638   cat >>confdefs.h <<_ACEOF
52639 #define HAVE_QFPCLASS 1
52640 _ACEOF
52641
52642 fi
52643 done
52644
52645   else
52646
52647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52648 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52649   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52650     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52651   $as_echo_n "(cached) " >&6
52652 else
52653
52654
52655       ac_ext=cpp
52656 ac_cpp='$CXXCPP $CPPFLAGS'
52657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52660
52661       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52662 /* end confdefs.h.  */
52663 #include <math.h>
52664                       #ifdef HAVE_IEEEFP_H
52665                       #include <ieeefp.h>
52666                       #endif
52667
52668 int
52669 main ()
52670 {
52671  _qfpclass(0);
52672   ;
52673   return 0;
52674 }
52675 _ACEOF
52676 if ac_fn_cxx_try_compile "$LINENO"; then :
52677   glibcxx_cv_func__qfpclass_use=yes
52678 else
52679   glibcxx_cv_func__qfpclass_use=no
52680 fi
52681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52682       ac_ext=c
52683 ac_cpp='$CPP $CPPFLAGS'
52684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52687
52688
52689 fi
52690
52691   fi
52692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52693 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52694
52695     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52696       for ac_func in _qfpclass
52697 do :
52698   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52699 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52700   cat >>confdefs.h <<_ACEOF
52701 #define HAVE__QFPCLASS 1
52702 _ACEOF
52703
52704 fi
52705 done
52706
52707     fi
52708   fi
52709
52710
52711
52712
52713
52714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52715 $as_echo_n "checking for hypot declaration... " >&6; }
52716   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52717     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52718   $as_echo_n "(cached) " >&6
52719 else
52720
52721
52722       ac_ext=cpp
52723 ac_cpp='$CXXCPP $CPPFLAGS'
52724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52727
52728       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52729 /* end confdefs.h.  */
52730 #include <math.h>
52731 int
52732 main ()
52733 {
52734  hypot(0, 0);
52735   ;
52736   return 0;
52737 }
52738 _ACEOF
52739 if ac_fn_cxx_try_compile "$LINENO"; then :
52740   glibcxx_cv_func_hypot_use=yes
52741 else
52742   glibcxx_cv_func_hypot_use=no
52743 fi
52744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52745       ac_ext=c
52746 ac_cpp='$CPP $CPPFLAGS'
52747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52750
52751
52752 fi
52753
52754   fi
52755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52756 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52757
52758   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52759     for ac_func in hypot
52760 do :
52761   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52762 if test "x$ac_cv_func_hypot" = x""yes; then :
52763   cat >>confdefs.h <<_ACEOF
52764 #define HAVE_HYPOT 1
52765 _ACEOF
52766
52767 fi
52768 done
52769
52770   else
52771
52772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52773 $as_echo_n "checking for _hypot declaration... " >&6; }
52774   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52775     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52776   $as_echo_n "(cached) " >&6
52777 else
52778
52779
52780       ac_ext=cpp
52781 ac_cpp='$CXXCPP $CPPFLAGS'
52782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52785
52786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52787 /* end confdefs.h.  */
52788 #include <math.h>
52789 int
52790 main ()
52791 {
52792  _hypot(0, 0);
52793   ;
52794   return 0;
52795 }
52796 _ACEOF
52797 if ac_fn_cxx_try_compile "$LINENO"; then :
52798   glibcxx_cv_func__hypot_use=yes
52799 else
52800   glibcxx_cv_func__hypot_use=no
52801 fi
52802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52803       ac_ext=c
52804 ac_cpp='$CPP $CPPFLAGS'
52805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52808
52809
52810 fi
52811
52812   fi
52813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52814 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52815
52816     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52817       for ac_func in _hypot
52818 do :
52819   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52820 if test "x$ac_cv_func__hypot" = x""yes; then :
52821   cat >>confdefs.h <<_ACEOF
52822 #define HAVE__HYPOT 1
52823 _ACEOF
52824
52825 fi
52826 done
52827
52828     fi
52829   fi
52830
52831
52832
52833
52834
52835     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52836 $as_echo_n "checking for float trig functions... " >&6; }
52837   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52838   $as_echo_n "(cached) " >&6
52839 else
52840
52841
52842     ac_ext=cpp
52843 ac_cpp='$CXXCPP $CPPFLAGS'
52844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52847
52848     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52849 /* end confdefs.h.  */
52850 #include <math.h>
52851 int
52852 main ()
52853 {
52854 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52855   ;
52856   return 0;
52857 }
52858 _ACEOF
52859 if ac_fn_cxx_try_compile "$LINENO"; then :
52860   glibcxx_cv_func_float_trig_use=yes
52861 else
52862   glibcxx_cv_func_float_trig_use=no
52863 fi
52864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52865     ac_ext=c
52866 ac_cpp='$CPP $CPPFLAGS'
52867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52870
52871 fi
52872
52873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52874 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52875   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52876     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52877 do :
52878   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52879 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52880 eval as_val=\$$as_ac_var
52881    if test "x$as_val" = x""yes; then :
52882   cat >>confdefs.h <<_ACEOF
52883 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52884 _ACEOF
52885
52886 fi
52887 done
52888
52889   else
52890     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52891 $as_echo_n "checking for _float trig functions... " >&6; }
52892     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52893   $as_echo_n "(cached) " >&6
52894 else
52895
52896
52897       ac_ext=cpp
52898 ac_cpp='$CXXCPP $CPPFLAGS'
52899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52902
52903       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52904 /* end confdefs.h.  */
52905 #include <math.h>
52906 int
52907 main ()
52908 {
52909 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52910   ;
52911   return 0;
52912 }
52913 _ACEOF
52914 if ac_fn_cxx_try_compile "$LINENO"; then :
52915   glibcxx_cv_func__float_trig_use=yes
52916 else
52917   glibcxx_cv_func__float_trig_use=no
52918 fi
52919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52920       ac_ext=c
52921 ac_cpp='$CPP $CPPFLAGS'
52922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52925
52926 fi
52927
52928     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52929 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52930     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52931       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52932 do :
52933   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52934 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52935 eval as_val=\$$as_ac_var
52936    if test "x$as_val" = x""yes; then :
52937   cat >>confdefs.h <<_ACEOF
52938 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52939 _ACEOF
52940
52941 fi
52942 done
52943
52944     fi
52945   fi
52946
52947
52948
52949
52950
52951     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52952 $as_echo_n "checking for float round functions... " >&6; }
52953   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52954   $as_echo_n "(cached) " >&6
52955 else
52956
52957
52958     ac_ext=cpp
52959 ac_cpp='$CXXCPP $CPPFLAGS'
52960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52963
52964     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52965 /* end confdefs.h.  */
52966 #include <math.h>
52967 int
52968 main ()
52969 {
52970 ceilf (0); floorf (0);
52971   ;
52972   return 0;
52973 }
52974 _ACEOF
52975 if ac_fn_cxx_try_compile "$LINENO"; then :
52976   glibcxx_cv_func_float_round_use=yes
52977 else
52978   glibcxx_cv_func_float_round_use=no
52979 fi
52980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52981     ac_ext=c
52982 ac_cpp='$CPP $CPPFLAGS'
52983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52986
52987 fi
52988
52989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52990 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52991   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52992     for ac_func in ceilf floorf
52993 do :
52994   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52995 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52996 eval as_val=\$$as_ac_var
52997    if test "x$as_val" = x""yes; then :
52998   cat >>confdefs.h <<_ACEOF
52999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53000 _ACEOF
53001
53002 fi
53003 done
53004
53005   else
53006     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53007 $as_echo_n "checking for _float round functions... " >&6; }
53008     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53009   $as_echo_n "(cached) " >&6
53010 else
53011
53012
53013       ac_ext=cpp
53014 ac_cpp='$CXXCPP $CPPFLAGS'
53015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53018
53019       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53020 /* end confdefs.h.  */
53021 #include <math.h>
53022 int
53023 main ()
53024 {
53025 _ceilf (0); _floorf (0);
53026   ;
53027   return 0;
53028 }
53029 _ACEOF
53030 if ac_fn_cxx_try_compile "$LINENO"; then :
53031   glibcxx_cv_func__float_round_use=yes
53032 else
53033   glibcxx_cv_func__float_round_use=no
53034 fi
53035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53036       ac_ext=c
53037 ac_cpp='$CPP $CPPFLAGS'
53038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53041
53042 fi
53043
53044     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53045 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53046     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53047       for ac_func in _ceilf _floorf
53048 do :
53049   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53051 eval as_val=\$$as_ac_var
53052    if test "x$as_val" = x""yes; then :
53053   cat >>confdefs.h <<_ACEOF
53054 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53055 _ACEOF
53056
53057 fi
53058 done
53059
53060     fi
53061   fi
53062
53063
53064
53065
53066
53067
53068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53069 $as_echo_n "checking for expf declaration... " >&6; }
53070   if test x${glibcxx_cv_func_expf_use+set} != xset; then
53071     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53072   $as_echo_n "(cached) " >&6
53073 else
53074
53075
53076       ac_ext=cpp
53077 ac_cpp='$CXXCPP $CPPFLAGS'
53078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53081
53082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53083 /* end confdefs.h.  */
53084 #include <math.h>
53085                       #ifdef HAVE_IEEEFP_H
53086                       #include <ieeefp.h>
53087                       #endif
53088
53089 int
53090 main ()
53091 {
53092  expf(0);
53093   ;
53094   return 0;
53095 }
53096 _ACEOF
53097 if ac_fn_cxx_try_compile "$LINENO"; then :
53098   glibcxx_cv_func_expf_use=yes
53099 else
53100   glibcxx_cv_func_expf_use=no
53101 fi
53102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53103       ac_ext=c
53104 ac_cpp='$CPP $CPPFLAGS'
53105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53108
53109
53110 fi
53111
53112   fi
53113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53114 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53115
53116   if test x$glibcxx_cv_func_expf_use = x"yes"; then
53117     for ac_func in expf
53118 do :
53119   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53120 if test "x$ac_cv_func_expf" = x""yes; then :
53121   cat >>confdefs.h <<_ACEOF
53122 #define HAVE_EXPF 1
53123 _ACEOF
53124
53125 fi
53126 done
53127
53128   else
53129
53130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53131 $as_echo_n "checking for _expf declaration... " >&6; }
53132   if test x${glibcxx_cv_func__expf_use+set} != xset; then
53133     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53134   $as_echo_n "(cached) " >&6
53135 else
53136
53137
53138       ac_ext=cpp
53139 ac_cpp='$CXXCPP $CPPFLAGS'
53140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53143
53144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53145 /* end confdefs.h.  */
53146 #include <math.h>
53147                       #ifdef HAVE_IEEEFP_H
53148                       #include <ieeefp.h>
53149                       #endif
53150
53151 int
53152 main ()
53153 {
53154  _expf(0);
53155   ;
53156   return 0;
53157 }
53158 _ACEOF
53159 if ac_fn_cxx_try_compile "$LINENO"; then :
53160   glibcxx_cv_func__expf_use=yes
53161 else
53162   glibcxx_cv_func__expf_use=no
53163 fi
53164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53165       ac_ext=c
53166 ac_cpp='$CPP $CPPFLAGS'
53167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53170
53171
53172 fi
53173
53174   fi
53175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53176 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53177
53178     if test x$glibcxx_cv_func__expf_use = x"yes"; then
53179       for ac_func in _expf
53180 do :
53181   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53182 if test "x$ac_cv_func__expf" = x""yes; then :
53183   cat >>confdefs.h <<_ACEOF
53184 #define HAVE__EXPF 1
53185 _ACEOF
53186
53187 fi
53188 done
53189
53190     fi
53191   fi
53192
53193
53194
53195
53196
53197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53198 $as_echo_n "checking for isnanf declaration... " >&6; }
53199   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53200     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53201   $as_echo_n "(cached) " >&6
53202 else
53203
53204
53205       ac_ext=cpp
53206 ac_cpp='$CXXCPP $CPPFLAGS'
53207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53210
53211       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53212 /* end confdefs.h.  */
53213 #include <math.h>
53214                       #ifdef HAVE_IEEEFP_H
53215                       #include <ieeefp.h>
53216                       #endif
53217
53218 int
53219 main ()
53220 {
53221  isnanf(0);
53222   ;
53223   return 0;
53224 }
53225 _ACEOF
53226 if ac_fn_cxx_try_compile "$LINENO"; then :
53227   glibcxx_cv_func_isnanf_use=yes
53228 else
53229   glibcxx_cv_func_isnanf_use=no
53230 fi
53231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53232       ac_ext=c
53233 ac_cpp='$CPP $CPPFLAGS'
53234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53237
53238
53239 fi
53240
53241   fi
53242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53243 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53244
53245   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53246     for ac_func in isnanf
53247 do :
53248   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53249 if test "x$ac_cv_func_isnanf" = x""yes; then :
53250   cat >>confdefs.h <<_ACEOF
53251 #define HAVE_ISNANF 1
53252 _ACEOF
53253
53254 fi
53255 done
53256
53257   else
53258
53259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53260 $as_echo_n "checking for _isnanf declaration... " >&6; }
53261   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53262     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53263   $as_echo_n "(cached) " >&6
53264 else
53265
53266
53267       ac_ext=cpp
53268 ac_cpp='$CXXCPP $CPPFLAGS'
53269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53272
53273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53274 /* end confdefs.h.  */
53275 #include <math.h>
53276                       #ifdef HAVE_IEEEFP_H
53277                       #include <ieeefp.h>
53278                       #endif
53279
53280 int
53281 main ()
53282 {
53283  _isnanf(0);
53284   ;
53285   return 0;
53286 }
53287 _ACEOF
53288 if ac_fn_cxx_try_compile "$LINENO"; then :
53289   glibcxx_cv_func__isnanf_use=yes
53290 else
53291   glibcxx_cv_func__isnanf_use=no
53292 fi
53293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53294       ac_ext=c
53295 ac_cpp='$CPP $CPPFLAGS'
53296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53299
53300
53301 fi
53302
53303   fi
53304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53305 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53306
53307     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53308       for ac_func in _isnanf
53309 do :
53310   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53311 if test "x$ac_cv_func__isnanf" = x""yes; then :
53312   cat >>confdefs.h <<_ACEOF
53313 #define HAVE__ISNANF 1
53314 _ACEOF
53315
53316 fi
53317 done
53318
53319     fi
53320   fi
53321
53322
53323
53324
53325
53326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53327 $as_echo_n "checking for isinff declaration... " >&6; }
53328   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53329     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53330   $as_echo_n "(cached) " >&6
53331 else
53332
53333
53334       ac_ext=cpp
53335 ac_cpp='$CXXCPP $CPPFLAGS'
53336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53339
53340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53341 /* end confdefs.h.  */
53342 #include <math.h>
53343                       #ifdef HAVE_IEEEFP_H
53344                       #include <ieeefp.h>
53345                       #endif
53346
53347 int
53348 main ()
53349 {
53350  isinff(0);
53351   ;
53352   return 0;
53353 }
53354 _ACEOF
53355 if ac_fn_cxx_try_compile "$LINENO"; then :
53356   glibcxx_cv_func_isinff_use=yes
53357 else
53358   glibcxx_cv_func_isinff_use=no
53359 fi
53360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53361       ac_ext=c
53362 ac_cpp='$CPP $CPPFLAGS'
53363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53366
53367
53368 fi
53369
53370   fi
53371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53372 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53373
53374   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53375     for ac_func in isinff
53376 do :
53377   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53378 if test "x$ac_cv_func_isinff" = x""yes; then :
53379   cat >>confdefs.h <<_ACEOF
53380 #define HAVE_ISINFF 1
53381 _ACEOF
53382
53383 fi
53384 done
53385
53386   else
53387
53388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53389 $as_echo_n "checking for _isinff declaration... " >&6; }
53390   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53391     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53392   $as_echo_n "(cached) " >&6
53393 else
53394
53395
53396       ac_ext=cpp
53397 ac_cpp='$CXXCPP $CPPFLAGS'
53398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53401
53402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53403 /* end confdefs.h.  */
53404 #include <math.h>
53405                       #ifdef HAVE_IEEEFP_H
53406                       #include <ieeefp.h>
53407                       #endif
53408
53409 int
53410 main ()
53411 {
53412  _isinff(0);
53413   ;
53414   return 0;
53415 }
53416 _ACEOF
53417 if ac_fn_cxx_try_compile "$LINENO"; then :
53418   glibcxx_cv_func__isinff_use=yes
53419 else
53420   glibcxx_cv_func__isinff_use=no
53421 fi
53422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53423       ac_ext=c
53424 ac_cpp='$CPP $CPPFLAGS'
53425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53428
53429
53430 fi
53431
53432   fi
53433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53434 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53435
53436     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53437       for ac_func in _isinff
53438 do :
53439   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53440 if test "x$ac_cv_func__isinff" = x""yes; then :
53441   cat >>confdefs.h <<_ACEOF
53442 #define HAVE__ISINFF 1
53443 _ACEOF
53444
53445 fi
53446 done
53447
53448     fi
53449   fi
53450
53451
53452
53453
53454
53455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53456 $as_echo_n "checking for atan2f declaration... " >&6; }
53457   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53458     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53459   $as_echo_n "(cached) " >&6
53460 else
53461
53462
53463       ac_ext=cpp
53464 ac_cpp='$CXXCPP $CPPFLAGS'
53465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53468
53469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53470 /* end confdefs.h.  */
53471 #include <math.h>
53472 int
53473 main ()
53474 {
53475  atan2f(0, 0);
53476   ;
53477   return 0;
53478 }
53479 _ACEOF
53480 if ac_fn_cxx_try_compile "$LINENO"; then :
53481   glibcxx_cv_func_atan2f_use=yes
53482 else
53483   glibcxx_cv_func_atan2f_use=no
53484 fi
53485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53486       ac_ext=c
53487 ac_cpp='$CPP $CPPFLAGS'
53488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53491
53492
53493 fi
53494
53495   fi
53496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53497 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53498
53499   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53500     for ac_func in atan2f
53501 do :
53502   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53503 if test "x$ac_cv_func_atan2f" = x""yes; then :
53504   cat >>confdefs.h <<_ACEOF
53505 #define HAVE_ATAN2F 1
53506 _ACEOF
53507
53508 fi
53509 done
53510
53511   else
53512
53513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53514 $as_echo_n "checking for _atan2f declaration... " >&6; }
53515   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53516     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53517   $as_echo_n "(cached) " >&6
53518 else
53519
53520
53521       ac_ext=cpp
53522 ac_cpp='$CXXCPP $CPPFLAGS'
53523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53526
53527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53528 /* end confdefs.h.  */
53529 #include <math.h>
53530 int
53531 main ()
53532 {
53533  _atan2f(0, 0);
53534   ;
53535   return 0;
53536 }
53537 _ACEOF
53538 if ac_fn_cxx_try_compile "$LINENO"; then :
53539   glibcxx_cv_func__atan2f_use=yes
53540 else
53541   glibcxx_cv_func__atan2f_use=no
53542 fi
53543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53544       ac_ext=c
53545 ac_cpp='$CPP $CPPFLAGS'
53546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53549
53550
53551 fi
53552
53553   fi
53554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53555 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53556
53557     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53558       for ac_func in _atan2f
53559 do :
53560   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53561 if test "x$ac_cv_func__atan2f" = x""yes; then :
53562   cat >>confdefs.h <<_ACEOF
53563 #define HAVE__ATAN2F 1
53564 _ACEOF
53565
53566 fi
53567 done
53568
53569     fi
53570   fi
53571
53572
53573
53574
53575
53576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53577 $as_echo_n "checking for fabsf declaration... " >&6; }
53578   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53579     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53580   $as_echo_n "(cached) " >&6
53581 else
53582
53583
53584       ac_ext=cpp
53585 ac_cpp='$CXXCPP $CPPFLAGS'
53586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53589
53590       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53591 /* end confdefs.h.  */
53592 #include <math.h>
53593                       #ifdef HAVE_IEEEFP_H
53594                       #include <ieeefp.h>
53595                       #endif
53596
53597 int
53598 main ()
53599 {
53600  fabsf(0);
53601   ;
53602   return 0;
53603 }
53604 _ACEOF
53605 if ac_fn_cxx_try_compile "$LINENO"; then :
53606   glibcxx_cv_func_fabsf_use=yes
53607 else
53608   glibcxx_cv_func_fabsf_use=no
53609 fi
53610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53611       ac_ext=c
53612 ac_cpp='$CPP $CPPFLAGS'
53613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53616
53617
53618 fi
53619
53620   fi
53621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53622 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53623
53624   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53625     for ac_func in fabsf
53626 do :
53627   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53628 if test "x$ac_cv_func_fabsf" = x""yes; then :
53629   cat >>confdefs.h <<_ACEOF
53630 #define HAVE_FABSF 1
53631 _ACEOF
53632
53633 fi
53634 done
53635
53636   else
53637
53638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53639 $as_echo_n "checking for _fabsf declaration... " >&6; }
53640   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53641     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53642   $as_echo_n "(cached) " >&6
53643 else
53644
53645
53646       ac_ext=cpp
53647 ac_cpp='$CXXCPP $CPPFLAGS'
53648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53651
53652       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53653 /* end confdefs.h.  */
53654 #include <math.h>
53655                       #ifdef HAVE_IEEEFP_H
53656                       #include <ieeefp.h>
53657                       #endif
53658
53659 int
53660 main ()
53661 {
53662  _fabsf(0);
53663   ;
53664   return 0;
53665 }
53666 _ACEOF
53667 if ac_fn_cxx_try_compile "$LINENO"; then :
53668   glibcxx_cv_func__fabsf_use=yes
53669 else
53670   glibcxx_cv_func__fabsf_use=no
53671 fi
53672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53673       ac_ext=c
53674 ac_cpp='$CPP $CPPFLAGS'
53675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53678
53679
53680 fi
53681
53682   fi
53683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53684 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53685
53686     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53687       for ac_func in _fabsf
53688 do :
53689   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53690 if test "x$ac_cv_func__fabsf" = x""yes; then :
53691   cat >>confdefs.h <<_ACEOF
53692 #define HAVE__FABSF 1
53693 _ACEOF
53694
53695 fi
53696 done
53697
53698     fi
53699   fi
53700
53701
53702
53703
53704
53705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53706 $as_echo_n "checking for fmodf declaration... " >&6; }
53707   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53708     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53709   $as_echo_n "(cached) " >&6
53710 else
53711
53712
53713       ac_ext=cpp
53714 ac_cpp='$CXXCPP $CPPFLAGS'
53715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53718
53719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53720 /* end confdefs.h.  */
53721 #include <math.h>
53722 int
53723 main ()
53724 {
53725  fmodf(0, 0);
53726   ;
53727   return 0;
53728 }
53729 _ACEOF
53730 if ac_fn_cxx_try_compile "$LINENO"; then :
53731   glibcxx_cv_func_fmodf_use=yes
53732 else
53733   glibcxx_cv_func_fmodf_use=no
53734 fi
53735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53736       ac_ext=c
53737 ac_cpp='$CPP $CPPFLAGS'
53738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53741
53742
53743 fi
53744
53745   fi
53746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53747 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53748
53749   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53750     for ac_func in fmodf
53751 do :
53752   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53753 if test "x$ac_cv_func_fmodf" = x""yes; then :
53754   cat >>confdefs.h <<_ACEOF
53755 #define HAVE_FMODF 1
53756 _ACEOF
53757
53758 fi
53759 done
53760
53761   else
53762
53763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53764 $as_echo_n "checking for _fmodf declaration... " >&6; }
53765   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53766     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53767   $as_echo_n "(cached) " >&6
53768 else
53769
53770
53771       ac_ext=cpp
53772 ac_cpp='$CXXCPP $CPPFLAGS'
53773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53776
53777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53778 /* end confdefs.h.  */
53779 #include <math.h>
53780 int
53781 main ()
53782 {
53783  _fmodf(0, 0);
53784   ;
53785   return 0;
53786 }
53787 _ACEOF
53788 if ac_fn_cxx_try_compile "$LINENO"; then :
53789   glibcxx_cv_func__fmodf_use=yes
53790 else
53791   glibcxx_cv_func__fmodf_use=no
53792 fi
53793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53794       ac_ext=c
53795 ac_cpp='$CPP $CPPFLAGS'
53796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53799
53800
53801 fi
53802
53803   fi
53804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53805 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53806
53807     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53808       for ac_func in _fmodf
53809 do :
53810   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53811 if test "x$ac_cv_func__fmodf" = x""yes; then :
53812   cat >>confdefs.h <<_ACEOF
53813 #define HAVE__FMODF 1
53814 _ACEOF
53815
53816 fi
53817 done
53818
53819     fi
53820   fi
53821
53822
53823
53824
53825
53826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53827 $as_echo_n "checking for frexpf declaration... " >&6; }
53828   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53829     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53830   $as_echo_n "(cached) " >&6
53831 else
53832
53833
53834       ac_ext=cpp
53835 ac_cpp='$CXXCPP $CPPFLAGS'
53836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53839
53840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53841 /* end confdefs.h.  */
53842 #include <math.h>
53843 int
53844 main ()
53845 {
53846  frexpf(0, 0);
53847   ;
53848   return 0;
53849 }
53850 _ACEOF
53851 if ac_fn_cxx_try_compile "$LINENO"; then :
53852   glibcxx_cv_func_frexpf_use=yes
53853 else
53854   glibcxx_cv_func_frexpf_use=no
53855 fi
53856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53857       ac_ext=c
53858 ac_cpp='$CPP $CPPFLAGS'
53859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53862
53863
53864 fi
53865
53866   fi
53867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53868 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53869
53870   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53871     for ac_func in frexpf
53872 do :
53873   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53874 if test "x$ac_cv_func_frexpf" = x""yes; then :
53875   cat >>confdefs.h <<_ACEOF
53876 #define HAVE_FREXPF 1
53877 _ACEOF
53878
53879 fi
53880 done
53881
53882   else
53883
53884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53885 $as_echo_n "checking for _frexpf declaration... " >&6; }
53886   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53887     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53888   $as_echo_n "(cached) " >&6
53889 else
53890
53891
53892       ac_ext=cpp
53893 ac_cpp='$CXXCPP $CPPFLAGS'
53894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53897
53898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53899 /* end confdefs.h.  */
53900 #include <math.h>
53901 int
53902 main ()
53903 {
53904  _frexpf(0, 0);
53905   ;
53906   return 0;
53907 }
53908 _ACEOF
53909 if ac_fn_cxx_try_compile "$LINENO"; then :
53910   glibcxx_cv_func__frexpf_use=yes
53911 else
53912   glibcxx_cv_func__frexpf_use=no
53913 fi
53914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53915       ac_ext=c
53916 ac_cpp='$CPP $CPPFLAGS'
53917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53920
53921
53922 fi
53923
53924   fi
53925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53926 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53927
53928     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53929       for ac_func in _frexpf
53930 do :
53931   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53932 if test "x$ac_cv_func__frexpf" = x""yes; then :
53933   cat >>confdefs.h <<_ACEOF
53934 #define HAVE__FREXPF 1
53935 _ACEOF
53936
53937 fi
53938 done
53939
53940     fi
53941   fi
53942
53943
53944
53945
53946
53947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53948 $as_echo_n "checking for hypotf declaration... " >&6; }
53949   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53950     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53951   $as_echo_n "(cached) " >&6
53952 else
53953
53954
53955       ac_ext=cpp
53956 ac_cpp='$CXXCPP $CPPFLAGS'
53957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53960
53961       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53962 /* end confdefs.h.  */
53963 #include <math.h>
53964 int
53965 main ()
53966 {
53967  hypotf(0, 0);
53968   ;
53969   return 0;
53970 }
53971 _ACEOF
53972 if ac_fn_cxx_try_compile "$LINENO"; then :
53973   glibcxx_cv_func_hypotf_use=yes
53974 else
53975   glibcxx_cv_func_hypotf_use=no
53976 fi
53977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53978       ac_ext=c
53979 ac_cpp='$CPP $CPPFLAGS'
53980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53983
53984
53985 fi
53986
53987   fi
53988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53989 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53990
53991   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53992     for ac_func in hypotf
53993 do :
53994   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53995 if test "x$ac_cv_func_hypotf" = x""yes; then :
53996   cat >>confdefs.h <<_ACEOF
53997 #define HAVE_HYPOTF 1
53998 _ACEOF
53999
54000 fi
54001 done
54002
54003   else
54004
54005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54006 $as_echo_n "checking for _hypotf declaration... " >&6; }
54007   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54008     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54009   $as_echo_n "(cached) " >&6
54010 else
54011
54012
54013       ac_ext=cpp
54014 ac_cpp='$CXXCPP $CPPFLAGS'
54015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54018
54019       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54020 /* end confdefs.h.  */
54021 #include <math.h>
54022 int
54023 main ()
54024 {
54025  _hypotf(0, 0);
54026   ;
54027   return 0;
54028 }
54029 _ACEOF
54030 if ac_fn_cxx_try_compile "$LINENO"; then :
54031   glibcxx_cv_func__hypotf_use=yes
54032 else
54033   glibcxx_cv_func__hypotf_use=no
54034 fi
54035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54036       ac_ext=c
54037 ac_cpp='$CPP $CPPFLAGS'
54038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54041
54042
54043 fi
54044
54045   fi
54046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54047 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54048
54049     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54050       for ac_func in _hypotf
54051 do :
54052   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54053 if test "x$ac_cv_func__hypotf" = x""yes; then :
54054   cat >>confdefs.h <<_ACEOF
54055 #define HAVE__HYPOTF 1
54056 _ACEOF
54057
54058 fi
54059 done
54060
54061     fi
54062   fi
54063
54064
54065
54066
54067
54068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54069 $as_echo_n "checking for ldexpf declaration... " >&6; }
54070   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54071     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54072   $as_echo_n "(cached) " >&6
54073 else
54074
54075
54076       ac_ext=cpp
54077 ac_cpp='$CXXCPP $CPPFLAGS'
54078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54081
54082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54083 /* end confdefs.h.  */
54084 #include <math.h>
54085 int
54086 main ()
54087 {
54088  ldexpf(0, 0);
54089   ;
54090   return 0;
54091 }
54092 _ACEOF
54093 if ac_fn_cxx_try_compile "$LINENO"; then :
54094   glibcxx_cv_func_ldexpf_use=yes
54095 else
54096   glibcxx_cv_func_ldexpf_use=no
54097 fi
54098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54099       ac_ext=c
54100 ac_cpp='$CPP $CPPFLAGS'
54101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54104
54105
54106 fi
54107
54108   fi
54109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54110 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54111
54112   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54113     for ac_func in ldexpf
54114 do :
54115   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54116 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54117   cat >>confdefs.h <<_ACEOF
54118 #define HAVE_LDEXPF 1
54119 _ACEOF
54120
54121 fi
54122 done
54123
54124   else
54125
54126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54127 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54128   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54129     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54130   $as_echo_n "(cached) " >&6
54131 else
54132
54133
54134       ac_ext=cpp
54135 ac_cpp='$CXXCPP $CPPFLAGS'
54136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54139
54140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54141 /* end confdefs.h.  */
54142 #include <math.h>
54143 int
54144 main ()
54145 {
54146  _ldexpf(0, 0);
54147   ;
54148   return 0;
54149 }
54150 _ACEOF
54151 if ac_fn_cxx_try_compile "$LINENO"; then :
54152   glibcxx_cv_func__ldexpf_use=yes
54153 else
54154   glibcxx_cv_func__ldexpf_use=no
54155 fi
54156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54157       ac_ext=c
54158 ac_cpp='$CPP $CPPFLAGS'
54159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54162
54163
54164 fi
54165
54166   fi
54167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54168 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54169
54170     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54171       for ac_func in _ldexpf
54172 do :
54173   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54174 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54175   cat >>confdefs.h <<_ACEOF
54176 #define HAVE__LDEXPF 1
54177 _ACEOF
54178
54179 fi
54180 done
54181
54182     fi
54183   fi
54184
54185
54186
54187
54188
54189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54190 $as_echo_n "checking for logf declaration... " >&6; }
54191   if test x${glibcxx_cv_func_logf_use+set} != xset; then
54192     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54193   $as_echo_n "(cached) " >&6
54194 else
54195
54196
54197       ac_ext=cpp
54198 ac_cpp='$CXXCPP $CPPFLAGS'
54199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54202
54203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54204 /* end confdefs.h.  */
54205 #include <math.h>
54206                       #ifdef HAVE_IEEEFP_H
54207                       #include <ieeefp.h>
54208                       #endif
54209
54210 int
54211 main ()
54212 {
54213  logf(0);
54214   ;
54215   return 0;
54216 }
54217 _ACEOF
54218 if ac_fn_cxx_try_compile "$LINENO"; then :
54219   glibcxx_cv_func_logf_use=yes
54220 else
54221   glibcxx_cv_func_logf_use=no
54222 fi
54223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54224       ac_ext=c
54225 ac_cpp='$CPP $CPPFLAGS'
54226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54229
54230
54231 fi
54232
54233   fi
54234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54235 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54236
54237   if test x$glibcxx_cv_func_logf_use = x"yes"; then
54238     for ac_func in logf
54239 do :
54240   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54241 if test "x$ac_cv_func_logf" = x""yes; then :
54242   cat >>confdefs.h <<_ACEOF
54243 #define HAVE_LOGF 1
54244 _ACEOF
54245
54246 fi
54247 done
54248
54249   else
54250
54251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54252 $as_echo_n "checking for _logf declaration... " >&6; }
54253   if test x${glibcxx_cv_func__logf_use+set} != xset; then
54254     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54255   $as_echo_n "(cached) " >&6
54256 else
54257
54258
54259       ac_ext=cpp
54260 ac_cpp='$CXXCPP $CPPFLAGS'
54261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54264
54265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54266 /* end confdefs.h.  */
54267 #include <math.h>
54268                       #ifdef HAVE_IEEEFP_H
54269                       #include <ieeefp.h>
54270                       #endif
54271
54272 int
54273 main ()
54274 {
54275  _logf(0);
54276   ;
54277   return 0;
54278 }
54279 _ACEOF
54280 if ac_fn_cxx_try_compile "$LINENO"; then :
54281   glibcxx_cv_func__logf_use=yes
54282 else
54283   glibcxx_cv_func__logf_use=no
54284 fi
54285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54286       ac_ext=c
54287 ac_cpp='$CPP $CPPFLAGS'
54288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54291
54292
54293 fi
54294
54295   fi
54296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54297 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54298
54299     if test x$glibcxx_cv_func__logf_use = x"yes"; then
54300       for ac_func in _logf
54301 do :
54302   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54303 if test "x$ac_cv_func__logf" = x""yes; then :
54304   cat >>confdefs.h <<_ACEOF
54305 #define HAVE__LOGF 1
54306 _ACEOF
54307
54308 fi
54309 done
54310
54311     fi
54312   fi
54313
54314
54315
54316
54317
54318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54319 $as_echo_n "checking for log10f declaration... " >&6; }
54320   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54321     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54322   $as_echo_n "(cached) " >&6
54323 else
54324
54325
54326       ac_ext=cpp
54327 ac_cpp='$CXXCPP $CPPFLAGS'
54328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54331
54332       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54333 /* end confdefs.h.  */
54334 #include <math.h>
54335                       #ifdef HAVE_IEEEFP_H
54336                       #include <ieeefp.h>
54337                       #endif
54338
54339 int
54340 main ()
54341 {
54342  log10f(0);
54343   ;
54344   return 0;
54345 }
54346 _ACEOF
54347 if ac_fn_cxx_try_compile "$LINENO"; then :
54348   glibcxx_cv_func_log10f_use=yes
54349 else
54350   glibcxx_cv_func_log10f_use=no
54351 fi
54352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54353       ac_ext=c
54354 ac_cpp='$CPP $CPPFLAGS'
54355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54358
54359
54360 fi
54361
54362   fi
54363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54364 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54365
54366   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54367     for ac_func in log10f
54368 do :
54369   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54370 if test "x$ac_cv_func_log10f" = x""yes; then :
54371   cat >>confdefs.h <<_ACEOF
54372 #define HAVE_LOG10F 1
54373 _ACEOF
54374
54375 fi
54376 done
54377
54378   else
54379
54380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54381 $as_echo_n "checking for _log10f declaration... " >&6; }
54382   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54383     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54384   $as_echo_n "(cached) " >&6
54385 else
54386
54387
54388       ac_ext=cpp
54389 ac_cpp='$CXXCPP $CPPFLAGS'
54390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54393
54394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54395 /* end confdefs.h.  */
54396 #include <math.h>
54397                       #ifdef HAVE_IEEEFP_H
54398                       #include <ieeefp.h>
54399                       #endif
54400
54401 int
54402 main ()
54403 {
54404  _log10f(0);
54405   ;
54406   return 0;
54407 }
54408 _ACEOF
54409 if ac_fn_cxx_try_compile "$LINENO"; then :
54410   glibcxx_cv_func__log10f_use=yes
54411 else
54412   glibcxx_cv_func__log10f_use=no
54413 fi
54414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54415       ac_ext=c
54416 ac_cpp='$CPP $CPPFLAGS'
54417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54420
54421
54422 fi
54423
54424   fi
54425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54426 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54427
54428     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54429       for ac_func in _log10f
54430 do :
54431   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54432 if test "x$ac_cv_func__log10f" = x""yes; then :
54433   cat >>confdefs.h <<_ACEOF
54434 #define HAVE__LOG10F 1
54435 _ACEOF
54436
54437 fi
54438 done
54439
54440     fi
54441   fi
54442
54443
54444
54445
54446
54447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54448 $as_echo_n "checking for modff declaration... " >&6; }
54449   if test x${glibcxx_cv_func_modff_use+set} != xset; then
54450     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54451   $as_echo_n "(cached) " >&6
54452 else
54453
54454
54455       ac_ext=cpp
54456 ac_cpp='$CXXCPP $CPPFLAGS'
54457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54460
54461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54462 /* end confdefs.h.  */
54463 #include <math.h>
54464 int
54465 main ()
54466 {
54467  modff(0, 0);
54468   ;
54469   return 0;
54470 }
54471 _ACEOF
54472 if ac_fn_cxx_try_compile "$LINENO"; then :
54473   glibcxx_cv_func_modff_use=yes
54474 else
54475   glibcxx_cv_func_modff_use=no
54476 fi
54477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54478       ac_ext=c
54479 ac_cpp='$CPP $CPPFLAGS'
54480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54483
54484
54485 fi
54486
54487   fi
54488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54489 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54490
54491   if test x$glibcxx_cv_func_modff_use = x"yes"; then
54492     for ac_func in modff
54493 do :
54494   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54495 if test "x$ac_cv_func_modff" = x""yes; then :
54496   cat >>confdefs.h <<_ACEOF
54497 #define HAVE_MODFF 1
54498 _ACEOF
54499
54500 fi
54501 done
54502
54503   else
54504
54505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54506 $as_echo_n "checking for _modff declaration... " >&6; }
54507   if test x${glibcxx_cv_func__modff_use+set} != xset; then
54508     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54509   $as_echo_n "(cached) " >&6
54510 else
54511
54512
54513       ac_ext=cpp
54514 ac_cpp='$CXXCPP $CPPFLAGS'
54515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54518
54519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54520 /* end confdefs.h.  */
54521 #include <math.h>
54522 int
54523 main ()
54524 {
54525  _modff(0, 0);
54526   ;
54527   return 0;
54528 }
54529 _ACEOF
54530 if ac_fn_cxx_try_compile "$LINENO"; then :
54531   glibcxx_cv_func__modff_use=yes
54532 else
54533   glibcxx_cv_func__modff_use=no
54534 fi
54535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54536       ac_ext=c
54537 ac_cpp='$CPP $CPPFLAGS'
54538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54541
54542
54543 fi
54544
54545   fi
54546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54547 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54548
54549     if test x$glibcxx_cv_func__modff_use = x"yes"; then
54550       for ac_func in _modff
54551 do :
54552   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54553 if test "x$ac_cv_func__modff" = x""yes; then :
54554   cat >>confdefs.h <<_ACEOF
54555 #define HAVE__MODFF 1
54556 _ACEOF
54557
54558 fi
54559 done
54560
54561     fi
54562   fi
54563
54564
54565
54566
54567
54568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54569 $as_echo_n "checking for modf declaration... " >&6; }
54570   if test x${glibcxx_cv_func_modf_use+set} != xset; then
54571     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54572   $as_echo_n "(cached) " >&6
54573 else
54574
54575
54576       ac_ext=cpp
54577 ac_cpp='$CXXCPP $CPPFLAGS'
54578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54581
54582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54583 /* end confdefs.h.  */
54584 #include <math.h>
54585 int
54586 main ()
54587 {
54588  modf(0, 0);
54589   ;
54590   return 0;
54591 }
54592 _ACEOF
54593 if ac_fn_cxx_try_compile "$LINENO"; then :
54594   glibcxx_cv_func_modf_use=yes
54595 else
54596   glibcxx_cv_func_modf_use=no
54597 fi
54598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54599       ac_ext=c
54600 ac_cpp='$CPP $CPPFLAGS'
54601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54604
54605
54606 fi
54607
54608   fi
54609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54610 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54611
54612   if test x$glibcxx_cv_func_modf_use = x"yes"; then
54613     for ac_func in modf
54614 do :
54615   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54616 if test "x$ac_cv_func_modf" = x""yes; then :
54617   cat >>confdefs.h <<_ACEOF
54618 #define HAVE_MODF 1
54619 _ACEOF
54620
54621 fi
54622 done
54623
54624   else
54625
54626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54627 $as_echo_n "checking for _modf declaration... " >&6; }
54628   if test x${glibcxx_cv_func__modf_use+set} != xset; then
54629     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54630   $as_echo_n "(cached) " >&6
54631 else
54632
54633
54634       ac_ext=cpp
54635 ac_cpp='$CXXCPP $CPPFLAGS'
54636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54639
54640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54641 /* end confdefs.h.  */
54642 #include <math.h>
54643 int
54644 main ()
54645 {
54646  _modf(0, 0);
54647   ;
54648   return 0;
54649 }
54650 _ACEOF
54651 if ac_fn_cxx_try_compile "$LINENO"; then :
54652   glibcxx_cv_func__modf_use=yes
54653 else
54654   glibcxx_cv_func__modf_use=no
54655 fi
54656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54657       ac_ext=c
54658 ac_cpp='$CPP $CPPFLAGS'
54659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54662
54663
54664 fi
54665
54666   fi
54667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54668 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54669
54670     if test x$glibcxx_cv_func__modf_use = x"yes"; then
54671       for ac_func in _modf
54672 do :
54673   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54674 if test "x$ac_cv_func__modf" = x""yes; then :
54675   cat >>confdefs.h <<_ACEOF
54676 #define HAVE__MODF 1
54677 _ACEOF
54678
54679 fi
54680 done
54681
54682     fi
54683   fi
54684
54685
54686
54687
54688
54689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54690 $as_echo_n "checking for powf declaration... " >&6; }
54691   if test x${glibcxx_cv_func_powf_use+set} != xset; then
54692     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54693   $as_echo_n "(cached) " >&6
54694 else
54695
54696
54697       ac_ext=cpp
54698 ac_cpp='$CXXCPP $CPPFLAGS'
54699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54702
54703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54704 /* end confdefs.h.  */
54705 #include <math.h>
54706 int
54707 main ()
54708 {
54709  powf(0, 0);
54710   ;
54711   return 0;
54712 }
54713 _ACEOF
54714 if ac_fn_cxx_try_compile "$LINENO"; then :
54715   glibcxx_cv_func_powf_use=yes
54716 else
54717   glibcxx_cv_func_powf_use=no
54718 fi
54719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54720       ac_ext=c
54721 ac_cpp='$CPP $CPPFLAGS'
54722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54725
54726
54727 fi
54728
54729   fi
54730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54731 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54732
54733   if test x$glibcxx_cv_func_powf_use = x"yes"; then
54734     for ac_func in powf
54735 do :
54736   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54737 if test "x$ac_cv_func_powf" = x""yes; then :
54738   cat >>confdefs.h <<_ACEOF
54739 #define HAVE_POWF 1
54740 _ACEOF
54741
54742 fi
54743 done
54744
54745   else
54746
54747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54748 $as_echo_n "checking for _powf declaration... " >&6; }
54749   if test x${glibcxx_cv_func__powf_use+set} != xset; then
54750     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54751   $as_echo_n "(cached) " >&6
54752 else
54753
54754
54755       ac_ext=cpp
54756 ac_cpp='$CXXCPP $CPPFLAGS'
54757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54760
54761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54762 /* end confdefs.h.  */
54763 #include <math.h>
54764 int
54765 main ()
54766 {
54767  _powf(0, 0);
54768   ;
54769   return 0;
54770 }
54771 _ACEOF
54772 if ac_fn_cxx_try_compile "$LINENO"; then :
54773   glibcxx_cv_func__powf_use=yes
54774 else
54775   glibcxx_cv_func__powf_use=no
54776 fi
54777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54778       ac_ext=c
54779 ac_cpp='$CPP $CPPFLAGS'
54780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54783
54784
54785 fi
54786
54787   fi
54788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54789 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54790
54791     if test x$glibcxx_cv_func__powf_use = x"yes"; then
54792       for ac_func in _powf
54793 do :
54794   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54795 if test "x$ac_cv_func__powf" = x""yes; then :
54796   cat >>confdefs.h <<_ACEOF
54797 #define HAVE__POWF 1
54798 _ACEOF
54799
54800 fi
54801 done
54802
54803     fi
54804   fi
54805
54806
54807
54808
54809
54810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54811 $as_echo_n "checking for sqrtf declaration... " >&6; }
54812   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54813     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54814   $as_echo_n "(cached) " >&6
54815 else
54816
54817
54818       ac_ext=cpp
54819 ac_cpp='$CXXCPP $CPPFLAGS'
54820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54823
54824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54825 /* end confdefs.h.  */
54826 #include <math.h>
54827                       #ifdef HAVE_IEEEFP_H
54828                       #include <ieeefp.h>
54829                       #endif
54830
54831 int
54832 main ()
54833 {
54834  sqrtf(0);
54835   ;
54836   return 0;
54837 }
54838 _ACEOF
54839 if ac_fn_cxx_try_compile "$LINENO"; then :
54840   glibcxx_cv_func_sqrtf_use=yes
54841 else
54842   glibcxx_cv_func_sqrtf_use=no
54843 fi
54844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54845       ac_ext=c
54846 ac_cpp='$CPP $CPPFLAGS'
54847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54850
54851
54852 fi
54853
54854   fi
54855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54856 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54857
54858   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54859     for ac_func in sqrtf
54860 do :
54861   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54862 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54863   cat >>confdefs.h <<_ACEOF
54864 #define HAVE_SQRTF 1
54865 _ACEOF
54866
54867 fi
54868 done
54869
54870   else
54871
54872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54873 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54874   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54875     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54876   $as_echo_n "(cached) " >&6
54877 else
54878
54879
54880       ac_ext=cpp
54881 ac_cpp='$CXXCPP $CPPFLAGS'
54882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54885
54886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54887 /* end confdefs.h.  */
54888 #include <math.h>
54889                       #ifdef HAVE_IEEEFP_H
54890                       #include <ieeefp.h>
54891                       #endif
54892
54893 int
54894 main ()
54895 {
54896  _sqrtf(0);
54897   ;
54898   return 0;
54899 }
54900 _ACEOF
54901 if ac_fn_cxx_try_compile "$LINENO"; then :
54902   glibcxx_cv_func__sqrtf_use=yes
54903 else
54904   glibcxx_cv_func__sqrtf_use=no
54905 fi
54906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54907       ac_ext=c
54908 ac_cpp='$CPP $CPPFLAGS'
54909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54912
54913
54914 fi
54915
54916   fi
54917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54918 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54919
54920     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54921       for ac_func in _sqrtf
54922 do :
54923   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54924 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54925   cat >>confdefs.h <<_ACEOF
54926 #define HAVE__SQRTF 1
54927 _ACEOF
54928
54929 fi
54930 done
54931
54932     fi
54933   fi
54934
54935
54936
54937
54938
54939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54940 $as_echo_n "checking for sincosf declaration... " >&6; }
54941   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54942     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54943   $as_echo_n "(cached) " >&6
54944 else
54945
54946
54947       ac_ext=cpp
54948 ac_cpp='$CXXCPP $CPPFLAGS'
54949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54952
54953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54954 /* end confdefs.h.  */
54955 #include <math.h>
54956 int
54957 main ()
54958 {
54959  sincosf(0, 0, 0);
54960   ;
54961   return 0;
54962 }
54963 _ACEOF
54964 if ac_fn_cxx_try_compile "$LINENO"; then :
54965   glibcxx_cv_func_sincosf_use=yes
54966 else
54967   glibcxx_cv_func_sincosf_use=no
54968 fi
54969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54970       ac_ext=c
54971 ac_cpp='$CPP $CPPFLAGS'
54972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54975
54976
54977 fi
54978
54979   fi
54980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54981 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54982
54983   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54984     for ac_func in sincosf
54985 do :
54986   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54987 if test "x$ac_cv_func_sincosf" = x""yes; then :
54988   cat >>confdefs.h <<_ACEOF
54989 #define HAVE_SINCOSF 1
54990 _ACEOF
54991
54992 fi
54993 done
54994
54995   else
54996
54997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54998 $as_echo_n "checking for _sincosf declaration... " >&6; }
54999   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55000     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55001   $as_echo_n "(cached) " >&6
55002 else
55003
55004
55005       ac_ext=cpp
55006 ac_cpp='$CXXCPP $CPPFLAGS'
55007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55010
55011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55012 /* end confdefs.h.  */
55013 #include <math.h>
55014 int
55015 main ()
55016 {
55017  _sincosf(0, 0, 0);
55018   ;
55019   return 0;
55020 }
55021 _ACEOF
55022 if ac_fn_cxx_try_compile "$LINENO"; then :
55023   glibcxx_cv_func__sincosf_use=yes
55024 else
55025   glibcxx_cv_func__sincosf_use=no
55026 fi
55027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55028       ac_ext=c
55029 ac_cpp='$CPP $CPPFLAGS'
55030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55033
55034
55035 fi
55036
55037   fi
55038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55039 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55040
55041     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55042       for ac_func in _sincosf
55043 do :
55044   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55045 if test "x$ac_cv_func__sincosf" = x""yes; then :
55046   cat >>confdefs.h <<_ACEOF
55047 #define HAVE__SINCOSF 1
55048 _ACEOF
55049
55050 fi
55051 done
55052
55053     fi
55054   fi
55055
55056
55057
55058
55059
55060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55061 $as_echo_n "checking for finitef declaration... " >&6; }
55062   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55063     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55064   $as_echo_n "(cached) " >&6
55065 else
55066
55067
55068       ac_ext=cpp
55069 ac_cpp='$CXXCPP $CPPFLAGS'
55070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55073
55074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55075 /* end confdefs.h.  */
55076 #include <math.h>
55077                       #ifdef HAVE_IEEEFP_H
55078                       #include <ieeefp.h>
55079                       #endif
55080
55081 int
55082 main ()
55083 {
55084  finitef(0);
55085   ;
55086   return 0;
55087 }
55088 _ACEOF
55089 if ac_fn_cxx_try_compile "$LINENO"; then :
55090   glibcxx_cv_func_finitef_use=yes
55091 else
55092   glibcxx_cv_func_finitef_use=no
55093 fi
55094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55095       ac_ext=c
55096 ac_cpp='$CPP $CPPFLAGS'
55097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55100
55101
55102 fi
55103
55104   fi
55105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55106 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55107
55108   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55109     for ac_func in finitef
55110 do :
55111   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55112 if test "x$ac_cv_func_finitef" = x""yes; then :
55113   cat >>confdefs.h <<_ACEOF
55114 #define HAVE_FINITEF 1
55115 _ACEOF
55116
55117 fi
55118 done
55119
55120   else
55121
55122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55123 $as_echo_n "checking for _finitef declaration... " >&6; }
55124   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55125     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55126   $as_echo_n "(cached) " >&6
55127 else
55128
55129
55130       ac_ext=cpp
55131 ac_cpp='$CXXCPP $CPPFLAGS'
55132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55135
55136       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55137 /* end confdefs.h.  */
55138 #include <math.h>
55139                       #ifdef HAVE_IEEEFP_H
55140                       #include <ieeefp.h>
55141                       #endif
55142
55143 int
55144 main ()
55145 {
55146  _finitef(0);
55147   ;
55148   return 0;
55149 }
55150 _ACEOF
55151 if ac_fn_cxx_try_compile "$LINENO"; then :
55152   glibcxx_cv_func__finitef_use=yes
55153 else
55154   glibcxx_cv_func__finitef_use=no
55155 fi
55156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55157       ac_ext=c
55158 ac_cpp='$CPP $CPPFLAGS'
55159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55162
55163
55164 fi
55165
55166   fi
55167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55168 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55169
55170     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55171       for ac_func in _finitef
55172 do :
55173   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55174 if test "x$ac_cv_func__finitef" = x""yes; then :
55175   cat >>confdefs.h <<_ACEOF
55176 #define HAVE__FINITEF 1
55177 _ACEOF
55178
55179 fi
55180 done
55181
55182     fi
55183   fi
55184
55185
55186
55187
55188
55189     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55190 $as_echo_n "checking for long double trig functions... " >&6; }
55191   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55192   $as_echo_n "(cached) " >&6
55193 else
55194
55195
55196     ac_ext=cpp
55197 ac_cpp='$CXXCPP $CPPFLAGS'
55198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55201
55202     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55203 /* end confdefs.h.  */
55204 #include <math.h>
55205 int
55206 main ()
55207 {
55208 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55209   ;
55210   return 0;
55211 }
55212 _ACEOF
55213 if ac_fn_cxx_try_compile "$LINENO"; then :
55214   glibcxx_cv_func_long_double_trig_use=yes
55215 else
55216   glibcxx_cv_func_long_double_trig_use=no
55217 fi
55218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55219     ac_ext=c
55220 ac_cpp='$CPP $CPPFLAGS'
55221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55224
55225 fi
55226
55227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55228 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55229   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55230     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55231 do :
55232   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55233 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55234 eval as_val=\$$as_ac_var
55235    if test "x$as_val" = x""yes; then :
55236   cat >>confdefs.h <<_ACEOF
55237 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55238 _ACEOF
55239
55240 fi
55241 done
55242
55243   else
55244     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55245 $as_echo_n "checking for _long double trig functions... " >&6; }
55246     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55247   $as_echo_n "(cached) " >&6
55248 else
55249
55250
55251       ac_ext=cpp
55252 ac_cpp='$CXXCPP $CPPFLAGS'
55253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55256
55257       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55258 /* end confdefs.h.  */
55259 #include <math.h>
55260 int
55261 main ()
55262 {
55263 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55264   ;
55265   return 0;
55266 }
55267 _ACEOF
55268 if ac_fn_cxx_try_compile "$LINENO"; then :
55269   glibcxx_cv_func__long_double_trig_use=yes
55270 else
55271   glibcxx_cv_func__long_double_trig_use=no
55272 fi
55273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55274       ac_ext=c
55275 ac_cpp='$CPP $CPPFLAGS'
55276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55279
55280 fi
55281
55282     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55283 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55284     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55285       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55286 do :
55287   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55288 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55289 eval as_val=\$$as_ac_var
55290    if test "x$as_val" = x""yes; then :
55291   cat >>confdefs.h <<_ACEOF
55292 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55293 _ACEOF
55294
55295 fi
55296 done
55297
55298     fi
55299   fi
55300
55301
55302
55303
55304
55305     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55306 $as_echo_n "checking for long double round functions... " >&6; }
55307   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55308   $as_echo_n "(cached) " >&6
55309 else
55310
55311
55312     ac_ext=cpp
55313 ac_cpp='$CXXCPP $CPPFLAGS'
55314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55317
55318     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55319 /* end confdefs.h.  */
55320 #include <math.h>
55321 int
55322 main ()
55323 {
55324 ceill (0); floorl (0);
55325   ;
55326   return 0;
55327 }
55328 _ACEOF
55329 if ac_fn_cxx_try_compile "$LINENO"; then :
55330   glibcxx_cv_func_long_double_round_use=yes
55331 else
55332   glibcxx_cv_func_long_double_round_use=no
55333 fi
55334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55335     ac_ext=c
55336 ac_cpp='$CPP $CPPFLAGS'
55337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55340
55341 fi
55342
55343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55344 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55345   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55346     for ac_func in ceill floorl
55347 do :
55348   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55349 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55350 eval as_val=\$$as_ac_var
55351    if test "x$as_val" = x""yes; then :
55352   cat >>confdefs.h <<_ACEOF
55353 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55354 _ACEOF
55355
55356 fi
55357 done
55358
55359   else
55360     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55361 $as_echo_n "checking for _long double round functions... " >&6; }
55362     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55363   $as_echo_n "(cached) " >&6
55364 else
55365
55366
55367       ac_ext=cpp
55368 ac_cpp='$CXXCPP $CPPFLAGS'
55369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55372
55373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55374 /* end confdefs.h.  */
55375 #include <math.h>
55376 int
55377 main ()
55378 {
55379 _ceill (0); _floorl (0);
55380   ;
55381   return 0;
55382 }
55383 _ACEOF
55384 if ac_fn_cxx_try_compile "$LINENO"; then :
55385   glibcxx_cv_func__long_double_round_use=yes
55386 else
55387   glibcxx_cv_func__long_double_round_use=no
55388 fi
55389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55390       ac_ext=c
55391 ac_cpp='$CPP $CPPFLAGS'
55392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55395
55396 fi
55397
55398     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55399 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55400     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55401       for ac_func in _ceill _floorl
55402 do :
55403   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55404 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55405 eval as_val=\$$as_ac_var
55406    if test "x$as_val" = x""yes; then :
55407   cat >>confdefs.h <<_ACEOF
55408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55409 _ACEOF
55410
55411 fi
55412 done
55413
55414     fi
55415   fi
55416
55417
55418
55419
55420
55421
55422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55423 $as_echo_n "checking for isnanl declaration... " >&6; }
55424   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55425     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55426   $as_echo_n "(cached) " >&6
55427 else
55428
55429
55430       ac_ext=cpp
55431 ac_cpp='$CXXCPP $CPPFLAGS'
55432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55435
55436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55437 /* end confdefs.h.  */
55438 #include <math.h>
55439                       #ifdef HAVE_IEEEFP_H
55440                       #include <ieeefp.h>
55441                       #endif
55442
55443 int
55444 main ()
55445 {
55446  isnanl(0);
55447   ;
55448   return 0;
55449 }
55450 _ACEOF
55451 if ac_fn_cxx_try_compile "$LINENO"; then :
55452   glibcxx_cv_func_isnanl_use=yes
55453 else
55454   glibcxx_cv_func_isnanl_use=no
55455 fi
55456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55457       ac_ext=c
55458 ac_cpp='$CPP $CPPFLAGS'
55459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55462
55463
55464 fi
55465
55466   fi
55467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55468 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55469
55470   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55471     for ac_func in isnanl
55472 do :
55473   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55474 if test "x$ac_cv_func_isnanl" = x""yes; then :
55475   cat >>confdefs.h <<_ACEOF
55476 #define HAVE_ISNANL 1
55477 _ACEOF
55478
55479 fi
55480 done
55481
55482   else
55483
55484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55485 $as_echo_n "checking for _isnanl declaration... " >&6; }
55486   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55487     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55488   $as_echo_n "(cached) " >&6
55489 else
55490
55491
55492       ac_ext=cpp
55493 ac_cpp='$CXXCPP $CPPFLAGS'
55494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55497
55498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55499 /* end confdefs.h.  */
55500 #include <math.h>
55501                       #ifdef HAVE_IEEEFP_H
55502                       #include <ieeefp.h>
55503                       #endif
55504
55505 int
55506 main ()
55507 {
55508  _isnanl(0);
55509   ;
55510   return 0;
55511 }
55512 _ACEOF
55513 if ac_fn_cxx_try_compile "$LINENO"; then :
55514   glibcxx_cv_func__isnanl_use=yes
55515 else
55516   glibcxx_cv_func__isnanl_use=no
55517 fi
55518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55519       ac_ext=c
55520 ac_cpp='$CPP $CPPFLAGS'
55521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55524
55525
55526 fi
55527
55528   fi
55529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55530 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55531
55532     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55533       for ac_func in _isnanl
55534 do :
55535   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55536 if test "x$ac_cv_func__isnanl" = x""yes; then :
55537   cat >>confdefs.h <<_ACEOF
55538 #define HAVE__ISNANL 1
55539 _ACEOF
55540
55541 fi
55542 done
55543
55544     fi
55545   fi
55546
55547
55548
55549
55550
55551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55552 $as_echo_n "checking for isinfl declaration... " >&6; }
55553   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55554     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55555   $as_echo_n "(cached) " >&6
55556 else
55557
55558
55559       ac_ext=cpp
55560 ac_cpp='$CXXCPP $CPPFLAGS'
55561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55564
55565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55566 /* end confdefs.h.  */
55567 #include <math.h>
55568                       #ifdef HAVE_IEEEFP_H
55569                       #include <ieeefp.h>
55570                       #endif
55571
55572 int
55573 main ()
55574 {
55575  isinfl(0);
55576   ;
55577   return 0;
55578 }
55579 _ACEOF
55580 if ac_fn_cxx_try_compile "$LINENO"; then :
55581   glibcxx_cv_func_isinfl_use=yes
55582 else
55583   glibcxx_cv_func_isinfl_use=no
55584 fi
55585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55586       ac_ext=c
55587 ac_cpp='$CPP $CPPFLAGS'
55588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55591
55592
55593 fi
55594
55595   fi
55596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55597 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55598
55599   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55600     for ac_func in isinfl
55601 do :
55602   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55603 if test "x$ac_cv_func_isinfl" = x""yes; then :
55604   cat >>confdefs.h <<_ACEOF
55605 #define HAVE_ISINFL 1
55606 _ACEOF
55607
55608 fi
55609 done
55610
55611   else
55612
55613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55614 $as_echo_n "checking for _isinfl declaration... " >&6; }
55615   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55616     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55617   $as_echo_n "(cached) " >&6
55618 else
55619
55620
55621       ac_ext=cpp
55622 ac_cpp='$CXXCPP $CPPFLAGS'
55623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55626
55627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55628 /* end confdefs.h.  */
55629 #include <math.h>
55630                       #ifdef HAVE_IEEEFP_H
55631                       #include <ieeefp.h>
55632                       #endif
55633
55634 int
55635 main ()
55636 {
55637  _isinfl(0);
55638   ;
55639   return 0;
55640 }
55641 _ACEOF
55642 if ac_fn_cxx_try_compile "$LINENO"; then :
55643   glibcxx_cv_func__isinfl_use=yes
55644 else
55645   glibcxx_cv_func__isinfl_use=no
55646 fi
55647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55648       ac_ext=c
55649 ac_cpp='$CPP $CPPFLAGS'
55650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55653
55654
55655 fi
55656
55657   fi
55658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55659 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55660
55661     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55662       for ac_func in _isinfl
55663 do :
55664   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55665 if test "x$ac_cv_func__isinfl" = x""yes; then :
55666   cat >>confdefs.h <<_ACEOF
55667 #define HAVE__ISINFL 1
55668 _ACEOF
55669
55670 fi
55671 done
55672
55673     fi
55674   fi
55675
55676
55677
55678
55679
55680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55681 $as_echo_n "checking for atan2l declaration... " >&6; }
55682   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55683     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55684   $as_echo_n "(cached) " >&6
55685 else
55686
55687
55688       ac_ext=cpp
55689 ac_cpp='$CXXCPP $CPPFLAGS'
55690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55693
55694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55695 /* end confdefs.h.  */
55696 #include <math.h>
55697 int
55698 main ()
55699 {
55700  atan2l(0, 0);
55701   ;
55702   return 0;
55703 }
55704 _ACEOF
55705 if ac_fn_cxx_try_compile "$LINENO"; then :
55706   glibcxx_cv_func_atan2l_use=yes
55707 else
55708   glibcxx_cv_func_atan2l_use=no
55709 fi
55710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55711       ac_ext=c
55712 ac_cpp='$CPP $CPPFLAGS'
55713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55716
55717
55718 fi
55719
55720   fi
55721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55722 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55723
55724   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55725     for ac_func in atan2l
55726 do :
55727   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55728 if test "x$ac_cv_func_atan2l" = x""yes; then :
55729   cat >>confdefs.h <<_ACEOF
55730 #define HAVE_ATAN2L 1
55731 _ACEOF
55732
55733 fi
55734 done
55735
55736   else
55737
55738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55739 $as_echo_n "checking for _atan2l declaration... " >&6; }
55740   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55741     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55742   $as_echo_n "(cached) " >&6
55743 else
55744
55745
55746       ac_ext=cpp
55747 ac_cpp='$CXXCPP $CPPFLAGS'
55748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55751
55752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55753 /* end confdefs.h.  */
55754 #include <math.h>
55755 int
55756 main ()
55757 {
55758  _atan2l(0, 0);
55759   ;
55760   return 0;
55761 }
55762 _ACEOF
55763 if ac_fn_cxx_try_compile "$LINENO"; then :
55764   glibcxx_cv_func__atan2l_use=yes
55765 else
55766   glibcxx_cv_func__atan2l_use=no
55767 fi
55768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55769       ac_ext=c
55770 ac_cpp='$CPP $CPPFLAGS'
55771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55774
55775
55776 fi
55777
55778   fi
55779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55780 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55781
55782     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55783       for ac_func in _atan2l
55784 do :
55785   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55786 if test "x$ac_cv_func__atan2l" = x""yes; then :
55787   cat >>confdefs.h <<_ACEOF
55788 #define HAVE__ATAN2L 1
55789 _ACEOF
55790
55791 fi
55792 done
55793
55794     fi
55795   fi
55796
55797
55798
55799
55800
55801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55802 $as_echo_n "checking for expl declaration... " >&6; }
55803   if test x${glibcxx_cv_func_expl_use+set} != xset; then
55804     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55805   $as_echo_n "(cached) " >&6
55806 else
55807
55808
55809       ac_ext=cpp
55810 ac_cpp='$CXXCPP $CPPFLAGS'
55811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55814
55815       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55816 /* end confdefs.h.  */
55817 #include <math.h>
55818                       #ifdef HAVE_IEEEFP_H
55819                       #include <ieeefp.h>
55820                       #endif
55821
55822 int
55823 main ()
55824 {
55825  expl(0);
55826   ;
55827   return 0;
55828 }
55829 _ACEOF
55830 if ac_fn_cxx_try_compile "$LINENO"; then :
55831   glibcxx_cv_func_expl_use=yes
55832 else
55833   glibcxx_cv_func_expl_use=no
55834 fi
55835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55836       ac_ext=c
55837 ac_cpp='$CPP $CPPFLAGS'
55838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55841
55842
55843 fi
55844
55845   fi
55846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55847 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55848
55849   if test x$glibcxx_cv_func_expl_use = x"yes"; then
55850     for ac_func in expl
55851 do :
55852   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55853 if test "x$ac_cv_func_expl" = x""yes; then :
55854   cat >>confdefs.h <<_ACEOF
55855 #define HAVE_EXPL 1
55856 _ACEOF
55857
55858 fi
55859 done
55860
55861   else
55862
55863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55864 $as_echo_n "checking for _expl declaration... " >&6; }
55865   if test x${glibcxx_cv_func__expl_use+set} != xset; then
55866     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55867   $as_echo_n "(cached) " >&6
55868 else
55869
55870
55871       ac_ext=cpp
55872 ac_cpp='$CXXCPP $CPPFLAGS'
55873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55876
55877       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55878 /* end confdefs.h.  */
55879 #include <math.h>
55880                       #ifdef HAVE_IEEEFP_H
55881                       #include <ieeefp.h>
55882                       #endif
55883
55884 int
55885 main ()
55886 {
55887  _expl(0);
55888   ;
55889   return 0;
55890 }
55891 _ACEOF
55892 if ac_fn_cxx_try_compile "$LINENO"; then :
55893   glibcxx_cv_func__expl_use=yes
55894 else
55895   glibcxx_cv_func__expl_use=no
55896 fi
55897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55898       ac_ext=c
55899 ac_cpp='$CPP $CPPFLAGS'
55900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55903
55904
55905 fi
55906
55907   fi
55908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55909 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55910
55911     if test x$glibcxx_cv_func__expl_use = x"yes"; then
55912       for ac_func in _expl
55913 do :
55914   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55915 if test "x$ac_cv_func__expl" = x""yes; then :
55916   cat >>confdefs.h <<_ACEOF
55917 #define HAVE__EXPL 1
55918 _ACEOF
55919
55920 fi
55921 done
55922
55923     fi
55924   fi
55925
55926
55927
55928
55929
55930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55931 $as_echo_n "checking for fabsl declaration... " >&6; }
55932   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55933     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55934   $as_echo_n "(cached) " >&6
55935 else
55936
55937
55938       ac_ext=cpp
55939 ac_cpp='$CXXCPP $CPPFLAGS'
55940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55943
55944       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55945 /* end confdefs.h.  */
55946 #include <math.h>
55947                       #ifdef HAVE_IEEEFP_H
55948                       #include <ieeefp.h>
55949                       #endif
55950
55951 int
55952 main ()
55953 {
55954  fabsl(0);
55955   ;
55956   return 0;
55957 }
55958 _ACEOF
55959 if ac_fn_cxx_try_compile "$LINENO"; then :
55960   glibcxx_cv_func_fabsl_use=yes
55961 else
55962   glibcxx_cv_func_fabsl_use=no
55963 fi
55964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55965       ac_ext=c
55966 ac_cpp='$CPP $CPPFLAGS'
55967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55970
55971
55972 fi
55973
55974   fi
55975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55976 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55977
55978   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55979     for ac_func in fabsl
55980 do :
55981   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55982 if test "x$ac_cv_func_fabsl" = x""yes; then :
55983   cat >>confdefs.h <<_ACEOF
55984 #define HAVE_FABSL 1
55985 _ACEOF
55986
55987 fi
55988 done
55989
55990   else
55991
55992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55993 $as_echo_n "checking for _fabsl declaration... " >&6; }
55994   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55995     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55996   $as_echo_n "(cached) " >&6
55997 else
55998
55999
56000       ac_ext=cpp
56001 ac_cpp='$CXXCPP $CPPFLAGS'
56002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56005
56006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56007 /* end confdefs.h.  */
56008 #include <math.h>
56009                       #ifdef HAVE_IEEEFP_H
56010                       #include <ieeefp.h>
56011                       #endif
56012
56013 int
56014 main ()
56015 {
56016  _fabsl(0);
56017   ;
56018   return 0;
56019 }
56020 _ACEOF
56021 if ac_fn_cxx_try_compile "$LINENO"; then :
56022   glibcxx_cv_func__fabsl_use=yes
56023 else
56024   glibcxx_cv_func__fabsl_use=no
56025 fi
56026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56027       ac_ext=c
56028 ac_cpp='$CPP $CPPFLAGS'
56029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56032
56033
56034 fi
56035
56036   fi
56037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56038 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56039
56040     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56041       for ac_func in _fabsl
56042 do :
56043   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56044 if test "x$ac_cv_func__fabsl" = x""yes; then :
56045   cat >>confdefs.h <<_ACEOF
56046 #define HAVE__FABSL 1
56047 _ACEOF
56048
56049 fi
56050 done
56051
56052     fi
56053   fi
56054
56055
56056
56057
56058
56059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56060 $as_echo_n "checking for fmodl declaration... " >&6; }
56061   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56062     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56063   $as_echo_n "(cached) " >&6
56064 else
56065
56066
56067       ac_ext=cpp
56068 ac_cpp='$CXXCPP $CPPFLAGS'
56069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56072
56073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56074 /* end confdefs.h.  */
56075 #include <math.h>
56076 int
56077 main ()
56078 {
56079  fmodl(0, 0);
56080   ;
56081   return 0;
56082 }
56083 _ACEOF
56084 if ac_fn_cxx_try_compile "$LINENO"; then :
56085   glibcxx_cv_func_fmodl_use=yes
56086 else
56087   glibcxx_cv_func_fmodl_use=no
56088 fi
56089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56090       ac_ext=c
56091 ac_cpp='$CPP $CPPFLAGS'
56092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56095
56096
56097 fi
56098
56099   fi
56100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56101 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56102
56103   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56104     for ac_func in fmodl
56105 do :
56106   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56107 if test "x$ac_cv_func_fmodl" = x""yes; then :
56108   cat >>confdefs.h <<_ACEOF
56109 #define HAVE_FMODL 1
56110 _ACEOF
56111
56112 fi
56113 done
56114
56115   else
56116
56117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56118 $as_echo_n "checking for _fmodl declaration... " >&6; }
56119   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56120     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56121   $as_echo_n "(cached) " >&6
56122 else
56123
56124
56125       ac_ext=cpp
56126 ac_cpp='$CXXCPP $CPPFLAGS'
56127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56130
56131       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56132 /* end confdefs.h.  */
56133 #include <math.h>
56134 int
56135 main ()
56136 {
56137  _fmodl(0, 0);
56138   ;
56139   return 0;
56140 }
56141 _ACEOF
56142 if ac_fn_cxx_try_compile "$LINENO"; then :
56143   glibcxx_cv_func__fmodl_use=yes
56144 else
56145   glibcxx_cv_func__fmodl_use=no
56146 fi
56147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56148       ac_ext=c
56149 ac_cpp='$CPP $CPPFLAGS'
56150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56153
56154
56155 fi
56156
56157   fi
56158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56159 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56160
56161     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56162       for ac_func in _fmodl
56163 do :
56164   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56165 if test "x$ac_cv_func__fmodl" = x""yes; then :
56166   cat >>confdefs.h <<_ACEOF
56167 #define HAVE__FMODL 1
56168 _ACEOF
56169
56170 fi
56171 done
56172
56173     fi
56174   fi
56175
56176
56177
56178
56179
56180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56181 $as_echo_n "checking for frexpl declaration... " >&6; }
56182   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56183     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56184   $as_echo_n "(cached) " >&6
56185 else
56186
56187
56188       ac_ext=cpp
56189 ac_cpp='$CXXCPP $CPPFLAGS'
56190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56193
56194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56195 /* end confdefs.h.  */
56196 #include <math.h>
56197 int
56198 main ()
56199 {
56200  frexpl(0, 0);
56201   ;
56202   return 0;
56203 }
56204 _ACEOF
56205 if ac_fn_cxx_try_compile "$LINENO"; then :
56206   glibcxx_cv_func_frexpl_use=yes
56207 else
56208   glibcxx_cv_func_frexpl_use=no
56209 fi
56210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56211       ac_ext=c
56212 ac_cpp='$CPP $CPPFLAGS'
56213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56216
56217
56218 fi
56219
56220   fi
56221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56222 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56223
56224   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56225     for ac_func in frexpl
56226 do :
56227   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56228 if test "x$ac_cv_func_frexpl" = x""yes; then :
56229   cat >>confdefs.h <<_ACEOF
56230 #define HAVE_FREXPL 1
56231 _ACEOF
56232
56233 fi
56234 done
56235
56236   else
56237
56238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56239 $as_echo_n "checking for _frexpl declaration... " >&6; }
56240   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56241     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56242   $as_echo_n "(cached) " >&6
56243 else
56244
56245
56246       ac_ext=cpp
56247 ac_cpp='$CXXCPP $CPPFLAGS'
56248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56251
56252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56253 /* end confdefs.h.  */
56254 #include <math.h>
56255 int
56256 main ()
56257 {
56258  _frexpl(0, 0);
56259   ;
56260   return 0;
56261 }
56262 _ACEOF
56263 if ac_fn_cxx_try_compile "$LINENO"; then :
56264   glibcxx_cv_func__frexpl_use=yes
56265 else
56266   glibcxx_cv_func__frexpl_use=no
56267 fi
56268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56269       ac_ext=c
56270 ac_cpp='$CPP $CPPFLAGS'
56271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56274
56275
56276 fi
56277
56278   fi
56279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56280 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56281
56282     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56283       for ac_func in _frexpl
56284 do :
56285   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56286 if test "x$ac_cv_func__frexpl" = x""yes; then :
56287   cat >>confdefs.h <<_ACEOF
56288 #define HAVE__FREXPL 1
56289 _ACEOF
56290
56291 fi
56292 done
56293
56294     fi
56295   fi
56296
56297
56298
56299
56300
56301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56302 $as_echo_n "checking for hypotl declaration... " >&6; }
56303   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56304     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56305   $as_echo_n "(cached) " >&6
56306 else
56307
56308
56309       ac_ext=cpp
56310 ac_cpp='$CXXCPP $CPPFLAGS'
56311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56314
56315       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56316 /* end confdefs.h.  */
56317 #include <math.h>
56318 int
56319 main ()
56320 {
56321  hypotl(0, 0);
56322   ;
56323   return 0;
56324 }
56325 _ACEOF
56326 if ac_fn_cxx_try_compile "$LINENO"; then :
56327   glibcxx_cv_func_hypotl_use=yes
56328 else
56329   glibcxx_cv_func_hypotl_use=no
56330 fi
56331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56332       ac_ext=c
56333 ac_cpp='$CPP $CPPFLAGS'
56334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56337
56338
56339 fi
56340
56341   fi
56342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56343 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56344
56345   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56346     for ac_func in hypotl
56347 do :
56348   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56349 if test "x$ac_cv_func_hypotl" = x""yes; then :
56350   cat >>confdefs.h <<_ACEOF
56351 #define HAVE_HYPOTL 1
56352 _ACEOF
56353
56354 fi
56355 done
56356
56357   else
56358
56359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56360 $as_echo_n "checking for _hypotl declaration... " >&6; }
56361   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56362     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56363   $as_echo_n "(cached) " >&6
56364 else
56365
56366
56367       ac_ext=cpp
56368 ac_cpp='$CXXCPP $CPPFLAGS'
56369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56372
56373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56374 /* end confdefs.h.  */
56375 #include <math.h>
56376 int
56377 main ()
56378 {
56379  _hypotl(0, 0);
56380   ;
56381   return 0;
56382 }
56383 _ACEOF
56384 if ac_fn_cxx_try_compile "$LINENO"; then :
56385   glibcxx_cv_func__hypotl_use=yes
56386 else
56387   glibcxx_cv_func__hypotl_use=no
56388 fi
56389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56390       ac_ext=c
56391 ac_cpp='$CPP $CPPFLAGS'
56392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56395
56396
56397 fi
56398
56399   fi
56400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56401 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56402
56403     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56404       for ac_func in _hypotl
56405 do :
56406   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56407 if test "x$ac_cv_func__hypotl" = x""yes; then :
56408   cat >>confdefs.h <<_ACEOF
56409 #define HAVE__HYPOTL 1
56410 _ACEOF
56411
56412 fi
56413 done
56414
56415     fi
56416   fi
56417
56418
56419
56420
56421
56422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56423 $as_echo_n "checking for ldexpl declaration... " >&6; }
56424   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56425     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56426   $as_echo_n "(cached) " >&6
56427 else
56428
56429
56430       ac_ext=cpp
56431 ac_cpp='$CXXCPP $CPPFLAGS'
56432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56435
56436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56437 /* end confdefs.h.  */
56438 #include <math.h>
56439 int
56440 main ()
56441 {
56442  ldexpl(0, 0);
56443   ;
56444   return 0;
56445 }
56446 _ACEOF
56447 if ac_fn_cxx_try_compile "$LINENO"; then :
56448   glibcxx_cv_func_ldexpl_use=yes
56449 else
56450   glibcxx_cv_func_ldexpl_use=no
56451 fi
56452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56453       ac_ext=c
56454 ac_cpp='$CPP $CPPFLAGS'
56455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56458
56459
56460 fi
56461
56462   fi
56463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56464 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56465
56466   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56467     for ac_func in ldexpl
56468 do :
56469   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56470 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56471   cat >>confdefs.h <<_ACEOF
56472 #define HAVE_LDEXPL 1
56473 _ACEOF
56474
56475 fi
56476 done
56477
56478   else
56479
56480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56481 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56482   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56483     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56484   $as_echo_n "(cached) " >&6
56485 else
56486
56487
56488       ac_ext=cpp
56489 ac_cpp='$CXXCPP $CPPFLAGS'
56490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56493
56494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56495 /* end confdefs.h.  */
56496 #include <math.h>
56497 int
56498 main ()
56499 {
56500  _ldexpl(0, 0);
56501   ;
56502   return 0;
56503 }
56504 _ACEOF
56505 if ac_fn_cxx_try_compile "$LINENO"; then :
56506   glibcxx_cv_func__ldexpl_use=yes
56507 else
56508   glibcxx_cv_func__ldexpl_use=no
56509 fi
56510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56511       ac_ext=c
56512 ac_cpp='$CPP $CPPFLAGS'
56513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56516
56517
56518 fi
56519
56520   fi
56521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56522 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56523
56524     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56525       for ac_func in _ldexpl
56526 do :
56527   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56528 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56529   cat >>confdefs.h <<_ACEOF
56530 #define HAVE__LDEXPL 1
56531 _ACEOF
56532
56533 fi
56534 done
56535
56536     fi
56537   fi
56538
56539
56540
56541
56542
56543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56544 $as_echo_n "checking for logl declaration... " >&6; }
56545   if test x${glibcxx_cv_func_logl_use+set} != xset; then
56546     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56547   $as_echo_n "(cached) " >&6
56548 else
56549
56550
56551       ac_ext=cpp
56552 ac_cpp='$CXXCPP $CPPFLAGS'
56553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56556
56557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56558 /* end confdefs.h.  */
56559 #include <math.h>
56560                       #ifdef HAVE_IEEEFP_H
56561                       #include <ieeefp.h>
56562                       #endif
56563
56564 int
56565 main ()
56566 {
56567  logl(0);
56568   ;
56569   return 0;
56570 }
56571 _ACEOF
56572 if ac_fn_cxx_try_compile "$LINENO"; then :
56573   glibcxx_cv_func_logl_use=yes
56574 else
56575   glibcxx_cv_func_logl_use=no
56576 fi
56577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56578       ac_ext=c
56579 ac_cpp='$CPP $CPPFLAGS'
56580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56583
56584
56585 fi
56586
56587   fi
56588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56589 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56590
56591   if test x$glibcxx_cv_func_logl_use = x"yes"; then
56592     for ac_func in logl
56593 do :
56594   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56595 if test "x$ac_cv_func_logl" = x""yes; then :
56596   cat >>confdefs.h <<_ACEOF
56597 #define HAVE_LOGL 1
56598 _ACEOF
56599
56600 fi
56601 done
56602
56603   else
56604
56605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56606 $as_echo_n "checking for _logl declaration... " >&6; }
56607   if test x${glibcxx_cv_func__logl_use+set} != xset; then
56608     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56609   $as_echo_n "(cached) " >&6
56610 else
56611
56612
56613       ac_ext=cpp
56614 ac_cpp='$CXXCPP $CPPFLAGS'
56615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56618
56619       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56620 /* end confdefs.h.  */
56621 #include <math.h>
56622                       #ifdef HAVE_IEEEFP_H
56623                       #include <ieeefp.h>
56624                       #endif
56625
56626 int
56627 main ()
56628 {
56629  _logl(0);
56630   ;
56631   return 0;
56632 }
56633 _ACEOF
56634 if ac_fn_cxx_try_compile "$LINENO"; then :
56635   glibcxx_cv_func__logl_use=yes
56636 else
56637   glibcxx_cv_func__logl_use=no
56638 fi
56639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56640       ac_ext=c
56641 ac_cpp='$CPP $CPPFLAGS'
56642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56645
56646
56647 fi
56648
56649   fi
56650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56651 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56652
56653     if test x$glibcxx_cv_func__logl_use = x"yes"; then
56654       for ac_func in _logl
56655 do :
56656   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56657 if test "x$ac_cv_func__logl" = x""yes; then :
56658   cat >>confdefs.h <<_ACEOF
56659 #define HAVE__LOGL 1
56660 _ACEOF
56661
56662 fi
56663 done
56664
56665     fi
56666   fi
56667
56668
56669
56670
56671
56672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56673 $as_echo_n "checking for log10l declaration... " >&6; }
56674   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56675     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56676   $as_echo_n "(cached) " >&6
56677 else
56678
56679
56680       ac_ext=cpp
56681 ac_cpp='$CXXCPP $CPPFLAGS'
56682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56685
56686       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56687 /* end confdefs.h.  */
56688 #include <math.h>
56689                       #ifdef HAVE_IEEEFP_H
56690                       #include <ieeefp.h>
56691                       #endif
56692
56693 int
56694 main ()
56695 {
56696  log10l(0);
56697   ;
56698   return 0;
56699 }
56700 _ACEOF
56701 if ac_fn_cxx_try_compile "$LINENO"; then :
56702   glibcxx_cv_func_log10l_use=yes
56703 else
56704   glibcxx_cv_func_log10l_use=no
56705 fi
56706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56707       ac_ext=c
56708 ac_cpp='$CPP $CPPFLAGS'
56709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56712
56713
56714 fi
56715
56716   fi
56717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56718 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56719
56720   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56721     for ac_func in log10l
56722 do :
56723   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56724 if test "x$ac_cv_func_log10l" = x""yes; then :
56725   cat >>confdefs.h <<_ACEOF
56726 #define HAVE_LOG10L 1
56727 _ACEOF
56728
56729 fi
56730 done
56731
56732   else
56733
56734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56735 $as_echo_n "checking for _log10l declaration... " >&6; }
56736   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56737     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56738   $as_echo_n "(cached) " >&6
56739 else
56740
56741
56742       ac_ext=cpp
56743 ac_cpp='$CXXCPP $CPPFLAGS'
56744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56747
56748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56749 /* end confdefs.h.  */
56750 #include <math.h>
56751                       #ifdef HAVE_IEEEFP_H
56752                       #include <ieeefp.h>
56753                       #endif
56754
56755 int
56756 main ()
56757 {
56758  _log10l(0);
56759   ;
56760   return 0;
56761 }
56762 _ACEOF
56763 if ac_fn_cxx_try_compile "$LINENO"; then :
56764   glibcxx_cv_func__log10l_use=yes
56765 else
56766   glibcxx_cv_func__log10l_use=no
56767 fi
56768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56769       ac_ext=c
56770 ac_cpp='$CPP $CPPFLAGS'
56771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56774
56775
56776 fi
56777
56778   fi
56779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56780 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56781
56782     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56783       for ac_func in _log10l
56784 do :
56785   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56786 if test "x$ac_cv_func__log10l" = x""yes; then :
56787   cat >>confdefs.h <<_ACEOF
56788 #define HAVE__LOG10L 1
56789 _ACEOF
56790
56791 fi
56792 done
56793
56794     fi
56795   fi
56796
56797
56798
56799
56800
56801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56802 $as_echo_n "checking for modfl declaration... " >&6; }
56803   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56804     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56805   $as_echo_n "(cached) " >&6
56806 else
56807
56808
56809       ac_ext=cpp
56810 ac_cpp='$CXXCPP $CPPFLAGS'
56811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56814
56815       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56816 /* end confdefs.h.  */
56817 #include <math.h>
56818 int
56819 main ()
56820 {
56821  modfl(0, 0);
56822   ;
56823   return 0;
56824 }
56825 _ACEOF
56826 if ac_fn_cxx_try_compile "$LINENO"; then :
56827   glibcxx_cv_func_modfl_use=yes
56828 else
56829   glibcxx_cv_func_modfl_use=no
56830 fi
56831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56832       ac_ext=c
56833 ac_cpp='$CPP $CPPFLAGS'
56834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56837
56838
56839 fi
56840
56841   fi
56842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56843 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56844
56845   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56846     for ac_func in modfl
56847 do :
56848   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56849 if test "x$ac_cv_func_modfl" = x""yes; then :
56850   cat >>confdefs.h <<_ACEOF
56851 #define HAVE_MODFL 1
56852 _ACEOF
56853
56854 fi
56855 done
56856
56857   else
56858
56859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56860 $as_echo_n "checking for _modfl declaration... " >&6; }
56861   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56862     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56863   $as_echo_n "(cached) " >&6
56864 else
56865
56866
56867       ac_ext=cpp
56868 ac_cpp='$CXXCPP $CPPFLAGS'
56869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56872
56873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56874 /* end confdefs.h.  */
56875 #include <math.h>
56876 int
56877 main ()
56878 {
56879  _modfl(0, 0);
56880   ;
56881   return 0;
56882 }
56883 _ACEOF
56884 if ac_fn_cxx_try_compile "$LINENO"; then :
56885   glibcxx_cv_func__modfl_use=yes
56886 else
56887   glibcxx_cv_func__modfl_use=no
56888 fi
56889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56890       ac_ext=c
56891 ac_cpp='$CPP $CPPFLAGS'
56892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56895
56896
56897 fi
56898
56899   fi
56900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56901 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56902
56903     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56904       for ac_func in _modfl
56905 do :
56906   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56907 if test "x$ac_cv_func__modfl" = x""yes; then :
56908   cat >>confdefs.h <<_ACEOF
56909 #define HAVE__MODFL 1
56910 _ACEOF
56911
56912 fi
56913 done
56914
56915     fi
56916   fi
56917
56918
56919
56920
56921
56922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56923 $as_echo_n "checking for powl declaration... " >&6; }
56924   if test x${glibcxx_cv_func_powl_use+set} != xset; then
56925     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56926   $as_echo_n "(cached) " >&6
56927 else
56928
56929
56930       ac_ext=cpp
56931 ac_cpp='$CXXCPP $CPPFLAGS'
56932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56935
56936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56937 /* end confdefs.h.  */
56938 #include <math.h>
56939 int
56940 main ()
56941 {
56942  powl(0, 0);
56943   ;
56944   return 0;
56945 }
56946 _ACEOF
56947 if ac_fn_cxx_try_compile "$LINENO"; then :
56948   glibcxx_cv_func_powl_use=yes
56949 else
56950   glibcxx_cv_func_powl_use=no
56951 fi
56952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56953       ac_ext=c
56954 ac_cpp='$CPP $CPPFLAGS'
56955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56958
56959
56960 fi
56961
56962   fi
56963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56964 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56965
56966   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56967     for ac_func in powl
56968 do :
56969   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56970 if test "x$ac_cv_func_powl" = x""yes; then :
56971   cat >>confdefs.h <<_ACEOF
56972 #define HAVE_POWL 1
56973 _ACEOF
56974
56975 fi
56976 done
56977
56978   else
56979
56980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56981 $as_echo_n "checking for _powl declaration... " >&6; }
56982   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56983     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56984   $as_echo_n "(cached) " >&6
56985 else
56986
56987
56988       ac_ext=cpp
56989 ac_cpp='$CXXCPP $CPPFLAGS'
56990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56993
56994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56995 /* end confdefs.h.  */
56996 #include <math.h>
56997 int
56998 main ()
56999 {
57000  _powl(0, 0);
57001   ;
57002   return 0;
57003 }
57004 _ACEOF
57005 if ac_fn_cxx_try_compile "$LINENO"; then :
57006   glibcxx_cv_func__powl_use=yes
57007 else
57008   glibcxx_cv_func__powl_use=no
57009 fi
57010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57011       ac_ext=c
57012 ac_cpp='$CPP $CPPFLAGS'
57013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57016
57017
57018 fi
57019
57020   fi
57021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57022 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57023
57024     if test x$glibcxx_cv_func__powl_use = x"yes"; then
57025       for ac_func in _powl
57026 do :
57027   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57028 if test "x$ac_cv_func__powl" = x""yes; then :
57029   cat >>confdefs.h <<_ACEOF
57030 #define HAVE__POWL 1
57031 _ACEOF
57032
57033 fi
57034 done
57035
57036     fi
57037   fi
57038
57039
57040
57041
57042
57043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57044 $as_echo_n "checking for sqrtl declaration... " >&6; }
57045   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57046     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57047   $as_echo_n "(cached) " >&6
57048 else
57049
57050
57051       ac_ext=cpp
57052 ac_cpp='$CXXCPP $CPPFLAGS'
57053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57056
57057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57058 /* end confdefs.h.  */
57059 #include <math.h>
57060                       #ifdef HAVE_IEEEFP_H
57061                       #include <ieeefp.h>
57062                       #endif
57063
57064 int
57065 main ()
57066 {
57067  sqrtl(0);
57068   ;
57069   return 0;
57070 }
57071 _ACEOF
57072 if ac_fn_cxx_try_compile "$LINENO"; then :
57073   glibcxx_cv_func_sqrtl_use=yes
57074 else
57075   glibcxx_cv_func_sqrtl_use=no
57076 fi
57077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57078       ac_ext=c
57079 ac_cpp='$CPP $CPPFLAGS'
57080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57083
57084
57085 fi
57086
57087   fi
57088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57089 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57090
57091   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57092     for ac_func in sqrtl
57093 do :
57094   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57095 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57096   cat >>confdefs.h <<_ACEOF
57097 #define HAVE_SQRTL 1
57098 _ACEOF
57099
57100 fi
57101 done
57102
57103   else
57104
57105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57106 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57107   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57108     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57109   $as_echo_n "(cached) " >&6
57110 else
57111
57112
57113       ac_ext=cpp
57114 ac_cpp='$CXXCPP $CPPFLAGS'
57115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57118
57119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57120 /* end confdefs.h.  */
57121 #include <math.h>
57122                       #ifdef HAVE_IEEEFP_H
57123                       #include <ieeefp.h>
57124                       #endif
57125
57126 int
57127 main ()
57128 {
57129  _sqrtl(0);
57130   ;
57131   return 0;
57132 }
57133 _ACEOF
57134 if ac_fn_cxx_try_compile "$LINENO"; then :
57135   glibcxx_cv_func__sqrtl_use=yes
57136 else
57137   glibcxx_cv_func__sqrtl_use=no
57138 fi
57139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57140       ac_ext=c
57141 ac_cpp='$CPP $CPPFLAGS'
57142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57145
57146
57147 fi
57148
57149   fi
57150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57151 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57152
57153     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57154       for ac_func in _sqrtl
57155 do :
57156   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57157 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57158   cat >>confdefs.h <<_ACEOF
57159 #define HAVE__SQRTL 1
57160 _ACEOF
57161
57162 fi
57163 done
57164
57165     fi
57166   fi
57167
57168
57169
57170
57171
57172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57173 $as_echo_n "checking for sincosl declaration... " >&6; }
57174   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57175     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57176   $as_echo_n "(cached) " >&6
57177 else
57178
57179
57180       ac_ext=cpp
57181 ac_cpp='$CXXCPP $CPPFLAGS'
57182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57185
57186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57187 /* end confdefs.h.  */
57188 #include <math.h>
57189 int
57190 main ()
57191 {
57192  sincosl(0, 0, 0);
57193   ;
57194   return 0;
57195 }
57196 _ACEOF
57197 if ac_fn_cxx_try_compile "$LINENO"; then :
57198   glibcxx_cv_func_sincosl_use=yes
57199 else
57200   glibcxx_cv_func_sincosl_use=no
57201 fi
57202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57203       ac_ext=c
57204 ac_cpp='$CPP $CPPFLAGS'
57205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57208
57209
57210 fi
57211
57212   fi
57213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57214 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57215
57216   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57217     for ac_func in sincosl
57218 do :
57219   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57220 if test "x$ac_cv_func_sincosl" = x""yes; then :
57221   cat >>confdefs.h <<_ACEOF
57222 #define HAVE_SINCOSL 1
57223 _ACEOF
57224
57225 fi
57226 done
57227
57228   else
57229
57230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57231 $as_echo_n "checking for _sincosl declaration... " >&6; }
57232   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57233     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57234   $as_echo_n "(cached) " >&6
57235 else
57236
57237
57238       ac_ext=cpp
57239 ac_cpp='$CXXCPP $CPPFLAGS'
57240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57243
57244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57245 /* end confdefs.h.  */
57246 #include <math.h>
57247 int
57248 main ()
57249 {
57250  _sincosl(0, 0, 0);
57251   ;
57252   return 0;
57253 }
57254 _ACEOF
57255 if ac_fn_cxx_try_compile "$LINENO"; then :
57256   glibcxx_cv_func__sincosl_use=yes
57257 else
57258   glibcxx_cv_func__sincosl_use=no
57259 fi
57260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57261       ac_ext=c
57262 ac_cpp='$CPP $CPPFLAGS'
57263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57266
57267
57268 fi
57269
57270   fi
57271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57272 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57273
57274     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57275       for ac_func in _sincosl
57276 do :
57277   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57278 if test "x$ac_cv_func__sincosl" = x""yes; then :
57279   cat >>confdefs.h <<_ACEOF
57280 #define HAVE__SINCOSL 1
57281 _ACEOF
57282
57283 fi
57284 done
57285
57286     fi
57287   fi
57288
57289
57290
57291
57292
57293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57294 $as_echo_n "checking for finitel declaration... " >&6; }
57295   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57296     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57297   $as_echo_n "(cached) " >&6
57298 else
57299
57300
57301       ac_ext=cpp
57302 ac_cpp='$CXXCPP $CPPFLAGS'
57303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57306
57307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57308 /* end confdefs.h.  */
57309 #include <math.h>
57310                       #ifdef HAVE_IEEEFP_H
57311                       #include <ieeefp.h>
57312                       #endif
57313
57314 int
57315 main ()
57316 {
57317  finitel(0);
57318   ;
57319   return 0;
57320 }
57321 _ACEOF
57322 if ac_fn_cxx_try_compile "$LINENO"; then :
57323   glibcxx_cv_func_finitel_use=yes
57324 else
57325   glibcxx_cv_func_finitel_use=no
57326 fi
57327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57328       ac_ext=c
57329 ac_cpp='$CPP $CPPFLAGS'
57330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57333
57334
57335 fi
57336
57337   fi
57338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57339 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57340
57341   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57342     for ac_func in finitel
57343 do :
57344   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57345 if test "x$ac_cv_func_finitel" = x""yes; then :
57346   cat >>confdefs.h <<_ACEOF
57347 #define HAVE_FINITEL 1
57348 _ACEOF
57349
57350 fi
57351 done
57352
57353   else
57354
57355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57356 $as_echo_n "checking for _finitel declaration... " >&6; }
57357   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57358     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57359   $as_echo_n "(cached) " >&6
57360 else
57361
57362
57363       ac_ext=cpp
57364 ac_cpp='$CXXCPP $CPPFLAGS'
57365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57368
57369       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57370 /* end confdefs.h.  */
57371 #include <math.h>
57372                       #ifdef HAVE_IEEEFP_H
57373                       #include <ieeefp.h>
57374                       #endif
57375
57376 int
57377 main ()
57378 {
57379  _finitel(0);
57380   ;
57381   return 0;
57382 }
57383 _ACEOF
57384 if ac_fn_cxx_try_compile "$LINENO"; then :
57385   glibcxx_cv_func__finitel_use=yes
57386 else
57387   glibcxx_cv_func__finitel_use=no
57388 fi
57389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57390       ac_ext=c
57391 ac_cpp='$CPP $CPPFLAGS'
57392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57395
57396
57397 fi
57398
57399   fi
57400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57401 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57402
57403     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57404       for ac_func in _finitel
57405 do :
57406   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57407 if test "x$ac_cv_func__finitel" = x""yes; then :
57408   cat >>confdefs.h <<_ACEOF
57409 #define HAVE__FINITEL 1
57410 _ACEOF
57411
57412 fi
57413 done
57414
57415     fi
57416   fi
57417
57418
57419
57420
57421   LIBS="$ac_save_LIBS"
57422   CXXFLAGS="$ac_save_CXXFLAGS"
57423
57424
57425   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57426   ac_save_CXXFLAGS="$CXXFLAGS"
57427   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57428
57429
57430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57431 $as_echo_n "checking for strtold declaration... " >&6; }
57432   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57433     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57434   $as_echo_n "(cached) " >&6
57435 else
57436
57437
57438       ac_ext=cpp
57439 ac_cpp='$CXXCPP $CPPFLAGS'
57440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57443
57444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57445 /* end confdefs.h.  */
57446 #include <stdlib.h>
57447 int
57448 main ()
57449 {
57450  strtold(0, 0);
57451   ;
57452   return 0;
57453 }
57454 _ACEOF
57455 if ac_fn_cxx_try_compile "$LINENO"; then :
57456   glibcxx_cv_func_strtold_use=yes
57457 else
57458   glibcxx_cv_func_strtold_use=no
57459 fi
57460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57461       ac_ext=c
57462 ac_cpp='$CPP $CPPFLAGS'
57463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57466
57467
57468 fi
57469
57470   fi
57471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57472 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57473   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57474     for ac_func in strtold
57475 do :
57476   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57477 if test "x$ac_cv_func_strtold" = x""yes; then :
57478   cat >>confdefs.h <<_ACEOF
57479 #define HAVE_STRTOLD 1
57480 _ACEOF
57481
57482 fi
57483 done
57484
57485   fi
57486
57487
57488
57489
57490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57491 $as_echo_n "checking for strtof declaration... " >&6; }
57492   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57493     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57494   $as_echo_n "(cached) " >&6
57495 else
57496
57497
57498       ac_ext=cpp
57499 ac_cpp='$CXXCPP $CPPFLAGS'
57500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57503
57504       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57505 /* end confdefs.h.  */
57506 #include <stdlib.h>
57507 int
57508 main ()
57509 {
57510  strtof(0, 0);
57511   ;
57512   return 0;
57513 }
57514 _ACEOF
57515 if ac_fn_cxx_try_compile "$LINENO"; then :
57516   glibcxx_cv_func_strtof_use=yes
57517 else
57518   glibcxx_cv_func_strtof_use=no
57519 fi
57520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57521       ac_ext=c
57522 ac_cpp='$CPP $CPPFLAGS'
57523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57526
57527
57528 fi
57529
57530   fi
57531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57532 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57533   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57534     for ac_func in strtof
57535 do :
57536   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57537 if test "x$ac_cv_func_strtof" = x""yes; then :
57538   cat >>confdefs.h <<_ACEOF
57539 #define HAVE_STRTOF 1
57540 _ACEOF
57541
57542 fi
57543 done
57544
57545   fi
57546
57547
57548
57549
57550   CXXFLAGS="$ac_save_CXXFLAGS"
57551
57552     ;;
57553   *-netbsd*)
57554     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57555
57556
57557   # If we're not using GNU ld, then there's no point in even trying these
57558   # tests.  Check for that first.  We should have already tested for gld
57559   # by now (in libtool), but require it now just to be safe...
57560   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57561   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57562
57563
57564
57565   # The name set by libtool depends on the version of libtool.  Shame on us
57566   # for depending on an impl detail, but c'est la vie.  Older versions used
57567   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57568   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57569   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57570   # set (hence we're using an older libtool), then set it.
57571   if test x${with_gnu_ld+set} != xset; then
57572     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57573       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57574       with_gnu_ld=no
57575     else
57576       with_gnu_ld=$ac_cv_prog_gnu_ld
57577     fi
57578   fi
57579
57580   # Start by getting the version number.  I think the libtool test already
57581   # does some of this, but throws away the result.
57582   glibcxx_ld_is_gold=no
57583   if test x"$with_gnu_ld" = x"yes"; then
57584     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57585 $as_echo_n "checking for ld version... " >&6; }
57586
57587     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57588       glibcxx_ld_is_gold=yes
57589     fi
57590     ldver=`$LD --version 2>/dev/null |
57591            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'`
57592
57593     glibcxx_gnu_ld_version=`echo $ldver | \
57594            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57595     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57596 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57597   fi
57598
57599   # Set --gc-sections.
57600   glibcxx_have_gc_sections=no
57601   if test "$glibcxx_ld_is_gold" = "yes"; then
57602     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57603       glibcxx_have_gc_sections=yes
57604     fi
57605   else
57606     glibcxx_gcsections_min_ld=21602
57607     if test x"$with_gnu_ld" = x"yes" &&
57608         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57609       glibcxx_have_gc_sections=yes
57610     fi
57611   fi
57612   if test "$glibcxx_have_gc_sections" = "yes"; then
57613     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57614     # NB: This flag only works reliably after 2.16.1. Configure tests
57615     # for this are difficult, so hard wire a value that should work.
57616
57617     ac_test_CFLAGS="${CFLAGS+set}"
57618     ac_save_CFLAGS="$CFLAGS"
57619     CFLAGS='-Wl,--gc-sections'
57620
57621     # Check for -Wl,--gc-sections
57622     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57623 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57624     if test x$gcc_no_link = xyes; then
57625   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57626 fi
57627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57628 /* end confdefs.h.  */
57629  int one(void) { return 1; }
57630      int two(void) { return 2; }
57631
57632 int
57633 main ()
57634 {
57635  two();
57636   ;
57637   return 0;
57638 }
57639 _ACEOF
57640 if ac_fn_c_try_link "$LINENO"; then :
57641   ac_gcsections=yes
57642 else
57643   ac_gcsections=no
57644 fi
57645 rm -f core conftest.err conftest.$ac_objext \
57646     conftest$ac_exeext conftest.$ac_ext
57647     if test "$ac_gcsections" = "yes"; then
57648       rm -f conftest.c
57649       touch conftest.c
57650       if $CC -c conftest.c; then
57651         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57652            grep "Warning: gc-sections option ignored" > /dev/null; then
57653           ac_gcsections=no
57654         fi
57655       fi
57656       rm -f conftest.c conftest.o conftest
57657     fi
57658     if test "$ac_gcsections" = "yes"; then
57659       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57660     fi
57661     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57662 $as_echo "$ac_gcsections" >&6; }
57663
57664     if test "$ac_test_CFLAGS" = set; then
57665       CFLAGS="$ac_save_CFLAGS"
57666     else
57667       # this is the suspicious part
57668       CFLAGS=''
57669     fi
57670   fi
57671
57672   # Set -z,relro.
57673   # Note this is only for shared objects.
57674   ac_ld_relro=no
57675   if test x"$with_gnu_ld" = x"yes"; then
57676     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57677 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57678     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57679     if test -n "$cxx_z_relo"; then
57680       OPT_LDFLAGS="-Wl,-z,relro"
57681       ac_ld_relro=yes
57682     fi
57683     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57684 $as_echo "$ac_ld_relro" >&6; }
57685   fi
57686
57687   # Set linker optimization flags.
57688   if test x"$with_gnu_ld" = x"yes"; then
57689     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57690   fi
57691
57692
57693
57694
57695     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57696
57697     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57698
57699     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57700
57701     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57702
57703     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57704
57705     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57706
57707     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57708
57709     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57710
57711     if test x"long_double_math_on_this_cpu" = x"yes"; then
57712       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57713
57714       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57715
57716       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57717
57718     fi
57719     ;;
57720   *-qnx6.1* | *-qnx6.2*)
57721     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57722
57723
57724   # If we're not using GNU ld, then there's no point in even trying these
57725   # tests.  Check for that first.  We should have already tested for gld
57726   # by now (in libtool), but require it now just to be safe...
57727   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57728   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57729
57730
57731
57732   # The name set by libtool depends on the version of libtool.  Shame on us
57733   # for depending on an impl detail, but c'est la vie.  Older versions used
57734   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57735   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57736   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57737   # set (hence we're using an older libtool), then set it.
57738   if test x${with_gnu_ld+set} != xset; then
57739     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57740       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57741       with_gnu_ld=no
57742     else
57743       with_gnu_ld=$ac_cv_prog_gnu_ld
57744     fi
57745   fi
57746
57747   # Start by getting the version number.  I think the libtool test already
57748   # does some of this, but throws away the result.
57749   glibcxx_ld_is_gold=no
57750   if test x"$with_gnu_ld" = x"yes"; then
57751     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57752 $as_echo_n "checking for ld version... " >&6; }
57753
57754     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57755       glibcxx_ld_is_gold=yes
57756     fi
57757     ldver=`$LD --version 2>/dev/null |
57758            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'`
57759
57760     glibcxx_gnu_ld_version=`echo $ldver | \
57761            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57762     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57763 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57764   fi
57765
57766   # Set --gc-sections.
57767   glibcxx_have_gc_sections=no
57768   if test "$glibcxx_ld_is_gold" = "yes"; then
57769     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57770       glibcxx_have_gc_sections=yes
57771     fi
57772   else
57773     glibcxx_gcsections_min_ld=21602
57774     if test x"$with_gnu_ld" = x"yes" &&
57775         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57776       glibcxx_have_gc_sections=yes
57777     fi
57778   fi
57779   if test "$glibcxx_have_gc_sections" = "yes"; then
57780     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57781     # NB: This flag only works reliably after 2.16.1. Configure tests
57782     # for this are difficult, so hard wire a value that should work.
57783
57784     ac_test_CFLAGS="${CFLAGS+set}"
57785     ac_save_CFLAGS="$CFLAGS"
57786     CFLAGS='-Wl,--gc-sections'
57787
57788     # Check for -Wl,--gc-sections
57789     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57790 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57791     if test x$gcc_no_link = xyes; then
57792   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57793 fi
57794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57795 /* end confdefs.h.  */
57796  int one(void) { return 1; }
57797      int two(void) { return 2; }
57798
57799 int
57800 main ()
57801 {
57802  two();
57803   ;
57804   return 0;
57805 }
57806 _ACEOF
57807 if ac_fn_c_try_link "$LINENO"; then :
57808   ac_gcsections=yes
57809 else
57810   ac_gcsections=no
57811 fi
57812 rm -f core conftest.err conftest.$ac_objext \
57813     conftest$ac_exeext conftest.$ac_ext
57814     if test "$ac_gcsections" = "yes"; then
57815       rm -f conftest.c
57816       touch conftest.c
57817       if $CC -c conftest.c; then
57818         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57819            grep "Warning: gc-sections option ignored" > /dev/null; then
57820           ac_gcsections=no
57821         fi
57822       fi
57823       rm -f conftest.c conftest.o conftest
57824     fi
57825     if test "$ac_gcsections" = "yes"; then
57826       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57827     fi
57828     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57829 $as_echo "$ac_gcsections" >&6; }
57830
57831     if test "$ac_test_CFLAGS" = set; then
57832       CFLAGS="$ac_save_CFLAGS"
57833     else
57834       # this is the suspicious part
57835       CFLAGS=''
57836     fi
57837   fi
57838
57839   # Set -z,relro.
57840   # Note this is only for shared objects.
57841   ac_ld_relro=no
57842   if test x"$with_gnu_ld" = x"yes"; then
57843     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57844 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57845     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57846     if test -n "$cxx_z_relo"; then
57847       OPT_LDFLAGS="-Wl,-z,relro"
57848       ac_ld_relro=yes
57849     fi
57850     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57851 $as_echo "$ac_ld_relro" >&6; }
57852   fi
57853
57854   # Set linker optimization flags.
57855   if test x"$with_gnu_ld" = x"yes"; then
57856     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57857   fi
57858
57859
57860
57861
57862     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57863
57864     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57865
57866     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57867
57868     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57869
57870     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57871
57872     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57873
57874     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57875
57876     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57877
57878     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57879
57880     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57881
57882     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57883
57884     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57885
57886     ;;
57887   *-rtems*)
57888
57889   # All these tests are for C++; save the language and the compiler flags.
57890   # The CXXFLAGS thing is suspicious, but based on similar bits previously
57891   # found in GLIBCXX_CONFIGURE.
57892
57893   ac_ext=cpp
57894 ac_cpp='$CXXCPP $CPPFLAGS'
57895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57898
57899   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57900   ac_save_CXXFLAGS="$CXXFLAGS"
57901
57902   # Check for maintainer-mode bits.
57903   if test x"$USE_MAINTAINER_MODE" = xno; then
57904     WERROR=''
57905   else
57906     WERROR='-Werror'
57907   fi
57908
57909   # Check for -ffunction-sections -fdata-sections
57910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57911 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57912   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57914 /* end confdefs.h.  */
57915 int foo; void bar() { };
57916 int
57917 main ()
57918 {
57919
57920   ;
57921   return 0;
57922 }
57923 _ACEOF
57924 if ac_fn_cxx_try_compile "$LINENO"; then :
57925   ac_fdsections=yes
57926 else
57927   ac_fdsections=no
57928 fi
57929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57930   if test "$ac_test_CXXFLAGS" = set; then
57931     CXXFLAGS="$ac_save_CXXFLAGS"
57932   else
57933     # this is the suspicious part
57934     CXXFLAGS=''
57935   fi
57936   if test x"$ac_fdsections" = x"yes"; then
57937     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57938   fi
57939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57940 $as_echo "$ac_fdsections" >&6; }
57941
57942   ac_ext=c
57943 ac_cpp='$CPP $CPPFLAGS'
57944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57947
57948
57949
57950
57951
57952   # If we're not using GNU ld, then there's no point in even trying these
57953   # tests.  Check for that first.  We should have already tested for gld
57954   # by now (in libtool), but require it now just to be safe...
57955   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57956   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57957
57958
57959
57960   # The name set by libtool depends on the version of libtool.  Shame on us
57961   # for depending on an impl detail, but c'est la vie.  Older versions used
57962   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57963   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57964   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57965   # set (hence we're using an older libtool), then set it.
57966   if test x${with_gnu_ld+set} != xset; then
57967     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57968       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57969       with_gnu_ld=no
57970     else
57971       with_gnu_ld=$ac_cv_prog_gnu_ld
57972     fi
57973   fi
57974
57975   # Start by getting the version number.  I think the libtool test already
57976   # does some of this, but throws away the result.
57977   glibcxx_ld_is_gold=no
57978   if test x"$with_gnu_ld" = x"yes"; then
57979     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57980 $as_echo_n "checking for ld version... " >&6; }
57981
57982     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57983       glibcxx_ld_is_gold=yes
57984     fi
57985     ldver=`$LD --version 2>/dev/null |
57986            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'`
57987
57988     glibcxx_gnu_ld_version=`echo $ldver | \
57989            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57990     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57991 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57992   fi
57993
57994   # Set --gc-sections.
57995   glibcxx_have_gc_sections=no
57996   if test "$glibcxx_ld_is_gold" = "yes"; then
57997     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57998       glibcxx_have_gc_sections=yes
57999     fi
58000   else
58001     glibcxx_gcsections_min_ld=21602
58002     if test x"$with_gnu_ld" = x"yes" &&
58003         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58004       glibcxx_have_gc_sections=yes
58005     fi
58006   fi
58007   if test "$glibcxx_have_gc_sections" = "yes"; then
58008     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
58009     # NB: This flag only works reliably after 2.16.1. Configure tests
58010     # for this are difficult, so hard wire a value that should work.
58011
58012     ac_test_CFLAGS="${CFLAGS+set}"
58013     ac_save_CFLAGS="$CFLAGS"
58014     CFLAGS='-Wl,--gc-sections'
58015
58016     # Check for -Wl,--gc-sections
58017     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58018 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58019     if test x$gcc_no_link = xyes; then
58020   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58021 fi
58022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58023 /* end confdefs.h.  */
58024  int one(void) { return 1; }
58025      int two(void) { return 2; }
58026
58027 int
58028 main ()
58029 {
58030  two();
58031   ;
58032   return 0;
58033 }
58034 _ACEOF
58035 if ac_fn_c_try_link "$LINENO"; then :
58036   ac_gcsections=yes
58037 else
58038   ac_gcsections=no
58039 fi
58040 rm -f core conftest.err conftest.$ac_objext \
58041     conftest$ac_exeext conftest.$ac_ext
58042     if test "$ac_gcsections" = "yes"; then
58043       rm -f conftest.c
58044       touch conftest.c
58045       if $CC -c conftest.c; then
58046         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58047            grep "Warning: gc-sections option ignored" > /dev/null; then
58048           ac_gcsections=no
58049         fi
58050       fi
58051       rm -f conftest.c conftest.o conftest
58052     fi
58053     if test "$ac_gcsections" = "yes"; then
58054       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58055     fi
58056     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58057 $as_echo "$ac_gcsections" >&6; }
58058
58059     if test "$ac_test_CFLAGS" = set; then
58060       CFLAGS="$ac_save_CFLAGS"
58061     else
58062       # this is the suspicious part
58063       CFLAGS=''
58064     fi
58065   fi
58066
58067   # Set -z,relro.
58068   # Note this is only for shared objects.
58069   ac_ld_relro=no
58070   if test x"$with_gnu_ld" = x"yes"; then
58071     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58072 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58073     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58074     if test -n "$cxx_z_relo"; then
58075       OPT_LDFLAGS="-Wl,-z,relro"
58076       ac_ld_relro=yes
58077     fi
58078     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58079 $as_echo "$ac_ld_relro" >&6; }
58080   fi
58081
58082   # Set linker optimization flags.
58083   if test x"$with_gnu_ld" = x"yes"; then
58084     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58085   fi
58086
58087
58088
58089
58090
58091   ac_test_CXXFLAGS="${CXXFLAGS+set}"
58092   ac_save_CXXFLAGS="$CXXFLAGS"
58093   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58094
58095     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58096 $as_echo_n "checking for sin in -lm... " >&6; }
58097 if test "${ac_cv_lib_m_sin+set}" = set; then :
58098   $as_echo_n "(cached) " >&6
58099 else
58100   ac_check_lib_save_LIBS=$LIBS
58101 LIBS="-lm  $LIBS"
58102 if test x$gcc_no_link = xyes; then
58103   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58104 fi
58105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58106 /* end confdefs.h.  */
58107
58108 /* Override any GCC internal prototype to avoid an error.
58109    Use char because int might match the return type of a GCC
58110    builtin and then its argument prototype would still apply.  */
58111 #ifdef __cplusplus
58112 extern "C"
58113 #endif
58114 char sin ();
58115 int
58116 main ()
58117 {
58118 return sin ();
58119   ;
58120   return 0;
58121 }
58122 _ACEOF
58123 if ac_fn_c_try_link "$LINENO"; then :
58124   ac_cv_lib_m_sin=yes
58125 else
58126   ac_cv_lib_m_sin=no
58127 fi
58128 rm -f core conftest.err conftest.$ac_objext \
58129     conftest$ac_exeext conftest.$ac_ext
58130 LIBS=$ac_check_lib_save_LIBS
58131 fi
58132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58133 $as_echo "$ac_cv_lib_m_sin" >&6; }
58134 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58135   libm="-lm"
58136 fi
58137
58138   ac_save_LIBS="$LIBS"
58139   LIBS="$LIBS $libm"
58140
58141
58142
58143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58144 $as_echo_n "checking for isinf declaration... " >&6; }
58145   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58146     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58147   $as_echo_n "(cached) " >&6
58148 else
58149
58150
58151       ac_ext=cpp
58152 ac_cpp='$CXXCPP $CPPFLAGS'
58153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58156
58157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58158 /* end confdefs.h.  */
58159 #include <math.h>
58160                       #ifdef HAVE_IEEEFP_H
58161                       #include <ieeefp.h>
58162                       #endif
58163
58164 int
58165 main ()
58166 {
58167  isinf(0);
58168   ;
58169   return 0;
58170 }
58171 _ACEOF
58172 if ac_fn_cxx_try_compile "$LINENO"; then :
58173   glibcxx_cv_func_isinf_use=yes
58174 else
58175   glibcxx_cv_func_isinf_use=no
58176 fi
58177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58178       ac_ext=c
58179 ac_cpp='$CPP $CPPFLAGS'
58180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58183
58184
58185 fi
58186
58187   fi
58188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58189 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58190
58191   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58192     for ac_func in isinf
58193 do :
58194   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58195 if test "x$ac_cv_func_isinf" = x""yes; then :
58196   cat >>confdefs.h <<_ACEOF
58197 #define HAVE_ISINF 1
58198 _ACEOF
58199
58200 fi
58201 done
58202
58203   else
58204
58205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58206 $as_echo_n "checking for _isinf declaration... " >&6; }
58207   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58208     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58209   $as_echo_n "(cached) " >&6
58210 else
58211
58212
58213       ac_ext=cpp
58214 ac_cpp='$CXXCPP $CPPFLAGS'
58215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58218
58219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58220 /* end confdefs.h.  */
58221 #include <math.h>
58222                       #ifdef HAVE_IEEEFP_H
58223                       #include <ieeefp.h>
58224                       #endif
58225
58226 int
58227 main ()
58228 {
58229  _isinf(0);
58230   ;
58231   return 0;
58232 }
58233 _ACEOF
58234 if ac_fn_cxx_try_compile "$LINENO"; then :
58235   glibcxx_cv_func__isinf_use=yes
58236 else
58237   glibcxx_cv_func__isinf_use=no
58238 fi
58239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58240       ac_ext=c
58241 ac_cpp='$CPP $CPPFLAGS'
58242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58245
58246
58247 fi
58248
58249   fi
58250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58251 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58252
58253     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58254       for ac_func in _isinf
58255 do :
58256   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58257 if test "x$ac_cv_func__isinf" = x""yes; then :
58258   cat >>confdefs.h <<_ACEOF
58259 #define HAVE__ISINF 1
58260 _ACEOF
58261
58262 fi
58263 done
58264
58265     fi
58266   fi
58267
58268
58269
58270
58271
58272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58273 $as_echo_n "checking for isnan declaration... " >&6; }
58274   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58275     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58276   $as_echo_n "(cached) " >&6
58277 else
58278
58279
58280       ac_ext=cpp
58281 ac_cpp='$CXXCPP $CPPFLAGS'
58282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58285
58286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58287 /* end confdefs.h.  */
58288 #include <math.h>
58289                       #ifdef HAVE_IEEEFP_H
58290                       #include <ieeefp.h>
58291                       #endif
58292
58293 int
58294 main ()
58295 {
58296  isnan(0);
58297   ;
58298   return 0;
58299 }
58300 _ACEOF
58301 if ac_fn_cxx_try_compile "$LINENO"; then :
58302   glibcxx_cv_func_isnan_use=yes
58303 else
58304   glibcxx_cv_func_isnan_use=no
58305 fi
58306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58307       ac_ext=c
58308 ac_cpp='$CPP $CPPFLAGS'
58309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58312
58313
58314 fi
58315
58316   fi
58317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58318 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58319
58320   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58321     for ac_func in isnan
58322 do :
58323   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58324 if test "x$ac_cv_func_isnan" = x""yes; then :
58325   cat >>confdefs.h <<_ACEOF
58326 #define HAVE_ISNAN 1
58327 _ACEOF
58328
58329 fi
58330 done
58331
58332   else
58333
58334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58335 $as_echo_n "checking for _isnan declaration... " >&6; }
58336   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58337     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58338   $as_echo_n "(cached) " >&6
58339 else
58340
58341
58342       ac_ext=cpp
58343 ac_cpp='$CXXCPP $CPPFLAGS'
58344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58347
58348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58349 /* end confdefs.h.  */
58350 #include <math.h>
58351                       #ifdef HAVE_IEEEFP_H
58352                       #include <ieeefp.h>
58353                       #endif
58354
58355 int
58356 main ()
58357 {
58358  _isnan(0);
58359   ;
58360   return 0;
58361 }
58362 _ACEOF
58363 if ac_fn_cxx_try_compile "$LINENO"; then :
58364   glibcxx_cv_func__isnan_use=yes
58365 else
58366   glibcxx_cv_func__isnan_use=no
58367 fi
58368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58369       ac_ext=c
58370 ac_cpp='$CPP $CPPFLAGS'
58371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58374
58375
58376 fi
58377
58378   fi
58379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58380 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58381
58382     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58383       for ac_func in _isnan
58384 do :
58385   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58386 if test "x$ac_cv_func__isnan" = x""yes; then :
58387   cat >>confdefs.h <<_ACEOF
58388 #define HAVE__ISNAN 1
58389 _ACEOF
58390
58391 fi
58392 done
58393
58394     fi
58395   fi
58396
58397
58398
58399
58400
58401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58402 $as_echo_n "checking for finite declaration... " >&6; }
58403   if test x${glibcxx_cv_func_finite_use+set} != xset; then
58404     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58405   $as_echo_n "(cached) " >&6
58406 else
58407
58408
58409       ac_ext=cpp
58410 ac_cpp='$CXXCPP $CPPFLAGS'
58411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58414
58415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58416 /* end confdefs.h.  */
58417 #include <math.h>
58418                       #ifdef HAVE_IEEEFP_H
58419                       #include <ieeefp.h>
58420                       #endif
58421
58422 int
58423 main ()
58424 {
58425  finite(0);
58426   ;
58427   return 0;
58428 }
58429 _ACEOF
58430 if ac_fn_cxx_try_compile "$LINENO"; then :
58431   glibcxx_cv_func_finite_use=yes
58432 else
58433   glibcxx_cv_func_finite_use=no
58434 fi
58435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58436       ac_ext=c
58437 ac_cpp='$CPP $CPPFLAGS'
58438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58441
58442
58443 fi
58444
58445   fi
58446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58447 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58448
58449   if test x$glibcxx_cv_func_finite_use = x"yes"; then
58450     for ac_func in finite
58451 do :
58452   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58453 if test "x$ac_cv_func_finite" = x""yes; then :
58454   cat >>confdefs.h <<_ACEOF
58455 #define HAVE_FINITE 1
58456 _ACEOF
58457
58458 fi
58459 done
58460
58461   else
58462
58463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58464 $as_echo_n "checking for _finite declaration... " >&6; }
58465   if test x${glibcxx_cv_func__finite_use+set} != xset; then
58466     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58467   $as_echo_n "(cached) " >&6
58468 else
58469
58470
58471       ac_ext=cpp
58472 ac_cpp='$CXXCPP $CPPFLAGS'
58473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58476
58477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58478 /* end confdefs.h.  */
58479 #include <math.h>
58480                       #ifdef HAVE_IEEEFP_H
58481                       #include <ieeefp.h>
58482                       #endif
58483
58484 int
58485 main ()
58486 {
58487  _finite(0);
58488   ;
58489   return 0;
58490 }
58491 _ACEOF
58492 if ac_fn_cxx_try_compile "$LINENO"; then :
58493   glibcxx_cv_func__finite_use=yes
58494 else
58495   glibcxx_cv_func__finite_use=no
58496 fi
58497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58498       ac_ext=c
58499 ac_cpp='$CPP $CPPFLAGS'
58500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58503
58504
58505 fi
58506
58507   fi
58508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58509 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58510
58511     if test x$glibcxx_cv_func__finite_use = x"yes"; then
58512       for ac_func in _finite
58513 do :
58514   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58515 if test "x$ac_cv_func__finite" = x""yes; then :
58516   cat >>confdefs.h <<_ACEOF
58517 #define HAVE__FINITE 1
58518 _ACEOF
58519
58520 fi
58521 done
58522
58523     fi
58524   fi
58525
58526
58527
58528
58529
58530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58531 $as_echo_n "checking for sincos declaration... " >&6; }
58532   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58533     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58534   $as_echo_n "(cached) " >&6
58535 else
58536
58537
58538       ac_ext=cpp
58539 ac_cpp='$CXXCPP $CPPFLAGS'
58540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58543
58544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58545 /* end confdefs.h.  */
58546 #include <math.h>
58547 int
58548 main ()
58549 {
58550  sincos(0, 0, 0);
58551   ;
58552   return 0;
58553 }
58554 _ACEOF
58555 if ac_fn_cxx_try_compile "$LINENO"; then :
58556   glibcxx_cv_func_sincos_use=yes
58557 else
58558   glibcxx_cv_func_sincos_use=no
58559 fi
58560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58561       ac_ext=c
58562 ac_cpp='$CPP $CPPFLAGS'
58563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58566
58567
58568 fi
58569
58570   fi
58571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58572 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58573
58574   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58575     for ac_func in sincos
58576 do :
58577   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58578 if test "x$ac_cv_func_sincos" = x""yes; then :
58579   cat >>confdefs.h <<_ACEOF
58580 #define HAVE_SINCOS 1
58581 _ACEOF
58582
58583 fi
58584 done
58585
58586   else
58587
58588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58589 $as_echo_n "checking for _sincos declaration... " >&6; }
58590   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58591     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58592   $as_echo_n "(cached) " >&6
58593 else
58594
58595
58596       ac_ext=cpp
58597 ac_cpp='$CXXCPP $CPPFLAGS'
58598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58601
58602       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58603 /* end confdefs.h.  */
58604 #include <math.h>
58605 int
58606 main ()
58607 {
58608  _sincos(0, 0, 0);
58609   ;
58610   return 0;
58611 }
58612 _ACEOF
58613 if ac_fn_cxx_try_compile "$LINENO"; then :
58614   glibcxx_cv_func__sincos_use=yes
58615 else
58616   glibcxx_cv_func__sincos_use=no
58617 fi
58618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58619       ac_ext=c
58620 ac_cpp='$CPP $CPPFLAGS'
58621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58624
58625
58626 fi
58627
58628   fi
58629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58630 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58631
58632     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58633       for ac_func in _sincos
58634 do :
58635   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58636 if test "x$ac_cv_func__sincos" = x""yes; then :
58637   cat >>confdefs.h <<_ACEOF
58638 #define HAVE__SINCOS 1
58639 _ACEOF
58640
58641 fi
58642 done
58643
58644     fi
58645   fi
58646
58647
58648
58649
58650
58651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58652 $as_echo_n "checking for fpclass declaration... " >&6; }
58653   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58654     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58655   $as_echo_n "(cached) " >&6
58656 else
58657
58658
58659       ac_ext=cpp
58660 ac_cpp='$CXXCPP $CPPFLAGS'
58661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58664
58665       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58666 /* end confdefs.h.  */
58667 #include <math.h>
58668                       #ifdef HAVE_IEEEFP_H
58669                       #include <ieeefp.h>
58670                       #endif
58671
58672 int
58673 main ()
58674 {
58675  fpclass(0);
58676   ;
58677   return 0;
58678 }
58679 _ACEOF
58680 if ac_fn_cxx_try_compile "$LINENO"; then :
58681   glibcxx_cv_func_fpclass_use=yes
58682 else
58683   glibcxx_cv_func_fpclass_use=no
58684 fi
58685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58686       ac_ext=c
58687 ac_cpp='$CPP $CPPFLAGS'
58688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58691
58692
58693 fi
58694
58695   fi
58696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58697 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58698
58699   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58700     for ac_func in fpclass
58701 do :
58702   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58703 if test "x$ac_cv_func_fpclass" = x""yes; then :
58704   cat >>confdefs.h <<_ACEOF
58705 #define HAVE_FPCLASS 1
58706 _ACEOF
58707
58708 fi
58709 done
58710
58711   else
58712
58713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58714 $as_echo_n "checking for _fpclass declaration... " >&6; }
58715   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58716     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58717   $as_echo_n "(cached) " >&6
58718 else
58719
58720
58721       ac_ext=cpp
58722 ac_cpp='$CXXCPP $CPPFLAGS'
58723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58726
58727       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58728 /* end confdefs.h.  */
58729 #include <math.h>
58730                       #ifdef HAVE_IEEEFP_H
58731                       #include <ieeefp.h>
58732                       #endif
58733
58734 int
58735 main ()
58736 {
58737  _fpclass(0);
58738   ;
58739   return 0;
58740 }
58741 _ACEOF
58742 if ac_fn_cxx_try_compile "$LINENO"; then :
58743   glibcxx_cv_func__fpclass_use=yes
58744 else
58745   glibcxx_cv_func__fpclass_use=no
58746 fi
58747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58748       ac_ext=c
58749 ac_cpp='$CPP $CPPFLAGS'
58750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58753
58754
58755 fi
58756
58757   fi
58758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58759 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58760
58761     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58762       for ac_func in _fpclass
58763 do :
58764   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58765 if test "x$ac_cv_func__fpclass" = x""yes; then :
58766   cat >>confdefs.h <<_ACEOF
58767 #define HAVE__FPCLASS 1
58768 _ACEOF
58769
58770 fi
58771 done
58772
58773     fi
58774   fi
58775
58776
58777
58778
58779
58780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58781 $as_echo_n "checking for qfpclass declaration... " >&6; }
58782   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58783     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58784   $as_echo_n "(cached) " >&6
58785 else
58786
58787
58788       ac_ext=cpp
58789 ac_cpp='$CXXCPP $CPPFLAGS'
58790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58793
58794       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58795 /* end confdefs.h.  */
58796 #include <math.h>
58797                       #ifdef HAVE_IEEEFP_H
58798                       #include <ieeefp.h>
58799                       #endif
58800
58801 int
58802 main ()
58803 {
58804  qfpclass(0);
58805   ;
58806   return 0;
58807 }
58808 _ACEOF
58809 if ac_fn_cxx_try_compile "$LINENO"; then :
58810   glibcxx_cv_func_qfpclass_use=yes
58811 else
58812   glibcxx_cv_func_qfpclass_use=no
58813 fi
58814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58815       ac_ext=c
58816 ac_cpp='$CPP $CPPFLAGS'
58817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58820
58821
58822 fi
58823
58824   fi
58825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58826 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58827
58828   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58829     for ac_func in qfpclass
58830 do :
58831   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58832 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58833   cat >>confdefs.h <<_ACEOF
58834 #define HAVE_QFPCLASS 1
58835 _ACEOF
58836
58837 fi
58838 done
58839
58840   else
58841
58842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58843 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58844   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58845     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58846   $as_echo_n "(cached) " >&6
58847 else
58848
58849
58850       ac_ext=cpp
58851 ac_cpp='$CXXCPP $CPPFLAGS'
58852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58855
58856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58857 /* end confdefs.h.  */
58858 #include <math.h>
58859                       #ifdef HAVE_IEEEFP_H
58860                       #include <ieeefp.h>
58861                       #endif
58862
58863 int
58864 main ()
58865 {
58866  _qfpclass(0);
58867   ;
58868   return 0;
58869 }
58870 _ACEOF
58871 if ac_fn_cxx_try_compile "$LINENO"; then :
58872   glibcxx_cv_func__qfpclass_use=yes
58873 else
58874   glibcxx_cv_func__qfpclass_use=no
58875 fi
58876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58877       ac_ext=c
58878 ac_cpp='$CPP $CPPFLAGS'
58879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58882
58883
58884 fi
58885
58886   fi
58887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58888 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58889
58890     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58891       for ac_func in _qfpclass
58892 do :
58893   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58894 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58895   cat >>confdefs.h <<_ACEOF
58896 #define HAVE__QFPCLASS 1
58897 _ACEOF
58898
58899 fi
58900 done
58901
58902     fi
58903   fi
58904
58905
58906
58907
58908
58909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58910 $as_echo_n "checking for hypot declaration... " >&6; }
58911   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58912     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58913   $as_echo_n "(cached) " >&6
58914 else
58915
58916
58917       ac_ext=cpp
58918 ac_cpp='$CXXCPP $CPPFLAGS'
58919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58922
58923       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58924 /* end confdefs.h.  */
58925 #include <math.h>
58926 int
58927 main ()
58928 {
58929  hypot(0, 0);
58930   ;
58931   return 0;
58932 }
58933 _ACEOF
58934 if ac_fn_cxx_try_compile "$LINENO"; then :
58935   glibcxx_cv_func_hypot_use=yes
58936 else
58937   glibcxx_cv_func_hypot_use=no
58938 fi
58939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58940       ac_ext=c
58941 ac_cpp='$CPP $CPPFLAGS'
58942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58945
58946
58947 fi
58948
58949   fi
58950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58951 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58952
58953   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58954     for ac_func in hypot
58955 do :
58956   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58957 if test "x$ac_cv_func_hypot" = x""yes; then :
58958   cat >>confdefs.h <<_ACEOF
58959 #define HAVE_HYPOT 1
58960 _ACEOF
58961
58962 fi
58963 done
58964
58965   else
58966
58967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58968 $as_echo_n "checking for _hypot declaration... " >&6; }
58969   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58970     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58971   $as_echo_n "(cached) " >&6
58972 else
58973
58974
58975       ac_ext=cpp
58976 ac_cpp='$CXXCPP $CPPFLAGS'
58977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58980
58981       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58982 /* end confdefs.h.  */
58983 #include <math.h>
58984 int
58985 main ()
58986 {
58987  _hypot(0, 0);
58988   ;
58989   return 0;
58990 }
58991 _ACEOF
58992 if ac_fn_cxx_try_compile "$LINENO"; then :
58993   glibcxx_cv_func__hypot_use=yes
58994 else
58995   glibcxx_cv_func__hypot_use=no
58996 fi
58997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58998       ac_ext=c
58999 ac_cpp='$CPP $CPPFLAGS'
59000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59003
59004
59005 fi
59006
59007   fi
59008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59009 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59010
59011     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59012       for ac_func in _hypot
59013 do :
59014   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59015 if test "x$ac_cv_func__hypot" = x""yes; then :
59016   cat >>confdefs.h <<_ACEOF
59017 #define HAVE__HYPOT 1
59018 _ACEOF
59019
59020 fi
59021 done
59022
59023     fi
59024   fi
59025
59026
59027
59028
59029
59030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59031 $as_echo_n "checking for float trig functions... " >&6; }
59032   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59033   $as_echo_n "(cached) " >&6
59034 else
59035
59036
59037     ac_ext=cpp
59038 ac_cpp='$CXXCPP $CPPFLAGS'
59039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59042
59043     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59044 /* end confdefs.h.  */
59045 #include <math.h>
59046 int
59047 main ()
59048 {
59049 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59050   ;
59051   return 0;
59052 }
59053 _ACEOF
59054 if ac_fn_cxx_try_compile "$LINENO"; then :
59055   glibcxx_cv_func_float_trig_use=yes
59056 else
59057   glibcxx_cv_func_float_trig_use=no
59058 fi
59059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59060     ac_ext=c
59061 ac_cpp='$CPP $CPPFLAGS'
59062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59065
59066 fi
59067
59068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59069 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59070   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59071     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59072 do :
59073   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59075 eval as_val=\$$as_ac_var
59076    if test "x$as_val" = x""yes; then :
59077   cat >>confdefs.h <<_ACEOF
59078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59079 _ACEOF
59080
59081 fi
59082 done
59083
59084   else
59085     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59086 $as_echo_n "checking for _float trig functions... " >&6; }
59087     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59088   $as_echo_n "(cached) " >&6
59089 else
59090
59091
59092       ac_ext=cpp
59093 ac_cpp='$CXXCPP $CPPFLAGS'
59094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59097
59098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59099 /* end confdefs.h.  */
59100 #include <math.h>
59101 int
59102 main ()
59103 {
59104 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59105   ;
59106   return 0;
59107 }
59108 _ACEOF
59109 if ac_fn_cxx_try_compile "$LINENO"; then :
59110   glibcxx_cv_func__float_trig_use=yes
59111 else
59112   glibcxx_cv_func__float_trig_use=no
59113 fi
59114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59115       ac_ext=c
59116 ac_cpp='$CPP $CPPFLAGS'
59117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59120
59121 fi
59122
59123     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59124 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59125     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59126       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59127 do :
59128   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59130 eval as_val=\$$as_ac_var
59131    if test "x$as_val" = x""yes; then :
59132   cat >>confdefs.h <<_ACEOF
59133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59134 _ACEOF
59135
59136 fi
59137 done
59138
59139     fi
59140   fi
59141
59142
59143
59144
59145
59146     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59147 $as_echo_n "checking for float round functions... " >&6; }
59148   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59149   $as_echo_n "(cached) " >&6
59150 else
59151
59152
59153     ac_ext=cpp
59154 ac_cpp='$CXXCPP $CPPFLAGS'
59155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59158
59159     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59160 /* end confdefs.h.  */
59161 #include <math.h>
59162 int
59163 main ()
59164 {
59165 ceilf (0); floorf (0);
59166   ;
59167   return 0;
59168 }
59169 _ACEOF
59170 if ac_fn_cxx_try_compile "$LINENO"; then :
59171   glibcxx_cv_func_float_round_use=yes
59172 else
59173   glibcxx_cv_func_float_round_use=no
59174 fi
59175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59176     ac_ext=c
59177 ac_cpp='$CPP $CPPFLAGS'
59178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59181
59182 fi
59183
59184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59185 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59186   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59187     for ac_func in ceilf floorf
59188 do :
59189   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59191 eval as_val=\$$as_ac_var
59192    if test "x$as_val" = x""yes; then :
59193   cat >>confdefs.h <<_ACEOF
59194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59195 _ACEOF
59196
59197 fi
59198 done
59199
59200   else
59201     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59202 $as_echo_n "checking for _float round functions... " >&6; }
59203     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59204   $as_echo_n "(cached) " >&6
59205 else
59206
59207
59208       ac_ext=cpp
59209 ac_cpp='$CXXCPP $CPPFLAGS'
59210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59213
59214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59215 /* end confdefs.h.  */
59216 #include <math.h>
59217 int
59218 main ()
59219 {
59220 _ceilf (0); _floorf (0);
59221   ;
59222   return 0;
59223 }
59224 _ACEOF
59225 if ac_fn_cxx_try_compile "$LINENO"; then :
59226   glibcxx_cv_func__float_round_use=yes
59227 else
59228   glibcxx_cv_func__float_round_use=no
59229 fi
59230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59231       ac_ext=c
59232 ac_cpp='$CPP $CPPFLAGS'
59233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59236
59237 fi
59238
59239     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59240 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59241     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59242       for ac_func in _ceilf _floorf
59243 do :
59244   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59246 eval as_val=\$$as_ac_var
59247    if test "x$as_val" = x""yes; then :
59248   cat >>confdefs.h <<_ACEOF
59249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59250 _ACEOF
59251
59252 fi
59253 done
59254
59255     fi
59256   fi
59257
59258
59259
59260
59261
59262
59263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59264 $as_echo_n "checking for expf declaration... " >&6; }
59265   if test x${glibcxx_cv_func_expf_use+set} != xset; then
59266     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59267   $as_echo_n "(cached) " >&6
59268 else
59269
59270
59271       ac_ext=cpp
59272 ac_cpp='$CXXCPP $CPPFLAGS'
59273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59276
59277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59278 /* end confdefs.h.  */
59279 #include <math.h>
59280                       #ifdef HAVE_IEEEFP_H
59281                       #include <ieeefp.h>
59282                       #endif
59283
59284 int
59285 main ()
59286 {
59287  expf(0);
59288   ;
59289   return 0;
59290 }
59291 _ACEOF
59292 if ac_fn_cxx_try_compile "$LINENO"; then :
59293   glibcxx_cv_func_expf_use=yes
59294 else
59295   glibcxx_cv_func_expf_use=no
59296 fi
59297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59298       ac_ext=c
59299 ac_cpp='$CPP $CPPFLAGS'
59300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59303
59304
59305 fi
59306
59307   fi
59308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59309 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59310
59311   if test x$glibcxx_cv_func_expf_use = x"yes"; then
59312     for ac_func in expf
59313 do :
59314   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59315 if test "x$ac_cv_func_expf" = x""yes; then :
59316   cat >>confdefs.h <<_ACEOF
59317 #define HAVE_EXPF 1
59318 _ACEOF
59319
59320 fi
59321 done
59322
59323   else
59324
59325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59326 $as_echo_n "checking for _expf declaration... " >&6; }
59327   if test x${glibcxx_cv_func__expf_use+set} != xset; then
59328     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59329   $as_echo_n "(cached) " >&6
59330 else
59331
59332
59333       ac_ext=cpp
59334 ac_cpp='$CXXCPP $CPPFLAGS'
59335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59338
59339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59340 /* end confdefs.h.  */
59341 #include <math.h>
59342                       #ifdef HAVE_IEEEFP_H
59343                       #include <ieeefp.h>
59344                       #endif
59345
59346 int
59347 main ()
59348 {
59349  _expf(0);
59350   ;
59351   return 0;
59352 }
59353 _ACEOF
59354 if ac_fn_cxx_try_compile "$LINENO"; then :
59355   glibcxx_cv_func__expf_use=yes
59356 else
59357   glibcxx_cv_func__expf_use=no
59358 fi
59359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59360       ac_ext=c
59361 ac_cpp='$CPP $CPPFLAGS'
59362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59365
59366
59367 fi
59368
59369   fi
59370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59371 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59372
59373     if test x$glibcxx_cv_func__expf_use = x"yes"; then
59374       for ac_func in _expf
59375 do :
59376   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59377 if test "x$ac_cv_func__expf" = x""yes; then :
59378   cat >>confdefs.h <<_ACEOF
59379 #define HAVE__EXPF 1
59380 _ACEOF
59381
59382 fi
59383 done
59384
59385     fi
59386   fi
59387
59388
59389
59390
59391
59392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59393 $as_echo_n "checking for isnanf declaration... " >&6; }
59394   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59395     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59396   $as_echo_n "(cached) " >&6
59397 else
59398
59399
59400       ac_ext=cpp
59401 ac_cpp='$CXXCPP $CPPFLAGS'
59402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59405
59406       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59407 /* end confdefs.h.  */
59408 #include <math.h>
59409                       #ifdef HAVE_IEEEFP_H
59410                       #include <ieeefp.h>
59411                       #endif
59412
59413 int
59414 main ()
59415 {
59416  isnanf(0);
59417   ;
59418   return 0;
59419 }
59420 _ACEOF
59421 if ac_fn_cxx_try_compile "$LINENO"; then :
59422   glibcxx_cv_func_isnanf_use=yes
59423 else
59424   glibcxx_cv_func_isnanf_use=no
59425 fi
59426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59427       ac_ext=c
59428 ac_cpp='$CPP $CPPFLAGS'
59429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59432
59433
59434 fi
59435
59436   fi
59437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59438 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59439
59440   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59441     for ac_func in isnanf
59442 do :
59443   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59444 if test "x$ac_cv_func_isnanf" = x""yes; then :
59445   cat >>confdefs.h <<_ACEOF
59446 #define HAVE_ISNANF 1
59447 _ACEOF
59448
59449 fi
59450 done
59451
59452   else
59453
59454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59455 $as_echo_n "checking for _isnanf declaration... " >&6; }
59456   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59457     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59458   $as_echo_n "(cached) " >&6
59459 else
59460
59461
59462       ac_ext=cpp
59463 ac_cpp='$CXXCPP $CPPFLAGS'
59464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59467
59468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59469 /* end confdefs.h.  */
59470 #include <math.h>
59471                       #ifdef HAVE_IEEEFP_H
59472                       #include <ieeefp.h>
59473                       #endif
59474
59475 int
59476 main ()
59477 {
59478  _isnanf(0);
59479   ;
59480   return 0;
59481 }
59482 _ACEOF
59483 if ac_fn_cxx_try_compile "$LINENO"; then :
59484   glibcxx_cv_func__isnanf_use=yes
59485 else
59486   glibcxx_cv_func__isnanf_use=no
59487 fi
59488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59489       ac_ext=c
59490 ac_cpp='$CPP $CPPFLAGS'
59491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59494
59495
59496 fi
59497
59498   fi
59499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59500 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59501
59502     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59503       for ac_func in _isnanf
59504 do :
59505   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59506 if test "x$ac_cv_func__isnanf" = x""yes; then :
59507   cat >>confdefs.h <<_ACEOF
59508 #define HAVE__ISNANF 1
59509 _ACEOF
59510
59511 fi
59512 done
59513
59514     fi
59515   fi
59516
59517
59518
59519
59520
59521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59522 $as_echo_n "checking for isinff declaration... " >&6; }
59523   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59524     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59525   $as_echo_n "(cached) " >&6
59526 else
59527
59528
59529       ac_ext=cpp
59530 ac_cpp='$CXXCPP $CPPFLAGS'
59531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59534
59535       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59536 /* end confdefs.h.  */
59537 #include <math.h>
59538                       #ifdef HAVE_IEEEFP_H
59539                       #include <ieeefp.h>
59540                       #endif
59541
59542 int
59543 main ()
59544 {
59545  isinff(0);
59546   ;
59547   return 0;
59548 }
59549 _ACEOF
59550 if ac_fn_cxx_try_compile "$LINENO"; then :
59551   glibcxx_cv_func_isinff_use=yes
59552 else
59553   glibcxx_cv_func_isinff_use=no
59554 fi
59555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59556       ac_ext=c
59557 ac_cpp='$CPP $CPPFLAGS'
59558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59561
59562
59563 fi
59564
59565   fi
59566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59567 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59568
59569   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59570     for ac_func in isinff
59571 do :
59572   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59573 if test "x$ac_cv_func_isinff" = x""yes; then :
59574   cat >>confdefs.h <<_ACEOF
59575 #define HAVE_ISINFF 1
59576 _ACEOF
59577
59578 fi
59579 done
59580
59581   else
59582
59583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59584 $as_echo_n "checking for _isinff declaration... " >&6; }
59585   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59586     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59587   $as_echo_n "(cached) " >&6
59588 else
59589
59590
59591       ac_ext=cpp
59592 ac_cpp='$CXXCPP $CPPFLAGS'
59593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59596
59597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59598 /* end confdefs.h.  */
59599 #include <math.h>
59600                       #ifdef HAVE_IEEEFP_H
59601                       #include <ieeefp.h>
59602                       #endif
59603
59604 int
59605 main ()
59606 {
59607  _isinff(0);
59608   ;
59609   return 0;
59610 }
59611 _ACEOF
59612 if ac_fn_cxx_try_compile "$LINENO"; then :
59613   glibcxx_cv_func__isinff_use=yes
59614 else
59615   glibcxx_cv_func__isinff_use=no
59616 fi
59617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59618       ac_ext=c
59619 ac_cpp='$CPP $CPPFLAGS'
59620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59623
59624
59625 fi
59626
59627   fi
59628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59629 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59630
59631     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59632       for ac_func in _isinff
59633 do :
59634   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59635 if test "x$ac_cv_func__isinff" = x""yes; then :
59636   cat >>confdefs.h <<_ACEOF
59637 #define HAVE__ISINFF 1
59638 _ACEOF
59639
59640 fi
59641 done
59642
59643     fi
59644   fi
59645
59646
59647
59648
59649
59650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59651 $as_echo_n "checking for atan2f declaration... " >&6; }
59652   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59653     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59654   $as_echo_n "(cached) " >&6
59655 else
59656
59657
59658       ac_ext=cpp
59659 ac_cpp='$CXXCPP $CPPFLAGS'
59660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59663
59664       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59665 /* end confdefs.h.  */
59666 #include <math.h>
59667 int
59668 main ()
59669 {
59670  atan2f(0, 0);
59671   ;
59672   return 0;
59673 }
59674 _ACEOF
59675 if ac_fn_cxx_try_compile "$LINENO"; then :
59676   glibcxx_cv_func_atan2f_use=yes
59677 else
59678   glibcxx_cv_func_atan2f_use=no
59679 fi
59680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59681       ac_ext=c
59682 ac_cpp='$CPP $CPPFLAGS'
59683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59686
59687
59688 fi
59689
59690   fi
59691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59692 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59693
59694   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59695     for ac_func in atan2f
59696 do :
59697   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59698 if test "x$ac_cv_func_atan2f" = x""yes; then :
59699   cat >>confdefs.h <<_ACEOF
59700 #define HAVE_ATAN2F 1
59701 _ACEOF
59702
59703 fi
59704 done
59705
59706   else
59707
59708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59709 $as_echo_n "checking for _atan2f declaration... " >&6; }
59710   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59711     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59712   $as_echo_n "(cached) " >&6
59713 else
59714
59715
59716       ac_ext=cpp
59717 ac_cpp='$CXXCPP $CPPFLAGS'
59718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59721
59722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59723 /* end confdefs.h.  */
59724 #include <math.h>
59725 int
59726 main ()
59727 {
59728  _atan2f(0, 0);
59729   ;
59730   return 0;
59731 }
59732 _ACEOF
59733 if ac_fn_cxx_try_compile "$LINENO"; then :
59734   glibcxx_cv_func__atan2f_use=yes
59735 else
59736   glibcxx_cv_func__atan2f_use=no
59737 fi
59738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59739       ac_ext=c
59740 ac_cpp='$CPP $CPPFLAGS'
59741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59744
59745
59746 fi
59747
59748   fi
59749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59750 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59751
59752     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59753       for ac_func in _atan2f
59754 do :
59755   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59756 if test "x$ac_cv_func__atan2f" = x""yes; then :
59757   cat >>confdefs.h <<_ACEOF
59758 #define HAVE__ATAN2F 1
59759 _ACEOF
59760
59761 fi
59762 done
59763
59764     fi
59765   fi
59766
59767
59768
59769
59770
59771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59772 $as_echo_n "checking for fabsf declaration... " >&6; }
59773   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59774     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59775   $as_echo_n "(cached) " >&6
59776 else
59777
59778
59779       ac_ext=cpp
59780 ac_cpp='$CXXCPP $CPPFLAGS'
59781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59784
59785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59786 /* end confdefs.h.  */
59787 #include <math.h>
59788                       #ifdef HAVE_IEEEFP_H
59789                       #include <ieeefp.h>
59790                       #endif
59791
59792 int
59793 main ()
59794 {
59795  fabsf(0);
59796   ;
59797   return 0;
59798 }
59799 _ACEOF
59800 if ac_fn_cxx_try_compile "$LINENO"; then :
59801   glibcxx_cv_func_fabsf_use=yes
59802 else
59803   glibcxx_cv_func_fabsf_use=no
59804 fi
59805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59806       ac_ext=c
59807 ac_cpp='$CPP $CPPFLAGS'
59808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59811
59812
59813 fi
59814
59815   fi
59816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59817 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59818
59819   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59820     for ac_func in fabsf
59821 do :
59822   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59823 if test "x$ac_cv_func_fabsf" = x""yes; then :
59824   cat >>confdefs.h <<_ACEOF
59825 #define HAVE_FABSF 1
59826 _ACEOF
59827
59828 fi
59829 done
59830
59831   else
59832
59833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59834 $as_echo_n "checking for _fabsf declaration... " >&6; }
59835   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59836     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59837   $as_echo_n "(cached) " >&6
59838 else
59839
59840
59841       ac_ext=cpp
59842 ac_cpp='$CXXCPP $CPPFLAGS'
59843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59846
59847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59848 /* end confdefs.h.  */
59849 #include <math.h>
59850                       #ifdef HAVE_IEEEFP_H
59851                       #include <ieeefp.h>
59852                       #endif
59853
59854 int
59855 main ()
59856 {
59857  _fabsf(0);
59858   ;
59859   return 0;
59860 }
59861 _ACEOF
59862 if ac_fn_cxx_try_compile "$LINENO"; then :
59863   glibcxx_cv_func__fabsf_use=yes
59864 else
59865   glibcxx_cv_func__fabsf_use=no
59866 fi
59867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59868       ac_ext=c
59869 ac_cpp='$CPP $CPPFLAGS'
59870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59873
59874
59875 fi
59876
59877   fi
59878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59879 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59880
59881     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59882       for ac_func in _fabsf
59883 do :
59884   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59885 if test "x$ac_cv_func__fabsf" = x""yes; then :
59886   cat >>confdefs.h <<_ACEOF
59887 #define HAVE__FABSF 1
59888 _ACEOF
59889
59890 fi
59891 done
59892
59893     fi
59894   fi
59895
59896
59897
59898
59899
59900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59901 $as_echo_n "checking for fmodf declaration... " >&6; }
59902   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59903     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59904   $as_echo_n "(cached) " >&6
59905 else
59906
59907
59908       ac_ext=cpp
59909 ac_cpp='$CXXCPP $CPPFLAGS'
59910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59913
59914       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59915 /* end confdefs.h.  */
59916 #include <math.h>
59917 int
59918 main ()
59919 {
59920  fmodf(0, 0);
59921   ;
59922   return 0;
59923 }
59924 _ACEOF
59925 if ac_fn_cxx_try_compile "$LINENO"; then :
59926   glibcxx_cv_func_fmodf_use=yes
59927 else
59928   glibcxx_cv_func_fmodf_use=no
59929 fi
59930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59931       ac_ext=c
59932 ac_cpp='$CPP $CPPFLAGS'
59933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59936
59937
59938 fi
59939
59940   fi
59941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59942 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59943
59944   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59945     for ac_func in fmodf
59946 do :
59947   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59948 if test "x$ac_cv_func_fmodf" = x""yes; then :
59949   cat >>confdefs.h <<_ACEOF
59950 #define HAVE_FMODF 1
59951 _ACEOF
59952
59953 fi
59954 done
59955
59956   else
59957
59958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59959 $as_echo_n "checking for _fmodf declaration... " >&6; }
59960   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59961     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59962   $as_echo_n "(cached) " >&6
59963 else
59964
59965
59966       ac_ext=cpp
59967 ac_cpp='$CXXCPP $CPPFLAGS'
59968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59971
59972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59973 /* end confdefs.h.  */
59974 #include <math.h>
59975 int
59976 main ()
59977 {
59978  _fmodf(0, 0);
59979   ;
59980   return 0;
59981 }
59982 _ACEOF
59983 if ac_fn_cxx_try_compile "$LINENO"; then :
59984   glibcxx_cv_func__fmodf_use=yes
59985 else
59986   glibcxx_cv_func__fmodf_use=no
59987 fi
59988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59989       ac_ext=c
59990 ac_cpp='$CPP $CPPFLAGS'
59991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59994
59995
59996 fi
59997
59998   fi
59999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60000 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60001
60002     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60003       for ac_func in _fmodf
60004 do :
60005   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60006 if test "x$ac_cv_func__fmodf" = x""yes; then :
60007   cat >>confdefs.h <<_ACEOF
60008 #define HAVE__FMODF 1
60009 _ACEOF
60010
60011 fi
60012 done
60013
60014     fi
60015   fi
60016
60017
60018
60019
60020
60021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60022 $as_echo_n "checking for frexpf declaration... " >&6; }
60023   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60024     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60025   $as_echo_n "(cached) " >&6
60026 else
60027
60028
60029       ac_ext=cpp
60030 ac_cpp='$CXXCPP $CPPFLAGS'
60031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60034
60035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60036 /* end confdefs.h.  */
60037 #include <math.h>
60038 int
60039 main ()
60040 {
60041  frexpf(0, 0);
60042   ;
60043   return 0;
60044 }
60045 _ACEOF
60046 if ac_fn_cxx_try_compile "$LINENO"; then :
60047   glibcxx_cv_func_frexpf_use=yes
60048 else
60049   glibcxx_cv_func_frexpf_use=no
60050 fi
60051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60052       ac_ext=c
60053 ac_cpp='$CPP $CPPFLAGS'
60054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60057
60058
60059 fi
60060
60061   fi
60062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60063 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60064
60065   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60066     for ac_func in frexpf
60067 do :
60068   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60069 if test "x$ac_cv_func_frexpf" = x""yes; then :
60070   cat >>confdefs.h <<_ACEOF
60071 #define HAVE_FREXPF 1
60072 _ACEOF
60073
60074 fi
60075 done
60076
60077   else
60078
60079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60080 $as_echo_n "checking for _frexpf declaration... " >&6; }
60081   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60082     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60083   $as_echo_n "(cached) " >&6
60084 else
60085
60086
60087       ac_ext=cpp
60088 ac_cpp='$CXXCPP $CPPFLAGS'
60089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60092
60093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60094 /* end confdefs.h.  */
60095 #include <math.h>
60096 int
60097 main ()
60098 {
60099  _frexpf(0, 0);
60100   ;
60101   return 0;
60102 }
60103 _ACEOF
60104 if ac_fn_cxx_try_compile "$LINENO"; then :
60105   glibcxx_cv_func__frexpf_use=yes
60106 else
60107   glibcxx_cv_func__frexpf_use=no
60108 fi
60109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60110       ac_ext=c
60111 ac_cpp='$CPP $CPPFLAGS'
60112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60115
60116
60117 fi
60118
60119   fi
60120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60121 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60122
60123     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60124       for ac_func in _frexpf
60125 do :
60126   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60127 if test "x$ac_cv_func__frexpf" = x""yes; then :
60128   cat >>confdefs.h <<_ACEOF
60129 #define HAVE__FREXPF 1
60130 _ACEOF
60131
60132 fi
60133 done
60134
60135     fi
60136   fi
60137
60138
60139
60140
60141
60142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60143 $as_echo_n "checking for hypotf declaration... " >&6; }
60144   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60145     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60146   $as_echo_n "(cached) " >&6
60147 else
60148
60149
60150       ac_ext=cpp
60151 ac_cpp='$CXXCPP $CPPFLAGS'
60152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60155
60156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60157 /* end confdefs.h.  */
60158 #include <math.h>
60159 int
60160 main ()
60161 {
60162  hypotf(0, 0);
60163   ;
60164   return 0;
60165 }
60166 _ACEOF
60167 if ac_fn_cxx_try_compile "$LINENO"; then :
60168   glibcxx_cv_func_hypotf_use=yes
60169 else
60170   glibcxx_cv_func_hypotf_use=no
60171 fi
60172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60173       ac_ext=c
60174 ac_cpp='$CPP $CPPFLAGS'
60175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60178
60179
60180 fi
60181
60182   fi
60183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60184 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60185
60186   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60187     for ac_func in hypotf
60188 do :
60189   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60190 if test "x$ac_cv_func_hypotf" = x""yes; then :
60191   cat >>confdefs.h <<_ACEOF
60192 #define HAVE_HYPOTF 1
60193 _ACEOF
60194
60195 fi
60196 done
60197
60198   else
60199
60200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60201 $as_echo_n "checking for _hypotf declaration... " >&6; }
60202   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60203     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60204   $as_echo_n "(cached) " >&6
60205 else
60206
60207
60208       ac_ext=cpp
60209 ac_cpp='$CXXCPP $CPPFLAGS'
60210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60213
60214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60215 /* end confdefs.h.  */
60216 #include <math.h>
60217 int
60218 main ()
60219 {
60220  _hypotf(0, 0);
60221   ;
60222   return 0;
60223 }
60224 _ACEOF
60225 if ac_fn_cxx_try_compile "$LINENO"; then :
60226   glibcxx_cv_func__hypotf_use=yes
60227 else
60228   glibcxx_cv_func__hypotf_use=no
60229 fi
60230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60231       ac_ext=c
60232 ac_cpp='$CPP $CPPFLAGS'
60233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60236
60237
60238 fi
60239
60240   fi
60241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60242 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60243
60244     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60245       for ac_func in _hypotf
60246 do :
60247   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60248 if test "x$ac_cv_func__hypotf" = x""yes; then :
60249   cat >>confdefs.h <<_ACEOF
60250 #define HAVE__HYPOTF 1
60251 _ACEOF
60252
60253 fi
60254 done
60255
60256     fi
60257   fi
60258
60259
60260
60261
60262
60263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60264 $as_echo_n "checking for ldexpf declaration... " >&6; }
60265   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60266     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60267   $as_echo_n "(cached) " >&6
60268 else
60269
60270
60271       ac_ext=cpp
60272 ac_cpp='$CXXCPP $CPPFLAGS'
60273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60276
60277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60278 /* end confdefs.h.  */
60279 #include <math.h>
60280 int
60281 main ()
60282 {
60283  ldexpf(0, 0);
60284   ;
60285   return 0;
60286 }
60287 _ACEOF
60288 if ac_fn_cxx_try_compile "$LINENO"; then :
60289   glibcxx_cv_func_ldexpf_use=yes
60290 else
60291   glibcxx_cv_func_ldexpf_use=no
60292 fi
60293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60294       ac_ext=c
60295 ac_cpp='$CPP $CPPFLAGS'
60296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60299
60300
60301 fi
60302
60303   fi
60304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60305 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60306
60307   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60308     for ac_func in ldexpf
60309 do :
60310   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60311 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60312   cat >>confdefs.h <<_ACEOF
60313 #define HAVE_LDEXPF 1
60314 _ACEOF
60315
60316 fi
60317 done
60318
60319   else
60320
60321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60322 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60323   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60324     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60325   $as_echo_n "(cached) " >&6
60326 else
60327
60328
60329       ac_ext=cpp
60330 ac_cpp='$CXXCPP $CPPFLAGS'
60331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60334
60335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60336 /* end confdefs.h.  */
60337 #include <math.h>
60338 int
60339 main ()
60340 {
60341  _ldexpf(0, 0);
60342   ;
60343   return 0;
60344 }
60345 _ACEOF
60346 if ac_fn_cxx_try_compile "$LINENO"; then :
60347   glibcxx_cv_func__ldexpf_use=yes
60348 else
60349   glibcxx_cv_func__ldexpf_use=no
60350 fi
60351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60352       ac_ext=c
60353 ac_cpp='$CPP $CPPFLAGS'
60354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60357
60358
60359 fi
60360
60361   fi
60362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60363 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60364
60365     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60366       for ac_func in _ldexpf
60367 do :
60368   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60369 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60370   cat >>confdefs.h <<_ACEOF
60371 #define HAVE__LDEXPF 1
60372 _ACEOF
60373
60374 fi
60375 done
60376
60377     fi
60378   fi
60379
60380
60381
60382
60383
60384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60385 $as_echo_n "checking for logf declaration... " >&6; }
60386   if test x${glibcxx_cv_func_logf_use+set} != xset; then
60387     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60388   $as_echo_n "(cached) " >&6
60389 else
60390
60391
60392       ac_ext=cpp
60393 ac_cpp='$CXXCPP $CPPFLAGS'
60394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60397
60398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60399 /* end confdefs.h.  */
60400 #include <math.h>
60401                       #ifdef HAVE_IEEEFP_H
60402                       #include <ieeefp.h>
60403                       #endif
60404
60405 int
60406 main ()
60407 {
60408  logf(0);
60409   ;
60410   return 0;
60411 }
60412 _ACEOF
60413 if ac_fn_cxx_try_compile "$LINENO"; then :
60414   glibcxx_cv_func_logf_use=yes
60415 else
60416   glibcxx_cv_func_logf_use=no
60417 fi
60418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60419       ac_ext=c
60420 ac_cpp='$CPP $CPPFLAGS'
60421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60424
60425
60426 fi
60427
60428   fi
60429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60430 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60431
60432   if test x$glibcxx_cv_func_logf_use = x"yes"; then
60433     for ac_func in logf
60434 do :
60435   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60436 if test "x$ac_cv_func_logf" = x""yes; then :
60437   cat >>confdefs.h <<_ACEOF
60438 #define HAVE_LOGF 1
60439 _ACEOF
60440
60441 fi
60442 done
60443
60444   else
60445
60446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60447 $as_echo_n "checking for _logf declaration... " >&6; }
60448   if test x${glibcxx_cv_func__logf_use+set} != xset; then
60449     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60450   $as_echo_n "(cached) " >&6
60451 else
60452
60453
60454       ac_ext=cpp
60455 ac_cpp='$CXXCPP $CPPFLAGS'
60456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60459
60460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60461 /* end confdefs.h.  */
60462 #include <math.h>
60463                       #ifdef HAVE_IEEEFP_H
60464                       #include <ieeefp.h>
60465                       #endif
60466
60467 int
60468 main ()
60469 {
60470  _logf(0);
60471   ;
60472   return 0;
60473 }
60474 _ACEOF
60475 if ac_fn_cxx_try_compile "$LINENO"; then :
60476   glibcxx_cv_func__logf_use=yes
60477 else
60478   glibcxx_cv_func__logf_use=no
60479 fi
60480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60481       ac_ext=c
60482 ac_cpp='$CPP $CPPFLAGS'
60483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60486
60487
60488 fi
60489
60490   fi
60491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60492 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60493
60494     if test x$glibcxx_cv_func__logf_use = x"yes"; then
60495       for ac_func in _logf
60496 do :
60497   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60498 if test "x$ac_cv_func__logf" = x""yes; then :
60499   cat >>confdefs.h <<_ACEOF
60500 #define HAVE__LOGF 1
60501 _ACEOF
60502
60503 fi
60504 done
60505
60506     fi
60507   fi
60508
60509
60510
60511
60512
60513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60514 $as_echo_n "checking for log10f declaration... " >&6; }
60515   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60516     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60517   $as_echo_n "(cached) " >&6
60518 else
60519
60520
60521       ac_ext=cpp
60522 ac_cpp='$CXXCPP $CPPFLAGS'
60523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60526
60527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60528 /* end confdefs.h.  */
60529 #include <math.h>
60530                       #ifdef HAVE_IEEEFP_H
60531                       #include <ieeefp.h>
60532                       #endif
60533
60534 int
60535 main ()
60536 {
60537  log10f(0);
60538   ;
60539   return 0;
60540 }
60541 _ACEOF
60542 if ac_fn_cxx_try_compile "$LINENO"; then :
60543   glibcxx_cv_func_log10f_use=yes
60544 else
60545   glibcxx_cv_func_log10f_use=no
60546 fi
60547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60548       ac_ext=c
60549 ac_cpp='$CPP $CPPFLAGS'
60550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60553
60554
60555 fi
60556
60557   fi
60558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60559 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60560
60561   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60562     for ac_func in log10f
60563 do :
60564   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60565 if test "x$ac_cv_func_log10f" = x""yes; then :
60566   cat >>confdefs.h <<_ACEOF
60567 #define HAVE_LOG10F 1
60568 _ACEOF
60569
60570 fi
60571 done
60572
60573   else
60574
60575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60576 $as_echo_n "checking for _log10f declaration... " >&6; }
60577   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60578     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60579   $as_echo_n "(cached) " >&6
60580 else
60581
60582
60583       ac_ext=cpp
60584 ac_cpp='$CXXCPP $CPPFLAGS'
60585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60588
60589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60590 /* end confdefs.h.  */
60591 #include <math.h>
60592                       #ifdef HAVE_IEEEFP_H
60593                       #include <ieeefp.h>
60594                       #endif
60595
60596 int
60597 main ()
60598 {
60599  _log10f(0);
60600   ;
60601   return 0;
60602 }
60603 _ACEOF
60604 if ac_fn_cxx_try_compile "$LINENO"; then :
60605   glibcxx_cv_func__log10f_use=yes
60606 else
60607   glibcxx_cv_func__log10f_use=no
60608 fi
60609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60610       ac_ext=c
60611 ac_cpp='$CPP $CPPFLAGS'
60612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60615
60616
60617 fi
60618
60619   fi
60620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60621 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60622
60623     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60624       for ac_func in _log10f
60625 do :
60626   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60627 if test "x$ac_cv_func__log10f" = x""yes; then :
60628   cat >>confdefs.h <<_ACEOF
60629 #define HAVE__LOG10F 1
60630 _ACEOF
60631
60632 fi
60633 done
60634
60635     fi
60636   fi
60637
60638
60639
60640
60641
60642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60643 $as_echo_n "checking for modff declaration... " >&6; }
60644   if test x${glibcxx_cv_func_modff_use+set} != xset; then
60645     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60646   $as_echo_n "(cached) " >&6
60647 else
60648
60649
60650       ac_ext=cpp
60651 ac_cpp='$CXXCPP $CPPFLAGS'
60652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60655
60656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60657 /* end confdefs.h.  */
60658 #include <math.h>
60659 int
60660 main ()
60661 {
60662  modff(0, 0);
60663   ;
60664   return 0;
60665 }
60666 _ACEOF
60667 if ac_fn_cxx_try_compile "$LINENO"; then :
60668   glibcxx_cv_func_modff_use=yes
60669 else
60670   glibcxx_cv_func_modff_use=no
60671 fi
60672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60673       ac_ext=c
60674 ac_cpp='$CPP $CPPFLAGS'
60675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60678
60679
60680 fi
60681
60682   fi
60683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60684 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60685
60686   if test x$glibcxx_cv_func_modff_use = x"yes"; then
60687     for ac_func in modff
60688 do :
60689   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60690 if test "x$ac_cv_func_modff" = x""yes; then :
60691   cat >>confdefs.h <<_ACEOF
60692 #define HAVE_MODFF 1
60693 _ACEOF
60694
60695 fi
60696 done
60697
60698   else
60699
60700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60701 $as_echo_n "checking for _modff declaration... " >&6; }
60702   if test x${glibcxx_cv_func__modff_use+set} != xset; then
60703     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60704   $as_echo_n "(cached) " >&6
60705 else
60706
60707
60708       ac_ext=cpp
60709 ac_cpp='$CXXCPP $CPPFLAGS'
60710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60713
60714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60715 /* end confdefs.h.  */
60716 #include <math.h>
60717 int
60718 main ()
60719 {
60720  _modff(0, 0);
60721   ;
60722   return 0;
60723 }
60724 _ACEOF
60725 if ac_fn_cxx_try_compile "$LINENO"; then :
60726   glibcxx_cv_func__modff_use=yes
60727 else
60728   glibcxx_cv_func__modff_use=no
60729 fi
60730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60731       ac_ext=c
60732 ac_cpp='$CPP $CPPFLAGS'
60733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60736
60737
60738 fi
60739
60740   fi
60741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60742 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60743
60744     if test x$glibcxx_cv_func__modff_use = x"yes"; then
60745       for ac_func in _modff
60746 do :
60747   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60748 if test "x$ac_cv_func__modff" = x""yes; then :
60749   cat >>confdefs.h <<_ACEOF
60750 #define HAVE__MODFF 1
60751 _ACEOF
60752
60753 fi
60754 done
60755
60756     fi
60757   fi
60758
60759
60760
60761
60762
60763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60764 $as_echo_n "checking for modf declaration... " >&6; }
60765   if test x${glibcxx_cv_func_modf_use+set} != xset; then
60766     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60767   $as_echo_n "(cached) " >&6
60768 else
60769
60770
60771       ac_ext=cpp
60772 ac_cpp='$CXXCPP $CPPFLAGS'
60773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60776
60777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60778 /* end confdefs.h.  */
60779 #include <math.h>
60780 int
60781 main ()
60782 {
60783  modf(0, 0);
60784   ;
60785   return 0;
60786 }
60787 _ACEOF
60788 if ac_fn_cxx_try_compile "$LINENO"; then :
60789   glibcxx_cv_func_modf_use=yes
60790 else
60791   glibcxx_cv_func_modf_use=no
60792 fi
60793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60794       ac_ext=c
60795 ac_cpp='$CPP $CPPFLAGS'
60796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60799
60800
60801 fi
60802
60803   fi
60804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60805 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60806
60807   if test x$glibcxx_cv_func_modf_use = x"yes"; then
60808     for ac_func in modf
60809 do :
60810   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60811 if test "x$ac_cv_func_modf" = x""yes; then :
60812   cat >>confdefs.h <<_ACEOF
60813 #define HAVE_MODF 1
60814 _ACEOF
60815
60816 fi
60817 done
60818
60819   else
60820
60821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60822 $as_echo_n "checking for _modf declaration... " >&6; }
60823   if test x${glibcxx_cv_func__modf_use+set} != xset; then
60824     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60825   $as_echo_n "(cached) " >&6
60826 else
60827
60828
60829       ac_ext=cpp
60830 ac_cpp='$CXXCPP $CPPFLAGS'
60831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60834
60835       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60836 /* end confdefs.h.  */
60837 #include <math.h>
60838 int
60839 main ()
60840 {
60841  _modf(0, 0);
60842   ;
60843   return 0;
60844 }
60845 _ACEOF
60846 if ac_fn_cxx_try_compile "$LINENO"; then :
60847   glibcxx_cv_func__modf_use=yes
60848 else
60849   glibcxx_cv_func__modf_use=no
60850 fi
60851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60852       ac_ext=c
60853 ac_cpp='$CPP $CPPFLAGS'
60854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60857
60858
60859 fi
60860
60861   fi
60862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60863 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60864
60865     if test x$glibcxx_cv_func__modf_use = x"yes"; then
60866       for ac_func in _modf
60867 do :
60868   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60869 if test "x$ac_cv_func__modf" = x""yes; then :
60870   cat >>confdefs.h <<_ACEOF
60871 #define HAVE__MODF 1
60872 _ACEOF
60873
60874 fi
60875 done
60876
60877     fi
60878   fi
60879
60880
60881
60882
60883
60884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60885 $as_echo_n "checking for powf declaration... " >&6; }
60886   if test x${glibcxx_cv_func_powf_use+set} != xset; then
60887     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60888   $as_echo_n "(cached) " >&6
60889 else
60890
60891
60892       ac_ext=cpp
60893 ac_cpp='$CXXCPP $CPPFLAGS'
60894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60897
60898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60899 /* end confdefs.h.  */
60900 #include <math.h>
60901 int
60902 main ()
60903 {
60904  powf(0, 0);
60905   ;
60906   return 0;
60907 }
60908 _ACEOF
60909 if ac_fn_cxx_try_compile "$LINENO"; then :
60910   glibcxx_cv_func_powf_use=yes
60911 else
60912   glibcxx_cv_func_powf_use=no
60913 fi
60914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60915       ac_ext=c
60916 ac_cpp='$CPP $CPPFLAGS'
60917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60920
60921
60922 fi
60923
60924   fi
60925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60926 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60927
60928   if test x$glibcxx_cv_func_powf_use = x"yes"; then
60929     for ac_func in powf
60930 do :
60931   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60932 if test "x$ac_cv_func_powf" = x""yes; then :
60933   cat >>confdefs.h <<_ACEOF
60934 #define HAVE_POWF 1
60935 _ACEOF
60936
60937 fi
60938 done
60939
60940   else
60941
60942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60943 $as_echo_n "checking for _powf declaration... " >&6; }
60944   if test x${glibcxx_cv_func__powf_use+set} != xset; then
60945     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60946   $as_echo_n "(cached) " >&6
60947 else
60948
60949
60950       ac_ext=cpp
60951 ac_cpp='$CXXCPP $CPPFLAGS'
60952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60955
60956       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60957 /* end confdefs.h.  */
60958 #include <math.h>
60959 int
60960 main ()
60961 {
60962  _powf(0, 0);
60963   ;
60964   return 0;
60965 }
60966 _ACEOF
60967 if ac_fn_cxx_try_compile "$LINENO"; then :
60968   glibcxx_cv_func__powf_use=yes
60969 else
60970   glibcxx_cv_func__powf_use=no
60971 fi
60972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60973       ac_ext=c
60974 ac_cpp='$CPP $CPPFLAGS'
60975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60978
60979
60980 fi
60981
60982   fi
60983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60984 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60985
60986     if test x$glibcxx_cv_func__powf_use = x"yes"; then
60987       for ac_func in _powf
60988 do :
60989   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60990 if test "x$ac_cv_func__powf" = x""yes; then :
60991   cat >>confdefs.h <<_ACEOF
60992 #define HAVE__POWF 1
60993 _ACEOF
60994
60995 fi
60996 done
60997
60998     fi
60999   fi
61000
61001
61002
61003
61004
61005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61006 $as_echo_n "checking for sqrtf declaration... " >&6; }
61007   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61008     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61009   $as_echo_n "(cached) " >&6
61010 else
61011
61012
61013       ac_ext=cpp
61014 ac_cpp='$CXXCPP $CPPFLAGS'
61015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61018
61019       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61020 /* end confdefs.h.  */
61021 #include <math.h>
61022                       #ifdef HAVE_IEEEFP_H
61023                       #include <ieeefp.h>
61024                       #endif
61025
61026 int
61027 main ()
61028 {
61029  sqrtf(0);
61030   ;
61031   return 0;
61032 }
61033 _ACEOF
61034 if ac_fn_cxx_try_compile "$LINENO"; then :
61035   glibcxx_cv_func_sqrtf_use=yes
61036 else
61037   glibcxx_cv_func_sqrtf_use=no
61038 fi
61039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61040       ac_ext=c
61041 ac_cpp='$CPP $CPPFLAGS'
61042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61045
61046
61047 fi
61048
61049   fi
61050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61051 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61052
61053   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61054     for ac_func in sqrtf
61055 do :
61056   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61057 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61058   cat >>confdefs.h <<_ACEOF
61059 #define HAVE_SQRTF 1
61060 _ACEOF
61061
61062 fi
61063 done
61064
61065   else
61066
61067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61068 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61069   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61070     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61071   $as_echo_n "(cached) " >&6
61072 else
61073
61074
61075       ac_ext=cpp
61076 ac_cpp='$CXXCPP $CPPFLAGS'
61077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61080
61081       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61082 /* end confdefs.h.  */
61083 #include <math.h>
61084                       #ifdef HAVE_IEEEFP_H
61085                       #include <ieeefp.h>
61086                       #endif
61087
61088 int
61089 main ()
61090 {
61091  _sqrtf(0);
61092   ;
61093   return 0;
61094 }
61095 _ACEOF
61096 if ac_fn_cxx_try_compile "$LINENO"; then :
61097   glibcxx_cv_func__sqrtf_use=yes
61098 else
61099   glibcxx_cv_func__sqrtf_use=no
61100 fi
61101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61102       ac_ext=c
61103 ac_cpp='$CPP $CPPFLAGS'
61104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61107
61108
61109 fi
61110
61111   fi
61112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61113 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61114
61115     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61116       for ac_func in _sqrtf
61117 do :
61118   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61119 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61120   cat >>confdefs.h <<_ACEOF
61121 #define HAVE__SQRTF 1
61122 _ACEOF
61123
61124 fi
61125 done
61126
61127     fi
61128   fi
61129
61130
61131
61132
61133
61134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61135 $as_echo_n "checking for sincosf declaration... " >&6; }
61136   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61137     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61138   $as_echo_n "(cached) " >&6
61139 else
61140
61141
61142       ac_ext=cpp
61143 ac_cpp='$CXXCPP $CPPFLAGS'
61144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61147
61148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61149 /* end confdefs.h.  */
61150 #include <math.h>
61151 int
61152 main ()
61153 {
61154  sincosf(0, 0, 0);
61155   ;
61156   return 0;
61157 }
61158 _ACEOF
61159 if ac_fn_cxx_try_compile "$LINENO"; then :
61160   glibcxx_cv_func_sincosf_use=yes
61161 else
61162   glibcxx_cv_func_sincosf_use=no
61163 fi
61164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61165       ac_ext=c
61166 ac_cpp='$CPP $CPPFLAGS'
61167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61170
61171
61172 fi
61173
61174   fi
61175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61176 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61177
61178   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61179     for ac_func in sincosf
61180 do :
61181   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61182 if test "x$ac_cv_func_sincosf" = x""yes; then :
61183   cat >>confdefs.h <<_ACEOF
61184 #define HAVE_SINCOSF 1
61185 _ACEOF
61186
61187 fi
61188 done
61189
61190   else
61191
61192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61193 $as_echo_n "checking for _sincosf declaration... " >&6; }
61194   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61195     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61196   $as_echo_n "(cached) " >&6
61197 else
61198
61199
61200       ac_ext=cpp
61201 ac_cpp='$CXXCPP $CPPFLAGS'
61202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61205
61206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61207 /* end confdefs.h.  */
61208 #include <math.h>
61209 int
61210 main ()
61211 {
61212  _sincosf(0, 0, 0);
61213   ;
61214   return 0;
61215 }
61216 _ACEOF
61217 if ac_fn_cxx_try_compile "$LINENO"; then :
61218   glibcxx_cv_func__sincosf_use=yes
61219 else
61220   glibcxx_cv_func__sincosf_use=no
61221 fi
61222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61223       ac_ext=c
61224 ac_cpp='$CPP $CPPFLAGS'
61225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61228
61229
61230 fi
61231
61232   fi
61233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61234 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61235
61236     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61237       for ac_func in _sincosf
61238 do :
61239   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61240 if test "x$ac_cv_func__sincosf" = x""yes; then :
61241   cat >>confdefs.h <<_ACEOF
61242 #define HAVE__SINCOSF 1
61243 _ACEOF
61244
61245 fi
61246 done
61247
61248     fi
61249   fi
61250
61251
61252
61253
61254
61255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61256 $as_echo_n "checking for finitef declaration... " >&6; }
61257   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61258     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61259   $as_echo_n "(cached) " >&6
61260 else
61261
61262
61263       ac_ext=cpp
61264 ac_cpp='$CXXCPP $CPPFLAGS'
61265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61268
61269       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61270 /* end confdefs.h.  */
61271 #include <math.h>
61272                       #ifdef HAVE_IEEEFP_H
61273                       #include <ieeefp.h>
61274                       #endif
61275
61276 int
61277 main ()
61278 {
61279  finitef(0);
61280   ;
61281   return 0;
61282 }
61283 _ACEOF
61284 if ac_fn_cxx_try_compile "$LINENO"; then :
61285   glibcxx_cv_func_finitef_use=yes
61286 else
61287   glibcxx_cv_func_finitef_use=no
61288 fi
61289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61290       ac_ext=c
61291 ac_cpp='$CPP $CPPFLAGS'
61292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61295
61296
61297 fi
61298
61299   fi
61300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61301 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61302
61303   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61304     for ac_func in finitef
61305 do :
61306   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61307 if test "x$ac_cv_func_finitef" = x""yes; then :
61308   cat >>confdefs.h <<_ACEOF
61309 #define HAVE_FINITEF 1
61310 _ACEOF
61311
61312 fi
61313 done
61314
61315   else
61316
61317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61318 $as_echo_n "checking for _finitef declaration... " >&6; }
61319   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61320     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61321   $as_echo_n "(cached) " >&6
61322 else
61323
61324
61325       ac_ext=cpp
61326 ac_cpp='$CXXCPP $CPPFLAGS'
61327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61330
61331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61332 /* end confdefs.h.  */
61333 #include <math.h>
61334                       #ifdef HAVE_IEEEFP_H
61335                       #include <ieeefp.h>
61336                       #endif
61337
61338 int
61339 main ()
61340 {
61341  _finitef(0);
61342   ;
61343   return 0;
61344 }
61345 _ACEOF
61346 if ac_fn_cxx_try_compile "$LINENO"; then :
61347   glibcxx_cv_func__finitef_use=yes
61348 else
61349   glibcxx_cv_func__finitef_use=no
61350 fi
61351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61352       ac_ext=c
61353 ac_cpp='$CPP $CPPFLAGS'
61354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61357
61358
61359 fi
61360
61361   fi
61362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61363 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61364
61365     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61366       for ac_func in _finitef
61367 do :
61368   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61369 if test "x$ac_cv_func__finitef" = x""yes; then :
61370   cat >>confdefs.h <<_ACEOF
61371 #define HAVE__FINITEF 1
61372 _ACEOF
61373
61374 fi
61375 done
61376
61377     fi
61378   fi
61379
61380
61381
61382
61383
61384     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61385 $as_echo_n "checking for long double trig functions... " >&6; }
61386   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61387   $as_echo_n "(cached) " >&6
61388 else
61389
61390
61391     ac_ext=cpp
61392 ac_cpp='$CXXCPP $CPPFLAGS'
61393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61396
61397     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61398 /* end confdefs.h.  */
61399 #include <math.h>
61400 int
61401 main ()
61402 {
61403 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61404   ;
61405   return 0;
61406 }
61407 _ACEOF
61408 if ac_fn_cxx_try_compile "$LINENO"; then :
61409   glibcxx_cv_func_long_double_trig_use=yes
61410 else
61411   glibcxx_cv_func_long_double_trig_use=no
61412 fi
61413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61414     ac_ext=c
61415 ac_cpp='$CPP $CPPFLAGS'
61416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61419
61420 fi
61421
61422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61423 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61424   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61425     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61426 do :
61427   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61429 eval as_val=\$$as_ac_var
61430    if test "x$as_val" = x""yes; then :
61431   cat >>confdefs.h <<_ACEOF
61432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61433 _ACEOF
61434
61435 fi
61436 done
61437
61438   else
61439     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61440 $as_echo_n "checking for _long double trig functions... " >&6; }
61441     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61442   $as_echo_n "(cached) " >&6
61443 else
61444
61445
61446       ac_ext=cpp
61447 ac_cpp='$CXXCPP $CPPFLAGS'
61448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61451
61452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61453 /* end confdefs.h.  */
61454 #include <math.h>
61455 int
61456 main ()
61457 {
61458 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61459   ;
61460   return 0;
61461 }
61462 _ACEOF
61463 if ac_fn_cxx_try_compile "$LINENO"; then :
61464   glibcxx_cv_func__long_double_trig_use=yes
61465 else
61466   glibcxx_cv_func__long_double_trig_use=no
61467 fi
61468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61469       ac_ext=c
61470 ac_cpp='$CPP $CPPFLAGS'
61471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61474
61475 fi
61476
61477     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61478 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61479     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61480       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61481 do :
61482   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61484 eval as_val=\$$as_ac_var
61485    if test "x$as_val" = x""yes; then :
61486   cat >>confdefs.h <<_ACEOF
61487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61488 _ACEOF
61489
61490 fi
61491 done
61492
61493     fi
61494   fi
61495
61496
61497
61498
61499
61500     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61501 $as_echo_n "checking for long double round functions... " >&6; }
61502   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61503   $as_echo_n "(cached) " >&6
61504 else
61505
61506
61507     ac_ext=cpp
61508 ac_cpp='$CXXCPP $CPPFLAGS'
61509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61512
61513     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61514 /* end confdefs.h.  */
61515 #include <math.h>
61516 int
61517 main ()
61518 {
61519 ceill (0); floorl (0);
61520   ;
61521   return 0;
61522 }
61523 _ACEOF
61524 if ac_fn_cxx_try_compile "$LINENO"; then :
61525   glibcxx_cv_func_long_double_round_use=yes
61526 else
61527   glibcxx_cv_func_long_double_round_use=no
61528 fi
61529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61530     ac_ext=c
61531 ac_cpp='$CPP $CPPFLAGS'
61532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61535
61536 fi
61537
61538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61539 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61540   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61541     for ac_func in ceill floorl
61542 do :
61543   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61545 eval as_val=\$$as_ac_var
61546    if test "x$as_val" = x""yes; then :
61547   cat >>confdefs.h <<_ACEOF
61548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61549 _ACEOF
61550
61551 fi
61552 done
61553
61554   else
61555     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61556 $as_echo_n "checking for _long double round functions... " >&6; }
61557     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61558   $as_echo_n "(cached) " >&6
61559 else
61560
61561
61562       ac_ext=cpp
61563 ac_cpp='$CXXCPP $CPPFLAGS'
61564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61567
61568       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61569 /* end confdefs.h.  */
61570 #include <math.h>
61571 int
61572 main ()
61573 {
61574 _ceill (0); _floorl (0);
61575   ;
61576   return 0;
61577 }
61578 _ACEOF
61579 if ac_fn_cxx_try_compile "$LINENO"; then :
61580   glibcxx_cv_func__long_double_round_use=yes
61581 else
61582   glibcxx_cv_func__long_double_round_use=no
61583 fi
61584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61585       ac_ext=c
61586 ac_cpp='$CPP $CPPFLAGS'
61587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61590
61591 fi
61592
61593     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61594 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61595     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61596       for ac_func in _ceill _floorl
61597 do :
61598   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61600 eval as_val=\$$as_ac_var
61601    if test "x$as_val" = x""yes; then :
61602   cat >>confdefs.h <<_ACEOF
61603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61604 _ACEOF
61605
61606 fi
61607 done
61608
61609     fi
61610   fi
61611
61612
61613
61614
61615
61616
61617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61618 $as_echo_n "checking for isnanl declaration... " >&6; }
61619   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61620     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61621   $as_echo_n "(cached) " >&6
61622 else
61623
61624
61625       ac_ext=cpp
61626 ac_cpp='$CXXCPP $CPPFLAGS'
61627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61630
61631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61632 /* end confdefs.h.  */
61633 #include <math.h>
61634                       #ifdef HAVE_IEEEFP_H
61635                       #include <ieeefp.h>
61636                       #endif
61637
61638 int
61639 main ()
61640 {
61641  isnanl(0);
61642   ;
61643   return 0;
61644 }
61645 _ACEOF
61646 if ac_fn_cxx_try_compile "$LINENO"; then :
61647   glibcxx_cv_func_isnanl_use=yes
61648 else
61649   glibcxx_cv_func_isnanl_use=no
61650 fi
61651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61652       ac_ext=c
61653 ac_cpp='$CPP $CPPFLAGS'
61654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61657
61658
61659 fi
61660
61661   fi
61662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61663 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61664
61665   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61666     for ac_func in isnanl
61667 do :
61668   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61669 if test "x$ac_cv_func_isnanl" = x""yes; then :
61670   cat >>confdefs.h <<_ACEOF
61671 #define HAVE_ISNANL 1
61672 _ACEOF
61673
61674 fi
61675 done
61676
61677   else
61678
61679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61680 $as_echo_n "checking for _isnanl declaration... " >&6; }
61681   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61682     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61683   $as_echo_n "(cached) " >&6
61684 else
61685
61686
61687       ac_ext=cpp
61688 ac_cpp='$CXXCPP $CPPFLAGS'
61689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61692
61693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61694 /* end confdefs.h.  */
61695 #include <math.h>
61696                       #ifdef HAVE_IEEEFP_H
61697                       #include <ieeefp.h>
61698                       #endif
61699
61700 int
61701 main ()
61702 {
61703  _isnanl(0);
61704   ;
61705   return 0;
61706 }
61707 _ACEOF
61708 if ac_fn_cxx_try_compile "$LINENO"; then :
61709   glibcxx_cv_func__isnanl_use=yes
61710 else
61711   glibcxx_cv_func__isnanl_use=no
61712 fi
61713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61714       ac_ext=c
61715 ac_cpp='$CPP $CPPFLAGS'
61716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61719
61720
61721 fi
61722
61723   fi
61724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61725 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61726
61727     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61728       for ac_func in _isnanl
61729 do :
61730   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61731 if test "x$ac_cv_func__isnanl" = x""yes; then :
61732   cat >>confdefs.h <<_ACEOF
61733 #define HAVE__ISNANL 1
61734 _ACEOF
61735
61736 fi
61737 done
61738
61739     fi
61740   fi
61741
61742
61743
61744
61745
61746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61747 $as_echo_n "checking for isinfl declaration... " >&6; }
61748   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61749     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61750   $as_echo_n "(cached) " >&6
61751 else
61752
61753
61754       ac_ext=cpp
61755 ac_cpp='$CXXCPP $CPPFLAGS'
61756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61759
61760       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61761 /* end confdefs.h.  */
61762 #include <math.h>
61763                       #ifdef HAVE_IEEEFP_H
61764                       #include <ieeefp.h>
61765                       #endif
61766
61767 int
61768 main ()
61769 {
61770  isinfl(0);
61771   ;
61772   return 0;
61773 }
61774 _ACEOF
61775 if ac_fn_cxx_try_compile "$LINENO"; then :
61776   glibcxx_cv_func_isinfl_use=yes
61777 else
61778   glibcxx_cv_func_isinfl_use=no
61779 fi
61780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61781       ac_ext=c
61782 ac_cpp='$CPP $CPPFLAGS'
61783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61786
61787
61788 fi
61789
61790   fi
61791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61792 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61793
61794   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61795     for ac_func in isinfl
61796 do :
61797   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61798 if test "x$ac_cv_func_isinfl" = x""yes; then :
61799   cat >>confdefs.h <<_ACEOF
61800 #define HAVE_ISINFL 1
61801 _ACEOF
61802
61803 fi
61804 done
61805
61806   else
61807
61808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61809 $as_echo_n "checking for _isinfl declaration... " >&6; }
61810   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61811     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61812   $as_echo_n "(cached) " >&6
61813 else
61814
61815
61816       ac_ext=cpp
61817 ac_cpp='$CXXCPP $CPPFLAGS'
61818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61821
61822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61823 /* end confdefs.h.  */
61824 #include <math.h>
61825                       #ifdef HAVE_IEEEFP_H
61826                       #include <ieeefp.h>
61827                       #endif
61828
61829 int
61830 main ()
61831 {
61832  _isinfl(0);
61833   ;
61834   return 0;
61835 }
61836 _ACEOF
61837 if ac_fn_cxx_try_compile "$LINENO"; then :
61838   glibcxx_cv_func__isinfl_use=yes
61839 else
61840   glibcxx_cv_func__isinfl_use=no
61841 fi
61842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61843       ac_ext=c
61844 ac_cpp='$CPP $CPPFLAGS'
61845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61848
61849
61850 fi
61851
61852   fi
61853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61854 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61855
61856     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61857       for ac_func in _isinfl
61858 do :
61859   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61860 if test "x$ac_cv_func__isinfl" = x""yes; then :
61861   cat >>confdefs.h <<_ACEOF
61862 #define HAVE__ISINFL 1
61863 _ACEOF
61864
61865 fi
61866 done
61867
61868     fi
61869   fi
61870
61871
61872
61873
61874
61875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61876 $as_echo_n "checking for atan2l declaration... " >&6; }
61877   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61878     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61879   $as_echo_n "(cached) " >&6
61880 else
61881
61882
61883       ac_ext=cpp
61884 ac_cpp='$CXXCPP $CPPFLAGS'
61885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61888
61889       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61890 /* end confdefs.h.  */
61891 #include <math.h>
61892 int
61893 main ()
61894 {
61895  atan2l(0, 0);
61896   ;
61897   return 0;
61898 }
61899 _ACEOF
61900 if ac_fn_cxx_try_compile "$LINENO"; then :
61901   glibcxx_cv_func_atan2l_use=yes
61902 else
61903   glibcxx_cv_func_atan2l_use=no
61904 fi
61905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61906       ac_ext=c
61907 ac_cpp='$CPP $CPPFLAGS'
61908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61911
61912
61913 fi
61914
61915   fi
61916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61917 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61918
61919   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61920     for ac_func in atan2l
61921 do :
61922   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61923 if test "x$ac_cv_func_atan2l" = x""yes; then :
61924   cat >>confdefs.h <<_ACEOF
61925 #define HAVE_ATAN2L 1
61926 _ACEOF
61927
61928 fi
61929 done
61930
61931   else
61932
61933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61934 $as_echo_n "checking for _atan2l declaration... " >&6; }
61935   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61936     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61937   $as_echo_n "(cached) " >&6
61938 else
61939
61940
61941       ac_ext=cpp
61942 ac_cpp='$CXXCPP $CPPFLAGS'
61943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61946
61947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61948 /* end confdefs.h.  */
61949 #include <math.h>
61950 int
61951 main ()
61952 {
61953  _atan2l(0, 0);
61954   ;
61955   return 0;
61956 }
61957 _ACEOF
61958 if ac_fn_cxx_try_compile "$LINENO"; then :
61959   glibcxx_cv_func__atan2l_use=yes
61960 else
61961   glibcxx_cv_func__atan2l_use=no
61962 fi
61963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61964       ac_ext=c
61965 ac_cpp='$CPP $CPPFLAGS'
61966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61969
61970
61971 fi
61972
61973   fi
61974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61975 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61976
61977     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61978       for ac_func in _atan2l
61979 do :
61980   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61981 if test "x$ac_cv_func__atan2l" = x""yes; then :
61982   cat >>confdefs.h <<_ACEOF
61983 #define HAVE__ATAN2L 1
61984 _ACEOF
61985
61986 fi
61987 done
61988
61989     fi
61990   fi
61991
61992
61993
61994
61995
61996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61997 $as_echo_n "checking for expl declaration... " >&6; }
61998   if test x${glibcxx_cv_func_expl_use+set} != xset; then
61999     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62000   $as_echo_n "(cached) " >&6
62001 else
62002
62003
62004       ac_ext=cpp
62005 ac_cpp='$CXXCPP $CPPFLAGS'
62006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62009
62010       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62011 /* end confdefs.h.  */
62012 #include <math.h>
62013                       #ifdef HAVE_IEEEFP_H
62014                       #include <ieeefp.h>
62015                       #endif
62016
62017 int
62018 main ()
62019 {
62020  expl(0);
62021   ;
62022   return 0;
62023 }
62024 _ACEOF
62025 if ac_fn_cxx_try_compile "$LINENO"; then :
62026   glibcxx_cv_func_expl_use=yes
62027 else
62028   glibcxx_cv_func_expl_use=no
62029 fi
62030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62031       ac_ext=c
62032 ac_cpp='$CPP $CPPFLAGS'
62033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62036
62037
62038 fi
62039
62040   fi
62041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62042 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62043
62044   if test x$glibcxx_cv_func_expl_use = x"yes"; then
62045     for ac_func in expl
62046 do :
62047   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62048 if test "x$ac_cv_func_expl" = x""yes; then :
62049   cat >>confdefs.h <<_ACEOF
62050 #define HAVE_EXPL 1
62051 _ACEOF
62052
62053 fi
62054 done
62055
62056   else
62057
62058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62059 $as_echo_n "checking for _expl declaration... " >&6; }
62060   if test x${glibcxx_cv_func__expl_use+set} != xset; then
62061     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62062   $as_echo_n "(cached) " >&6
62063 else
62064
62065
62066       ac_ext=cpp
62067 ac_cpp='$CXXCPP $CPPFLAGS'
62068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62071
62072       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62073 /* end confdefs.h.  */
62074 #include <math.h>
62075                       #ifdef HAVE_IEEEFP_H
62076                       #include <ieeefp.h>
62077                       #endif
62078
62079 int
62080 main ()
62081 {
62082  _expl(0);
62083   ;
62084   return 0;
62085 }
62086 _ACEOF
62087 if ac_fn_cxx_try_compile "$LINENO"; then :
62088   glibcxx_cv_func__expl_use=yes
62089 else
62090   glibcxx_cv_func__expl_use=no
62091 fi
62092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62093       ac_ext=c
62094 ac_cpp='$CPP $CPPFLAGS'
62095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62098
62099
62100 fi
62101
62102   fi
62103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62104 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62105
62106     if test x$glibcxx_cv_func__expl_use = x"yes"; then
62107       for ac_func in _expl
62108 do :
62109   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62110 if test "x$ac_cv_func__expl" = x""yes; then :
62111   cat >>confdefs.h <<_ACEOF
62112 #define HAVE__EXPL 1
62113 _ACEOF
62114
62115 fi
62116 done
62117
62118     fi
62119   fi
62120
62121
62122
62123
62124
62125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62126 $as_echo_n "checking for fabsl declaration... " >&6; }
62127   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62128     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62129   $as_echo_n "(cached) " >&6
62130 else
62131
62132
62133       ac_ext=cpp
62134 ac_cpp='$CXXCPP $CPPFLAGS'
62135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62138
62139       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62140 /* end confdefs.h.  */
62141 #include <math.h>
62142                       #ifdef HAVE_IEEEFP_H
62143                       #include <ieeefp.h>
62144                       #endif
62145
62146 int
62147 main ()
62148 {
62149  fabsl(0);
62150   ;
62151   return 0;
62152 }
62153 _ACEOF
62154 if ac_fn_cxx_try_compile "$LINENO"; then :
62155   glibcxx_cv_func_fabsl_use=yes
62156 else
62157   glibcxx_cv_func_fabsl_use=no
62158 fi
62159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62160       ac_ext=c
62161 ac_cpp='$CPP $CPPFLAGS'
62162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62165
62166
62167 fi
62168
62169   fi
62170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62171 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62172
62173   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62174     for ac_func in fabsl
62175 do :
62176   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62177 if test "x$ac_cv_func_fabsl" = x""yes; then :
62178   cat >>confdefs.h <<_ACEOF
62179 #define HAVE_FABSL 1
62180 _ACEOF
62181
62182 fi
62183 done
62184
62185   else
62186
62187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62188 $as_echo_n "checking for _fabsl declaration... " >&6; }
62189   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62190     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62191   $as_echo_n "(cached) " >&6
62192 else
62193
62194
62195       ac_ext=cpp
62196 ac_cpp='$CXXCPP $CPPFLAGS'
62197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62200
62201       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62202 /* end confdefs.h.  */
62203 #include <math.h>
62204                       #ifdef HAVE_IEEEFP_H
62205                       #include <ieeefp.h>
62206                       #endif
62207
62208 int
62209 main ()
62210 {
62211  _fabsl(0);
62212   ;
62213   return 0;
62214 }
62215 _ACEOF
62216 if ac_fn_cxx_try_compile "$LINENO"; then :
62217   glibcxx_cv_func__fabsl_use=yes
62218 else
62219   glibcxx_cv_func__fabsl_use=no
62220 fi
62221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62222       ac_ext=c
62223 ac_cpp='$CPP $CPPFLAGS'
62224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62227
62228
62229 fi
62230
62231   fi
62232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62233 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62234
62235     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62236       for ac_func in _fabsl
62237 do :
62238   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62239 if test "x$ac_cv_func__fabsl" = x""yes; then :
62240   cat >>confdefs.h <<_ACEOF
62241 #define HAVE__FABSL 1
62242 _ACEOF
62243
62244 fi
62245 done
62246
62247     fi
62248   fi
62249
62250
62251
62252
62253
62254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62255 $as_echo_n "checking for fmodl declaration... " >&6; }
62256   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62257     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62258   $as_echo_n "(cached) " >&6
62259 else
62260
62261
62262       ac_ext=cpp
62263 ac_cpp='$CXXCPP $CPPFLAGS'
62264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62267
62268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62269 /* end confdefs.h.  */
62270 #include <math.h>
62271 int
62272 main ()
62273 {
62274  fmodl(0, 0);
62275   ;
62276   return 0;
62277 }
62278 _ACEOF
62279 if ac_fn_cxx_try_compile "$LINENO"; then :
62280   glibcxx_cv_func_fmodl_use=yes
62281 else
62282   glibcxx_cv_func_fmodl_use=no
62283 fi
62284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62285       ac_ext=c
62286 ac_cpp='$CPP $CPPFLAGS'
62287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62290
62291
62292 fi
62293
62294   fi
62295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62296 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62297
62298   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62299     for ac_func in fmodl
62300 do :
62301   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62302 if test "x$ac_cv_func_fmodl" = x""yes; then :
62303   cat >>confdefs.h <<_ACEOF
62304 #define HAVE_FMODL 1
62305 _ACEOF
62306
62307 fi
62308 done
62309
62310   else
62311
62312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62313 $as_echo_n "checking for _fmodl declaration... " >&6; }
62314   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62315     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62316   $as_echo_n "(cached) " >&6
62317 else
62318
62319
62320       ac_ext=cpp
62321 ac_cpp='$CXXCPP $CPPFLAGS'
62322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62325
62326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62327 /* end confdefs.h.  */
62328 #include <math.h>
62329 int
62330 main ()
62331 {
62332  _fmodl(0, 0);
62333   ;
62334   return 0;
62335 }
62336 _ACEOF
62337 if ac_fn_cxx_try_compile "$LINENO"; then :
62338   glibcxx_cv_func__fmodl_use=yes
62339 else
62340   glibcxx_cv_func__fmodl_use=no
62341 fi
62342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62343       ac_ext=c
62344 ac_cpp='$CPP $CPPFLAGS'
62345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62348
62349
62350 fi
62351
62352   fi
62353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62354 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62355
62356     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62357       for ac_func in _fmodl
62358 do :
62359   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62360 if test "x$ac_cv_func__fmodl" = x""yes; then :
62361   cat >>confdefs.h <<_ACEOF
62362 #define HAVE__FMODL 1
62363 _ACEOF
62364
62365 fi
62366 done
62367
62368     fi
62369   fi
62370
62371
62372
62373
62374
62375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62376 $as_echo_n "checking for frexpl declaration... " >&6; }
62377   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62378     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62379   $as_echo_n "(cached) " >&6
62380 else
62381
62382
62383       ac_ext=cpp
62384 ac_cpp='$CXXCPP $CPPFLAGS'
62385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62388
62389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62390 /* end confdefs.h.  */
62391 #include <math.h>
62392 int
62393 main ()
62394 {
62395  frexpl(0, 0);
62396   ;
62397   return 0;
62398 }
62399 _ACEOF
62400 if ac_fn_cxx_try_compile "$LINENO"; then :
62401   glibcxx_cv_func_frexpl_use=yes
62402 else
62403   glibcxx_cv_func_frexpl_use=no
62404 fi
62405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62406       ac_ext=c
62407 ac_cpp='$CPP $CPPFLAGS'
62408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62411
62412
62413 fi
62414
62415   fi
62416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62417 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62418
62419   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62420     for ac_func in frexpl
62421 do :
62422   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62423 if test "x$ac_cv_func_frexpl" = x""yes; then :
62424   cat >>confdefs.h <<_ACEOF
62425 #define HAVE_FREXPL 1
62426 _ACEOF
62427
62428 fi
62429 done
62430
62431   else
62432
62433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62434 $as_echo_n "checking for _frexpl declaration... " >&6; }
62435   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62436     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62437   $as_echo_n "(cached) " >&6
62438 else
62439
62440
62441       ac_ext=cpp
62442 ac_cpp='$CXXCPP $CPPFLAGS'
62443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62446
62447       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62448 /* end confdefs.h.  */
62449 #include <math.h>
62450 int
62451 main ()
62452 {
62453  _frexpl(0, 0);
62454   ;
62455   return 0;
62456 }
62457 _ACEOF
62458 if ac_fn_cxx_try_compile "$LINENO"; then :
62459   glibcxx_cv_func__frexpl_use=yes
62460 else
62461   glibcxx_cv_func__frexpl_use=no
62462 fi
62463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62464       ac_ext=c
62465 ac_cpp='$CPP $CPPFLAGS'
62466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62469
62470
62471 fi
62472
62473   fi
62474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62475 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62476
62477     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62478       for ac_func in _frexpl
62479 do :
62480   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62481 if test "x$ac_cv_func__frexpl" = x""yes; then :
62482   cat >>confdefs.h <<_ACEOF
62483 #define HAVE__FREXPL 1
62484 _ACEOF
62485
62486 fi
62487 done
62488
62489     fi
62490   fi
62491
62492
62493
62494
62495
62496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62497 $as_echo_n "checking for hypotl declaration... " >&6; }
62498   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62499     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62500   $as_echo_n "(cached) " >&6
62501 else
62502
62503
62504       ac_ext=cpp
62505 ac_cpp='$CXXCPP $CPPFLAGS'
62506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62509
62510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62511 /* end confdefs.h.  */
62512 #include <math.h>
62513 int
62514 main ()
62515 {
62516  hypotl(0, 0);
62517   ;
62518   return 0;
62519 }
62520 _ACEOF
62521 if ac_fn_cxx_try_compile "$LINENO"; then :
62522   glibcxx_cv_func_hypotl_use=yes
62523 else
62524   glibcxx_cv_func_hypotl_use=no
62525 fi
62526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62527       ac_ext=c
62528 ac_cpp='$CPP $CPPFLAGS'
62529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62532
62533
62534 fi
62535
62536   fi
62537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62538 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62539
62540   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62541     for ac_func in hypotl
62542 do :
62543   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62544 if test "x$ac_cv_func_hypotl" = x""yes; then :
62545   cat >>confdefs.h <<_ACEOF
62546 #define HAVE_HYPOTL 1
62547 _ACEOF
62548
62549 fi
62550 done
62551
62552   else
62553
62554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62555 $as_echo_n "checking for _hypotl declaration... " >&6; }
62556   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62557     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62558   $as_echo_n "(cached) " >&6
62559 else
62560
62561
62562       ac_ext=cpp
62563 ac_cpp='$CXXCPP $CPPFLAGS'
62564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62567
62568       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62569 /* end confdefs.h.  */
62570 #include <math.h>
62571 int
62572 main ()
62573 {
62574  _hypotl(0, 0);
62575   ;
62576   return 0;
62577 }
62578 _ACEOF
62579 if ac_fn_cxx_try_compile "$LINENO"; then :
62580   glibcxx_cv_func__hypotl_use=yes
62581 else
62582   glibcxx_cv_func__hypotl_use=no
62583 fi
62584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62585       ac_ext=c
62586 ac_cpp='$CPP $CPPFLAGS'
62587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62590
62591
62592 fi
62593
62594   fi
62595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62596 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62597
62598     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62599       for ac_func in _hypotl
62600 do :
62601   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62602 if test "x$ac_cv_func__hypotl" = x""yes; then :
62603   cat >>confdefs.h <<_ACEOF
62604 #define HAVE__HYPOTL 1
62605 _ACEOF
62606
62607 fi
62608 done
62609
62610     fi
62611   fi
62612
62613
62614
62615
62616
62617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62618 $as_echo_n "checking for ldexpl declaration... " >&6; }
62619   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62620     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62621   $as_echo_n "(cached) " >&6
62622 else
62623
62624
62625       ac_ext=cpp
62626 ac_cpp='$CXXCPP $CPPFLAGS'
62627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62630
62631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62632 /* end confdefs.h.  */
62633 #include <math.h>
62634 int
62635 main ()
62636 {
62637  ldexpl(0, 0);
62638   ;
62639   return 0;
62640 }
62641 _ACEOF
62642 if ac_fn_cxx_try_compile "$LINENO"; then :
62643   glibcxx_cv_func_ldexpl_use=yes
62644 else
62645   glibcxx_cv_func_ldexpl_use=no
62646 fi
62647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62648       ac_ext=c
62649 ac_cpp='$CPP $CPPFLAGS'
62650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62653
62654
62655 fi
62656
62657   fi
62658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62659 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62660
62661   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62662     for ac_func in ldexpl
62663 do :
62664   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62665 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62666   cat >>confdefs.h <<_ACEOF
62667 #define HAVE_LDEXPL 1
62668 _ACEOF
62669
62670 fi
62671 done
62672
62673   else
62674
62675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62676 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62677   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62678     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62679   $as_echo_n "(cached) " >&6
62680 else
62681
62682
62683       ac_ext=cpp
62684 ac_cpp='$CXXCPP $CPPFLAGS'
62685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62688
62689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62690 /* end confdefs.h.  */
62691 #include <math.h>
62692 int
62693 main ()
62694 {
62695  _ldexpl(0, 0);
62696   ;
62697   return 0;
62698 }
62699 _ACEOF
62700 if ac_fn_cxx_try_compile "$LINENO"; then :
62701   glibcxx_cv_func__ldexpl_use=yes
62702 else
62703   glibcxx_cv_func__ldexpl_use=no
62704 fi
62705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62706       ac_ext=c
62707 ac_cpp='$CPP $CPPFLAGS'
62708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62711
62712
62713 fi
62714
62715   fi
62716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62717 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62718
62719     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62720       for ac_func in _ldexpl
62721 do :
62722   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62723 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62724   cat >>confdefs.h <<_ACEOF
62725 #define HAVE__LDEXPL 1
62726 _ACEOF
62727
62728 fi
62729 done
62730
62731     fi
62732   fi
62733
62734
62735
62736
62737
62738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62739 $as_echo_n "checking for logl declaration... " >&6; }
62740   if test x${glibcxx_cv_func_logl_use+set} != xset; then
62741     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62742   $as_echo_n "(cached) " >&6
62743 else
62744
62745
62746       ac_ext=cpp
62747 ac_cpp='$CXXCPP $CPPFLAGS'
62748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62751
62752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62753 /* end confdefs.h.  */
62754 #include <math.h>
62755                       #ifdef HAVE_IEEEFP_H
62756                       #include <ieeefp.h>
62757                       #endif
62758
62759 int
62760 main ()
62761 {
62762  logl(0);
62763   ;
62764   return 0;
62765 }
62766 _ACEOF
62767 if ac_fn_cxx_try_compile "$LINENO"; then :
62768   glibcxx_cv_func_logl_use=yes
62769 else
62770   glibcxx_cv_func_logl_use=no
62771 fi
62772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62773       ac_ext=c
62774 ac_cpp='$CPP $CPPFLAGS'
62775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62778
62779
62780 fi
62781
62782   fi
62783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62784 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62785
62786   if test x$glibcxx_cv_func_logl_use = x"yes"; then
62787     for ac_func in logl
62788 do :
62789   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62790 if test "x$ac_cv_func_logl" = x""yes; then :
62791   cat >>confdefs.h <<_ACEOF
62792 #define HAVE_LOGL 1
62793 _ACEOF
62794
62795 fi
62796 done
62797
62798   else
62799
62800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62801 $as_echo_n "checking for _logl declaration... " >&6; }
62802   if test x${glibcxx_cv_func__logl_use+set} != xset; then
62803     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62804   $as_echo_n "(cached) " >&6
62805 else
62806
62807
62808       ac_ext=cpp
62809 ac_cpp='$CXXCPP $CPPFLAGS'
62810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62813
62814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62815 /* end confdefs.h.  */
62816 #include <math.h>
62817                       #ifdef HAVE_IEEEFP_H
62818                       #include <ieeefp.h>
62819                       #endif
62820
62821 int
62822 main ()
62823 {
62824  _logl(0);
62825   ;
62826   return 0;
62827 }
62828 _ACEOF
62829 if ac_fn_cxx_try_compile "$LINENO"; then :
62830   glibcxx_cv_func__logl_use=yes
62831 else
62832   glibcxx_cv_func__logl_use=no
62833 fi
62834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62835       ac_ext=c
62836 ac_cpp='$CPP $CPPFLAGS'
62837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62840
62841
62842 fi
62843
62844   fi
62845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62846 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62847
62848     if test x$glibcxx_cv_func__logl_use = x"yes"; then
62849       for ac_func in _logl
62850 do :
62851   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62852 if test "x$ac_cv_func__logl" = x""yes; then :
62853   cat >>confdefs.h <<_ACEOF
62854 #define HAVE__LOGL 1
62855 _ACEOF
62856
62857 fi
62858 done
62859
62860     fi
62861   fi
62862
62863
62864
62865
62866
62867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62868 $as_echo_n "checking for log10l declaration... " >&6; }
62869   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62870     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62871   $as_echo_n "(cached) " >&6
62872 else
62873
62874
62875       ac_ext=cpp
62876 ac_cpp='$CXXCPP $CPPFLAGS'
62877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62880
62881       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62882 /* end confdefs.h.  */
62883 #include <math.h>
62884                       #ifdef HAVE_IEEEFP_H
62885                       #include <ieeefp.h>
62886                       #endif
62887
62888 int
62889 main ()
62890 {
62891  log10l(0);
62892   ;
62893   return 0;
62894 }
62895 _ACEOF
62896 if ac_fn_cxx_try_compile "$LINENO"; then :
62897   glibcxx_cv_func_log10l_use=yes
62898 else
62899   glibcxx_cv_func_log10l_use=no
62900 fi
62901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62902       ac_ext=c
62903 ac_cpp='$CPP $CPPFLAGS'
62904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62907
62908
62909 fi
62910
62911   fi
62912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62913 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62914
62915   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62916     for ac_func in log10l
62917 do :
62918   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62919 if test "x$ac_cv_func_log10l" = x""yes; then :
62920   cat >>confdefs.h <<_ACEOF
62921 #define HAVE_LOG10L 1
62922 _ACEOF
62923
62924 fi
62925 done
62926
62927   else
62928
62929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62930 $as_echo_n "checking for _log10l declaration... " >&6; }
62931   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62932     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62933   $as_echo_n "(cached) " >&6
62934 else
62935
62936
62937       ac_ext=cpp
62938 ac_cpp='$CXXCPP $CPPFLAGS'
62939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62942
62943       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62944 /* end confdefs.h.  */
62945 #include <math.h>
62946                       #ifdef HAVE_IEEEFP_H
62947                       #include <ieeefp.h>
62948                       #endif
62949
62950 int
62951 main ()
62952 {
62953  _log10l(0);
62954   ;
62955   return 0;
62956 }
62957 _ACEOF
62958 if ac_fn_cxx_try_compile "$LINENO"; then :
62959   glibcxx_cv_func__log10l_use=yes
62960 else
62961   glibcxx_cv_func__log10l_use=no
62962 fi
62963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62964       ac_ext=c
62965 ac_cpp='$CPP $CPPFLAGS'
62966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62969
62970
62971 fi
62972
62973   fi
62974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62975 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62976
62977     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62978       for ac_func in _log10l
62979 do :
62980   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62981 if test "x$ac_cv_func__log10l" = x""yes; then :
62982   cat >>confdefs.h <<_ACEOF
62983 #define HAVE__LOG10L 1
62984 _ACEOF
62985
62986 fi
62987 done
62988
62989     fi
62990   fi
62991
62992
62993
62994
62995
62996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62997 $as_echo_n "checking for modfl declaration... " >&6; }
62998   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62999     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63000   $as_echo_n "(cached) " >&6
63001 else
63002
63003
63004       ac_ext=cpp
63005 ac_cpp='$CXXCPP $CPPFLAGS'
63006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63009
63010       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63011 /* end confdefs.h.  */
63012 #include <math.h>
63013 int
63014 main ()
63015 {
63016  modfl(0, 0);
63017   ;
63018   return 0;
63019 }
63020 _ACEOF
63021 if ac_fn_cxx_try_compile "$LINENO"; then :
63022   glibcxx_cv_func_modfl_use=yes
63023 else
63024   glibcxx_cv_func_modfl_use=no
63025 fi
63026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63027       ac_ext=c
63028 ac_cpp='$CPP $CPPFLAGS'
63029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63032
63033
63034 fi
63035
63036   fi
63037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63038 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63039
63040   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63041     for ac_func in modfl
63042 do :
63043   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63044 if test "x$ac_cv_func_modfl" = x""yes; then :
63045   cat >>confdefs.h <<_ACEOF
63046 #define HAVE_MODFL 1
63047 _ACEOF
63048
63049 fi
63050 done
63051
63052   else
63053
63054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63055 $as_echo_n "checking for _modfl declaration... " >&6; }
63056   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63057     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63058   $as_echo_n "(cached) " >&6
63059 else
63060
63061
63062       ac_ext=cpp
63063 ac_cpp='$CXXCPP $CPPFLAGS'
63064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63067
63068       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63069 /* end confdefs.h.  */
63070 #include <math.h>
63071 int
63072 main ()
63073 {
63074  _modfl(0, 0);
63075   ;
63076   return 0;
63077 }
63078 _ACEOF
63079 if ac_fn_cxx_try_compile "$LINENO"; then :
63080   glibcxx_cv_func__modfl_use=yes
63081 else
63082   glibcxx_cv_func__modfl_use=no
63083 fi
63084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63085       ac_ext=c
63086 ac_cpp='$CPP $CPPFLAGS'
63087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63090
63091
63092 fi
63093
63094   fi
63095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63096 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63097
63098     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63099       for ac_func in _modfl
63100 do :
63101   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63102 if test "x$ac_cv_func__modfl" = x""yes; then :
63103   cat >>confdefs.h <<_ACEOF
63104 #define HAVE__MODFL 1
63105 _ACEOF
63106
63107 fi
63108 done
63109
63110     fi
63111   fi
63112
63113
63114
63115
63116
63117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63118 $as_echo_n "checking for powl declaration... " >&6; }
63119   if test x${glibcxx_cv_func_powl_use+set} != xset; then
63120     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63121   $as_echo_n "(cached) " >&6
63122 else
63123
63124
63125       ac_ext=cpp
63126 ac_cpp='$CXXCPP $CPPFLAGS'
63127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63130
63131       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63132 /* end confdefs.h.  */
63133 #include <math.h>
63134 int
63135 main ()
63136 {
63137  powl(0, 0);
63138   ;
63139   return 0;
63140 }
63141 _ACEOF
63142 if ac_fn_cxx_try_compile "$LINENO"; then :
63143   glibcxx_cv_func_powl_use=yes
63144 else
63145   glibcxx_cv_func_powl_use=no
63146 fi
63147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63148       ac_ext=c
63149 ac_cpp='$CPP $CPPFLAGS'
63150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63153
63154
63155 fi
63156
63157   fi
63158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63159 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63160
63161   if test x$glibcxx_cv_func_powl_use = x"yes"; then
63162     for ac_func in powl
63163 do :
63164   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63165 if test "x$ac_cv_func_powl" = x""yes; then :
63166   cat >>confdefs.h <<_ACEOF
63167 #define HAVE_POWL 1
63168 _ACEOF
63169
63170 fi
63171 done
63172
63173   else
63174
63175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63176 $as_echo_n "checking for _powl declaration... " >&6; }
63177   if test x${glibcxx_cv_func__powl_use+set} != xset; then
63178     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63179   $as_echo_n "(cached) " >&6
63180 else
63181
63182
63183       ac_ext=cpp
63184 ac_cpp='$CXXCPP $CPPFLAGS'
63185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63188
63189       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63190 /* end confdefs.h.  */
63191 #include <math.h>
63192 int
63193 main ()
63194 {
63195  _powl(0, 0);
63196   ;
63197   return 0;
63198 }
63199 _ACEOF
63200 if ac_fn_cxx_try_compile "$LINENO"; then :
63201   glibcxx_cv_func__powl_use=yes
63202 else
63203   glibcxx_cv_func__powl_use=no
63204 fi
63205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63206       ac_ext=c
63207 ac_cpp='$CPP $CPPFLAGS'
63208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63211
63212
63213 fi
63214
63215   fi
63216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63217 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63218
63219     if test x$glibcxx_cv_func__powl_use = x"yes"; then
63220       for ac_func in _powl
63221 do :
63222   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63223 if test "x$ac_cv_func__powl" = x""yes; then :
63224   cat >>confdefs.h <<_ACEOF
63225 #define HAVE__POWL 1
63226 _ACEOF
63227
63228 fi
63229 done
63230
63231     fi
63232   fi
63233
63234
63235
63236
63237
63238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63239 $as_echo_n "checking for sqrtl declaration... " >&6; }
63240   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63241     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63242   $as_echo_n "(cached) " >&6
63243 else
63244
63245
63246       ac_ext=cpp
63247 ac_cpp='$CXXCPP $CPPFLAGS'
63248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63251
63252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63253 /* end confdefs.h.  */
63254 #include <math.h>
63255                       #ifdef HAVE_IEEEFP_H
63256                       #include <ieeefp.h>
63257                       #endif
63258
63259 int
63260 main ()
63261 {
63262  sqrtl(0);
63263   ;
63264   return 0;
63265 }
63266 _ACEOF
63267 if ac_fn_cxx_try_compile "$LINENO"; then :
63268   glibcxx_cv_func_sqrtl_use=yes
63269 else
63270   glibcxx_cv_func_sqrtl_use=no
63271 fi
63272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63273       ac_ext=c
63274 ac_cpp='$CPP $CPPFLAGS'
63275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63278
63279
63280 fi
63281
63282   fi
63283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63284 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63285
63286   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63287     for ac_func in sqrtl
63288 do :
63289   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63290 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63291   cat >>confdefs.h <<_ACEOF
63292 #define HAVE_SQRTL 1
63293 _ACEOF
63294
63295 fi
63296 done
63297
63298   else
63299
63300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63301 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63302   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63303     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63304   $as_echo_n "(cached) " >&6
63305 else
63306
63307
63308       ac_ext=cpp
63309 ac_cpp='$CXXCPP $CPPFLAGS'
63310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63313
63314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63315 /* end confdefs.h.  */
63316 #include <math.h>
63317                       #ifdef HAVE_IEEEFP_H
63318                       #include <ieeefp.h>
63319                       #endif
63320
63321 int
63322 main ()
63323 {
63324  _sqrtl(0);
63325   ;
63326   return 0;
63327 }
63328 _ACEOF
63329 if ac_fn_cxx_try_compile "$LINENO"; then :
63330   glibcxx_cv_func__sqrtl_use=yes
63331 else
63332   glibcxx_cv_func__sqrtl_use=no
63333 fi
63334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63335       ac_ext=c
63336 ac_cpp='$CPP $CPPFLAGS'
63337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63340
63341
63342 fi
63343
63344   fi
63345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63346 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63347
63348     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63349       for ac_func in _sqrtl
63350 do :
63351   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63352 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63353   cat >>confdefs.h <<_ACEOF
63354 #define HAVE__SQRTL 1
63355 _ACEOF
63356
63357 fi
63358 done
63359
63360     fi
63361   fi
63362
63363
63364
63365
63366
63367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63368 $as_echo_n "checking for sincosl declaration... " >&6; }
63369   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63370     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63371   $as_echo_n "(cached) " >&6
63372 else
63373
63374
63375       ac_ext=cpp
63376 ac_cpp='$CXXCPP $CPPFLAGS'
63377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63380
63381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63382 /* end confdefs.h.  */
63383 #include <math.h>
63384 int
63385 main ()
63386 {
63387  sincosl(0, 0, 0);
63388   ;
63389   return 0;
63390 }
63391 _ACEOF
63392 if ac_fn_cxx_try_compile "$LINENO"; then :
63393   glibcxx_cv_func_sincosl_use=yes
63394 else
63395   glibcxx_cv_func_sincosl_use=no
63396 fi
63397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63398       ac_ext=c
63399 ac_cpp='$CPP $CPPFLAGS'
63400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63403
63404
63405 fi
63406
63407   fi
63408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63409 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63410
63411   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63412     for ac_func in sincosl
63413 do :
63414   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63415 if test "x$ac_cv_func_sincosl" = x""yes; then :
63416   cat >>confdefs.h <<_ACEOF
63417 #define HAVE_SINCOSL 1
63418 _ACEOF
63419
63420 fi
63421 done
63422
63423   else
63424
63425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63426 $as_echo_n "checking for _sincosl declaration... " >&6; }
63427   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63428     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63429   $as_echo_n "(cached) " >&6
63430 else
63431
63432
63433       ac_ext=cpp
63434 ac_cpp='$CXXCPP $CPPFLAGS'
63435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63438
63439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63440 /* end confdefs.h.  */
63441 #include <math.h>
63442 int
63443 main ()
63444 {
63445  _sincosl(0, 0, 0);
63446   ;
63447   return 0;
63448 }
63449 _ACEOF
63450 if ac_fn_cxx_try_compile "$LINENO"; then :
63451   glibcxx_cv_func__sincosl_use=yes
63452 else
63453   glibcxx_cv_func__sincosl_use=no
63454 fi
63455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63456       ac_ext=c
63457 ac_cpp='$CPP $CPPFLAGS'
63458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63461
63462
63463 fi
63464
63465   fi
63466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63467 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63468
63469     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63470       for ac_func in _sincosl
63471 do :
63472   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63473 if test "x$ac_cv_func__sincosl" = x""yes; then :
63474   cat >>confdefs.h <<_ACEOF
63475 #define HAVE__SINCOSL 1
63476 _ACEOF
63477
63478 fi
63479 done
63480
63481     fi
63482   fi
63483
63484
63485
63486
63487
63488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63489 $as_echo_n "checking for finitel declaration... " >&6; }
63490   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63491     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63492   $as_echo_n "(cached) " >&6
63493 else
63494
63495
63496       ac_ext=cpp
63497 ac_cpp='$CXXCPP $CPPFLAGS'
63498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63501
63502       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63503 /* end confdefs.h.  */
63504 #include <math.h>
63505                       #ifdef HAVE_IEEEFP_H
63506                       #include <ieeefp.h>
63507                       #endif
63508
63509 int
63510 main ()
63511 {
63512  finitel(0);
63513   ;
63514   return 0;
63515 }
63516 _ACEOF
63517 if ac_fn_cxx_try_compile "$LINENO"; then :
63518   glibcxx_cv_func_finitel_use=yes
63519 else
63520   glibcxx_cv_func_finitel_use=no
63521 fi
63522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63523       ac_ext=c
63524 ac_cpp='$CPP $CPPFLAGS'
63525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63528
63529
63530 fi
63531
63532   fi
63533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63534 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63535
63536   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63537     for ac_func in finitel
63538 do :
63539   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63540 if test "x$ac_cv_func_finitel" = x""yes; then :
63541   cat >>confdefs.h <<_ACEOF
63542 #define HAVE_FINITEL 1
63543 _ACEOF
63544
63545 fi
63546 done
63547
63548   else
63549
63550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63551 $as_echo_n "checking for _finitel declaration... " >&6; }
63552   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63553     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63554   $as_echo_n "(cached) " >&6
63555 else
63556
63557
63558       ac_ext=cpp
63559 ac_cpp='$CXXCPP $CPPFLAGS'
63560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63563
63564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63565 /* end confdefs.h.  */
63566 #include <math.h>
63567                       #ifdef HAVE_IEEEFP_H
63568                       #include <ieeefp.h>
63569                       #endif
63570
63571 int
63572 main ()
63573 {
63574  _finitel(0);
63575   ;
63576   return 0;
63577 }
63578 _ACEOF
63579 if ac_fn_cxx_try_compile "$LINENO"; then :
63580   glibcxx_cv_func__finitel_use=yes
63581 else
63582   glibcxx_cv_func__finitel_use=no
63583 fi
63584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63585       ac_ext=c
63586 ac_cpp='$CPP $CPPFLAGS'
63587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63590
63591
63592 fi
63593
63594   fi
63595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63596 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63597
63598     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63599       for ac_func in _finitel
63600 do :
63601   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63602 if test "x$ac_cv_func__finitel" = x""yes; then :
63603   cat >>confdefs.h <<_ACEOF
63604 #define HAVE__FINITEL 1
63605 _ACEOF
63606
63607 fi
63608 done
63609
63610     fi
63611   fi
63612
63613
63614
63615
63616   LIBS="$ac_save_LIBS"
63617   CXXFLAGS="$ac_save_CXXFLAGS"
63618
63619
63620   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63621   ac_save_CXXFLAGS="$CXXFLAGS"
63622   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63623
63624
63625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63626 $as_echo_n "checking for strtold declaration... " >&6; }
63627   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63628     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63629   $as_echo_n "(cached) " >&6
63630 else
63631
63632
63633       ac_ext=cpp
63634 ac_cpp='$CXXCPP $CPPFLAGS'
63635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63638
63639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63640 /* end confdefs.h.  */
63641 #include <stdlib.h>
63642 int
63643 main ()
63644 {
63645  strtold(0, 0);
63646   ;
63647   return 0;
63648 }
63649 _ACEOF
63650 if ac_fn_cxx_try_compile "$LINENO"; then :
63651   glibcxx_cv_func_strtold_use=yes
63652 else
63653   glibcxx_cv_func_strtold_use=no
63654 fi
63655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63656       ac_ext=c
63657 ac_cpp='$CPP $CPPFLAGS'
63658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63661
63662
63663 fi
63664
63665   fi
63666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63667 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63668   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63669     for ac_func in strtold
63670 do :
63671   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63672 if test "x$ac_cv_func_strtold" = x""yes; then :
63673   cat >>confdefs.h <<_ACEOF
63674 #define HAVE_STRTOLD 1
63675 _ACEOF
63676
63677 fi
63678 done
63679
63680   fi
63681
63682
63683
63684
63685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63686 $as_echo_n "checking for strtof declaration... " >&6; }
63687   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63688     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63689   $as_echo_n "(cached) " >&6
63690 else
63691
63692
63693       ac_ext=cpp
63694 ac_cpp='$CXXCPP $CPPFLAGS'
63695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63698
63699       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63700 /* end confdefs.h.  */
63701 #include <stdlib.h>
63702 int
63703 main ()
63704 {
63705  strtof(0, 0);
63706   ;
63707   return 0;
63708 }
63709 _ACEOF
63710 if ac_fn_cxx_try_compile "$LINENO"; then :
63711   glibcxx_cv_func_strtof_use=yes
63712 else
63713   glibcxx_cv_func_strtof_use=no
63714 fi
63715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63716       ac_ext=c
63717 ac_cpp='$CPP $CPPFLAGS'
63718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63721
63722
63723 fi
63724
63725   fi
63726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63727 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63728   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63729     for ac_func in strtof
63730 do :
63731   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63732 if test "x$ac_cv_func_strtof" = x""yes; then :
63733   cat >>confdefs.h <<_ACEOF
63734 #define HAVE_STRTOF 1
63735 _ACEOF
63736
63737 fi
63738 done
63739
63740   fi
63741
63742
63743
63744
63745   CXXFLAGS="$ac_save_CXXFLAGS"
63746
63747     ;;
63748   *-solaris*)
63749     case "$target" in
63750       *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63751
63752   # If we're not using GNU ld, then there's no point in even trying these
63753   # tests.  Check for that first.  We should have already tested for gld
63754   # by now (in libtool), but require it now just to be safe...
63755   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63756   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63757
63758
63759
63760   # The name set by libtool depends on the version of libtool.  Shame on us
63761   # for depending on an impl detail, but c'est la vie.  Older versions used
63762   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63763   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63764   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63765   # set (hence we're using an older libtool), then set it.
63766   if test x${with_gnu_ld+set} != xset; then
63767     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63768       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63769       with_gnu_ld=no
63770     else
63771       with_gnu_ld=$ac_cv_prog_gnu_ld
63772     fi
63773   fi
63774
63775   # Start by getting the version number.  I think the libtool test already
63776   # does some of this, but throws away the result.
63777   glibcxx_ld_is_gold=no
63778   if test x"$with_gnu_ld" = x"yes"; then
63779     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63780 $as_echo_n "checking for ld version... " >&6; }
63781
63782     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63783       glibcxx_ld_is_gold=yes
63784     fi
63785     ldver=`$LD --version 2>/dev/null |
63786            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'`
63787
63788     glibcxx_gnu_ld_version=`echo $ldver | \
63789            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63790     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63791 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63792   fi
63793
63794   # Set --gc-sections.
63795   glibcxx_have_gc_sections=no
63796   if test "$glibcxx_ld_is_gold" = "yes"; then
63797     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63798       glibcxx_have_gc_sections=yes
63799     fi
63800   else
63801     glibcxx_gcsections_min_ld=21602
63802     if test x"$with_gnu_ld" = x"yes" &&
63803         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63804       glibcxx_have_gc_sections=yes
63805     fi
63806   fi
63807   if test "$glibcxx_have_gc_sections" = "yes"; then
63808     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63809     # NB: This flag only works reliably after 2.16.1. Configure tests
63810     # for this are difficult, so hard wire a value that should work.
63811
63812     ac_test_CFLAGS="${CFLAGS+set}"
63813     ac_save_CFLAGS="$CFLAGS"
63814     CFLAGS='-Wl,--gc-sections'
63815
63816     # Check for -Wl,--gc-sections
63817     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63818 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63819     if test x$gcc_no_link = xyes; then
63820   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63821 fi
63822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63823 /* end confdefs.h.  */
63824  int one(void) { return 1; }
63825      int two(void) { return 2; }
63826
63827 int
63828 main ()
63829 {
63830  two();
63831   ;
63832   return 0;
63833 }
63834 _ACEOF
63835 if ac_fn_c_try_link "$LINENO"; then :
63836   ac_gcsections=yes
63837 else
63838   ac_gcsections=no
63839 fi
63840 rm -f core conftest.err conftest.$ac_objext \
63841     conftest$ac_exeext conftest.$ac_ext
63842     if test "$ac_gcsections" = "yes"; then
63843       rm -f conftest.c
63844       touch conftest.c
63845       if $CC -c conftest.c; then
63846         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63847            grep "Warning: gc-sections option ignored" > /dev/null; then
63848           ac_gcsections=no
63849         fi
63850       fi
63851       rm -f conftest.c conftest.o conftest
63852     fi
63853     if test "$ac_gcsections" = "yes"; then
63854       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63855     fi
63856     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63857 $as_echo "$ac_gcsections" >&6; }
63858
63859     if test "$ac_test_CFLAGS" = set; then
63860       CFLAGS="$ac_save_CFLAGS"
63861     else
63862       # this is the suspicious part
63863       CFLAGS=''
63864     fi
63865   fi
63866
63867   # Set -z,relro.
63868   # Note this is only for shared objects.
63869   ac_ld_relro=no
63870   if test x"$with_gnu_ld" = x"yes"; then
63871     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63872 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63873     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63874     if test -n "$cxx_z_relo"; then
63875       OPT_LDFLAGS="-Wl,-z,relro"
63876       ac_ld_relro=yes
63877     fi
63878     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63879 $as_echo "$ac_ld_relro" >&6; }
63880   fi
63881
63882   # Set linker optimization flags.
63883   if test x"$with_gnu_ld" = x"yes"; then
63884     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63885   fi
63886
63887
63888
63889
63890          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63891
63892          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63893
63894          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63895
63896          # All of the dependencies for wide character support are here, so
63897          # turn it on.
63898          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63899
63900         ;;
63901     esac
63902     case "$target" in
63903       *-*-solaris2.10)
63904       # These two C99 functions are present only in Solaris >= 10
63905       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63906
63907       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63908
63909      ;;
63910     esac
63911     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63912
63913     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63914
63915     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63916
63917     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63918
63919     ;;
63920   *-tpf)
63921     SECTION_FLAGS='-ffunction-sections -fdata-sections'
63922
63923
63924   # If we're not using GNU ld, then there's no point in even trying these
63925   # tests.  Check for that first.  We should have already tested for gld
63926   # by now (in libtool), but require it now just to be safe...
63927   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63928   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63929
63930
63931
63932   # The name set by libtool depends on the version of libtool.  Shame on us
63933   # for depending on an impl detail, but c'est la vie.  Older versions used
63934   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63935   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63936   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63937   # set (hence we're using an older libtool), then set it.
63938   if test x${with_gnu_ld+set} != xset; then
63939     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63940       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63941       with_gnu_ld=no
63942     else
63943       with_gnu_ld=$ac_cv_prog_gnu_ld
63944     fi
63945   fi
63946
63947   # Start by getting the version number.  I think the libtool test already
63948   # does some of this, but throws away the result.
63949   glibcxx_ld_is_gold=no
63950   if test x"$with_gnu_ld" = x"yes"; then
63951     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63952 $as_echo_n "checking for ld version... " >&6; }
63953
63954     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63955       glibcxx_ld_is_gold=yes
63956     fi
63957     ldver=`$LD --version 2>/dev/null |
63958            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'`
63959
63960     glibcxx_gnu_ld_version=`echo $ldver | \
63961            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63962     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63963 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63964   fi
63965
63966   # Set --gc-sections.
63967   glibcxx_have_gc_sections=no
63968   if test "$glibcxx_ld_is_gold" = "yes"; then
63969     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63970       glibcxx_have_gc_sections=yes
63971     fi
63972   else
63973     glibcxx_gcsections_min_ld=21602
63974     if test x"$with_gnu_ld" = x"yes" &&
63975         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63976       glibcxx_have_gc_sections=yes
63977     fi
63978   fi
63979   if test "$glibcxx_have_gc_sections" = "yes"; then
63980     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63981     # NB: This flag only works reliably after 2.16.1. Configure tests
63982     # for this are difficult, so hard wire a value that should work.
63983
63984     ac_test_CFLAGS="${CFLAGS+set}"
63985     ac_save_CFLAGS="$CFLAGS"
63986     CFLAGS='-Wl,--gc-sections'
63987
63988     # Check for -Wl,--gc-sections
63989     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63990 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63991     if test x$gcc_no_link = xyes; then
63992   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63993 fi
63994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63995 /* end confdefs.h.  */
63996  int one(void) { return 1; }
63997      int two(void) { return 2; }
63998
63999 int
64000 main ()
64001 {
64002  two();
64003   ;
64004   return 0;
64005 }
64006 _ACEOF
64007 if ac_fn_c_try_link "$LINENO"; then :
64008   ac_gcsections=yes
64009 else
64010   ac_gcsections=no
64011 fi
64012 rm -f core conftest.err conftest.$ac_objext \
64013     conftest$ac_exeext conftest.$ac_ext
64014     if test "$ac_gcsections" = "yes"; then
64015       rm -f conftest.c
64016       touch conftest.c
64017       if $CC -c conftest.c; then
64018         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64019            grep "Warning: gc-sections option ignored" > /dev/null; then
64020           ac_gcsections=no
64021         fi
64022       fi
64023       rm -f conftest.c conftest.o conftest
64024     fi
64025     if test "$ac_gcsections" = "yes"; then
64026       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64027     fi
64028     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64029 $as_echo "$ac_gcsections" >&6; }
64030
64031     if test "$ac_test_CFLAGS" = set; then
64032       CFLAGS="$ac_save_CFLAGS"
64033     else
64034       # this is the suspicious part
64035       CFLAGS=''
64036     fi
64037   fi
64038
64039   # Set -z,relro.
64040   # Note this is only for shared objects.
64041   ac_ld_relro=no
64042   if test x"$with_gnu_ld" = x"yes"; then
64043     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64044 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64045     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64046     if test -n "$cxx_z_relo"; then
64047       OPT_LDFLAGS="-Wl,-z,relro"
64048       ac_ld_relro=yes
64049     fi
64050     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64051 $as_echo "$ac_ld_relro" >&6; }
64052   fi
64053
64054   # Set linker optimization flags.
64055   if test x"$with_gnu_ld" = x"yes"; then
64056     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64057   fi
64058
64059
64060
64061
64062     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64063
64064     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64065
64066     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64067
64068     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64069
64070     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64071
64072     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64073
64074     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64075
64076     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64077
64078     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64079
64080     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64081
64082     if test x"long_double_math_on_this_cpu" = x"yes"; then
64083       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64084
64085       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64086
64087       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64088
64089       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64090
64091     fi
64092     ;;
64093   *-vxworks)
64094     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
64095
64096     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
64097
64098     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
64099
64100     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
64101
64102     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
64103
64104     $as_echo "#define HAVE_COSF 1" >>confdefs.h
64105
64106     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
64107
64108     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
64109
64110     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
64111
64112     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
64113
64114     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
64115
64116     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64117
64118     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
64119
64120     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
64121
64122     $as_echo "#define HAVE_POWF 1" >>confdefs.h
64123
64124     $as_echo "#define HAVE_SINF 1" >>confdefs.h
64125
64126     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
64127
64128     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
64129
64130     $as_echo "#define HAVE_TANF 1" >>confdefs.h
64131
64132     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
64133
64134     ;;
64135   *)
64136     as_fn_error "No support for this host/target combination." "$LINENO" 5
64137    ;;
64138 esac
64139
64140   fi
64141
64142   # At some point, we should differentiate between architectures
64143   # like x86, which have long double versions, and alpha/powerpc/etc.,
64144   # which don't. For the time being, punt.
64145   if test x"long_double_math_on_this_cpu" = x"yes"; then
64146     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
64147
64148     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
64149
64150     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
64151
64152     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
64153
64154     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
64155
64156     $as_echo "#define HAVE_COSL 1" >>confdefs.h
64157
64158     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
64159
64160     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
64161
64162     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
64163
64164     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
64165
64166     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
64167
64168     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
64169
64170     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
64171
64172     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
64173
64174     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
64175
64176     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
64177
64178     $as_echo "#define HAVE_POWL 1" >>confdefs.h
64179
64180     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
64181
64182     $as_echo "#define HAVE_SINL 1" >>confdefs.h
64183
64184     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
64185
64186     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
64187
64188     $as_echo "#define HAVE_TANL 1" >>confdefs.h
64189
64190     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
64191
64192   fi
64193 fi
64194
64195 # Check for _Unwind_GetIPInfo.
64196
64197
64198 # Check whether --with-system-libunwind was given.
64199 if test "${with_system_libunwind+set}" = set; then :
64200   withval=$with_system_libunwind;
64201 fi
64202
64203   # If system-libunwind was not specifically set, pick a default setting.
64204   if test x$with_system_libunwind = x; then
64205     case ${target} in
64206       ia64-*-hpux*) with_system_libunwind=yes ;;
64207       *) with_system_libunwind=no ;;
64208     esac
64209   fi
64210   # Based on system-libunwind and target, do we have ipinfo?
64211   if  test x$with_system_libunwind = xyes; then
64212     case ${target} in
64213       ia64-*-*) have_unwind_getipinfo=no ;;
64214       *) have_unwind_getipinfo=yes ;;
64215     esac
64216   else
64217     # Darwin before version 9 does not have _Unwind_GetIPInfo.
64218
64219     case ${target} in
64220       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
64221       *) have_unwind_getipinfo=yes ;;
64222     esac
64223
64224   fi
64225
64226   if test x$have_unwind_getipinfo = xyes; then
64227
64228 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
64229
64230   fi
64231
64232
64233  # Check whether --enable-linux-futex was given.
64234 if test "${enable_linux_futex+set}" = set; then :
64235   enableval=$enable_linux_futex;
64236       case "$enableval" in
64237        yes|no|default) ;;
64238        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
64239                           esac
64240
64241 else
64242   enable_linux_futex=default
64243 fi
64244
64245
64246 case "$target" in
64247   *-linux*)
64248     case "$enable_linux_futex" in
64249       default)
64250         # If headers don't have gettid/futex syscalls definition, then
64251         # default to no, otherwise there will be compile time failures.
64252         # Otherwise, default to yes.  If we don't detect we are
64253         # compiled/linked against NPTL and not cross-compiling, check
64254         # if programs are run by default against NPTL and if not, issue
64255         # a warning.
64256         enable_linux_futex=no
64257         if test x$gcc_no_link = xyes; then
64258   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64259 fi
64260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64261 /* end confdefs.h.  */
64262 #include <sys/syscall.h>
64263            int lk;
64264 int
64265 main ()
64266 {
64267 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64268   ;
64269   return 0;
64270 }
64271 _ACEOF
64272 if ac_fn_c_try_link "$LINENO"; then :
64273   save_LIBS="$LIBS"
64274            LIBS="-lpthread $LIBS"
64275            if test x$gcc_no_link = xyes; then
64276   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64277 fi
64278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64279 /* end confdefs.h.  */
64280 #ifndef _GNU_SOURCE
64281              #define _GNU_SOURCE 1
64282              #endif
64283              #include <pthread.h>
64284              pthread_t th; void *status;
64285 int
64286 main ()
64287 {
64288 pthread_tryjoin_np (th, &status);
64289   ;
64290   return 0;
64291 }
64292 _ACEOF
64293 if ac_fn_c_try_link "$LINENO"; then :
64294   enable_linux_futex=yes
64295 else
64296   if test x$cross_compiling = xno; then
64297                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
64298                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
64299                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
64300 If so, please configure with --disable-linux-futex" >&5
64301 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
64302 If so, please configure with --disable-linux-futex" >&2;}
64303                fi
64304              fi
64305              enable_linux_futex=yes
64306 fi
64307 rm -f core conftest.err conftest.$ac_objext \
64308     conftest$ac_exeext conftest.$ac_ext
64309            LIBS="$save_LIBS"
64310 fi
64311 rm -f core conftest.err conftest.$ac_objext \
64312     conftest$ac_exeext conftest.$ac_ext
64313         ;;
64314       yes)
64315         if test x$gcc_no_link = xyes; then
64316   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64317 fi
64318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64319 /* end confdefs.h.  */
64320 #include <sys/syscall.h>
64321            int lk;
64322 int
64323 main ()
64324 {
64325 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64326   ;
64327   return 0;
64328 }
64329 _ACEOF
64330 if ac_fn_c_try_link "$LINENO"; then :
64331
64332 else
64333   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
64334 fi
64335 rm -f core conftest.err conftest.$ac_objext \
64336     conftest$ac_exeext conftest.$ac_ext
64337         ;;
64338     esac
64339     ;;
64340   *)
64341     enable_linux_futex=no
64342     ;;
64343 esac
64344 if test x$enable_linux_futex = xyes; then
64345
64346 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64347
64348 fi
64349
64350
64351
64352
64353 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
64354
64355 acx_cv_header_stdint=stddef.h
64356 acx_cv_header_stdint_kind="(already complete)"
64357 for i in stdint.h $inttype_headers; do
64358   unset ac_cv_type_uintptr_t
64359   unset ac_cv_type_uintmax_t
64360   unset ac_cv_type_int_least32_t
64361   unset ac_cv_type_int_fast32_t
64362   unset ac_cv_type_uint64_t
64363   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64364   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64365 #include <$i>
64366 "
64367 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64368   acx_cv_header_stdint=$i
64369 else
64370   continue
64371 fi
64372
64373   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64374 #include <$i>
64375 "
64376 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64377
64378 else
64379   acx_cv_header_stdint_kind="(mostly complete)"
64380 fi
64381
64382   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64383 #include <$i>
64384 "
64385 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64386
64387 else
64388   acx_cv_header_stdint_kind="(mostly complete)"
64389 fi
64390
64391   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64392 #include <$i>
64393 "
64394 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64395
64396 else
64397   acx_cv_header_stdint_kind="(mostly complete)"
64398 fi
64399
64400   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64401 #include <$i>
64402 "
64403 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64404
64405 else
64406   acx_cv_header_stdint_kind="(lacks uint64_t)"
64407 fi
64408
64409   break
64410 done
64411 if test "$acx_cv_header_stdint" = stddef.h; then
64412   acx_cv_header_stdint_kind="(lacks uintmax_t)"
64413   for i in stdint.h $inttype_headers; do
64414     unset ac_cv_type_uintptr_t
64415     unset ac_cv_type_uint32_t
64416     unset ac_cv_type_uint64_t
64417     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64418     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64419 #include <$i>
64420 "
64421 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64422   acx_cv_header_stdint=$i
64423 else
64424   continue
64425 fi
64426
64427     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64428 #include <$i>
64429 "
64430 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64431
64432 fi
64433
64434     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64435 #include <$i>
64436 "
64437 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64438
64439 fi
64440
64441     break
64442   done
64443 fi
64444 if test "$acx_cv_header_stdint" = stddef.h; then
64445   acx_cv_header_stdint_kind="(u_intXX_t style)"
64446   for i in sys/types.h $inttype_headers; do
64447     unset ac_cv_type_u_int32_t
64448     unset ac_cv_type_u_int64_t
64449     $as_echo_n "looking for u_intXX_t types in $i, " >&6
64450     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64451 #include <$i>
64452 "
64453 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64454   acx_cv_header_stdint=$i
64455 else
64456   continue
64457 fi
64458
64459     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64460 #include <$i>
64461 "
64462 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64463
64464 fi
64465
64466     break
64467   done
64468 fi
64469 if test "$acx_cv_header_stdint" = stddef.h; then
64470   acx_cv_header_stdint_kind="(using manual detection)"
64471 fi
64472
64473 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64474 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64475 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64476 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64477 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64478
64479 # ----------------- Summarize what we found so far
64480
64481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64482 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64483
64484 case `$as_basename -- include/gstdint.h ||
64485 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64486          Xinclude/gstdint.h : 'X\(//\)$' \| \
64487          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64488 $as_echo X/include/gstdint.h |
64489     sed '/^.*\/\([^/][^/]*\)\/*$/{
64490             s//\1/
64491             q
64492           }
64493           /^X\/\(\/\/\)$/{
64494             s//\1/
64495             q
64496           }
64497           /^X\/\(\/\).*/{
64498             s//\1/
64499             q
64500           }
64501           s/.*/./; q'` in
64502   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64503 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64504   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64505 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64506   *) ;;
64507 esac
64508
64509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64510 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64511
64512 # ----------------- done included file, check C basic types --------
64513
64514 # Lacking an uintptr_t?  Test size of void *
64515 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64516   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64517 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64518 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64519 # This bug is HP SR number 8606223364.
64520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64521 $as_echo_n "checking size of void *... " >&6; }
64522 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64523   $as_echo_n "(cached) " >&6
64524 else
64525   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
64526
64527 else
64528   if test "$ac_cv_type_void_p" = yes; then
64529      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64531 { as_fn_set_status 77
64532 as_fn_error "cannot compute sizeof (void *)
64533 See \`config.log' for more details." "$LINENO" 5; }; }
64534    else
64535      ac_cv_sizeof_void_p=0
64536    fi
64537 fi
64538
64539 fi
64540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64541 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64542
64543
64544
64545 cat >>confdefs.h <<_ACEOF
64546 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64547 _ACEOF
64548
64549  ;;
64550 esac
64551
64552 # Lacking an uint64_t?  Test size of long
64553 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64554   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64557 # This bug is HP SR number 8606223364.
64558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64559 $as_echo_n "checking size of long... " >&6; }
64560 if test "${ac_cv_sizeof_long+set}" = set; then :
64561   $as_echo_n "(cached) " >&6
64562 else
64563   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
64564
64565 else
64566   if test "$ac_cv_type_long" = yes; then
64567      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64569 { as_fn_set_status 77
64570 as_fn_error "cannot compute sizeof (long)
64571 See \`config.log' for more details." "$LINENO" 5; }; }
64572    else
64573      ac_cv_sizeof_long=0
64574    fi
64575 fi
64576
64577 fi
64578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64579 $as_echo "$ac_cv_sizeof_long" >&6; }
64580
64581
64582
64583 cat >>confdefs.h <<_ACEOF
64584 #define SIZEOF_LONG $ac_cv_sizeof_long
64585 _ACEOF
64586
64587  ;;
64588 esac
64589
64590 if test $acx_cv_header_stdint = stddef.h; then
64591   # Lacking a good header?  Test size of everything and deduce all types.
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 int" >&5
64597 $as_echo_n "checking size of int... " >&6; }
64598 if test "${ac_cv_sizeof_int+set}" = set; then :
64599   $as_echo_n "(cached) " >&6
64600 else
64601   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
64602
64603 else
64604   if test "$ac_cv_type_int" = 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 (int)
64609 See \`config.log' for more details." "$LINENO" 5; }; }
64610    else
64611      ac_cv_sizeof_int=0
64612    fi
64613 fi
64614
64615 fi
64616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64617 $as_echo "$ac_cv_sizeof_int" >&6; }
64618
64619
64620
64621 cat >>confdefs.h <<_ACEOF
64622 #define SIZEOF_INT $ac_cv_sizeof_int
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 short" >&5
64631 $as_echo_n "checking size of short... " >&6; }
64632 if test "${ac_cv_sizeof_short+set}" = set; then :
64633   $as_echo_n "(cached) " >&6
64634 else
64635   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
64636
64637 else
64638   if test "$ac_cv_type_short" = 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 (short)
64643 See \`config.log' for more details." "$LINENO" 5; }; }
64644    else
64645      ac_cv_sizeof_short=0
64646    fi
64647 fi
64648
64649 fi
64650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64651 $as_echo "$ac_cv_sizeof_short" >&6; }
64652
64653
64654
64655 cat >>confdefs.h <<_ACEOF
64656 #define SIZEOF_SHORT $ac_cv_sizeof_short
64657 _ACEOF
64658
64659
64660   # The cast to long int works around a bug in the HP C Compiler
64661 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64662 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64663 # This bug is HP SR number 8606223364.
64664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64665 $as_echo_n "checking size of char... " >&6; }
64666 if test "${ac_cv_sizeof_char+set}" = set; then :
64667   $as_echo_n "(cached) " >&6
64668 else
64669   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
64670
64671 else
64672   if test "$ac_cv_type_char" = yes; then
64673      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64675 { as_fn_set_status 77
64676 as_fn_error "cannot compute sizeof (char)
64677 See \`config.log' for more details." "$LINENO" 5; }; }
64678    else
64679      ac_cv_sizeof_char=0
64680    fi
64681 fi
64682
64683 fi
64684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64685 $as_echo "$ac_cv_sizeof_char" >&6; }
64686
64687
64688
64689 cat >>confdefs.h <<_ACEOF
64690 #define SIZEOF_CHAR $ac_cv_sizeof_char
64691 _ACEOF
64692
64693
64694
64695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64696 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64697   case "$ac_cv_sizeof_char" in
64698     1) acx_cv_type_int8_t=char ;;
64699     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64700   esac
64701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64702 $as_echo "$acx_cv_type_int8_t" >&6; }
64703
64704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64705 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64706   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64707     2:*) acx_cv_type_int16_t=int ;;
64708     *:2) acx_cv_type_int16_t=short ;;
64709     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64710   esac
64711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64712 $as_echo "$acx_cv_type_int16_t" >&6; }
64713
64714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64715 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64716   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64717     4:*) acx_cv_type_int32_t=int ;;
64718     *:4) acx_cv_type_int32_t=long ;;
64719     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64720   esac
64721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64722 $as_echo "$acx_cv_type_int32_t" >&6; }
64723 fi
64724
64725 # These tests are here to make the output prettier
64726
64727 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64728   case "$ac_cv_sizeof_long" in
64729     8) acx_cv_type_int64_t=long ;;
64730   esac
64731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64732 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64734 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64735 fi
64736
64737 # Now we can use the above types
64738
64739 if test "$ac_cv_type_uintptr_t" != yes; then
64740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64741 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64742   case $ac_cv_sizeof_void_p in
64743     2) acx_cv_type_intptr_t=int16_t ;;
64744     4) acx_cv_type_intptr_t=int32_t ;;
64745     8) acx_cv_type_intptr_t=int64_t ;;
64746     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64747   esac
64748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64749 $as_echo "$acx_cv_type_intptr_t" >&6; }
64750 fi
64751
64752 # ----------------- done all checks, emit header -------------
64753 ac_config_commands="$ac_config_commands include/gstdint.h"
64754
64755
64756
64757
64758
64759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64760 $as_echo_n "checking for GNU c++filt... " >&6; }
64761 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64762   $as_echo_n "(cached) " >&6
64763 else
64764   if test -z "$CXXFILT"; then
64765   ac_path_CXXFILT_found=false
64766   # Loop through the user's path and test for each of PROGNAME-LIST
64767   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64768 for as_dir in $PATH
64769 do
64770   IFS=$as_save_IFS
64771   test -z "$as_dir" && as_dir=.
64772     for ac_prog in c++filt gc++filt; do
64773     for ac_exec_ext in '' $ac_executable_extensions; do
64774       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64775       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64776 # Check for GNU $ac_path_CXXFILT
64777 case `"$ac_path_CXXFILT" --version 2>&1` in
64778 *GNU*)
64779   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64780 esac
64781
64782       $ac_path_CXXFILT_found && break 3
64783     done
64784   done
64785   done
64786 IFS=$as_save_IFS
64787   if test -z "$ac_cv_path_CXXFILT"; then
64788     :
64789   fi
64790 else
64791   ac_cv_path_CXXFILT=$CXXFILT
64792 fi
64793
64794 fi
64795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64796 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64797   CXXFILT=$ac_cv_path_CXXFILT
64798
64799
64800
64801  # Check whether --enable-symvers was given.
64802 if test "${enable_symvers+set}" = set; then :
64803   enableval=$enable_symvers;
64804       case "$enableval" in
64805        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64806        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64807                         esac
64808
64809 else
64810   enable_symvers=yes
64811 fi
64812
64813
64814
64815 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64816 # don't know enough about $LD to do tricks...
64817
64818 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64819 # with extern "C++" in version scripts.
64820
64821
64822 # Turn a 'yes' into a suitable default.
64823 if test x$enable_symvers = xyes ; then
64824   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64825     enable_symvers=no
64826   else
64827     if test $with_gnu_ld = yes ; then
64828       case ${target_os} in
64829         hpux*)
64830           enable_symvers=no ;;
64831         *)
64832           enable_symvers=gnu ;;
64833       esac
64834     else
64835       case ${target_os} in
64836         darwin*)
64837           enable_symvers=darwin ;;
64838         # Sun symbol versioning exists since Solaris 2.5.
64839         solaris2.[5-9]* | solaris2.1[0-9]*)
64840           # make_sunver.pl needs GNU c++filt to support extern "C++" in
64841           # version scripts, so disable symbol versioning if none can be
64842           # found.
64843           if test -z "$ac_cv_path_CXXFILT"; then
64844             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64845 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64846             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
64847 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
64848             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64849 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64850             enable_symvers=no
64851           else
64852             enable_symvers=sun
64853           fi
64854           ;;
64855         *)
64856           enable_symvers=no ;;
64857       esac
64858     fi
64859   fi
64860 fi
64861
64862 # Check to see if 'darwin' or 'darwin-export' can win.
64863 if test x$enable_symvers = xdarwin-export ; then
64864     enable_symvers=darwin
64865 fi
64866
64867 # Check if 'sun' was requested on non-Solaris 2 platforms.
64868 if test x$enable_symvers = xsun ; then
64869   case ${target_os} in
64870     solaris2*)
64871       # All fine.
64872       ;;
64873     *)
64874       # Unlikely to work.
64875       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64876 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64877       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64878 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64879       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64880 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64881       enable_symvers=no
64882       ;;
64883   esac
64884 fi
64885
64886 # Check to see if 'gnu' can win.
64887 if test $enable_symvers = gnu ||
64888   test $enable_symvers = gnu-versioned-namespace ||
64889   test $enable_symvers = sun; then
64890   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64892 $as_echo_n "checking for shared libgcc... " >&6; }
64893   ac_save_CFLAGS="$CFLAGS"
64894   CFLAGS=' -lgcc_s'
64895   if test x$gcc_no_link = xyes; then
64896   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64897 fi
64898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64899 /* end confdefs.h.  */
64900
64901 int
64902 main ()
64903 {
64904 return 0;
64905   ;
64906   return 0;
64907 }
64908 _ACEOF
64909 if ac_fn_c_try_link "$LINENO"; then :
64910   glibcxx_shared_libgcc=yes
64911 else
64912   glibcxx_shared_libgcc=no
64913 fi
64914 rm -f core conftest.err conftest.$ac_objext \
64915     conftest$ac_exeext conftest.$ac_ext
64916   CFLAGS="$ac_save_CFLAGS"
64917   if test $glibcxx_shared_libgcc = no; then
64918     cat > conftest.c <<EOF
64919 int main (void) { return 0; }
64920 EOF
64921     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64922                              -shared -shared-libgcc -o conftest.so \
64923                              conftest.c -v 2>&1 >/dev/null \
64924                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64925     rm -f conftest.c conftest.so
64926     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64927       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64928       if test x$gcc_no_link = xyes; then
64929   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64930 fi
64931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64932 /* end confdefs.h.  */
64933
64934 int
64935 main ()
64936 {
64937 return 0;
64938   ;
64939   return 0;
64940 }
64941 _ACEOF
64942 if ac_fn_c_try_link "$LINENO"; then :
64943   glibcxx_shared_libgcc=yes
64944 fi
64945 rm -f core conftest.err conftest.$ac_objext \
64946     conftest$ac_exeext conftest.$ac_ext
64947       CFLAGS="$ac_save_CFLAGS"
64948     fi
64949   fi
64950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64951 $as_echo "$glibcxx_shared_libgcc" >&6; }
64952
64953   # For GNU ld, we need at least this version.  The format is described in
64954   # GLIBCXX_CHECK_LINKER_FEATURES above.
64955   glibcxx_min_gnu_ld_version=21400
64956
64957   # If no shared libgcc, can't win.
64958   if test $glibcxx_shared_libgcc != yes; then
64959       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64960 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64961       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64962 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64963       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64964 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64965       enable_symvers=no
64966   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64967     : All interesting versions of Sun ld support sun style symbol versioning.
64968   elif test $with_gnu_ld != yes ; then
64969     # just fail for now
64970     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64971 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64972     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64973 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64974     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64975 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64976     enable_symvers=no
64977   elif test $glibcxx_ld_is_gold = yes ; then
64978     : All versions of gold support symbol versioning.
64979   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64980     # The right tools, the right setup, but too old.  Fallbacks?
64981     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64982 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64983     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64984 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64985     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64986 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64987     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64988 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64989     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64990 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64991     enable_symvers=no
64992   fi
64993 fi
64994
64995 # For libtool versioning info, format is CURRENT:REVISION:AGE
64996 libtool_VERSION=6:17:0
64997
64998 # Everything parsed; figure out what files and settings to use.
64999 case $enable_symvers in
65000   no)
65001     SYMVER_FILE=config/abi/pre/none.ver
65002     ;;
65003   gnu)
65004     SYMVER_FILE=config/abi/pre/gnu.ver
65005
65006 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
65007
65008     ;;
65009   gnu-versioned-namespace)
65010     libtool_VERSION=7:0:0
65011     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
65012
65013 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
65014
65015     ;;
65016   darwin)
65017     SYMVER_FILE=config/abi/pre/gnu.ver
65018
65019 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
65020
65021     ;;
65022   sun)
65023     SYMVER_FILE=config/abi/pre/gnu.ver
65024
65025 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
65026
65027     ;;
65028 esac
65029
65030 if test x$enable_symvers != xno ; then
65031
65032 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
65033
65034 fi
65035
65036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
65037 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
65038 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
65039   $as_echo_n "(cached) " >&6
65040 else
65041
65042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65043 /* end confdefs.h.  */
65044 void foo (void); __asm (".symver foo, bar@SYMVER");
65045 int
65046 main ()
65047 {
65048
65049   ;
65050   return 0;
65051 }
65052 _ACEOF
65053 if ac_fn_c_try_compile "$LINENO"; then :
65054   glibcxx_cv_have_as_symver_directive=yes
65055 else
65056   glibcxx_cv_have_as_symver_directive=no
65057 fi
65058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65059 fi
65060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
65061 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
65062 if test $glibcxx_cv_have_as_symver_directive = yes; then
65063
65064 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
65065
65066 fi
65067
65068
65069
65070
65071
65072
65073
65074
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
65076 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
65077
65078 if test $enable_symvers != no ; then
65079    case ${target_os} in
65080      # The Solaris 2 runtime linker doesn't support the GNU extension of
65081      # binding the same symbol to different versions
65082      solaris2*)
65083        ;;
65084      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
65085      *)
65086
65087 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
65088
65089        ;;
65090     esac
65091 fi
65092
65093 # Now, set up compatibility support, if any.
65094 # In addition, need this to deal with std::size_t mangling in
65095 # src/compatibility.cc.  In a perfect world, could use
65096 # typeid(std::size_t).name()[0] to do direct substitution.
65097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
65098 $as_echo_n "checking for size_t as unsigned int... " >&6; }
65099 ac_save_CFLAGS="$CFLAGS"
65100 CFLAGS="-Werror"
65101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65102 /* end confdefs.h.  */
65103
65104 int
65105 main ()
65106 {
65107 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
65108   ;
65109   return 0;
65110 }
65111 _ACEOF
65112 if ac_fn_c_try_compile "$LINENO"; then :
65113   glibcxx_size_t_is_i=yes
65114 else
65115   glibcxx_size_t_is_i=no
65116 fi
65117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65118 CFLAGS=$ac_save_CFLAGS
65119 if test "$glibcxx_size_t_is_i" = yes; then
65120
65121 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
65122
65123 fi
65124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
65125 $as_echo "$glibcxx_size_t_is_i" >&6; }
65126
65127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
65128 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
65129 ac_save_CFLAGS="$CFLAGS"
65130 CFLAGS="-Werror"
65131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65132 /* end confdefs.h.  */
65133
65134 int
65135 main ()
65136 {
65137 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
65138   ;
65139   return 0;
65140 }
65141 _ACEOF
65142 if ac_fn_c_try_compile "$LINENO"; then :
65143   glibcxx_ptrdiff_t_is_i=yes
65144 else
65145   glibcxx_ptrdiff_t_is_i=no
65146 fi
65147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65148 CFLAGS=$ac_save_CFLAGS
65149 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
65150
65151 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
65152
65153 fi
65154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
65155 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
65156
65157
65158
65159
65160  # Check whether --enable-libstdcxx-visibility was given.
65161 if test "${enable_libstdcxx_visibility+set}" = set; then :
65162   enableval=$enable_libstdcxx_visibility;
65163       case "$enableval" in
65164        yes|no) ;;
65165        *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
65166       esac
65167
65168 else
65169   enable_libstdcxx_visibility=yes
65170 fi
65171
65172
65173
65174 if test x$enable_libstdcxx_visibility = xyes ; then
65175       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
65176 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
65177 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
65178   $as_echo_n "(cached) " >&6
65179 else
65180
65181   save_CFLAGS="$CFLAGS"
65182   CFLAGS="$CFLAGS -Werror"
65183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65184 /* end confdefs.h.  */
65185 void __attribute__((visibility("hidden"))) foo(void) { }
65186 int
65187 main ()
65188 {
65189
65190   ;
65191   return 0;
65192 }
65193 _ACEOF
65194 if ac_fn_c_try_compile "$LINENO"; then :
65195   glibcxx_cv_have_attribute_visibility=yes
65196 else
65197   glibcxx_cv_have_attribute_visibility=no
65198 fi
65199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65200   CFLAGS="$save_CFLAGS"
65201 fi
65202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
65203 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
65204   if test $glibcxx_cv_have_attribute_visibility = no; then
65205     enable_libstdcxx_visibility=no
65206   fi
65207 fi
65208
65209
65210 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
65211 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
65212
65213
65214 ac_ldbl_compat=no
65215 case "$target" in
65216   powerpc*-*-linux* | \
65217   sparc*-*-linux* | \
65218   s390*-*-linux* | \
65219   alpha*-*-linux*)
65220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65221 /* end confdefs.h.  */
65222
65223 int
65224 main ()
65225 {
65226
65227 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
65228 #error no need for long double compatibility
65229 #endif
65230
65231   ;
65232   return 0;
65233 }
65234 _ACEOF
65235 if ac_fn_c_try_compile "$LINENO"; then :
65236   ac_ldbl_compat=yes
65237 else
65238   ac_ldbl_compat=no
65239 fi
65240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65241   if test "$ac_ldbl_compat" = yes; then
65242
65243 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
65244
65245     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
65246   fi
65247 esac
65248
65249
65250 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
65251
65252   if $GLIBCXX_IS_NATIVE ; then
65253     # Do checks for resource limit functions.
65254
65255   setrlimit_have_headers=yes
65256   for ac_header in unistd.h sys/time.h sys/resource.h
65257 do :
65258   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
65259 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
65260 eval as_val=\$$as_ac_Header
65261    if test "x$as_val" = x""yes; then :
65262   cat >>confdefs.h <<_ACEOF
65263 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
65264 _ACEOF
65265
65266 else
65267   setrlimit_have_headers=no
65268 fi
65269
65270 done
65271
65272   # If don't have the headers, then we can't run the tests now, and we
65273   # won't be seeing any of these during testsuite compilation.
65274   if test $setrlimit_have_headers = yes; then
65275     # Can't do these in a loop, else the resulting syntax is wrong.
65276
65277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
65278 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
65279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65280 /* end confdefs.h.  */
65281 #include <unistd.h>
65282      #include <sys/time.h>
65283      #include <sys/resource.h>
65284
65285 int
65286 main ()
65287 {
65288  int f = RLIMIT_DATA ;
65289   ;
65290   return 0;
65291 }
65292 _ACEOF
65293 if ac_fn_c_try_compile "$LINENO"; then :
65294   glibcxx_mresult=1
65295 else
65296   glibcxx_mresult=0
65297 fi
65298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65299
65300 cat >>confdefs.h <<_ACEOF
65301 #define HAVE_LIMIT_DATA $glibcxx_mresult
65302 _ACEOF
65303
65304   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65306 $as_echo "$res" >&6; }
65307
65308
65309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
65310 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
65311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65312 /* end confdefs.h.  */
65313 #include <unistd.h>
65314      #include <sys/time.h>
65315      #include <sys/resource.h>
65316
65317 int
65318 main ()
65319 {
65320  int f = RLIMIT_RSS ;
65321   ;
65322   return 0;
65323 }
65324 _ACEOF
65325 if ac_fn_c_try_compile "$LINENO"; then :
65326   glibcxx_mresult=1
65327 else
65328   glibcxx_mresult=0
65329 fi
65330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65331
65332 cat >>confdefs.h <<_ACEOF
65333 #define HAVE_LIMIT_RSS $glibcxx_mresult
65334 _ACEOF
65335
65336   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65338 $as_echo "$res" >&6; }
65339
65340
65341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
65342 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
65343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65344 /* end confdefs.h.  */
65345 #include <unistd.h>
65346      #include <sys/time.h>
65347      #include <sys/resource.h>
65348
65349 int
65350 main ()
65351 {
65352  int f = RLIMIT_VMEM ;
65353   ;
65354   return 0;
65355 }
65356 _ACEOF
65357 if ac_fn_c_try_compile "$LINENO"; then :
65358   glibcxx_mresult=1
65359 else
65360   glibcxx_mresult=0
65361 fi
65362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65363
65364 cat >>confdefs.h <<_ACEOF
65365 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65366 _ACEOF
65367
65368   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65370 $as_echo "$res" >&6; }
65371
65372
65373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65374 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65376 /* end confdefs.h.  */
65377 #include <unistd.h>
65378      #include <sys/time.h>
65379      #include <sys/resource.h>
65380
65381 int
65382 main ()
65383 {
65384  int f = RLIMIT_AS ;
65385   ;
65386   return 0;
65387 }
65388 _ACEOF
65389 if ac_fn_c_try_compile "$LINENO"; then :
65390   glibcxx_mresult=1
65391 else
65392   glibcxx_mresult=0
65393 fi
65394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65395
65396 cat >>confdefs.h <<_ACEOF
65397 #define HAVE_LIMIT_AS $glibcxx_mresult
65398 _ACEOF
65399
65400   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65402 $as_echo "$res" >&6; }
65403
65404
65405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65406 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65408 /* end confdefs.h.  */
65409 #include <unistd.h>
65410      #include <sys/time.h>
65411      #include <sys/resource.h>
65412
65413 int
65414 main ()
65415 {
65416  int f = RLIMIT_FSIZE ;
65417   ;
65418   return 0;
65419 }
65420 _ACEOF
65421 if ac_fn_c_try_compile "$LINENO"; then :
65422   glibcxx_mresult=1
65423 else
65424   glibcxx_mresult=0
65425 fi
65426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65427
65428 cat >>confdefs.h <<_ACEOF
65429 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65430 _ACEOF
65431
65432   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65434 $as_echo "$res" >&6; }
65435
65436
65437     # Check for rlimit, setrlimit.
65438     if test "${glibcxx_cv_setrlimit+set}" = set; then :
65439   $as_echo_n "(cached) " >&6
65440 else
65441
65442       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65443 /* end confdefs.h.  */
65444 #include <unistd.h>
65445          #include <sys/time.h>
65446          #include <sys/resource.h>
65447
65448 int
65449 main ()
65450 {
65451 struct rlimit r;
65452          setrlimit(0, &r);
65453   ;
65454   return 0;
65455 }
65456 _ACEOF
65457 if ac_fn_c_try_compile "$LINENO"; then :
65458   glibcxx_cv_setrlimit=yes
65459 else
65460   glibcxx_cv_setrlimit=no
65461 fi
65462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65463
65464 fi
65465
65466   fi
65467
65468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65469 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65470   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65471     ac_res_limits=yes
65472
65473 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65474
65475   else
65476     ac_res_limits=no
65477   fi
65478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65479 $as_echo "$ac_res_limits" >&6; }
65480
65481
65482     # Look for setenv, so that extended locale tests can be performed.
65483
65484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65485 $as_echo_n "checking for setenv declaration... " >&6; }
65486   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65487     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65488   $as_echo_n "(cached) " >&6
65489 else
65490
65491
65492       ac_ext=cpp
65493 ac_cpp='$CXXCPP $CPPFLAGS'
65494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65497
65498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65499 /* end confdefs.h.  */
65500 #include <stdlib.h>
65501 int
65502 main ()
65503 {
65504  setenv(0, 0, 0);
65505   ;
65506   return 0;
65507 }
65508 _ACEOF
65509 if ac_fn_cxx_try_compile "$LINENO"; then :
65510   glibcxx_cv_func_setenv_use=yes
65511 else
65512   glibcxx_cv_func_setenv_use=no
65513 fi
65514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65515       ac_ext=c
65516 ac_cpp='$CPP $CPPFLAGS'
65517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65520
65521
65522 fi
65523
65524   fi
65525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65526 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65527   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65528     for ac_func in setenv
65529 do :
65530   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65531 if test "x$ac_cv_func_setenv" = x""yes; then :
65532   cat >>confdefs.h <<_ACEOF
65533 #define HAVE_SETENV 1
65534 _ACEOF
65535
65536 fi
65537 done
65538
65539   fi
65540
65541   fi
65542
65543   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65544      test $enable_symvers != no; then
65545     case "$host" in
65546       *-*-cygwin*)
65547         enable_abi_check=no ;;
65548       *)
65549         enable_abi_check=yes ;;
65550     esac
65551   else
65552     # Only build this as native, since automake does not understand
65553     # CXX_FOR_BUILD.
65554     enable_abi_check=no
65555   fi
65556
65557   # Export file names for ABI checking.
65558   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65559
65560   baseline_subdir_switch="$abi_baseline_subdir_switch"
65561
65562
65563
65564 # For gthread support.  Depends on GLIBCXX_ENABLE_SYMVERS.
65565
65566    # Check whether --enable-libstdcxx-threads was given.
65567 if test "${enable_libstdcxx_threads+set}" = set; then :
65568   enableval=$enable_libstdcxx_threads;
65569       case "$enableval" in
65570        yes|no) ;;
65571        *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
65572       esac
65573
65574 else
65575   enable_libstdcxx_threads=auto
65576 fi
65577
65578
65579
65580   if test x$enable_libstdcxx_threads = xauto ||
65581      test x$enable_libstdcxx_threads = xyes; then
65582
65583
65584   ac_ext=cpp
65585 ac_cpp='$CXXCPP $CPPFLAGS'
65586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65589
65590
65591   ac_save_CXXFLAGS="$CXXFLAGS"
65592   CXXFLAGS="$CXXFLAGS -fno-exceptions \
65593         -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
65594
65595   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
65596   case $target_thread_file in
65597     posix)
65598       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
65599   esac
65600
65601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
65602 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
65603
65604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65605 /* end confdefs.h.  */
65606 #include <unistd.h>
65607 int
65608 main ()
65609 {
65610
65611       // In case of POSIX threads check _POSIX_TIMEOUTS.
65612       #if (defined(_PTHREADS) \
65613           && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
65614       #error
65615       #endif
65616
65617   ;
65618   return 0;
65619 }
65620 _ACEOF
65621 if ac_fn_cxx_try_compile "$LINENO"; then :
65622   ac_gthread_use_mutex_timedlock=1
65623 else
65624   ac_gthread_use_mutex_timedlock=0
65625 fi
65626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65627
65628
65629 cat >>confdefs.h <<_ACEOF
65630 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
65631 _ACEOF
65632
65633
65634   if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
65635   else res_mutex_timedlock=no ; fi
65636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
65637 $as_echo "$res_mutex_timedlock" >&6; }
65638
65639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
65640 $as_echo_n "checking for gthreads library... " >&6; }
65641
65642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65643 /* end confdefs.h.  */
65644 #include "gthr.h"
65645 int
65646 main ()
65647 {
65648
65649       #ifndef __GTHREADS_CXX0X
65650       #error
65651       #endif
65652
65653   ;
65654   return 0;
65655 }
65656 _ACEOF
65657 if ac_fn_cxx_try_compile "$LINENO"; then :
65658   case $target_os in
65659           # gthreads support breaks symbol versioning on Solaris 8/9 (PR
65660           # libstdc++/52189).
65661           solaris2.[89]*)
65662             if test x$enable_symvers = xno; then
65663               ac_has_gthreads=yes
65664             elif test x$enable_libstdcxx_threads = xyes; then
65665               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
65666 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
65667               { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
65668 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
65669               ac_has_gthreads=yes
65670             else
65671               ac_has_gthreads=no
65672             fi
65673             ;;
65674           *)
65675             ac_has_gthreads=yes
65676             ;;
65677         esac
65678 else
65679   ac_has_gthreads=no
65680 fi
65681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65682   else
65683     ac_has_gthreads=no
65684   fi
65685
65686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
65687 $as_echo "$ac_has_gthreads" >&6; }
65688
65689   if test x"$ac_has_gthreads" = x"yes"; then
65690
65691 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
65692
65693   fi
65694
65695   CXXFLAGS="$ac_save_CXXFLAGS"
65696   ac_ext=c
65697 ac_cpp='$CPP $CPPFLAGS'
65698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65701
65702
65703
65704 # Define documentation rules conditionally.
65705
65706 # See if makeinfo has been installed and is modern enough
65707 # that we can use it.
65708
65709   # Extract the first word of "makeinfo", so it can be a program name with args.
65710 set dummy makeinfo; ac_word=$2
65711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65712 $as_echo_n "checking for $ac_word... " >&6; }
65713 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65714   $as_echo_n "(cached) " >&6
65715 else
65716   if test -n "$MAKEINFO"; then
65717   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65718 else
65719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65720 for as_dir in $PATH
65721 do
65722   IFS=$as_save_IFS
65723   test -z "$as_dir" && as_dir=.
65724     for ac_exec_ext in '' $ac_executable_extensions; do
65725   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65726     ac_cv_prog_MAKEINFO="makeinfo"
65727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65728     break 2
65729   fi
65730 done
65731   done
65732 IFS=$as_save_IFS
65733
65734 fi
65735 fi
65736 MAKEINFO=$ac_cv_prog_MAKEINFO
65737 if test -n "$MAKEINFO"; then
65738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65739 $as_echo "$MAKEINFO" >&6; }
65740 else
65741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65742 $as_echo "no" >&6; }
65743 fi
65744
65745
65746   if test -n "$MAKEINFO"; then
65747     # Found it, now check the version.
65748     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65749 $as_echo_n "checking for modern makeinfo... " >&6; }
65750 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65751   $as_echo_n "(cached) " >&6
65752 else
65753   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65754                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65755
65756                     case $ac_prog_version in
65757                       '')  gcc_cv_prog_makeinfo_modern=no;;
65758                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
65759                       *)   gcc_cv_prog_makeinfo_modern=no;;
65760                     esac
65761
65762 fi
65763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65764 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65765   else
65766     gcc_cv_prog_makeinfo_modern=no
65767   fi
65768   if test $gcc_cv_prog_makeinfo_modern = no; then
65769     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65770   fi
65771
65772  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65773   BUILD_INFO_TRUE=
65774   BUILD_INFO_FALSE='#'
65775 else
65776   BUILD_INFO_TRUE='#'
65777   BUILD_INFO_FALSE=
65778 fi
65779
65780
65781 # Check for doxygen
65782 # Extract the first word of "doxygen", so it can be a program name with args.
65783 set dummy doxygen; ac_word=$2
65784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65785 $as_echo_n "checking for $ac_word... " >&6; }
65786 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65787   $as_echo_n "(cached) " >&6
65788 else
65789   if test -n "$DOXYGEN"; then
65790   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65791 else
65792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65793 for as_dir in $PATH
65794 do
65795   IFS=$as_save_IFS
65796   test -z "$as_dir" && as_dir=.
65797     for ac_exec_ext in '' $ac_executable_extensions; do
65798   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65799     ac_cv_prog_DOXYGEN="yes"
65800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65801     break 2
65802   fi
65803 done
65804   done
65805 IFS=$as_save_IFS
65806
65807   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65808 fi
65809 fi
65810 DOXYGEN=$ac_cv_prog_DOXYGEN
65811 if test -n "$DOXYGEN"; then
65812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65813 $as_echo "$DOXYGEN" >&6; }
65814 else
65815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65816 $as_echo "no" >&6; }
65817 fi
65818
65819
65820 # Extract the first word of "dot", so it can be a program name with args.
65821 set dummy dot; ac_word=$2
65822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65823 $as_echo_n "checking for $ac_word... " >&6; }
65824 if test "${ac_cv_prog_DOT+set}" = set; then :
65825   $as_echo_n "(cached) " >&6
65826 else
65827   if test -n "$DOT"; then
65828   ac_cv_prog_DOT="$DOT" # Let the user override the test.
65829 else
65830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65831 for as_dir in $PATH
65832 do
65833   IFS=$as_save_IFS
65834   test -z "$as_dir" && as_dir=.
65835     for ac_exec_ext in '' $ac_executable_extensions; do
65836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65837     ac_cv_prog_DOT="yes"
65838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65839     break 2
65840   fi
65841 done
65842   done
65843 IFS=$as_save_IFS
65844
65845   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65846 fi
65847 fi
65848 DOT=$ac_cv_prog_DOT
65849 if test -n "$DOT"; then
65850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65851 $as_echo "$DOT" >&6; }
65852 else
65853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65854 $as_echo "no" >&6; }
65855 fi
65856
65857
65858
65859 # Check for docbook
65860 # Extract the first word of "xsltproc", so it can be a program name with args.
65861 set dummy xsltproc; ac_word=$2
65862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65863 $as_echo_n "checking for $ac_word... " >&6; }
65864 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65865   $as_echo_n "(cached) " >&6
65866 else
65867   if test -n "$XSLTPROC"; then
65868   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65869 else
65870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65871 for as_dir in $PATH
65872 do
65873   IFS=$as_save_IFS
65874   test -z "$as_dir" && as_dir=.
65875     for ac_exec_ext in '' $ac_executable_extensions; do
65876   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65877     ac_cv_prog_XSLTPROC="yes"
65878     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65879     break 2
65880   fi
65881 done
65882   done
65883 IFS=$as_save_IFS
65884
65885   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65886 fi
65887 fi
65888 XSLTPROC=$ac_cv_prog_XSLTPROC
65889 if test -n "$XSLTPROC"; then
65890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65891 $as_echo "$XSLTPROC" >&6; }
65892 else
65893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65894 $as_echo "no" >&6; }
65895 fi
65896
65897
65898 # Extract the first word of "xmllint", so it can be a program name with args.
65899 set dummy xmllint; ac_word=$2
65900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65901 $as_echo_n "checking for $ac_word... " >&6; }
65902 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65903   $as_echo_n "(cached) " >&6
65904 else
65905   if test -n "$XMLLINT"; then
65906   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65907 else
65908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65909 for as_dir in $PATH
65910 do
65911   IFS=$as_save_IFS
65912   test -z "$as_dir" && as_dir=.
65913     for ac_exec_ext in '' $ac_executable_extensions; do
65914   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65915     ac_cv_prog_XMLLINT="yes"
65916     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65917     break 2
65918   fi
65919 done
65920   done
65921 IFS=$as_save_IFS
65922
65923   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65924 fi
65925 fi
65926 XMLLINT=$ac_cv_prog_XMLLINT
65927 if test -n "$XMLLINT"; then
65928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65929 $as_echo "$XMLLINT" >&6; }
65930 else
65931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65932 $as_echo "no" >&6; }
65933 fi
65934
65935
65936
65937
65938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
65939 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
65940 glibcxx_stylesheets=no
65941 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
65942   glibcxx_stylesheets=yes
65943 fi
65944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65945 $as_echo "$glibcxx_stylesheets" >&6; }
65946
65947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65948 $as_echo_n "checking for local stylesheet directory... " >&6; }
65949 glibcxx_local_stylesheets=no
65950 if test x"$glibcxx_stylesheets" = x"yes"; then
65951   if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65952     glibcxx_local_stylesheets=yes
65953     XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65954   fi
65955   if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65956     glibcxx_local_stylesheets=yes
65957     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65958   fi
65959 fi
65960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65961 $as_echo "$glibcxx_local_stylesheets" >&6; }
65962
65963 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65964
65965   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65966 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65967 else
65968   glibcxx_stylesheets=no
65969 fi
65970
65971 # Check for epub3 dependencies.
65972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
65973 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
65974 glibcxx_epub_stylesheets=no
65975 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65976    if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
65977       glibcxx_epub_stylesheets=yes
65978    fi
65979 fi
65980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
65981 $as_echo "$glibcxx_epub_stylesheets" >&6; }
65982  if test x"$glibcxx_epub_stylesheets" = x"yes"; then
65983   BUILD_EPUB_TRUE=
65984   BUILD_EPUB_FALSE='#'
65985 else
65986   BUILD_EPUB_TRUE='#'
65987   BUILD_EPUB_FALSE=
65988 fi
65989
65990
65991
65992
65993 # Check for xml/html dependencies.
65994  if test $ac_cv_prog_DOXYGEN = "yes" &&
65995                test $ac_cv_prog_DOT = "yes" &&
65996                test $ac_cv_prog_XSLTPROC = "yes" &&
65997                test $ac_cv_prog_XMLLINT = "yes" &&
65998                test $glibcxx_stylesheets = "yes"; then
65999   BUILD_XML_TRUE=
66000   BUILD_XML_FALSE='#'
66001 else
66002   BUILD_XML_TRUE='#'
66003   BUILD_XML_FALSE=
66004 fi
66005
66006
66007  if test $ac_cv_prog_DOXYGEN = "yes" &&
66008                test $ac_cv_prog_DOT = "yes" &&
66009                test $ac_cv_prog_XSLTPROC = "yes" &&
66010                test $ac_cv_prog_XMLLINT = "yes" &&
66011                test $glibcxx_stylesheets = "yes"; then
66012   BUILD_HTML_TRUE=
66013   BUILD_HTML_FALSE='#'
66014 else
66015   BUILD_HTML_TRUE='#'
66016   BUILD_HTML_FALSE=
66017 fi
66018
66019
66020 # Check for man dependencies.
66021  if test $ac_cv_prog_DOXYGEN = "yes" &&
66022                test $ac_cv_prog_DOT = "yes"; then
66023   BUILD_MAN_TRUE=
66024   BUILD_MAN_FALSE='#'
66025 else
66026   BUILD_MAN_TRUE='#'
66027   BUILD_MAN_FALSE=
66028 fi
66029
66030
66031 # Check for pdf dependencies.
66032 # Extract the first word of "dblatex", so it can be a program name with args.
66033 set dummy dblatex; ac_word=$2
66034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66035 $as_echo_n "checking for $ac_word... " >&6; }
66036 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
66037   $as_echo_n "(cached) " >&6
66038 else
66039   if test -n "$DBLATEX"; then
66040   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
66041 else
66042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66043 for as_dir in $PATH
66044 do
66045   IFS=$as_save_IFS
66046   test -z "$as_dir" && as_dir=.
66047     for ac_exec_ext in '' $ac_executable_extensions; do
66048   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66049     ac_cv_prog_DBLATEX="yes"
66050     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66051     break 2
66052   fi
66053 done
66054   done
66055 IFS=$as_save_IFS
66056
66057   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
66058 fi
66059 fi
66060 DBLATEX=$ac_cv_prog_DBLATEX
66061 if test -n "$DBLATEX"; then
66062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
66063 $as_echo "$DBLATEX" >&6; }
66064 else
66065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66066 $as_echo "no" >&6; }
66067 fi
66068
66069
66070 # Extract the first word of "pdflatex", so it can be a program name with args.
66071 set dummy pdflatex; ac_word=$2
66072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66073 $as_echo_n "checking for $ac_word... " >&6; }
66074 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
66075   $as_echo_n "(cached) " >&6
66076 else
66077   if test -n "$PDFLATEX"; then
66078   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
66079 else
66080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66081 for as_dir in $PATH
66082 do
66083   IFS=$as_save_IFS
66084   test -z "$as_dir" && as_dir=.
66085     for ac_exec_ext in '' $ac_executable_extensions; do
66086   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66087     ac_cv_prog_PDFLATEX="yes"
66088     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66089     break 2
66090   fi
66091 done
66092   done
66093 IFS=$as_save_IFS
66094
66095   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
66096 fi
66097 fi
66098 PDFLATEX=$ac_cv_prog_PDFLATEX
66099 if test -n "$PDFLATEX"; then
66100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
66101 $as_echo "$PDFLATEX" >&6; }
66102 else
66103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66104 $as_echo "no" >&6; }
66105 fi
66106
66107
66108  if test $ac_cv_prog_DBLATEX = "yes" &&
66109                test $ac_cv_prog_PDFLATEX = "yes"; then
66110   BUILD_PDF_TRUE=
66111   BUILD_PDF_FALSE='#'
66112 else
66113   BUILD_PDF_TRUE='#'
66114   BUILD_PDF_FALSE=
66115 fi
66116
66117
66118
66119 # Propagate the target-specific source directories through the build chain.
66120 ATOMICITY_SRCDIR=config/${atomicity_dir}
66121 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
66122 ATOMIC_FLAGS=${atomic_flags}
66123 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
66124 OS_INC_SRCDIR=config/${os_include_dir}
66125 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
66126 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
66127
66128
66129
66130
66131
66132
66133
66134
66135
66136 # Determine cross-compile flags and AM_CONDITIONALs.
66137 #AC_SUBST(GLIBCXX_IS_NATIVE)
66138 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
66139     if test $is_hosted = yes; then
66140   GLIBCXX_HOSTED_TRUE=
66141   GLIBCXX_HOSTED_FALSE='#'
66142 else
66143   GLIBCXX_HOSTED_TRUE='#'
66144   GLIBCXX_HOSTED_FALSE=
66145 fi
66146
66147
66148     if test $enable_libstdcxx_pch = yes; then
66149   GLIBCXX_BUILD_PCH_TRUE=
66150   GLIBCXX_BUILD_PCH_FALSE='#'
66151 else
66152   GLIBCXX_BUILD_PCH_TRUE='#'
66153   GLIBCXX_BUILD_PCH_FALSE=
66154 fi
66155
66156
66157     if test $enable_cheaders = c; then
66158   GLIBCXX_C_HEADERS_C_TRUE=
66159   GLIBCXX_C_HEADERS_C_FALSE='#'
66160 else
66161   GLIBCXX_C_HEADERS_C_TRUE='#'
66162   GLIBCXX_C_HEADERS_C_FALSE=
66163 fi
66164
66165
66166     if test $enable_cheaders = c_std; then
66167   GLIBCXX_C_HEADERS_C_STD_TRUE=
66168   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
66169 else
66170   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
66171   GLIBCXX_C_HEADERS_C_STD_FALSE=
66172 fi
66173
66174
66175     if test $enable_cheaders = c_global; then
66176   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
66177   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
66178 else
66179   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
66180   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
66181 fi
66182
66183
66184     if test $c_compatibility = yes; then
66185   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
66186   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
66187 else
66188   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
66189   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
66190 fi
66191
66192
66193     if test $enable_libstdcxx_debug = yes; then
66194   GLIBCXX_BUILD_DEBUG_TRUE=
66195   GLIBCXX_BUILD_DEBUG_FALSE='#'
66196 else
66197   GLIBCXX_BUILD_DEBUG_TRUE='#'
66198   GLIBCXX_BUILD_DEBUG_FALSE=
66199 fi
66200
66201
66202     if test $enable_parallel = yes; then
66203   ENABLE_PARALLEL_TRUE=
66204   ENABLE_PARALLEL_FALSE='#'
66205 else
66206   ENABLE_PARALLEL_TRUE='#'
66207   ENABLE_PARALLEL_FALSE=
66208 fi
66209
66210
66211     if test $enable_extern_template = yes; then
66212   ENABLE_EXTERN_TEMPLATE_TRUE=
66213   ENABLE_EXTERN_TEMPLATE_FALSE='#'
66214 else
66215   ENABLE_EXTERN_TEMPLATE_TRUE='#'
66216   ENABLE_EXTERN_TEMPLATE_FALSE=
66217 fi
66218
66219
66220     if test $python_mod_dir != no; then
66221   ENABLE_PYTHONDIR_TRUE=
66222   ENABLE_PYTHONDIR_FALSE='#'
66223 else
66224   ENABLE_PYTHONDIR_TRUE='#'
66225   ENABLE_PYTHONDIR_FALSE=
66226 fi
66227
66228
66229     if test $enable_werror = yes; then
66230   ENABLE_WERROR_TRUE=
66231   ENABLE_WERROR_FALSE='#'
66232 else
66233   ENABLE_WERROR_TRUE='#'
66234   ENABLE_WERROR_FALSE=
66235 fi
66236
66237
66238     if test $enable_symvers != no; then
66239   ENABLE_SYMVERS_TRUE=
66240   ENABLE_SYMVERS_FALSE='#'
66241 else
66242   ENABLE_SYMVERS_TRUE='#'
66243   ENABLE_SYMVERS_FALSE=
66244 fi
66245
66246
66247     if test $enable_symvers = gnu; then
66248   ENABLE_SYMVERS_GNU_TRUE=
66249   ENABLE_SYMVERS_GNU_FALSE='#'
66250 else
66251   ENABLE_SYMVERS_GNU_TRUE='#'
66252   ENABLE_SYMVERS_GNU_FALSE=
66253 fi
66254
66255
66256     if test $enable_symvers = gnu-versioned-namespace; then
66257   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
66258   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
66259 else
66260   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
66261   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
66262 fi
66263
66264
66265     if test $enable_symvers = darwin; then
66266   ENABLE_SYMVERS_DARWIN_TRUE=
66267   ENABLE_SYMVERS_DARWIN_FALSE='#'
66268 else
66269   ENABLE_SYMVERS_DARWIN_TRUE='#'
66270   ENABLE_SYMVERS_DARWIN_FALSE=
66271 fi
66272
66273
66274     if test $enable_symvers = sun; then
66275   ENABLE_SYMVERS_SUN_TRUE=
66276   ENABLE_SYMVERS_SUN_FALSE='#'
66277 else
66278   ENABLE_SYMVERS_SUN_TRUE='#'
66279   ENABLE_SYMVERS_SUN_FALSE=
66280 fi
66281
66282
66283     if test $enable_libstdcxx_visibility = yes; then
66284   ENABLE_VISIBILITY_TRUE=
66285   ENABLE_VISIBILITY_FALSE='#'
66286 else
66287   ENABLE_VISIBILITY_TRUE='#'
66288   ENABLE_VISIBILITY_FALSE=
66289 fi
66290
66291
66292     if test $ac_ldbl_compat = yes; then
66293   GLIBCXX_LDBL_COMPAT_TRUE=
66294   GLIBCXX_LDBL_COMPAT_FALSE='#'
66295 else
66296   GLIBCXX_LDBL_COMPAT_TRUE='#'
66297   GLIBCXX_LDBL_COMPAT_FALSE=
66298 fi
66299
66300
66301
66302
66303 cat >confcache <<\_ACEOF
66304 # This file is a shell script that caches the results of configure
66305 # tests run on this system so they can be shared between configure
66306 # scripts and configure runs, see configure's option --config-cache.
66307 # It is not useful on other systems.  If it contains results you don't
66308 # want to keep, you may remove or edit it.
66309 #
66310 # config.status only pays attention to the cache file if you give it
66311 # the --recheck option to rerun configure.
66312 #
66313 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66314 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66315 # following values.
66316
66317 _ACEOF
66318
66319 # The following way of writing the cache mishandles newlines in values,
66320 # but we know of no workaround that is simple, portable, and efficient.
66321 # So, we kill variables containing newlines.
66322 # Ultrix sh set writes to stderr and can't be redirected directly,
66323 # and sets the high bit in the cache file unless we assign to the vars.
66324 (
66325   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66326     eval ac_val=\$$ac_var
66327     case $ac_val in #(
66328     *${as_nl}*)
66329       case $ac_var in #(
66330       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66331 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66332       esac
66333       case $ac_var in #(
66334       _ | IFS | as_nl) ;; #(
66335       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66336       *) { eval $ac_var=; unset $ac_var;} ;;
66337       esac ;;
66338     esac
66339   done
66340
66341   (set) 2>&1 |
66342     case $as_nl`(ac_space=' '; set) 2>&1` in #(
66343     *${as_nl}ac_space=\ *)
66344       # `set' does not quote correctly, so add quotes: double-quote
66345       # substitution turns \\\\ into \\, and sed turns \\ into \.
66346       sed -n \
66347         "s/'/'\\\\''/g;
66348           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66349       ;; #(
66350     *)
66351       # `set' quotes correctly as required by POSIX, so do not add quotes.
66352       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66353       ;;
66354     esac |
66355     sort
66356 ) |
66357   sed '
66358      /^ac_cv_env_/b end
66359      t clear
66360      :clear
66361      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66362      t end
66363      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66364      :end' >>confcache
66365 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66366   if test -w "$cache_file"; then
66367     test "x$cache_file" != "x/dev/null" &&
66368       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66369 $as_echo "$as_me: updating cache $cache_file" >&6;}
66370     cat confcache >$cache_file
66371   else
66372     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66373 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66374   fi
66375 fi
66376 rm -f confcache
66377
66378 if test ${multilib} = yes; then
66379   multilib_arg="--enable-multilib"
66380 else
66381   multilib_arg=
66382 fi
66383
66384 # Export all the install information.
66385
66386   glibcxx_toolexecdir=no
66387   glibcxx_toolexeclibdir=no
66388   glibcxx_prefixdir=$prefix
66389
66390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
66391 $as_echo_n "checking for gxx-include-dir... " >&6; }
66392
66393 # Check whether --with-gxx-include-dir was given.
66394 if test "${with_gxx_include_dir+set}" = set; then :
66395   withval=$with_gxx_include_dir; case "$withval" in
66396       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
66397       no)  gxx_include_dir=no ;;
66398       *)   gxx_include_dir=$withval ;;
66399      esac
66400 else
66401   gxx_include_dir=no
66402 fi
66403
66404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66405 $as_echo "$gxx_include_dir" >&6; }
66406
66407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
66408 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
66409   # Check whether --enable-version-specific-runtime-libs was given.
66410 if test "${enable_version_specific_runtime_libs+set}" = set; then :
66411   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
66412       yes) version_specific_libs=yes ;;
66413       no)  version_specific_libs=no ;;
66414       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
66415      esac
66416 else
66417   version_specific_libs=no
66418 fi
66419
66420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
66421 $as_echo "$version_specific_libs" >&6; }
66422
66423   # Default case for install directory for include files.
66424   if test $version_specific_libs = no && test $gxx_include_dir = no; then
66425     gxx_include_dir='include/c++/${gcc_version}'
66426     if test -n "$with_cross_host" &&
66427        test x"$with_cross_host" != x"no"; then
66428       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
66429     else
66430       gxx_include_dir='${prefix}/'"$gxx_include_dir"
66431     fi
66432   fi
66433
66434   # Version-specific runtime libs processing.
66435   if test $version_specific_libs = yes; then
66436     # Need the gcc compiler version to know where to install libraries
66437     # and header files if --enable-version-specific-runtime-libs option
66438     # is selected.  FIXME: these variables are misnamed, there are
66439     # no executables installed in _toolexecdir or _toolexeclibdir.
66440     if test x"$gxx_include_dir" = x"no"; then
66441       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66442     fi
66443     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66444     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66445   fi
66446
66447   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66448   # Install a library built with a cross compiler in tooldir, not libdir.
66449   if test x"$glibcxx_toolexecdir" = x"no"; then
66450     if test -n "$with_cross_host" &&
66451        test x"$with_cross_host" != x"no"; then
66452       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66453       glibcxx_toolexeclibdir='${toolexecdir}/lib'
66454     else
66455       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66456       glibcxx_toolexeclibdir='${libdir}'
66457     fi
66458     multi_os_directory=`$CXX -print-multi-os-directory`
66459     case $multi_os_directory in
66460       .) ;; # Avoid trailing /.
66461       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66462     esac
66463   fi
66464
66465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66466 $as_echo_n "checking for install location... " >&6; }
66467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66468 $as_echo "$gxx_include_dir" >&6; }
66469
66470
66471
66472
66473
66474
66475
66476 # Export all the include and flag information to Makefiles.
66477
66478   # Used for every C++ compile we perform.
66479   GLIBCXX_INCLUDES="\
66480 -I$glibcxx_builddir/include/$host_alias \
66481 -I$glibcxx_builddir/include \
66482 -I$glibcxx_srcdir/libsupc++"
66483
66484   # For Canadian crosses, pick this up too.
66485   if test $CANADIAN = yes; then
66486     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66487   fi
66488
66489   # Stuff in the actual top level.  Currently only used by libsupc++ to
66490   # get unwind* headers from the libgcc dir.
66491   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66492   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66493
66494   # Now, export this to all the little Makefiles....
66495
66496
66497
66498
66499   # Optimization flags that are probably a good idea for thrill-seekers. Just
66500   # uncomment the lines below and make, everything else is ready to go...
66501   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66502   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66503
66504
66505   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
66506
66507
66508
66509 ac_config_files="$ac_config_files Makefile"
66510
66511 ac_config_files="$ac_config_files scripts/testsuite_flags"
66512
66513 ac_config_files="$ac_config_files scripts/extract_symvers"
66514
66515 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
66516
66517
66518 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66519 # that multilib installs will end up installed in the correct place.
66520 # The testsuite needs it for multilib-aware ABI baseline files.
66521 # To work around this not being passed down from config-ml.in ->
66522 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66523 # append it here.  Only modify Makefiles that have just been created.
66524 #
66525 # Also, get rid of this simulated-VPATH thing that automake does.
66526 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"
66527
66528
66529 ac_config_commands="$ac_config_commands generate-headers"
66530
66531
66532 cat >confcache <<\_ACEOF
66533 # This file is a shell script that caches the results of configure
66534 # tests run on this system so they can be shared between configure
66535 # scripts and configure runs, see configure's option --config-cache.
66536 # It is not useful on other systems.  If it contains results you don't
66537 # want to keep, you may remove or edit it.
66538 #
66539 # config.status only pays attention to the cache file if you give it
66540 # the --recheck option to rerun configure.
66541 #
66542 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66543 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66544 # following values.
66545
66546 _ACEOF
66547
66548 # The following way of writing the cache mishandles newlines in values,
66549 # but we know of no workaround that is simple, portable, and efficient.
66550 # So, we kill variables containing newlines.
66551 # Ultrix sh set writes to stderr and can't be redirected directly,
66552 # and sets the high bit in the cache file unless we assign to the vars.
66553 (
66554   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66555     eval ac_val=\$$ac_var
66556     case $ac_val in #(
66557     *${as_nl}*)
66558       case $ac_var in #(
66559       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66560 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66561       esac
66562       case $ac_var in #(
66563       _ | IFS | as_nl) ;; #(
66564       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66565       *) { eval $ac_var=; unset $ac_var;} ;;
66566       esac ;;
66567     esac
66568   done
66569
66570   (set) 2>&1 |
66571     case $as_nl`(ac_space=' '; set) 2>&1` in #(
66572     *${as_nl}ac_space=\ *)
66573       # `set' does not quote correctly, so add quotes: double-quote
66574       # substitution turns \\\\ into \\, and sed turns \\ into \.
66575       sed -n \
66576         "s/'/'\\\\''/g;
66577           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66578       ;; #(
66579     *)
66580       # `set' quotes correctly as required by POSIX, so do not add quotes.
66581       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66582       ;;
66583     esac |
66584     sort
66585 ) |
66586   sed '
66587      /^ac_cv_env_/b end
66588      t clear
66589      :clear
66590      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66591      t end
66592      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66593      :end' >>confcache
66594 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66595   if test -w "$cache_file"; then
66596     test "x$cache_file" != "x/dev/null" &&
66597       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66598 $as_echo "$as_me: updating cache $cache_file" >&6;}
66599     cat confcache >$cache_file
66600   else
66601     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66602 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66603   fi
66604 fi
66605 rm -f confcache
66606
66607 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66608 # Let make expand exec_prefix.
66609 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66610
66611 DEFS=-DHAVE_CONFIG_H
66612
66613 ac_libobjs=
66614 ac_ltlibobjs=
66615 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66616   # 1. Remove the extension, and $U if already installed.
66617   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66618   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66619   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
66620   #    will be set to the directory where LIBOBJS objects are built.
66621   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66622   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66623 done
66624 LIBOBJS=$ac_libobjs
66625
66626 LTLIBOBJS=$ac_ltlibobjs
66627
66628
66629  if test -n "$EXEEXT"; then
66630   am__EXEEXT_TRUE=
66631   am__EXEEXT_FALSE='#'
66632 else
66633   am__EXEEXT_TRUE='#'
66634   am__EXEEXT_FALSE=
66635 fi
66636
66637 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66638   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66640 fi
66641 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66642   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66644 fi
66645 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66646   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66648 fi
66649 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66650   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66651 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66652 fi
66653 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66654   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66655 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66656 fi
66657 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66658   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66659 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66660 fi
66661 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66662   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66664 fi
66665 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66666   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66668 fi
66669 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66670   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66672 fi
66673 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66674   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66676 fi
66677 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
66678   as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
66679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66680 fi
66681 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
66682   as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
66683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66684 fi
66685 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66686   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66687 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66688 fi
66689 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66690   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66692 fi
66693 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66694   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66696 fi
66697 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66698   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66700 fi
66701 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66702   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66704 fi
66705 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66706   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66708 fi
66709 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66710   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66712 fi
66713 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66714   as_fn_error "conditional \"BUILD_INFO\" was never defined.
66715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66716 fi
66717 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66718   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66720 fi
66721 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66722   as_fn_error "conditional \"BUILD_XML\" was never defined.
66723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66724 fi
66725 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66726   as_fn_error "conditional \"BUILD_HTML\" was never defined.
66727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66728 fi
66729 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66730   as_fn_error "conditional \"BUILD_MAN\" was never defined.
66731 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66732 fi
66733 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66734   as_fn_error "conditional \"BUILD_PDF\" was never defined.
66735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66736 fi
66737
66738 : ${CONFIG_STATUS=./config.status}
66739 ac_write_fail=0
66740 ac_clean_files_save=$ac_clean_files
66741 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66742 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66743 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66744 as_write_fail=0
66745 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66746 #! $SHELL
66747 # Generated by $as_me.
66748 # Run this file to recreate the current configuration.
66749 # Compiler output produced by configure, useful for debugging
66750 # configure, is in config.log if it exists.
66751
66752 debug=false
66753 ac_cs_recheck=false
66754 ac_cs_silent=false
66755
66756 SHELL=\${CONFIG_SHELL-$SHELL}
66757 export SHELL
66758 _ASEOF
66759 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66760 ## -------------------- ##
66761 ## M4sh Initialization. ##
66762 ## -------------------- ##
66763
66764 # Be more Bourne compatible
66765 DUALCASE=1; export DUALCASE # for MKS sh
66766 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66767   emulate sh
66768   NULLCMD=:
66769   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66770   # is contrary to our usage.  Disable this feature.
66771   alias -g '${1+"$@"}'='"$@"'
66772   setopt NO_GLOB_SUBST
66773 else
66774   case `(set -o) 2>/dev/null` in #(
66775   *posix*) :
66776     set -o posix ;; #(
66777   *) :
66778      ;;
66779 esac
66780 fi
66781
66782
66783 as_nl='
66784 '
66785 export as_nl
66786 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66787 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66788 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66789 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66790 # Prefer a ksh shell builtin over an external printf program on Solaris,
66791 # but without wasting forks for bash or zsh.
66792 if test -z "$BASH_VERSION$ZSH_VERSION" \
66793     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66794   as_echo='print -r --'
66795   as_echo_n='print -rn --'
66796 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66797   as_echo='printf %s\n'
66798   as_echo_n='printf %s'
66799 else
66800   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66801     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66802     as_echo_n='/usr/ucb/echo -n'
66803   else
66804     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66805     as_echo_n_body='eval
66806       arg=$1;
66807       case $arg in #(
66808       *"$as_nl"*)
66809         expr "X$arg" : "X\\(.*\\)$as_nl";
66810         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66811       esac;
66812       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66813     '
66814     export as_echo_n_body
66815     as_echo_n='sh -c $as_echo_n_body as_echo'
66816   fi
66817   export as_echo_body
66818   as_echo='sh -c $as_echo_body as_echo'
66819 fi
66820
66821 # The user is always right.
66822 if test "${PATH_SEPARATOR+set}" != set; then
66823   PATH_SEPARATOR=:
66824   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66825     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66826       PATH_SEPARATOR=';'
66827   }
66828 fi
66829
66830
66831 # IFS
66832 # We need space, tab and new line, in precisely that order.  Quoting is
66833 # there to prevent editors from complaining about space-tab.
66834 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66835 # splitting by setting IFS to empty value.)
66836 IFS=" ""        $as_nl"
66837
66838 # Find who we are.  Look in the path if we contain no directory separator.
66839 case $0 in #((
66840   *[\\/]* ) as_myself=$0 ;;
66841   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66842 for as_dir in $PATH
66843 do
66844   IFS=$as_save_IFS
66845   test -z "$as_dir" && as_dir=.
66846     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66847   done
66848 IFS=$as_save_IFS
66849
66850      ;;
66851 esac
66852 # We did not find ourselves, most probably we were run as `sh COMMAND'
66853 # in which case we are not to be found in the path.
66854 if test "x$as_myself" = x; then
66855   as_myself=$0
66856 fi
66857 if test ! -f "$as_myself"; then
66858   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66859   exit 1
66860 fi
66861
66862 # Unset variables that we do not need and which cause bugs (e.g. in
66863 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
66864 # suppresses any "Segmentation fault" message there.  '((' could
66865 # trigger a bug in pdksh 5.2.14.
66866 for as_var in BASH_ENV ENV MAIL MAILPATH
66867 do eval test x\${$as_var+set} = xset \
66868   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66869 done
66870 PS1='$ '
66871 PS2='> '
66872 PS4='+ '
66873
66874 # NLS nuisances.
66875 LC_ALL=C
66876 export LC_ALL
66877 LANGUAGE=C
66878 export LANGUAGE
66879
66880 # CDPATH.
66881 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66882
66883
66884 # as_fn_error ERROR [LINENO LOG_FD]
66885 # ---------------------------------
66886 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66887 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66888 # script with status $?, using 1 if that was 0.
66889 as_fn_error ()
66890 {
66891   as_status=$?; test $as_status -eq 0 && as_status=1
66892   if test "$3"; then
66893     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66894     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66895   fi
66896   $as_echo "$as_me: error: $1" >&2
66897   as_fn_exit $as_status
66898 } # as_fn_error
66899
66900
66901 # as_fn_set_status STATUS
66902 # -----------------------
66903 # Set $? to STATUS, without forking.
66904 as_fn_set_status ()
66905 {
66906   return $1
66907 } # as_fn_set_status
66908
66909 # as_fn_exit STATUS
66910 # -----------------
66911 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66912 as_fn_exit ()
66913 {
66914   set +e
66915   as_fn_set_status $1
66916   exit $1
66917 } # as_fn_exit
66918
66919 # as_fn_unset VAR
66920 # ---------------
66921 # Portably unset VAR.
66922 as_fn_unset ()
66923 {
66924   { eval $1=; unset $1;}
66925 }
66926 as_unset=as_fn_unset
66927 # as_fn_append VAR VALUE
66928 # ----------------------
66929 # Append the text in VALUE to the end of the definition contained in VAR. Take
66930 # advantage of any shell optimizations that allow amortized linear growth over
66931 # repeated appends, instead of the typical quadratic growth present in naive
66932 # implementations.
66933 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66934   eval 'as_fn_append ()
66935   {
66936     eval $1+=\$2
66937   }'
66938 else
66939   as_fn_append ()
66940   {
66941     eval $1=\$$1\$2
66942   }
66943 fi # as_fn_append
66944
66945 # as_fn_arith ARG...
66946 # ------------------
66947 # Perform arithmetic evaluation on the ARGs, and store the result in the
66948 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66949 # must be portable across $(()) and expr.
66950 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66951   eval 'as_fn_arith ()
66952   {
66953     as_val=$(( $* ))
66954   }'
66955 else
66956   as_fn_arith ()
66957   {
66958     as_val=`expr "$@" || test $? -eq 1`
66959   }
66960 fi # as_fn_arith
66961
66962
66963 if expr a : '\(a\)' >/dev/null 2>&1 &&
66964    test "X`expr 00001 : '.*\(...\)'`" = X001; then
66965   as_expr=expr
66966 else
66967   as_expr=false
66968 fi
66969
66970 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66971   as_basename=basename
66972 else
66973   as_basename=false
66974 fi
66975
66976 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66977   as_dirname=dirname
66978 else
66979   as_dirname=false
66980 fi
66981
66982 as_me=`$as_basename -- "$0" ||
66983 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66984          X"$0" : 'X\(//\)$' \| \
66985          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66986 $as_echo X/"$0" |
66987     sed '/^.*\/\([^/][^/]*\)\/*$/{
66988             s//\1/
66989             q
66990           }
66991           /^X\/\(\/\/\)$/{
66992             s//\1/
66993             q
66994           }
66995           /^X\/\(\/\).*/{
66996             s//\1/
66997             q
66998           }
66999           s/.*/./; q'`
67000
67001 # Avoid depending upon Character Ranges.
67002 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
67003 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
67004 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
67005 as_cr_digits='0123456789'
67006 as_cr_alnum=$as_cr_Letters$as_cr_digits
67007
67008 ECHO_C= ECHO_N= ECHO_T=
67009 case `echo -n x` in #(((((
67010 -n*)
67011   case `echo 'xy\c'` in
67012   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
67013   xy)  ECHO_C='\c';;
67014   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
67015        ECHO_T=' ';;
67016   esac;;
67017 *)
67018   ECHO_N='-n';;
67019 esac
67020
67021 rm -f conf$$ conf$$.exe conf$$.file
67022 if test -d conf$$.dir; then
67023   rm -f conf$$.dir/conf$$.file
67024 else
67025   rm -f conf$$.dir
67026   mkdir conf$$.dir 2>/dev/null
67027 fi
67028 if (echo >conf$$.file) 2>/dev/null; then
67029   if ln -s conf$$.file conf$$ 2>/dev/null; then
67030     as_ln_s='ln -s'
67031     # ... but there are two gotchas:
67032     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
67033     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
67034     # In both cases, we have to default to `cp -p'.
67035     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
67036       as_ln_s='cp -p'
67037   elif ln conf$$.file conf$$ 2>/dev/null; then
67038     as_ln_s=ln
67039   else
67040     as_ln_s='cp -p'
67041   fi
67042 else
67043   as_ln_s='cp -p'
67044 fi
67045 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
67046 rmdir conf$$.dir 2>/dev/null
67047
67048
67049 # as_fn_mkdir_p
67050 # -------------
67051 # Create "$as_dir" as a directory, including parents if necessary.
67052 as_fn_mkdir_p ()
67053 {
67054
67055   case $as_dir in #(
67056   -*) as_dir=./$as_dir;;
67057   esac
67058   test -d "$as_dir" || eval $as_mkdir_p || {
67059     as_dirs=
67060     while :; do
67061       case $as_dir in #(
67062       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
67063       *) as_qdir=$as_dir;;
67064       esac
67065       as_dirs="'$as_qdir' $as_dirs"
67066       as_dir=`$as_dirname -- "$as_dir" ||
67067 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67068          X"$as_dir" : 'X\(//\)[^/]' \| \
67069          X"$as_dir" : 'X\(//\)$' \| \
67070          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
67071 $as_echo X"$as_dir" |
67072     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67073             s//\1/
67074             q
67075           }
67076           /^X\(\/\/\)[^/].*/{
67077             s//\1/
67078             q
67079           }
67080           /^X\(\/\/\)$/{
67081             s//\1/
67082             q
67083           }
67084           /^X\(\/\).*/{
67085             s//\1/
67086             q
67087           }
67088           s/.*/./; q'`
67089       test -d "$as_dir" && break
67090     done
67091     test -z "$as_dirs" || eval "mkdir $as_dirs"
67092   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
67093
67094
67095 } # as_fn_mkdir_p
67096 if mkdir -p . 2>/dev/null; then
67097   as_mkdir_p='mkdir -p "$as_dir"'
67098 else
67099   test -d ./-p && rmdir ./-p
67100   as_mkdir_p=false
67101 fi
67102
67103 if test -x / >/dev/null 2>&1; then
67104   as_test_x='test -x'
67105 else
67106   if ls -dL / >/dev/null 2>&1; then
67107     as_ls_L_option=L
67108   else
67109     as_ls_L_option=
67110   fi
67111   as_test_x='
67112     eval sh -c '\''
67113       if test -d "$1"; then
67114         test -d "$1/.";
67115       else
67116         case $1 in #(
67117         -*)set "./$1";;
67118         esac;
67119         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
67120         ???[sx]*):;;*)false;;esac;fi
67121     '\'' sh
67122   '
67123 fi
67124 as_executable_p=$as_test_x
67125
67126 # Sed expression to map a string onto a valid CPP name.
67127 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
67128
67129 # Sed expression to map a string onto a valid variable name.
67130 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
67131
67132
67133 exec 6>&1
67134 ## ----------------------------------- ##
67135 ## Main body of $CONFIG_STATUS script. ##
67136 ## ----------------------------------- ##
67137 _ASEOF
67138 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
67139
67140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67141 # Save the log message, to keep $0 and so on meaningful, and to
67142 # report actual input values of CONFIG_FILES etc. instead of their
67143 # values after options handling.
67144 ac_log="
67145 This file was extended by package-unused $as_me version-unused, which was
67146 generated by GNU Autoconf 2.64.  Invocation command line was
67147
67148   CONFIG_FILES    = $CONFIG_FILES
67149   CONFIG_HEADERS  = $CONFIG_HEADERS
67150   CONFIG_LINKS    = $CONFIG_LINKS
67151   CONFIG_COMMANDS = $CONFIG_COMMANDS
67152   $ $0 $@
67153
67154 on `(hostname || uname -n) 2>/dev/null | sed 1q`
67155 "
67156
67157 _ACEOF
67158
67159 case $ac_config_files in *"
67160 "*) set x $ac_config_files; shift; ac_config_files=$*;;
67161 esac
67162
67163 case $ac_config_headers in *"
67164 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
67165 esac
67166
67167
67168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67169 # Files that config.status was made for.
67170 config_files="$ac_config_files"
67171 config_headers="$ac_config_headers"
67172 config_commands="$ac_config_commands"
67173
67174 _ACEOF
67175
67176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67177 ac_cs_usage="\
67178 \`$as_me' instantiates files and other configuration actions
67179 from templates according to the current configuration.  Unless the files
67180 and actions are specified as TAGs, all are instantiated by default.
67181
67182 Usage: $0 [OPTION]... [TAG]...
67183
67184   -h, --help       print this help, then exit
67185   -V, --version    print version number and configuration settings, then exit
67186   -q, --quiet, --silent
67187                    do not print progress messages
67188   -d, --debug      don't remove temporary files
67189       --recheck    update $as_me by reconfiguring in the same conditions
67190       --file=FILE[:TEMPLATE]
67191                    instantiate the configuration file FILE
67192       --header=FILE[:TEMPLATE]
67193                    instantiate the configuration header FILE
67194
67195 Configuration files:
67196 $config_files
67197
67198 Configuration headers:
67199 $config_headers
67200
67201 Configuration commands:
67202 $config_commands
67203
67204 Report bugs to the package provider."
67205
67206 _ACEOF
67207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67208 ac_cs_version="\\
67209 package-unused config.status version-unused
67210 configured by $0, generated by GNU Autoconf 2.64,
67211   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
67212
67213 Copyright (C) 2009 Free Software Foundation, Inc.
67214 This config.status script is free software; the Free Software Foundation
67215 gives unlimited permission to copy, distribute and modify it."
67216
67217 ac_pwd='$ac_pwd'
67218 srcdir='$srcdir'
67219 INSTALL='$INSTALL'
67220 MKDIR_P='$MKDIR_P'
67221 AWK='$AWK'
67222 test -n "\$AWK" || AWK=awk
67223 _ACEOF
67224
67225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67226 # The default lists apply if the user does not specify any file.
67227 ac_need_defaults=:
67228 while test $# != 0
67229 do
67230   case $1 in
67231   --*=*)
67232     ac_option=`expr "X$1" : 'X\([^=]*\)='`
67233     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
67234     ac_shift=:
67235     ;;
67236   *)
67237     ac_option=$1
67238     ac_optarg=$2
67239     ac_shift=shift
67240     ;;
67241   esac
67242
67243   case $ac_option in
67244   # Handling of the options.
67245   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
67246     ac_cs_recheck=: ;;
67247   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
67248     $as_echo "$ac_cs_version"; exit ;;
67249   --debug | --debu | --deb | --de | --d | -d )
67250     debug=: ;;
67251   --file | --fil | --fi | --f )
67252     $ac_shift
67253     case $ac_optarg in
67254     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67255     esac
67256     as_fn_append CONFIG_FILES " '$ac_optarg'"
67257     ac_need_defaults=false;;
67258   --header | --heade | --head | --hea )
67259     $ac_shift
67260     case $ac_optarg in
67261     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67262     esac
67263     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
67264     ac_need_defaults=false;;
67265   --he | --h)
67266     # Conflict between --help and --header
67267     as_fn_error "ambiguous option: \`$1'
67268 Try \`$0 --help' for more information.";;
67269   --help | --hel | -h )
67270     $as_echo "$ac_cs_usage"; exit ;;
67271   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
67272   | -silent | --silent | --silen | --sile | --sil | --si | --s)
67273     ac_cs_silent=: ;;
67274
67275   # This is an error.
67276   -*) as_fn_error "unrecognized option: \`$1'
67277 Try \`$0 --help' for more information." ;;
67278
67279   *) as_fn_append ac_config_targets " $1"
67280      ac_need_defaults=false ;;
67281
67282   esac
67283   shift
67284 done
67285
67286 ac_configure_extra_args=
67287
67288 if $ac_cs_silent; then
67289   exec 6>/dev/null
67290   ac_configure_extra_args="$ac_configure_extra_args --silent"
67291 fi
67292
67293 _ACEOF
67294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67295 if \$ac_cs_recheck; then
67296   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
67297   shift
67298   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
67299   CONFIG_SHELL='$SHELL'
67300   export CONFIG_SHELL
67301   exec "\$@"
67302 fi
67303
67304 _ACEOF
67305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67306 exec 5>>config.log
67307 {
67308   echo
67309   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
67310 ## Running $as_me. ##
67311 _ASBOX
67312   $as_echo "$ac_log"
67313 } >&5
67314
67315 _ACEOF
67316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67317 #
67318 # INIT-COMMANDS
67319 #
67320
67321 srcdir="$srcdir"
67322 host="$host"
67323 target="$target"
67324 with_multisubdir="$with_multisubdir"
67325 with_multisrctop="$with_multisrctop"
67326 with_target_subdir="$with_target_subdir"
67327 ac_configure_args="${multilib_arg} ${ac_configure_args}"
67328 multi_basedir="$multi_basedir"
67329 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
67330 CC="$CC"
67331 CXX="$CXX"
67332 GFORTRAN="$GFORTRAN"
67333 GCJ="$GCJ"
67334
67335
67336 # The HP-UX ksh and POSIX shell print the target directory to stdout
67337 # if CDPATH is set.
67338 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
67339
67340 sed_quote_subst='$sed_quote_subst'
67341 double_quote_subst='$double_quote_subst'
67342 delay_variable_subst='$delay_variable_subst'
67343 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
67344 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
67345 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
67346 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
67347 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
67348 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
67349 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
67350 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
67351 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
67352 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
67353 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
67354 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
67355 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
67356 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
67357 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
67358 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
67359 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
67360 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
67361 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
67362 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
67363 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
67364 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
67365 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
67366 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
67367 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
67368 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
67369 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
67370 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
67371 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
67372 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
67373 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
67374 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
67375 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
67376 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
67377 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
67378 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
67379 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
67380 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67381 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67382 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
67383 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
67384 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
67385 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
67386 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
67387 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
67388 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
67389 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
67390 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
67391 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"`'
67392 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
67393 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
67394 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
67395 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
67396 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
67397 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
67398 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
67399 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
67400 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
67401 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
67402 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
67403 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
67404 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
67405 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
67406 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
67407 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67408 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
67409 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
67410 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
67411 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
67412 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
67413 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
67414 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67415 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
67416 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67417 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
67418 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67419 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
67420 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
67421 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
67422 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
67423 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
67424 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
67425 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
67426 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
67427 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
67428 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
67429 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
67430 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67431 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67432 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67433 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67434 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67435 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67436 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67437 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67438 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67439 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67440 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67441 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67442 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67443 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67444 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67445 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67446 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67447 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67448 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67449 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67450 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67451 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67452 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67453 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67454 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67455 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67456 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67457 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67458 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67459 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67460 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67461 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67462 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67463 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67464 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67465 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67466 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67467 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67468 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67469 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67470 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67471 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67472 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67473 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67474 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67475 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67476 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67477 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67478 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67479 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67480 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67481 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67482 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67483 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67484 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67485 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67486 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67487 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67488 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67489 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67490 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67491 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67492 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67493 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67494 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67495 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67496 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67497 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67498 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67499 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67500 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67501 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67502 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67503 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67504 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67505 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67506 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67507 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67508 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67509 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67510 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67511 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67512 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67513 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67514 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67515 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67516 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67517 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67518
67519 LTCC='$LTCC'
67520 LTCFLAGS='$LTCFLAGS'
67521 compiler='$compiler_DEFAULT'
67522
67523 # A function that is used when there is no print builtin or printf.
67524 func_fallback_echo ()
67525 {
67526   eval 'cat <<_LTECHO_EOF
67527 \$1
67528 _LTECHO_EOF'
67529 }
67530
67531 # Quote evaled strings.
67532 for var in SHELL \
67533 ECHO \
67534 SED \
67535 GREP \
67536 EGREP \
67537 FGREP \
67538 LD \
67539 NM \
67540 LN_S \
67541 lt_SP2NL \
67542 lt_NL2SP \
67543 reload_flag \
67544 OBJDUMP \
67545 deplibs_check_method \
67546 file_magic_cmd \
67547 AR \
67548 AR_FLAGS \
67549 STRIP \
67550 RANLIB \
67551 CC \
67552 CFLAGS \
67553 compiler \
67554 lt_cv_sys_global_symbol_pipe \
67555 lt_cv_sys_global_symbol_to_cdecl \
67556 lt_cv_sys_global_symbol_to_c_name_address \
67557 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67558 lt_prog_compiler_no_builtin_flag \
67559 lt_prog_compiler_wl \
67560 lt_prog_compiler_pic \
67561 lt_prog_compiler_static \
67562 lt_cv_prog_compiler_c_o \
67563 need_locks \
67564 DSYMUTIL \
67565 NMEDIT \
67566 LIPO \
67567 OTOOL \
67568 OTOOL64 \
67569 shrext_cmds \
67570 export_dynamic_flag_spec \
67571 whole_archive_flag_spec \
67572 compiler_needs_object \
67573 with_gnu_ld \
67574 allow_undefined_flag \
67575 no_undefined_flag \
67576 hardcode_libdir_flag_spec \
67577 hardcode_libdir_flag_spec_ld \
67578 hardcode_libdir_separator \
67579 fix_srcfile_path \
67580 exclude_expsyms \
67581 include_expsyms \
67582 file_list_spec \
67583 variables_saved_for_relink \
67584 libname_spec \
67585 library_names_spec \
67586 soname_spec \
67587 install_override_mode \
67588 finish_eval \
67589 old_striplib \
67590 striplib \
67591 compiler_lib_search_dirs \
67592 predep_objects \
67593 postdep_objects \
67594 predeps \
67595 postdeps \
67596 compiler_lib_search_path \
67597 LD_CXX \
67598 reload_flag_CXX \
67599 compiler_CXX \
67600 lt_prog_compiler_no_builtin_flag_CXX \
67601 lt_prog_compiler_wl_CXX \
67602 lt_prog_compiler_pic_CXX \
67603 lt_prog_compiler_static_CXX \
67604 lt_cv_prog_compiler_c_o_CXX \
67605 export_dynamic_flag_spec_CXX \
67606 whole_archive_flag_spec_CXX \
67607 compiler_needs_object_CXX \
67608 with_gnu_ld_CXX \
67609 allow_undefined_flag_CXX \
67610 no_undefined_flag_CXX \
67611 hardcode_libdir_flag_spec_CXX \
67612 hardcode_libdir_flag_spec_ld_CXX \
67613 hardcode_libdir_separator_CXX \
67614 fix_srcfile_path_CXX \
67615 exclude_expsyms_CXX \
67616 include_expsyms_CXX \
67617 file_list_spec_CXX \
67618 compiler_lib_search_dirs_CXX \
67619 predep_objects_CXX \
67620 postdep_objects_CXX \
67621 predeps_CXX \
67622 postdeps_CXX \
67623 compiler_lib_search_path_CXX; do
67624     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67625     *[\\\\\\\`\\"\\\$]*)
67626       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67627       ;;
67628     *)
67629       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67630       ;;
67631     esac
67632 done
67633
67634 # Double-quote double-evaled strings.
67635 for var in reload_cmds \
67636 old_postinstall_cmds \
67637 old_postuninstall_cmds \
67638 old_archive_cmds \
67639 extract_expsyms_cmds \
67640 old_archive_from_new_cmds \
67641 old_archive_from_expsyms_cmds \
67642 archive_cmds \
67643 archive_expsym_cmds \
67644 module_cmds \
67645 module_expsym_cmds \
67646 export_symbols_cmds \
67647 prelink_cmds \
67648 postinstall_cmds \
67649 postuninstall_cmds \
67650 finish_cmds \
67651 sys_lib_search_path_spec \
67652 sys_lib_dlsearch_path_spec \
67653 reload_cmds_CXX \
67654 old_archive_cmds_CXX \
67655 old_archive_from_new_cmds_CXX \
67656 old_archive_from_expsyms_cmds_CXX \
67657 archive_cmds_CXX \
67658 archive_expsym_cmds_CXX \
67659 module_cmds_CXX \
67660 module_expsym_cmds_CXX \
67661 export_symbols_cmds_CXX \
67662 prelink_cmds_CXX; do
67663     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67664     *[\\\\\\\`\\"\\\$]*)
67665       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67666       ;;
67667     *)
67668       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67669       ;;
67670     esac
67671 done
67672
67673 ac_aux_dir='$ac_aux_dir'
67674 xsi_shell='$xsi_shell'
67675 lt_shell_append='$lt_shell_append'
67676
67677 # See if we are running on zsh, and set the options which allow our
67678 # commands through without removal of \ escapes INIT.
67679 if test -n "\${ZSH_VERSION+set}" ; then
67680    setopt NO_GLOB_SUBST
67681 fi
67682
67683
67684     PACKAGE='$PACKAGE'
67685     VERSION='$VERSION'
67686     TIMESTAMP='$TIMESTAMP'
67687     RM='$RM'
67688     ofile='$ofile'
67689
67690
67691
67692
67693
67694
67695 GCC="$GCC"
67696 CC="$CC"
67697 acx_cv_header_stdint="$acx_cv_header_stdint"
67698 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67699 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67700 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67701 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67702 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67703 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67704 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67705 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67706 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67707 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67708 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67709 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67710 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67711
67712
67713 _ACEOF
67714
67715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67716
67717 # Handling of arguments.
67718 for ac_config_target in $ac_config_targets
67719 do
67720   case $ac_config_target in
67721     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67722     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67723     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67724     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67725     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67726     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67727     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67728     "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
67729     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67730     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67731     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67732     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67733     "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
67734     "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
67735     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67736     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67737     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67738     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67739
67740   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67741   esac
67742 done
67743
67744
67745 # If the user did not use the arguments to specify the items to instantiate,
67746 # then the envvar interface is used.  Set only those that are not.
67747 # We use the long form for the default assignment because of an extremely
67748 # bizarre bug on SunOS 4.1.3.
67749 if $ac_need_defaults; then
67750   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67751   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67752   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67753 fi
67754
67755 # Have a temporary directory for convenience.  Make it in the build tree
67756 # simply because there is no reason against having it here, and in addition,
67757 # creating and moving files from /tmp can sometimes cause problems.
67758 # Hook for its removal unless debugging.
67759 # Note that there is a small window in which the directory will not be cleaned:
67760 # after its creation but before its name has been assigned to `$tmp'.
67761 $debug ||
67762 {
67763   tmp=
67764   trap 'exit_status=$?
67765   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67766 ' 0
67767   trap 'as_fn_exit 1' 1 2 13 15
67768 }
67769 # Create a (secure) tmp directory for tmp files.
67770
67771 {
67772   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67773   test -n "$tmp" && test -d "$tmp"
67774 }  ||
67775 {
67776   tmp=./conf$$-$RANDOM
67777   (umask 077 && mkdir "$tmp")
67778 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67779
67780 # Set up the scripts for CONFIG_FILES section.
67781 # No need to generate them if there are no CONFIG_FILES.
67782 # This happens for instance with `./config.status config.h'.
67783 if test -n "$CONFIG_FILES"; then
67784
67785
67786 ac_cr=`echo X | tr X '\015'`
67787 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67788 # But we know of no other shell where ac_cr would be empty at this
67789 # point, so we can use a bashism as a fallback.
67790 if test "x$ac_cr" = x; then
67791   eval ac_cr=\$\'\\r\'
67792 fi
67793 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67794 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67795   ac_cs_awk_cr='\r'
67796 else
67797   ac_cs_awk_cr=$ac_cr
67798 fi
67799
67800 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67801 _ACEOF
67802
67803
67804 {
67805   echo "cat >conf$$subs.awk <<_ACEOF" &&
67806   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67807   echo "_ACEOF"
67808 } >conf$$subs.sh ||
67809   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67810 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67811 ac_delim='%!_!# '
67812 for ac_last_try in false false false false false :; do
67813   . ./conf$$subs.sh ||
67814     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67815
67816   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67817   if test $ac_delim_n = $ac_delim_num; then
67818     break
67819   elif $ac_last_try; then
67820     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67821   else
67822     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67823   fi
67824 done
67825 rm -f conf$$subs.sh
67826
67827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67828 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67829 _ACEOF
67830 sed -n '
67831 h
67832 s/^/S["/; s/!.*/"]=/
67833 p
67834 g
67835 s/^[^!]*!//
67836 :repl
67837 t repl
67838 s/'"$ac_delim"'$//
67839 t delim
67840 :nl
67841 h
67842 s/\(.\{148\}\).*/\1/
67843 t more1
67844 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67845 p
67846 n
67847 b repl
67848 :more1
67849 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67850 p
67851 g
67852 s/.\{148\}//
67853 t nl
67854 :delim
67855 h
67856 s/\(.\{148\}\).*/\1/
67857 t more2
67858 s/["\\]/\\&/g; s/^/"/; s/$/"/
67859 p
67860 b
67861 :more2
67862 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67863 p
67864 g
67865 s/.\{148\}//
67866 t delim
67867 ' <conf$$subs.awk | sed '
67868 /^[^""]/{
67869   N
67870   s/\n//
67871 }
67872 ' >>$CONFIG_STATUS || ac_write_fail=1
67873 rm -f conf$$subs.awk
67874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67875 _ACAWK
67876 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67877   for (key in S) S_is_set[key] = 1
67878   FS = "\a"
67879
67880 }
67881 {
67882   line = $ 0
67883   nfields = split(line, field, "@")
67884   substed = 0
67885   len = length(field[1])
67886   for (i = 2; i < nfields; i++) {
67887     key = field[i]
67888     keylen = length(key)
67889     if (S_is_set[key]) {
67890       value = S[key]
67891       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67892       len += length(value) + length(field[++i])
67893       substed = 1
67894     } else
67895       len += 1 + keylen
67896   }
67897
67898   print line
67899 }
67900
67901 _ACAWK
67902 _ACEOF
67903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67904 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67905   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67906 else
67907   cat
67908 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67909   || as_fn_error "could not setup config files machinery" "$LINENO" 5
67910 _ACEOF
67911
67912 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67913 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67914 # trailing colons and then remove the whole line if VPATH becomes empty
67915 # (actually we leave an empty line to preserve line numbers).
67916 if test "x$srcdir" = x.; then
67917   ac_vpsub='/^[  ]*VPATH[        ]*=/{
67918 s/:*\$(srcdir):*/:/
67919 s/:*\${srcdir}:*/:/
67920 s/:*@srcdir@:*/:/
67921 s/^\([^=]*=[     ]*\):*/\1/
67922 s/:*$//
67923 s/^[^=]*=[       ]*$//
67924 }'
67925 fi
67926
67927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67928 fi # test -n "$CONFIG_FILES"
67929
67930 # Set up the scripts for CONFIG_HEADERS section.
67931 # No need to generate them if there are no CONFIG_HEADERS.
67932 # This happens for instance with `./config.status Makefile'.
67933 if test -n "$CONFIG_HEADERS"; then
67934 cat >"$tmp/defines.awk" <<\_ACAWK ||
67935 BEGIN {
67936 _ACEOF
67937
67938 # Transform confdefs.h into an awk script `defines.awk', embedded as
67939 # here-document in config.status, that substitutes the proper values into
67940 # config.h.in to produce config.h.
67941
67942 # Create a delimiter string that does not exist in confdefs.h, to ease
67943 # handling of long lines.
67944 ac_delim='%!_!# '
67945 for ac_last_try in false false :; do
67946   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67947   if test -z "$ac_t"; then
67948     break
67949   elif $ac_last_try; then
67950     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67951   else
67952     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67953   fi
67954 done
67955
67956 # For the awk script, D is an array of macro values keyed by name,
67957 # likewise P contains macro parameters if any.  Preserve backslash
67958 # newline sequences.
67959
67960 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67961 sed -n '
67962 s/.\{148\}/&'"$ac_delim"'/g
67963 t rset
67964 :rset
67965 s/^[     ]*#[    ]*define[       ][      ]*/ /
67966 t def
67967 d
67968 :def
67969 s/\\$//
67970 t bsnl
67971 s/["\\]/\\&/g
67972 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67973 D["\1"]=" \3"/p
67974 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
67975 d
67976 :bsnl
67977 s/["\\]/\\&/g
67978 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67979 D["\1"]=" \3\\\\\\n"\\/p
67980 t cont
67981 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67982 t cont
67983 d
67984 :cont
67985 n
67986 s/.\{148\}/&'"$ac_delim"'/g
67987 t clear
67988 :clear
67989 s/\\$//
67990 t bsnlc
67991 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67992 d
67993 :bsnlc
67994 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67995 b cont
67996 ' <confdefs.h | sed '
67997 s/'"$ac_delim"'/"\\\
67998 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67999
68000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68001   for (key in D) D_is_set[key] = 1
68002   FS = "\a"
68003 }
68004 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
68005   line = \$ 0
68006   split(line, arg, " ")
68007   if (arg[1] == "#") {
68008     defundef = arg[2]
68009     mac1 = arg[3]
68010   } else {
68011     defundef = substr(arg[1], 2)
68012     mac1 = arg[2]
68013   }
68014   split(mac1, mac2, "(") #)
68015   macro = mac2[1]
68016   prefix = substr(line, 1, index(line, defundef) - 1)
68017   if (D_is_set[macro]) {
68018     # Preserve the white space surrounding the "#".
68019     print prefix "define", macro P[macro] D[macro]
68020     next
68021   } else {
68022     # Replace #undef with comments.  This is necessary, for example,
68023     # in the case of _POSIX_SOURCE, which is predefined and required
68024     # on some systems where configure will not decide to define it.
68025     if (defundef == "undef") {
68026       print "/*", prefix defundef, macro, "*/"
68027       next
68028     }
68029   }
68030 }
68031 { print }
68032 _ACAWK
68033 _ACEOF
68034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68035   as_fn_error "could not setup config headers machinery" "$LINENO" 5
68036 fi # test -n "$CONFIG_HEADERS"
68037
68038
68039 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
68040 shift
68041 for ac_tag
68042 do
68043   case $ac_tag in
68044   :[FHLC]) ac_mode=$ac_tag; continue;;
68045   esac
68046   case $ac_mode$ac_tag in
68047   :[FHL]*:*);;
68048   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
68049   :[FH]-) ac_tag=-:-;;
68050   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
68051   esac
68052   ac_save_IFS=$IFS
68053   IFS=:
68054   set x $ac_tag
68055   IFS=$ac_save_IFS
68056   shift
68057   ac_file=$1
68058   shift
68059
68060   case $ac_mode in
68061   :L) ac_source=$1;;
68062   :[FH])
68063     ac_file_inputs=
68064     for ac_f
68065     do
68066       case $ac_f in
68067       -) ac_f="$tmp/stdin";;
68068       *) # Look for the file first in the build tree, then in the source tree
68069          # (if the path is not absolute).  The absolute path cannot be DOS-style,
68070          # because $ac_f cannot contain `:'.
68071          test -f "$ac_f" ||
68072            case $ac_f in
68073            [\\/$]*) false;;
68074            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
68075            esac ||
68076            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
68077       esac
68078       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
68079       as_fn_append ac_file_inputs " '$ac_f'"
68080     done
68081
68082     # Let's still pretend it is `configure' which instantiates (i.e., don't
68083     # use $as_me), people would be surprised to read:
68084     #    /* config.h.  Generated by config.status.  */
68085     configure_input='Generated from '`
68086           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
68087         `' by configure.'
68088     if test x"$ac_file" != x-; then
68089       configure_input="$ac_file.  $configure_input"
68090       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
68091 $as_echo "$as_me: creating $ac_file" >&6;}
68092     fi
68093     # Neutralize special characters interpreted by sed in replacement strings.
68094     case $configure_input in #(
68095     *\&* | *\|* | *\\* )
68096        ac_sed_conf_input=`$as_echo "$configure_input" |
68097        sed 's/[\\\\&|]/\\\\&/g'`;; #(
68098     *) ac_sed_conf_input=$configure_input;;
68099     esac
68100
68101     case $ac_tag in
68102     *:-:* | *:-) cat >"$tmp/stdin" \
68103       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
68104     esac
68105     ;;
68106   esac
68107
68108   ac_dir=`$as_dirname -- "$ac_file" ||
68109 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68110          X"$ac_file" : 'X\(//\)[^/]' \| \
68111          X"$ac_file" : 'X\(//\)$' \| \
68112          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
68113 $as_echo X"$ac_file" |
68114     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68115             s//\1/
68116             q
68117           }
68118           /^X\(\/\/\)[^/].*/{
68119             s//\1/
68120             q
68121           }
68122           /^X\(\/\/\)$/{
68123             s//\1/
68124             q
68125           }
68126           /^X\(\/\).*/{
68127             s//\1/
68128             q
68129           }
68130           s/.*/./; q'`
68131   as_dir="$ac_dir"; as_fn_mkdir_p
68132   ac_builddir=.
68133
68134 case "$ac_dir" in
68135 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
68136 *)
68137   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
68138   # A ".." for each directory in $ac_dir_suffix.
68139   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
68140   case $ac_top_builddir_sub in
68141   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
68142   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
68143   esac ;;
68144 esac
68145 ac_abs_top_builddir=$ac_pwd
68146 ac_abs_builddir=$ac_pwd$ac_dir_suffix
68147 # for backward compatibility:
68148 ac_top_builddir=$ac_top_build_prefix
68149
68150 case $srcdir in
68151   .)  # We are building in place.
68152     ac_srcdir=.
68153     ac_top_srcdir=$ac_top_builddir_sub
68154     ac_abs_top_srcdir=$ac_pwd ;;
68155   [\\/]* | ?:[\\/]* )  # Absolute name.
68156     ac_srcdir=$srcdir$ac_dir_suffix;
68157     ac_top_srcdir=$srcdir
68158     ac_abs_top_srcdir=$srcdir ;;
68159   *) # Relative name.
68160     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
68161     ac_top_srcdir=$ac_top_build_prefix$srcdir
68162     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
68163 esac
68164 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
68165
68166
68167   case $ac_mode in
68168   :F)
68169   #
68170   # CONFIG_FILE
68171   #
68172
68173   case $INSTALL in
68174   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
68175   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
68176   esac
68177   ac_MKDIR_P=$MKDIR_P
68178   case $MKDIR_P in
68179   [\\/$]* | ?:[\\/]* ) ;;
68180   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
68181   esac
68182 _ACEOF
68183
68184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68185 # If the template does not know about datarootdir, expand it.
68186 # FIXME: This hack should be removed a few years after 2.60.
68187 ac_datarootdir_hack=; ac_datarootdir_seen=
68188 ac_sed_dataroot='
68189 /datarootdir/ {
68190   p
68191   q
68192 }
68193 /@datadir@/p
68194 /@docdir@/p
68195 /@infodir@/p
68196 /@localedir@/p
68197 /@mandir@/p'
68198 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
68199 *datarootdir*) ac_datarootdir_seen=yes;;
68200 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
68201   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
68202 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
68203 _ACEOF
68204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68205   ac_datarootdir_hack='
68206   s&@datadir@&$datadir&g
68207   s&@docdir@&$docdir&g
68208   s&@infodir@&$infodir&g
68209   s&@localedir@&$localedir&g
68210   s&@mandir@&$mandir&g
68211   s&\\\${datarootdir}&$datarootdir&g' ;;
68212 esac
68213 _ACEOF
68214
68215 # Neutralize VPATH when `$srcdir' = `.'.
68216 # Shell code in configure.ac might set extrasub.
68217 # FIXME: do we really want to maintain this feature?
68218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68219 ac_sed_extra="$ac_vpsub
68220 $extrasub
68221 _ACEOF
68222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68223 :t
68224 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
68225 s|@configure_input@|$ac_sed_conf_input|;t t
68226 s&@top_builddir@&$ac_top_builddir_sub&;t t
68227 s&@top_build_prefix@&$ac_top_build_prefix&;t t
68228 s&@srcdir@&$ac_srcdir&;t t
68229 s&@abs_srcdir@&$ac_abs_srcdir&;t t
68230 s&@top_srcdir@&$ac_top_srcdir&;t t
68231 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
68232 s&@builddir@&$ac_builddir&;t t
68233 s&@abs_builddir@&$ac_abs_builddir&;t t
68234 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
68235 s&@INSTALL@&$ac_INSTALL&;t t
68236 s&@MKDIR_P@&$ac_MKDIR_P&;t t
68237 $ac_datarootdir_hack
68238 "
68239 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
68240   || as_fn_error "could not create $ac_file" "$LINENO" 5
68241
68242 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
68243   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
68244   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
68245   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68246 which seems to be undefined.  Please make sure it is defined." >&5
68247 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68248 which seems to be undefined.  Please make sure it is defined." >&2;}
68249
68250   rm -f "$tmp/stdin"
68251   case $ac_file in
68252   -) cat "$tmp/out" && rm -f "$tmp/out";;
68253   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
68254   esac \
68255   || as_fn_error "could not create $ac_file" "$LINENO" 5
68256  ;;
68257   :H)
68258   #
68259   # CONFIG_HEADER
68260   #
68261   if test x"$ac_file" != x-; then
68262     {
68263       $as_echo "/* $configure_input  */" \
68264       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
68265     } >"$tmp/config.h" \
68266       || as_fn_error "could not create $ac_file" "$LINENO" 5
68267     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
68268       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
68269 $as_echo "$as_me: $ac_file is unchanged" >&6;}
68270     else
68271       rm -f "$ac_file"
68272       mv "$tmp/config.h" "$ac_file" \
68273         || as_fn_error "could not create $ac_file" "$LINENO" 5
68274     fi
68275   else
68276     $as_echo "/* $configure_input  */" \
68277       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
68278       || as_fn_error "could not create -" "$LINENO" 5
68279   fi
68280 # Compute "$ac_file"'s index in $config_headers.
68281 _am_arg="$ac_file"
68282 _am_stamp_count=1
68283 for _am_header in $config_headers :; do
68284   case $_am_header in
68285     $_am_arg | $_am_arg:* )
68286       break ;;
68287     * )
68288       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
68289   esac
68290 done
68291 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
68292 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68293          X"$_am_arg" : 'X\(//\)[^/]' \| \
68294          X"$_am_arg" : 'X\(//\)$' \| \
68295          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
68296 $as_echo X"$_am_arg" |
68297     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68298             s//\1/
68299             q
68300           }
68301           /^X\(\/\/\)[^/].*/{
68302             s//\1/
68303             q
68304           }
68305           /^X\(\/\/\)$/{
68306             s//\1/
68307             q
68308           }
68309           /^X\(\/\).*/{
68310             s//\1/
68311             q
68312           }
68313           s/.*/./; q'`/stamp-h$_am_stamp_count
68314  ;;
68315
68316   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
68317 $as_echo "$as_me: executing $ac_file commands" >&6;}
68318  ;;
68319   esac
68320
68321
68322   case $ac_file$ac_mode in
68323     "default-1":C)
68324 # Only add multilib support code if we just rebuilt the top-level
68325 # Makefile.
68326 case " $CONFIG_FILES " in
68327  *" Makefile "*)
68328    ac_file=Makefile . ${multi_basedir}/config-ml.in
68329    ;;
68330 esac ;;
68331     "libtool":C)
68332
68333     # See if we are running on zsh, and set the options which allow our
68334     # commands through without removal of \ escapes.
68335     if test -n "${ZSH_VERSION+set}" ; then
68336       setopt NO_GLOB_SUBST
68337     fi
68338
68339     cfgfile="${ofile}T"
68340     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
68341     $RM "$cfgfile"
68342
68343     cat <<_LT_EOF >> "$cfgfile"
68344 #! $SHELL
68345
68346 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
68347 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
68348 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
68349 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
68350 #
68351 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
68352 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
68353 #   Written by Gordon Matzigkeit, 1996
68354 #
68355 #   This file is part of GNU Libtool.
68356 #
68357 # GNU Libtool is free software; you can redistribute it and/or
68358 # modify it under the terms of the GNU General Public License as
68359 # published by the Free Software Foundation; either version 2 of
68360 # the License, or (at your option) any later version.
68361 #
68362 # As a special exception to the GNU General Public License,
68363 # if you distribute this file as part of a program or library that
68364 # is built using GNU Libtool, you may include this file under the
68365 # same distribution terms that you use for the rest of that program.
68366 #
68367 # GNU Libtool is distributed in the hope that it will be useful,
68368 # but WITHOUT ANY WARRANTY; without even the implied warranty of
68369 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
68370 # GNU General Public License for more details.
68371 #
68372 # You should have received a copy of the GNU General Public License
68373 # along with GNU Libtool; see the file COPYING.  If not, a copy
68374 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
68375 # obtained by writing to the Free Software Foundation, Inc.,
68376 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68377
68378
68379 # The names of the tagged configurations supported by this script.
68380 available_tags="CXX "
68381
68382 # ### BEGIN LIBTOOL CONFIG
68383
68384 # Which release of libtool.m4 was used?
68385 macro_version=$macro_version
68386 macro_revision=$macro_revision
68387
68388 # Whether or not to build shared libraries.
68389 build_libtool_libs=$enable_shared
68390
68391 # Whether or not to build static libraries.
68392 build_old_libs=$enable_static
68393
68394 # What type of objects to build.
68395 pic_mode=$pic_mode
68396
68397 # Whether or not to optimize for fast installation.
68398 fast_install=$enable_fast_install
68399
68400 # Shell to use when invoking shell scripts.
68401 SHELL=$lt_SHELL
68402
68403 # An echo program that protects backslashes.
68404 ECHO=$lt_ECHO
68405
68406 # The host system.
68407 host_alias=$host_alias
68408 host=$host
68409 host_os=$host_os
68410
68411 # The build system.
68412 build_alias=$build_alias
68413 build=$build
68414 build_os=$build_os
68415
68416 # A sed program that does not truncate output.
68417 SED=$lt_SED
68418
68419 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
68420 Xsed="\$SED -e 1s/^X//"
68421
68422 # A grep program that handles long lines.
68423 GREP=$lt_GREP
68424
68425 # An ERE matcher.
68426 EGREP=$lt_EGREP
68427
68428 # A literal string matcher.
68429 FGREP=$lt_FGREP
68430
68431 # A BSD- or MS-compatible name lister.
68432 NM=$lt_NM
68433
68434 # Whether we need soft or hard links.
68435 LN_S=$lt_LN_S
68436
68437 # What is the maximum length of a command?
68438 max_cmd_len=$max_cmd_len
68439
68440 # Object file suffix (normally "o").
68441 objext=$ac_objext
68442
68443 # Executable file suffix (normally "").
68444 exeext=$exeext
68445
68446 # whether the shell understands "unset".
68447 lt_unset=$lt_unset
68448
68449 # turn spaces into newlines.
68450 SP2NL=$lt_lt_SP2NL
68451
68452 # turn newlines into spaces.
68453 NL2SP=$lt_lt_NL2SP
68454
68455 # An object symbol dumper.
68456 OBJDUMP=$lt_OBJDUMP
68457
68458 # Method to check whether dependent libraries are shared objects.
68459 deplibs_check_method=$lt_deplibs_check_method
68460
68461 # Command to use when deplibs_check_method == "file_magic".
68462 file_magic_cmd=$lt_file_magic_cmd
68463
68464 # The archiver.
68465 AR=$lt_AR
68466 AR_FLAGS=$lt_AR_FLAGS
68467
68468 # A symbol stripping program.
68469 STRIP=$lt_STRIP
68470
68471 # Commands used to install an old-style archive.
68472 RANLIB=$lt_RANLIB
68473 old_postinstall_cmds=$lt_old_postinstall_cmds
68474 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68475
68476 # Whether to use a lock for old archive extraction.
68477 lock_old_archive_extraction=$lock_old_archive_extraction
68478
68479 # A C compiler.
68480 LTCC=$lt_CC
68481
68482 # LTCC compiler flags.
68483 LTCFLAGS=$lt_CFLAGS
68484
68485 # Take the output of nm and produce a listing of raw symbols and C names.
68486 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68487
68488 # Transform the output of nm in a proper C declaration.
68489 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68490
68491 # Transform the output of nm in a C name address pair.
68492 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68493
68494 # Transform the output of nm in a C name address pair when lib prefix is needed.
68495 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68496
68497 # The name of the directory that contains temporary libtool files.
68498 objdir=$objdir
68499
68500 # Used to examine libraries when file_magic_cmd begins with "file".
68501 MAGIC_CMD=$MAGIC_CMD
68502
68503 # Must we lock files when doing compilation?
68504 need_locks=$lt_need_locks
68505
68506 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68507 DSYMUTIL=$lt_DSYMUTIL
68508
68509 # Tool to change global to local symbols on Mac OS X.
68510 NMEDIT=$lt_NMEDIT
68511
68512 # Tool to manipulate fat objects and archives on Mac OS X.
68513 LIPO=$lt_LIPO
68514
68515 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68516 OTOOL=$lt_OTOOL
68517
68518 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68519 OTOOL64=$lt_OTOOL64
68520
68521 # Old archive suffix (normally "a").
68522 libext=$libext
68523
68524 # Shared library suffix (normally ".so").
68525 shrext_cmds=$lt_shrext_cmds
68526
68527 # The commands to extract the exported symbol list from a shared archive.
68528 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68529
68530 # Variables whose values should be saved in libtool wrapper scripts and
68531 # restored at link time.
68532 variables_saved_for_relink=$lt_variables_saved_for_relink
68533
68534 # Do we need the "lib" prefix for modules?
68535 need_lib_prefix=$need_lib_prefix
68536
68537 # Do we need a version for libraries?
68538 need_version=$need_version
68539
68540 # Library versioning type.
68541 version_type=$version_type
68542
68543 # Shared library runtime path variable.
68544 runpath_var=$runpath_var
68545
68546 # Shared library path variable.
68547 shlibpath_var=$shlibpath_var
68548
68549 # Is shlibpath searched before the hard-coded library search path?
68550 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68551
68552 # Format of library name prefix.
68553 libname_spec=$lt_libname_spec
68554
68555 # List of archive names.  First name is the real one, the rest are links.
68556 # The last name is the one that the linker finds with -lNAME
68557 library_names_spec=$lt_library_names_spec
68558
68559 # The coded name of the library, if different from the real name.
68560 soname_spec=$lt_soname_spec
68561
68562 # Permission mode override for installation of shared libraries.
68563 install_override_mode=$lt_install_override_mode
68564
68565 # Command to use after installation of a shared archive.
68566 postinstall_cmds=$lt_postinstall_cmds
68567
68568 # Command to use after uninstallation of a shared archive.
68569 postuninstall_cmds=$lt_postuninstall_cmds
68570
68571 # Commands used to finish a libtool library installation in a directory.
68572 finish_cmds=$lt_finish_cmds
68573
68574 # As "finish_cmds", except a single script fragment to be evaled but
68575 # not shown.
68576 finish_eval=$lt_finish_eval
68577
68578 # Whether we should hardcode library paths into libraries.
68579 hardcode_into_libs=$hardcode_into_libs
68580
68581 # Compile-time system search path for libraries.
68582 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68583
68584 # Run-time system search path for libraries.
68585 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68586
68587 # Whether dlopen is supported.
68588 dlopen_support=$enable_dlopen
68589
68590 # Whether dlopen of programs is supported.
68591 dlopen_self=$enable_dlopen_self
68592
68593 # Whether dlopen of statically linked programs is supported.
68594 dlopen_self_static=$enable_dlopen_self_static
68595
68596 # Commands to strip libraries.
68597 old_striplib=$lt_old_striplib
68598 striplib=$lt_striplib
68599
68600
68601 # The linker used to build libraries.
68602 LD=$lt_LD
68603
68604 # How to create reloadable object files.
68605 reload_flag=$lt_reload_flag
68606 reload_cmds=$lt_reload_cmds
68607
68608 # Commands used to build an old-style archive.
68609 old_archive_cmds=$lt_old_archive_cmds
68610
68611 # A language specific compiler.
68612 CC=$lt_compiler
68613
68614 # Is the compiler the GNU compiler?
68615 with_gcc=$GCC
68616
68617 # Compiler flag to turn off builtin functions.
68618 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68619
68620 # How to pass a linker flag through the compiler.
68621 wl=$lt_lt_prog_compiler_wl
68622
68623 # Additional compiler flags for building library objects.
68624 pic_flag=$lt_lt_prog_compiler_pic
68625
68626 # Compiler flag to prevent dynamic linking.
68627 link_static_flag=$lt_lt_prog_compiler_static
68628
68629 # Does compiler simultaneously support -c and -o options?
68630 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68631
68632 # Whether or not to add -lc for building shared libraries.
68633 build_libtool_need_lc=$archive_cmds_need_lc
68634
68635 # Whether or not to disallow shared libs when runtime libs are static.
68636 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68637
68638 # Compiler flag to allow reflexive dlopens.
68639 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68640
68641 # Compiler flag to generate shared objects directly from archives.
68642 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68643
68644 # Whether the compiler copes with passing no objects directly.
68645 compiler_needs_object=$lt_compiler_needs_object
68646
68647 # Create an old-style archive from a shared archive.
68648 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68649
68650 # Create a temporary old-style archive to link instead of a shared archive.
68651 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68652
68653 # Commands used to build a shared archive.
68654 archive_cmds=$lt_archive_cmds
68655 archive_expsym_cmds=$lt_archive_expsym_cmds
68656
68657 # Commands used to build a loadable module if different from building
68658 # a shared archive.
68659 module_cmds=$lt_module_cmds
68660 module_expsym_cmds=$lt_module_expsym_cmds
68661
68662 # Whether we are building with GNU ld or not.
68663 with_gnu_ld=$lt_with_gnu_ld
68664
68665 # Flag that allows shared libraries with undefined symbols to be built.
68666 allow_undefined_flag=$lt_allow_undefined_flag
68667
68668 # Flag that enforces no undefined symbols.
68669 no_undefined_flag=$lt_no_undefined_flag
68670
68671 # Flag to hardcode \$libdir into a binary during linking.
68672 # This must work even if \$libdir does not exist
68673 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68674
68675 # If ld is used when linking, flag to hardcode \$libdir into a binary
68676 # during linking.  This must work even if \$libdir does not exist.
68677 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68678
68679 # Whether we need a single "-rpath" flag with a separated argument.
68680 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68681
68682 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68683 # DIR into the resulting binary.
68684 hardcode_direct=$hardcode_direct
68685
68686 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68687 # DIR into the resulting binary and the resulting library dependency is
68688 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68689 # library is relocated.
68690 hardcode_direct_absolute=$hardcode_direct_absolute
68691
68692 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68693 # into the resulting binary.
68694 hardcode_minus_L=$hardcode_minus_L
68695
68696 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68697 # into the resulting binary.
68698 hardcode_shlibpath_var=$hardcode_shlibpath_var
68699
68700 # Set to "yes" if building a shared library automatically hardcodes DIR
68701 # into the library and all subsequent libraries and executables linked
68702 # against it.
68703 hardcode_automatic=$hardcode_automatic
68704
68705 # Set to yes if linker adds runtime paths of dependent libraries
68706 # to runtime path list.
68707 inherit_rpath=$inherit_rpath
68708
68709 # Whether libtool must link a program against all its dependency libraries.
68710 link_all_deplibs=$link_all_deplibs
68711
68712 # Fix the shell variable \$srcfile for the compiler.
68713 fix_srcfile_path=$lt_fix_srcfile_path
68714
68715 # Set to "yes" if exported symbols are required.
68716 always_export_symbols=$always_export_symbols
68717
68718 # The commands to list exported symbols.
68719 export_symbols_cmds=$lt_export_symbols_cmds
68720
68721 # Symbols that should not be listed in the preloaded symbols.
68722 exclude_expsyms=$lt_exclude_expsyms
68723
68724 # Symbols that must always be exported.
68725 include_expsyms=$lt_include_expsyms
68726
68727 # Commands necessary for linking programs (against libraries) with templates.
68728 prelink_cmds=$lt_prelink_cmds
68729
68730 # Specify filename containing input files.
68731 file_list_spec=$lt_file_list_spec
68732
68733 # How to hardcode a shared library path into an executable.
68734 hardcode_action=$hardcode_action
68735
68736 # The directories searched by this compiler when creating a shared library.
68737 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68738
68739 # Dependencies to place before and after the objects being linked to
68740 # create a shared library.
68741 predep_objects=$lt_predep_objects
68742 postdep_objects=$lt_postdep_objects
68743 predeps=$lt_predeps
68744 postdeps=$lt_postdeps
68745
68746 # The library search path used internally by the compiler when linking
68747 # a shared library.
68748 compiler_lib_search_path=$lt_compiler_lib_search_path
68749
68750 # ### END LIBTOOL CONFIG
68751
68752 _LT_EOF
68753
68754   case $host_os in
68755   aix3*)
68756     cat <<\_LT_EOF >> "$cfgfile"
68757 # AIX sometimes has problems with the GCC collect2 program.  For some
68758 # reason, if we set the COLLECT_NAMES environment variable, the problems
68759 # vanish in a puff of smoke.
68760 if test "X${COLLECT_NAMES+set}" != Xset; then
68761   COLLECT_NAMES=
68762   export COLLECT_NAMES
68763 fi
68764 _LT_EOF
68765     ;;
68766   esac
68767
68768
68769 ltmain="$ac_aux_dir/ltmain.sh"
68770
68771
68772   # We use sed instead of cat because bash on DJGPP gets confused if
68773   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
68774   # text mode, it properly converts lines to CR/LF.  This bash problem
68775   # is reportedly fixed, but why not run on old versions too?
68776   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68777     || (rm -f "$cfgfile"; exit 1)
68778
68779   case $xsi_shell in
68780   yes)
68781     cat << \_LT_EOF >> "$cfgfile"
68782
68783 # func_dirname file append nondir_replacement
68784 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68785 # otherwise set result to NONDIR_REPLACEMENT.
68786 func_dirname ()
68787 {
68788   case ${1} in
68789     */*) func_dirname_result="${1%/*}${2}" ;;
68790     *  ) func_dirname_result="${3}" ;;
68791   esac
68792 }
68793
68794 # func_basename file
68795 func_basename ()
68796 {
68797   func_basename_result="${1##*/}"
68798 }
68799
68800 # func_dirname_and_basename file append nondir_replacement
68801 # perform func_basename and func_dirname in a single function
68802 # call:
68803 #   dirname:  Compute the dirname of FILE.  If nonempty,
68804 #             add APPEND to the result, otherwise set result
68805 #             to NONDIR_REPLACEMENT.
68806 #             value returned in "$func_dirname_result"
68807 #   basename: Compute filename of FILE.
68808 #             value retuned in "$func_basename_result"
68809 # Implementation must be kept synchronized with func_dirname
68810 # and func_basename. For efficiency, we do not delegate to
68811 # those functions but instead duplicate the functionality here.
68812 func_dirname_and_basename ()
68813 {
68814   case ${1} in
68815     */*) func_dirname_result="${1%/*}${2}" ;;
68816     *  ) func_dirname_result="${3}" ;;
68817   esac
68818   func_basename_result="${1##*/}"
68819 }
68820
68821 # func_stripname prefix suffix name
68822 # strip PREFIX and SUFFIX off of NAME.
68823 # PREFIX and SUFFIX must not contain globbing or regex special
68824 # characters, hashes, percent signs, but SUFFIX may contain a leading
68825 # dot (in which case that matches only a dot).
68826 func_stripname ()
68827 {
68828   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68829   # positional parameters, so assign one to ordinary parameter first.
68830   func_stripname_result=${3}
68831   func_stripname_result=${func_stripname_result#"${1}"}
68832   func_stripname_result=${func_stripname_result%"${2}"}
68833 }
68834
68835 # func_opt_split
68836 func_opt_split ()
68837 {
68838   func_opt_split_opt=${1%%=*}
68839   func_opt_split_arg=${1#*=}
68840 }
68841
68842 # func_lo2o object
68843 func_lo2o ()
68844 {
68845   case ${1} in
68846     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68847     *)    func_lo2o_result=${1} ;;
68848   esac
68849 }
68850
68851 # func_xform libobj-or-source
68852 func_xform ()
68853 {
68854   func_xform_result=${1%.*}.lo
68855 }
68856
68857 # func_arith arithmetic-term...
68858 func_arith ()
68859 {
68860   func_arith_result=$(( $* ))
68861 }
68862
68863 # func_len string
68864 # STRING may not start with a hyphen.
68865 func_len ()
68866 {
68867   func_len_result=${#1}
68868 }
68869
68870 _LT_EOF
68871     ;;
68872   *) # Bourne compatible functions.
68873     cat << \_LT_EOF >> "$cfgfile"
68874
68875 # func_dirname file append nondir_replacement
68876 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68877 # otherwise set result to NONDIR_REPLACEMENT.
68878 func_dirname ()
68879 {
68880   # Extract subdirectory from the argument.
68881   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68882   if test "X$func_dirname_result" = "X${1}"; then
68883     func_dirname_result="${3}"
68884   else
68885     func_dirname_result="$func_dirname_result${2}"
68886   fi
68887 }
68888
68889 # func_basename file
68890 func_basename ()
68891 {
68892   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68893 }
68894
68895
68896 # func_stripname prefix suffix name
68897 # strip PREFIX and SUFFIX off of NAME.
68898 # PREFIX and SUFFIX must not contain globbing or regex special
68899 # characters, hashes, percent signs, but SUFFIX may contain a leading
68900 # dot (in which case that matches only a dot).
68901 # func_strip_suffix prefix name
68902 func_stripname ()
68903 {
68904   case ${2} in
68905     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68906     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68907   esac
68908 }
68909
68910 # sed scripts:
68911 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68912 my_sed_long_arg='1s/^-[^=]*=//'
68913
68914 # func_opt_split
68915 func_opt_split ()
68916 {
68917   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68918   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68919 }
68920
68921 # func_lo2o object
68922 func_lo2o ()
68923 {
68924   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68925 }
68926
68927 # func_xform libobj-or-source
68928 func_xform ()
68929 {
68930   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68931 }
68932
68933 # func_arith arithmetic-term...
68934 func_arith ()
68935 {
68936   func_arith_result=`expr "$@"`
68937 }
68938
68939 # func_len string
68940 # STRING may not start with a hyphen.
68941 func_len ()
68942 {
68943   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68944 }
68945
68946 _LT_EOF
68947 esac
68948
68949 case $lt_shell_append in
68950   yes)
68951     cat << \_LT_EOF >> "$cfgfile"
68952
68953 # func_append var value
68954 # Append VALUE to the end of shell variable VAR.
68955 func_append ()
68956 {
68957   eval "$1+=\$2"
68958 }
68959 _LT_EOF
68960     ;;
68961   *)
68962     cat << \_LT_EOF >> "$cfgfile"
68963
68964 # func_append var value
68965 # Append VALUE to the end of shell variable VAR.
68966 func_append ()
68967 {
68968   eval "$1=\$$1\$2"
68969 }
68970
68971 _LT_EOF
68972     ;;
68973   esac
68974
68975
68976   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68977     || (rm -f "$cfgfile"; exit 1)
68978
68979   mv -f "$cfgfile" "$ofile" ||
68980     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68981   chmod +x "$ofile"
68982
68983
68984     cat <<_LT_EOF >> "$ofile"
68985
68986 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68987
68988 # The linker used to build libraries.
68989 LD=$lt_LD_CXX
68990
68991 # How to create reloadable object files.
68992 reload_flag=$lt_reload_flag_CXX
68993 reload_cmds=$lt_reload_cmds_CXX
68994
68995 # Commands used to build an old-style archive.
68996 old_archive_cmds=$lt_old_archive_cmds_CXX
68997
68998 # A language specific compiler.
68999 CC=$lt_compiler_CXX
69000
69001 # Is the compiler the GNU compiler?
69002 with_gcc=$GCC_CXX
69003
69004 # Compiler flag to turn off builtin functions.
69005 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
69006
69007 # How to pass a linker flag through the compiler.
69008 wl=$lt_lt_prog_compiler_wl_CXX
69009
69010 # Additional compiler flags for building library objects.
69011 pic_flag=$lt_lt_prog_compiler_pic_CXX
69012
69013 # Compiler flag to prevent dynamic linking.
69014 link_static_flag=$lt_lt_prog_compiler_static_CXX
69015
69016 # Does compiler simultaneously support -c and -o options?
69017 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
69018
69019 # Whether or not to add -lc for building shared libraries.
69020 build_libtool_need_lc=$archive_cmds_need_lc_CXX
69021
69022 # Whether or not to disallow shared libs when runtime libs are static.
69023 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
69024
69025 # Compiler flag to allow reflexive dlopens.
69026 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
69027
69028 # Compiler flag to generate shared objects directly from archives.
69029 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
69030
69031 # Whether the compiler copes with passing no objects directly.
69032 compiler_needs_object=$lt_compiler_needs_object_CXX
69033
69034 # Create an old-style archive from a shared archive.
69035 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
69036
69037 # Create a temporary old-style archive to link instead of a shared archive.
69038 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
69039
69040 # Commands used to build a shared archive.
69041 archive_cmds=$lt_archive_cmds_CXX
69042 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
69043
69044 # Commands used to build a loadable module if different from building
69045 # a shared archive.
69046 module_cmds=$lt_module_cmds_CXX
69047 module_expsym_cmds=$lt_module_expsym_cmds_CXX
69048
69049 # Whether we are building with GNU ld or not.
69050 with_gnu_ld=$lt_with_gnu_ld_CXX
69051
69052 # Flag that allows shared libraries with undefined symbols to be built.
69053 allow_undefined_flag=$lt_allow_undefined_flag_CXX
69054
69055 # Flag that enforces no undefined symbols.
69056 no_undefined_flag=$lt_no_undefined_flag_CXX
69057
69058 # Flag to hardcode \$libdir into a binary during linking.
69059 # This must work even if \$libdir does not exist
69060 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
69061
69062 # If ld is used when linking, flag to hardcode \$libdir into a binary
69063 # during linking.  This must work even if \$libdir does not exist.
69064 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
69065
69066 # Whether we need a single "-rpath" flag with a separated argument.
69067 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
69068
69069 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
69070 # DIR into the resulting binary.
69071 hardcode_direct=$hardcode_direct_CXX
69072
69073 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
69074 # DIR into the resulting binary and the resulting library dependency is
69075 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
69076 # library is relocated.
69077 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
69078
69079 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
69080 # into the resulting binary.
69081 hardcode_minus_L=$hardcode_minus_L_CXX
69082
69083 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
69084 # into the resulting binary.
69085 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
69086
69087 # Set to "yes" if building a shared library automatically hardcodes DIR
69088 # into the library and all subsequent libraries and executables linked
69089 # against it.
69090 hardcode_automatic=$hardcode_automatic_CXX
69091
69092 # Set to yes if linker adds runtime paths of dependent libraries
69093 # to runtime path list.
69094 inherit_rpath=$inherit_rpath_CXX
69095
69096 # Whether libtool must link a program against all its dependency libraries.
69097 link_all_deplibs=$link_all_deplibs_CXX
69098
69099 # Fix the shell variable \$srcfile for the compiler.
69100 fix_srcfile_path=$lt_fix_srcfile_path_CXX
69101
69102 # Set to "yes" if exported symbols are required.
69103 always_export_symbols=$always_export_symbols_CXX
69104
69105 # The commands to list exported symbols.
69106 export_symbols_cmds=$lt_export_symbols_cmds_CXX
69107
69108 # Symbols that should not be listed in the preloaded symbols.
69109 exclude_expsyms=$lt_exclude_expsyms_CXX
69110
69111 # Symbols that must always be exported.
69112 include_expsyms=$lt_include_expsyms_CXX
69113
69114 # Commands necessary for linking programs (against libraries) with templates.
69115 prelink_cmds=$lt_prelink_cmds_CXX
69116
69117 # Specify filename containing input files.
69118 file_list_spec=$lt_file_list_spec_CXX
69119
69120 # How to hardcode a shared library path into an executable.
69121 hardcode_action=$hardcode_action_CXX
69122
69123 # The directories searched by this compiler when creating a shared library.
69124 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
69125
69126 # Dependencies to place before and after the objects being linked to
69127 # create a shared library.
69128 predep_objects=$lt_predep_objects_CXX
69129 postdep_objects=$lt_postdep_objects_CXX
69130 predeps=$lt_predeps_CXX
69131 postdeps=$lt_postdeps_CXX
69132
69133 # The library search path used internally by the compiler when linking
69134 # a shared library.
69135 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
69136
69137 # ### END LIBTOOL TAG CONFIG: CXX
69138 _LT_EOF
69139
69140  ;;
69141     "include/gstdint.h":C)
69142 if test "$GCC" = yes; then
69143   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
69144 else
69145   echo "/* generated for $CC */" > tmp-stdint.h
69146 fi
69147
69148 sed 's/^ *//' >> tmp-stdint.h <<EOF
69149
69150   #ifndef GCC_GENERATED_STDINT_H
69151   #define GCC_GENERATED_STDINT_H 1
69152
69153   #include <sys/types.h>
69154 EOF
69155
69156 if test "$acx_cv_header_stdint" != stdint.h; then
69157   echo "#include <stddef.h>" >> tmp-stdint.h
69158 fi
69159 if test "$acx_cv_header_stdint" != stddef.h; then
69160   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
69161 fi
69162
69163 sed 's/^ *//' >> tmp-stdint.h <<EOF
69164   /* glibc uses these symbols as guards to prevent redefinitions.  */
69165   #ifdef __int8_t_defined
69166   #define _INT8_T
69167   #define _INT16_T
69168   #define _INT32_T
69169   #endif
69170   #ifdef __uint32_t_defined
69171   #define _UINT32_T
69172   #endif
69173
69174 EOF
69175
69176 # ----------------- done header, emit basic int types -------------
69177 if test "$acx_cv_header_stdint" = stddef.h; then
69178   sed 's/^ *//' >> tmp-stdint.h <<EOF
69179
69180     #ifndef _UINT8_T
69181     #define _UINT8_T
69182     #ifndef __uint8_t_defined
69183     #define __uint8_t_defined
69184     #ifndef uint8_t
69185     typedef unsigned $acx_cv_type_int8_t uint8_t;
69186     #endif
69187     #endif
69188     #endif
69189
69190     #ifndef _UINT16_T
69191     #define _UINT16_T
69192     #ifndef __uint16_t_defined
69193     #define __uint16_t_defined
69194     #ifndef uint16_t
69195     typedef unsigned $acx_cv_type_int16_t uint16_t;
69196     #endif
69197     #endif
69198     #endif
69199
69200     #ifndef _UINT32_T
69201     #define _UINT32_T
69202     #ifndef __uint32_t_defined
69203     #define __uint32_t_defined
69204     #ifndef uint32_t
69205     typedef unsigned $acx_cv_type_int32_t uint32_t;
69206     #endif
69207     #endif
69208     #endif
69209
69210     #ifndef _INT8_T
69211     #define _INT8_T
69212     #ifndef __int8_t_defined
69213     #define __int8_t_defined
69214     #ifndef int8_t
69215     typedef $acx_cv_type_int8_t int8_t;
69216     #endif
69217     #endif
69218     #endif
69219
69220     #ifndef _INT16_T
69221     #define _INT16_T
69222     #ifndef __int16_t_defined
69223     #define __int16_t_defined
69224     #ifndef int16_t
69225     typedef $acx_cv_type_int16_t int16_t;
69226     #endif
69227     #endif
69228     #endif
69229
69230     #ifndef _INT32_T
69231     #define _INT32_T
69232     #ifndef __int32_t_defined
69233     #define __int32_t_defined
69234     #ifndef int32_t
69235     typedef $acx_cv_type_int32_t int32_t;
69236     #endif
69237     #endif
69238     #endif
69239 EOF
69240 elif test "$ac_cv_type_u_int32_t" = yes; then
69241   sed 's/^ *//' >> tmp-stdint.h <<EOF
69242
69243     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
69244     #ifndef _INT8_T
69245     #define _INT8_T
69246     #endif
69247     #ifndef _INT16_T
69248     #define _INT16_T
69249     #endif
69250     #ifndef _INT32_T
69251     #define _INT32_T
69252     #endif
69253
69254     #ifndef _UINT8_T
69255     #define _UINT8_T
69256     #ifndef __uint8_t_defined
69257     #define __uint8_t_defined
69258     #ifndef uint8_t
69259     typedef u_int8_t uint8_t;
69260     #endif
69261     #endif
69262     #endif
69263
69264     #ifndef _UINT16_T
69265     #define _UINT16_T
69266     #ifndef __uint16_t_defined
69267     #define __uint16_t_defined
69268     #ifndef uint16_t
69269     typedef u_int16_t uint16_t;
69270     #endif
69271     #endif
69272     #endif
69273
69274     #ifndef _UINT32_T
69275     #define _UINT32_T
69276     #ifndef __uint32_t_defined
69277     #define __uint32_t_defined
69278     #ifndef uint32_t
69279     typedef u_int32_t uint32_t;
69280     #endif
69281     #endif
69282     #endif
69283 EOF
69284 else
69285   sed 's/^ *//' >> tmp-stdint.h <<EOF
69286
69287     /* Some systems have guard macros to prevent redefinitions, define them.  */
69288     #ifndef _INT8_T
69289     #define _INT8_T
69290     #endif
69291     #ifndef _INT16_T
69292     #define _INT16_T
69293     #endif
69294     #ifndef _INT32_T
69295     #define _INT32_T
69296     #endif
69297     #ifndef _UINT8_T
69298     #define _UINT8_T
69299     #endif
69300     #ifndef _UINT16_T
69301     #define _UINT16_T
69302     #endif
69303     #ifndef _UINT32_T
69304     #define _UINT32_T
69305     #endif
69306 EOF
69307 fi
69308
69309 # ------------- done basic int types, emit int64_t types ------------
69310 if test "$ac_cv_type_uint64_t" = yes; then
69311   sed 's/^ *//' >> tmp-stdint.h <<EOF
69312
69313     /* system headers have good uint64_t and int64_t */
69314     #ifndef _INT64_T
69315     #define _INT64_T
69316     #endif
69317     #ifndef _UINT64_T
69318     #define _UINT64_T
69319     #endif
69320 EOF
69321 elif test "$ac_cv_type_u_int64_t" = yes; then
69322   sed 's/^ *//' >> tmp-stdint.h <<EOF
69323
69324     /* system headers have an u_int64_t (and int64_t) */
69325     #ifndef _INT64_T
69326     #define _INT64_T
69327     #endif
69328     #ifndef _UINT64_T
69329     #define _UINT64_T
69330     #ifndef __uint64_t_defined
69331     #define __uint64_t_defined
69332     #ifndef uint64_t
69333     typedef u_int64_t uint64_t;
69334     #endif
69335     #endif
69336     #endif
69337 EOF
69338 elif test -n "$acx_cv_type_int64_t"; then
69339   sed 's/^ *//' >> tmp-stdint.h <<EOF
69340
69341     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
69342     #ifndef _INT64_T
69343     #define _INT64_T
69344     #ifndef int64_t
69345     typedef $acx_cv_type_int64_t int64_t;
69346     #endif
69347     #endif
69348     #ifndef _UINT64_T
69349     #define _UINT64_T
69350     #ifndef __uint64_t_defined
69351     #define __uint64_t_defined
69352     #ifndef uint64_t
69353     typedef unsigned $acx_cv_type_int64_t uint64_t;
69354     #endif
69355     #endif
69356     #endif
69357 EOF
69358 else
69359   sed 's/^ *//' >> tmp-stdint.h <<EOF
69360
69361     /* some common heuristics for int64_t, using compiler-specific tests */
69362     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
69363     #ifndef _INT64_T
69364     #define _INT64_T
69365     #ifndef __int64_t_defined
69366     #ifndef int64_t
69367     typedef long long int64_t;
69368     #endif
69369     #endif
69370     #endif
69371     #ifndef _UINT64_T
69372     #define _UINT64_T
69373     #ifndef uint64_t
69374     typedef unsigned long long uint64_t;
69375     #endif
69376     #endif
69377
69378     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
69379     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
69380        does not implement __extension__.  But that compiler doesn't define
69381        __GNUC_MINOR__.  */
69382     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
69383     # define __extension__
69384     # endif
69385
69386     # ifndef _INT64_T
69387     # define _INT64_T
69388     # ifndef int64_t
69389     __extension__ typedef long long int64_t;
69390     # endif
69391     # endif
69392     # ifndef _UINT64_T
69393     # define _UINT64_T
69394     # ifndef uint64_t
69395     __extension__ typedef unsigned long long uint64_t;
69396     # endif
69397     # endif
69398
69399     #elif !defined __STRICT_ANSI__
69400     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
69401
69402     #  ifndef _INT64_T
69403     #  define _INT64_T
69404     #  ifndef int64_t
69405     typedef __int64 int64_t;
69406     #  endif
69407     #  endif
69408     #  ifndef _UINT64_T
69409     #  define _UINT64_T
69410     #  ifndef uint64_t
69411     typedef unsigned __int64 uint64_t;
69412     #  endif
69413     #  endif
69414     # endif /* compiler */
69415
69416     #endif /* ANSI version */
69417 EOF
69418 fi
69419
69420 # ------------- done int64_t types, emit intptr types ------------
69421 if test "$ac_cv_type_uintptr_t" != yes; then
69422   sed 's/^ *//' >> tmp-stdint.h <<EOF
69423
69424     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
69425     #ifndef __uintptr_t_defined
69426     #ifndef uintptr_t
69427     typedef u$acx_cv_type_intptr_t uintptr_t;
69428     #endif
69429     #endif
69430     #ifndef __intptr_t_defined
69431     #ifndef intptr_t
69432     typedef $acx_cv_type_intptr_t  intptr_t;
69433     #endif
69434     #endif
69435 EOF
69436 fi
69437
69438 # ------------- done intptr types, emit int_least types ------------
69439 if test "$ac_cv_type_int_least32_t" != yes; then
69440   sed 's/^ *//' >> tmp-stdint.h <<EOF
69441
69442     /* Define int_least types */
69443     typedef int8_t     int_least8_t;
69444     typedef int16_t    int_least16_t;
69445     typedef int32_t    int_least32_t;
69446     #ifdef _INT64_T
69447     typedef int64_t    int_least64_t;
69448     #endif
69449
69450     typedef uint8_t    uint_least8_t;
69451     typedef uint16_t   uint_least16_t;
69452     typedef uint32_t   uint_least32_t;
69453     #ifdef _UINT64_T
69454     typedef uint64_t   uint_least64_t;
69455     #endif
69456 EOF
69457 fi
69458
69459 # ------------- done intptr types, emit int_fast types ------------
69460 if test "$ac_cv_type_int_fast32_t" != yes; then
69461       sed 's/^ *//' >> tmp-stdint.h <<EOF
69462
69463     /* Define int_fast types.  short is often slow */
69464     typedef int8_t       int_fast8_t;
69465     typedef int          int_fast16_t;
69466     typedef int32_t      int_fast32_t;
69467     #ifdef _INT64_T
69468     typedef int64_t      int_fast64_t;
69469     #endif
69470
69471     typedef uint8_t      uint_fast8_t;
69472     typedef unsigned int uint_fast16_t;
69473     typedef uint32_t     uint_fast32_t;
69474     #ifdef _UINT64_T
69475     typedef uint64_t     uint_fast64_t;
69476     #endif
69477 EOF
69478 fi
69479
69480 if test "$ac_cv_type_uintmax_t" != yes; then
69481   sed 's/^ *//' >> tmp-stdint.h <<EOF
69482
69483     /* Define intmax based on what we found */
69484     #ifndef intmax_t
69485     #ifdef _INT64_T
69486     typedef int64_t       intmax_t;
69487     #else
69488     typedef long          intmax_t;
69489     #endif
69490     #endif
69491     #ifndef uintmax_t
69492     #ifdef _UINT64_T
69493     typedef uint64_t      uintmax_t;
69494     #else
69495     typedef unsigned long uintmax_t;
69496     #endif
69497     #endif
69498 EOF
69499 fi
69500
69501 sed 's/^ *//' >> tmp-stdint.h <<EOF
69502
69503   #endif /* GCC_GENERATED_STDINT_H */
69504 EOF
69505
69506 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69507   rm -f tmp-stdint.h
69508 else
69509   mv -f tmp-stdint.h include/gstdint.h
69510 fi
69511
69512  ;;
69513     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69514     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69515     "include/Makefile":F) cat > vpsed$$ << \_EOF
69516 s!`test -f '$<' || echo '$(srcdir)/'`!!
69517 _EOF
69518    sed -f vpsed$$ $ac_file > tmp$$
69519    mv tmp$$ $ac_file
69520    rm vpsed$$
69521    echo 'MULTISUBDIR =' >> $ac_file
69522    ml_norecursion=yes
69523    . ${multi_basedir}/config-ml.in
69524    { ml_norecursion=; unset ml_norecursion;}
69525  ;;
69526     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69527 s!`test -f '$<' || echo '$(srcdir)/'`!!
69528 _EOF
69529    sed -f vpsed$$ $ac_file > tmp$$
69530    mv tmp$$ $ac_file
69531    rm vpsed$$
69532    echo 'MULTISUBDIR =' >> $ac_file
69533    ml_norecursion=yes
69534    . ${multi_basedir}/config-ml.in
69535    { ml_norecursion=; unset ml_norecursion;}
69536  ;;
69537     "python/Makefile":F) cat > vpsed$$ << \_EOF
69538 s!`test -f '$<' || echo '$(srcdir)/'`!!
69539 _EOF
69540    sed -f vpsed$$ $ac_file > tmp$$
69541    mv tmp$$ $ac_file
69542    rm vpsed$$
69543    echo 'MULTISUBDIR =' >> $ac_file
69544    ml_norecursion=yes
69545    . ${multi_basedir}/config-ml.in
69546    { ml_norecursion=; unset ml_norecursion;}
69547  ;;
69548     "src/Makefile":F) cat > vpsed$$ << \_EOF
69549 s!`test -f '$<' || echo '$(srcdir)/'`!!
69550 _EOF
69551    sed -f vpsed$$ $ac_file > tmp$$
69552    mv tmp$$ $ac_file
69553    rm vpsed$$
69554    echo 'MULTISUBDIR =' >> $ac_file
69555    ml_norecursion=yes
69556    . ${multi_basedir}/config-ml.in
69557    { ml_norecursion=; unset ml_norecursion;}
69558  ;;
69559     "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
69560 s!`test -f '$<' || echo '$(srcdir)/'`!!
69561 _EOF
69562    sed -f vpsed$$ $ac_file > tmp$$
69563    mv tmp$$ $ac_file
69564    rm vpsed$$
69565    echo 'MULTISUBDIR =' >> $ac_file
69566    ml_norecursion=yes
69567    . ${multi_basedir}/config-ml.in
69568    { ml_norecursion=; unset ml_norecursion;}
69569  ;;
69570     "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
69571 s!`test -f '$<' || echo '$(srcdir)/'`!!
69572 _EOF
69573    sed -f vpsed$$ $ac_file > tmp$$
69574    mv tmp$$ $ac_file
69575    rm vpsed$$
69576    echo 'MULTISUBDIR =' >> $ac_file
69577    ml_norecursion=yes
69578    . ${multi_basedir}/config-ml.in
69579    { ml_norecursion=; unset ml_norecursion;}
69580  ;;
69581     "doc/Makefile":F) cat > vpsed$$ << \_EOF
69582 s!`test -f '$<' || echo '$(srcdir)/'`!!
69583 _EOF
69584    sed -f vpsed$$ $ac_file > tmp$$
69585    mv tmp$$ $ac_file
69586    rm vpsed$$
69587    echo 'MULTISUBDIR =' >> $ac_file
69588    ml_norecursion=yes
69589    . ${multi_basedir}/config-ml.in
69590    { ml_norecursion=; unset ml_norecursion;}
69591  ;;
69592     "po/Makefile":F) cat > vpsed$$ << \_EOF
69593 s!`test -f '$<' || echo '$(srcdir)/'`!!
69594 _EOF
69595    sed -f vpsed$$ $ac_file > tmp$$
69596    mv tmp$$ $ac_file
69597    rm vpsed$$
69598    echo 'MULTISUBDIR =' >> $ac_file
69599    ml_norecursion=yes
69600    . ${multi_basedir}/config-ml.in
69601    { ml_norecursion=; unset ml_norecursion;}
69602  ;;
69603     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69604 s!`test -f '$<' || echo '$(srcdir)/'`!!
69605 _EOF
69606    sed -f vpsed$$ $ac_file > tmp$$
69607    mv tmp$$ $ac_file
69608    rm vpsed$$
69609    echo 'MULTISUBDIR =' >> $ac_file
69610    ml_norecursion=yes
69611    . ${multi_basedir}/config-ml.in
69612    { ml_norecursion=; unset ml_norecursion;}
69613  ;;
69614     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69615
69616   esac
69617 done # for ac_tag
69618
69619
69620 as_fn_exit 0
69621 _ACEOF
69622 ac_clean_files=$ac_clean_files_save
69623
69624 test $ac_write_fail = 0 ||
69625   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69626
69627
69628 # configure is writing to config.log, and then calls config.status.
69629 # config.status does its own redirection, appending to config.log.
69630 # Unfortunately, on DOS this fails, as config.log is still kept open
69631 # by configure, so config.status won't be able to write to it; its
69632 # output is simply discarded.  So we exec the FD to /dev/null,
69633 # effectively closing config.log, so it can be properly (re)opened and
69634 # appended to by config.status.  When coming back to configure, we
69635 # need to make the FD available again.
69636 if test "$no_create" != yes; then
69637   ac_cs_success=:
69638   ac_config_status_args=
69639   test "$silent" = yes &&
69640     ac_config_status_args="$ac_config_status_args --quiet"
69641   exec 5>/dev/null
69642   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69643   exec 5>>config.log
69644   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69645   # would make configure fail if this is the last instruction.
69646   $ac_cs_success || as_fn_exit $?
69647 fi
69648 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69649   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69650 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
69651 fi
69652